From 6598df69d10b1b80469b6238fdd13fb6d9dbc67b Mon Sep 17 00:00:00 2001 From: nbd Date: Sun, 20 Apr 2008 02:53:04 +0000 Subject: 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 --- .../patches-2.6.23/620-phy_adm6996.patch | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 target/linux/generic-2.6/patches-2.6.23/620-phy_adm6996.patch (limited to 'target/linux/generic-2.6/patches-2.6.23/620-phy_adm6996.patch') 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 000000000..299739237 --- /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 -- cgit v1.2.3