ar71xx: fix legacy image build error
[openwrt/openwrt.git] / target / linux / generic / patches-4.1 / 724-phy_ar8216.patch
1 --- a/drivers/net/phy/Kconfig
2 +++ b/drivers/net/phy/Kconfig
3 @@ -148,6 +148,11 @@ config IP17XX_PHY
4 tristate "Driver for IC+ IP17xx switches"
5 select SWCONFIG
6
7 +config AR8216_PHY
8 + tristate "Driver for Atheros AR8216 switches"
9 + select ETHERNET_PACKET_MANGLE
10 + select SWCONFIG
11 +
12 config FIXED_PHY
13 tristate "Driver for MDIO Bus/PHY emulation with fixed speed/link PHYs"
14 depends on PHYLIB
15 --- a/drivers/net/phy/Makefile
16 +++ b/drivers/net/phy/Makefile
17 @@ -22,6 +22,7 @@ obj-$(CONFIG_ADM6996_PHY) += adm6996.o
18 obj-$(CONFIG_MVSWITCH_PHY) += mvswitch.o
19 obj-$(CONFIG_IP17XX_PHY) += ip17xx.o
20 obj-$(CONFIG_REALTEK_PHY) += realtek.o
21 +obj-$(CONFIG_AR8216_PHY) += ar8216.o ar8327.o
22 obj-$(CONFIG_LSI_ET1011C_PHY) += et1011c.o
23 obj-$(CONFIG_FIXED_PHY) += fixed_phy.o
24 obj-$(CONFIG_MDIO_BITBANG) += mdio-bitbang.o