summaryrefslogtreecommitdiff
path: root/target/linux/generic-2.6/patches-2.6.23/620-phy_adm6996.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-04-20 02:53:04 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-04-20 02:53:04 +0000
commit6598df69d10b1b80469b6238fdd13fb6d9dbc67b (patch)
tree19ef329fe99f9be47690338b6af8f66136485e5d /target/linux/generic-2.6/patches-2.6.23/620-phy_adm6996.patch
parent41d668d19f976b245e47c7ca15be66aee111470c (diff)
Add stub driver for ADM6996F switches (configured through MII)
The driver currently uses a hardcoded VLAN mapping and has no configuration yet Tested on Accton MR3202a git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10869 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.23/620-phy_adm6996.patch')
-rw-r--r--target/linux/generic-2.6/patches-2.6.23/620-phy_adm6996.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.23/620-phy_adm6996.patch b/target/linux/generic-2.6/patches-2.6.23/620-phy_adm6996.patch
new file mode 100644
index 0000000000..299739237b
--- /dev/null
+++ b/target/linux/generic-2.6/patches-2.6.23/620-phy_adm6996.patch
@@ -0,0 +1,26 @@
+Index: linux-2.6.23.16/drivers/net/phy/Kconfig
+===================================================================
+--- linux-2.6.23.16.orig/drivers/net/phy/Kconfig 2008-04-20 04:40:22.000000000 +0200
++++ linux-2.6.23.16/drivers/net/phy/Kconfig 2008-04-20 04:40:32.000000000 +0200
+@@ -60,6 +60,11 @@
+ ---help---
+ Currently supports the IP175C PHY.
+
++config ADM6996_PHY
++ tristate "Driver for ADM6996 switches"
++ ---help---
++ Currently supports the ADM6996F switch
++
+ config FIXED_PHY
+ tristate "Drivers for PHY emulation on fixed speed/link"
+ ---help---
+Index: linux-2.6.23.16/drivers/net/phy/Makefile
+===================================================================
+--- linux-2.6.23.16.orig/drivers/net/phy/Makefile 2008-04-20 04:40:22.000000000 +0200
++++ linux-2.6.23.16/drivers/net/phy/Makefile 2008-04-20 04:40:32.000000000 +0200
+@@ -12,4 +12,5 @@
+ obj-$(CONFIG_VITESSE_PHY) += vitesse.o
+ obj-$(CONFIG_BROADCOM_PHY) += broadcom.o
+ obj-$(CONFIG_ICPLUS_PHY) += icplus.o
++obj-$(CONFIG_ADM6996_PHY) += adm6996.o
+ obj-$(CONFIG_FIXED_PHY) += fixed.o