summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/include
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-12-08 10:29:35 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-12-08 10:29:35 +0000
commitbfa2f874b92a8eb44e50cdad05cd37ff5ec24bb8 (patch)
treefd489f9057a8c57bafd585504a1ae4ac9732594e /target/linux/ar71xx/files/include
parent67c4686a288336ca005fd00667cf5370e474e657 (diff)
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 000000000..cd0fcbc45
--- /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 */