aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.10
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-01-05 13:03:07 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-01-05 13:03:07 +0000
commitdbe77b94a09e9965c4ef031b79b5276096bac3f6 (patch)
tree274a5bff11e1b94cbcb2cb0380e78ac83c65a9de /target/linux/generic/patches-3.10
parent724b3b940a5230098800deb9718fa0e1deef698f (diff)
downloadupstream-dbe77b94a09e9965c4ef031b79b5276096bac3f6.tar.gz
upstream-dbe77b94a09e9965c4ef031b79b5276096bac3f6.tar.bz2
upstream-dbe77b94a09e9965c4ef031b79b5276096bac3f6.zip
ar8216: factor out AR8327/AR8337-specific driver code into ar8327.c
Move all AR8327/AR8337-specific driver code into a separate source file ar8327.c and adjust patches so that ar8327.c is compiled if CONFIG_AR8216_PHY is set. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43845 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-3.10')
-rw-r--r--target/linux/generic/patches-3.10/724-phy_ar8216.patch2
-rw-r--r--target/linux/generic/patches-3.10/725-phy_rtl8306.patch2
-rw-r--r--target/linux/generic/patches-3.10/726-phy_rtl8366.patch2
3 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/generic/patches-3.10/724-phy_ar8216.patch b/target/linux/generic/patches-3.10/724-phy_ar8216.patch
index d3b238efce..08e5983ece 100644
--- a/target/linux/generic/patches-3.10/724-phy_ar8216.patch
+++ b/target/linux/generic/patches-3.10/724-phy_ar8216.patch
@@ -18,7 +18,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_LSI_ET1011C_PHY) += et1011c.o
obj-$(CONFIG_FIXED_PHY) += fixed.o
obj-$(CONFIG_MDIO_BITBANG) += mdio-bitbang.o
diff --git a/target/linux/generic/patches-3.10/725-phy_rtl8306.patch b/target/linux/generic/patches-3.10/725-phy_rtl8306.patch
index 56899a70ba..cd4808fa82 100644
--- a/target/linux/generic/patches-3.10/725-phy_rtl8306.patch
+++ b/target/linux/generic/patches-3.10/725-phy_rtl8306.patch
@@ -16,7 +16,7 @@
@@ -22,6 +22,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
diff --git a/target/linux/generic/patches-3.10/726-phy_rtl8366.patch b/target/linux/generic/patches-3.10/726-phy_rtl8366.patch
index cbb5ce194a..09ccc43ba9 100644
--- a/target/linux/generic/patches-3.10/726-phy_rtl8366.patch
+++ b/target/linux/generic/patches-3.10/726-phy_rtl8366.patch
@@ -35,7 +35,7 @@
+++ b/drivers/net/phy/Makefile
@@ -23,6 +23,9 @@ 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_RTL8366_SMI) += rtl8366_smi.o
+obj-$(CONFIG_RTL8366S_PHY) += rtl8366s.o