Add stub driver for ADM6996F switches (configured through MII)
[openwrt-10.03/.git] / target / linux / generic-2.6 / patches-2.6.23 / 620-phy_adm6996.patch
1 Index: linux-2.6.23.16/drivers/net/phy/Kconfig
2 ===================================================================
3 --- linux-2.6.23.16.orig/drivers/net/phy/Kconfig        2008-04-20 04:40:22.000000000 +0200
4 +++ linux-2.6.23.16/drivers/net/phy/Kconfig     2008-04-20 04:40:32.000000000 +0200
5 @@ -60,6 +60,11 @@
6         ---help---
7           Currently supports the IP175C PHY.
8  
9 +config ADM6996_PHY
10 +       tristate "Driver for ADM6996 switches"
11 +       ---help---
12 +         Currently supports the ADM6996F switch
13 +
14  config FIXED_PHY
15         tristate "Drivers for PHY emulation on fixed speed/link"
16         ---help---
17 Index: linux-2.6.23.16/drivers/net/phy/Makefile
18 ===================================================================
19 --- linux-2.6.23.16.orig/drivers/net/phy/Makefile       2008-04-20 04:40:22.000000000 +0200
20 +++ linux-2.6.23.16/drivers/net/phy/Makefile    2008-04-20 04:40:32.000000000 +0200
21 @@ -12,4 +12,5 @@
22  obj-$(CONFIG_VITESSE_PHY)      += vitesse.o
23  obj-$(CONFIG_BROADCOM_PHY)     += broadcom.o
24  obj-$(CONFIG_ICPLUS_PHY)       += icplus.o
25 +obj-$(CONFIG_ADM6996_PHY)      += adm6996.o
26  obj-$(CONFIG_FIXED_PHY)                += fixed.o