diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-04-20 02:53:04 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-04-20 02:53:04 +0000 |
commit | a323a7bf2a131761180a1ffe01928dc2e7804837 (patch) | |
tree | 89fef6ba6d25ffb5ac881b53b2a7db10421af652 /target/linux/generic-2.6/patches-2.6.23/620-phy_adm6996.patch | |
parent | 27d341022c302a5d12e3cdad035358a20f72e3e1 (diff) | |
download | mtk-20170518-a323a7bf2a131761180a1ffe01928dc2e7804837.zip mtk-20170518-a323a7bf2a131761180a1ffe01928dc2e7804837.tar.gz mtk-20170518-a323a7bf2a131761180a1ffe01928dc2e7804837.tar.bz2 |
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
SVN-Revision: 10869
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.patch | 26 |
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 0000000..2997392 --- /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 |