mcs814x: add support for 3.18
[openwrt.git] / target / linux / mcs814x / patches-3.18 / 011-mcs814x_internal_phy.patch
1 --- a/drivers/net/phy/Kconfig
2 +++ b/drivers/net/phy/Kconfig
3 @@ -164,6 +164,10 @@ config RTL8306_PHY
4         tristate "Driver for Realtek RTL8306S switches"
5         select SWCONFIG
6  
7 +config MCS814X_PHY
8 +       tristate "Driver for the Moschip MCS814x internal PHY"
9 +       depends on ARCH_MCS814X
10 +
11  config FIXED_PHY
12         bool "Driver for MDIO Bus/PHY emulation with fixed speed/link PHYs"
13         depends on PHYLIB=y
14 --- a/drivers/net/phy/Makefile
15 +++ b/drivers/net/phy/Makefile
16 @@ -51,3 +51,4 @@ obj-$(CONFIG_MDIO_SUN4I)      += mdio-sun4i.o
17  obj-$(CONFIG_MDIO_MOXART)      += mdio-moxart.o
18  obj-$(CONFIG_AMD_XGBE_PHY)     += amd-xgbe-phy.o
19  obj-$(CONFIG_MDIO_BCM_UNIMAC)  += mdio-bcm-unimac.o
20 +obj-$(CONFIG_MCS814X_PHY)      += mcs814x.o