linux/3.2: build mdio_register_board_info into the kernel if PHYLIB is selected
[openwrt.git] / target / linux / generic / patches-3.2 / 722-phy_mvswitch.patch
1 --- a/drivers/net/phy/Kconfig
2 +++ b/drivers/net/phy/Kconfig
3 @@ -113,6 +113,9 @@ config ADM6996_PHY
4           Currently supports the ADM6996FC and ADM6996M switches.
5           Support for FC is very limited.
6  
7 +config MVSWITCH_PHY
8 +       tristate "Driver for Marvell 88E6060 switches"
9 +
10  config FIXED_PHY
11         bool "Driver for MDIO Bus/PHY emulation with fixed speed/link PHYs"
12         depends on PHYLIB=y
13 --- a/drivers/net/phy/Makefile
14 +++ b/drivers/net/phy/Makefile
15 @@ -17,6 +17,7 @@ obj-$(CONFIG_BROADCOM_PHY)    += broadcom.o
16  obj-$(CONFIG_BCM63XX_PHY)      += bcm63xx.o
17  obj-$(CONFIG_ICPLUS_PHY)       += icplus.o
18  obj-$(CONFIG_ADM6996_PHY)      += adm6996.o
19 +obj-$(CONFIG_MVSWITCH_PHY)     += mvswitch.o
20  obj-$(CONFIG_REALTEK_PHY)      += realtek.o
21  obj-$(CONFIG_LSI_ET1011C_PHY)  += et1011c.o
22  obj-$(CONFIG_FIXED_PHY)                += fixed.o