aboutsummaryrefslogtreecommitdiffstats
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
commitd41036f8499e3b4ed48065bd818f5b9be8712641 (patch)
tree4ddfe7e53ba1472035c1a0321170f926266adba8 /target/linux/generic-2.6/files/include
parentb3ee4a5c4ed08cfb3cdc74f4f7e1d52ad8c0bd56 (diff)
downloadmaster-187ad058-d41036f8499e3b4ed48065bd818f5b9be8712641.tar.gz
master-187ad058-d41036f8499e3b4ed48065bd818f5b9be8712641.tar.bz2
master-187ad058-d41036f8499e3b4ed48065bd818f5b9be8712641.zip
kernel: add driver for the RTL8366RB switch
Thanks to Andrew Tarabaras. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19837 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 0000000000..053e2ec04f
--- /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 */