aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/include
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-12-08 10:29:35 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-12-08 10:29:35 +0000
commitcc1b9a6046294c16db74592c0aa37545a5737291 (patch)
tree47f23a8aaf09fc664e8c7228e03e98a2fd35edd0 /target/linux/ar71xx/files/include
parent5c7ee7f0397deddf7245a560590edadb60019ed2 (diff)
downloadupstream-cc1b9a6046294c16db74592c0aa37545a5737291.tar.gz
upstream-cc1b9a6046294c16db74592c0aa37545a5737291.tar.bz2
upstream-cc1b9a6046294c16db74592c0aa37545a5737291.zip
ar71xx: add mdio bus driver for the rtl8366 switch
SVN-Revision: 18694
Diffstat (limited to 'target/linux/ar71xx/files/include')
-rw-r--r--target/linux/ar71xx/files/include/linux/rtl8366_smi.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/include/linux/rtl8366_smi.h b/target/linux/ar71xx/files/include/linux/rtl8366_smi.h
new file mode 100644
index 0000000000..cd0fcbc452
--- /dev/null
+++ b/target/linux/ar71xx/files/include/linux/rtl8366_smi.h
@@ -0,0 +1,19 @@
+/*
+ * Platform data definition for the Realtek RTL8366 ethernet switch driver
+ *
+ * Copyright (C) 2009 Gabor Juhos <juhosg@openwrt.org>
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 as published
+ * by the Free Software Foundation.
+ */
+
+#ifndef _RTL8366_SMI_H
+#define _RTL8366_SMI_H
+
+struct rtl8366_smi_platform_data {
+ unsigned gpio_sda;
+ unsigned gpio_sck;
+};
+
+#endif /* _RTL8366_SMI_H */