summaryrefslogtreecommitdiff
path: root/target/linux/generic-2.6/files/include
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-02-24 13:39:02 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-02-24 13:39:02 +0000
commitf1509eaf8c7261033ec69fea337bf8015aca6f3f (patch)
treef8a7dd58d21d00a24414b583e6d02dc1039730e0 /target/linux/generic-2.6/files/include
parent5bc415c2d650dbf21da567415cfc1d8f3477ec72 (diff)
downloadmtk-20170518-f1509eaf8c7261033ec69fea337bf8015aca6f3f.zip
mtk-20170518-f1509eaf8c7261033ec69fea337bf8015aca6f3f.tar.gz
mtk-20170518-f1509eaf8c7261033ec69fea337bf8015aca6f3f.tar.bz2
kernel: add driver for the RTL8366RB switch
Thanks to Andrew Tarabaras. SVN-Revision: 19837
Diffstat (limited to 'target/linux/generic-2.6/files/include')
-rw-r--r--target/linux/generic-2.6/files/include/linux/rtl8366rb.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/files/include/linux/rtl8366rb.h b/target/linux/generic-2.6/files/include/linux/rtl8366rb.h
new file mode 100644
index 0000000..053e2ec
--- /dev/null
+++ b/target/linux/generic-2.6/files/include/linux/rtl8366rb.h
@@ -0,0 +1,21 @@
+/*
+ * Platform data definition for the Realtek RTL8366S ethernet switch driver
+ *
+ * Copyright (C) 2009-2010 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 _RTL8366RB_H
+#define _RTL8366RB_H
+
+#define RTL8366RB_DRIVER_NAME "rtl8366rb"
+
+struct rtl8366rb_platform_data {
+ unsigned gpio_sda;
+ unsigned gpio_sck;
+};
+
+#endif /* _RTL8366RB_SMI_H */