ar8216: factor out AR8327/AR8337-specific driver code into ar8327.c
[openwrt/svn-archive/archive.git] / target / linux / generic / patches-3.3 / 725-phy_rtl8306.patch
index e243afe108ea2b3414874eed5e9f1427d56244d7..8bde5f2eb115d1215482bc3a82eae7096f75533b 100644 (file)
@@ -1,7 +1,7 @@
 --- a/drivers/net/phy/Kconfig
 +++ b/drivers/net/phy/Kconfig
-@@ -124,6 +124,10 @@ config AR8216_PHY
-       tristate "Driver for Atheros AR8216 switches"
+@@ -126,6 +126,10 @@ config AR8216_PHY
+       select ETHERNET_PACKET_MANGLE
        select SWCONFIG
  
 +config RTL8306_PHY
@@ -16,7 +16,7 @@
 @@ -21,6 +21,7 @@ obj-$(CONFIG_MVSWITCH_PHY)   += mvswitch.o
  obj-$(CONFIG_IP17XX_PHY)      += ip17xx.o
  obj-$(CONFIG_REALTEK_PHY)     += realtek.o
- obj-$(CONFIG_AR8216_PHY)      += ar8216.o
+ obj-$(CONFIG_AR8216_PHY)      += ar8216.o ar8327.o
 +obj-$(CONFIG_RTL8306_PHY)     += rtl8306.o
  obj-$(CONFIG_LSI_ET1011C_PHY) += et1011c.o
  obj-$(CONFIG_FIXED_PHY)               += fixed.o