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
commit468bef06f346a8196fccc13ddf6242339d068878 (patch)
treefd489f9057a8c57bafd585504a1ae4ac9732594e /target/linux/ar71xx/files/include
parentbe4403aa0da0cd61352bffa80a068e45cbdfa6f9 (diff)
downloadupstream-468bef06f346a8196fccc13ddf6242339d068878.tar.gz
upstream-468bef06f346a8196fccc13ddf6242339d068878.tar.bz2
upstream-468bef06f346a8196fccc13ddf6242339d068878.zip
ar71xx: add mdio bus driver for the rtl8366 switch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18694 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 */