aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar7/patches-2.6.27/160-cpmac_up_and_running.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2009-11-11 11:38:02 +0000
committerImre Kaloz <kaloz@openwrt.org>2009-11-11 11:38:02 +0000
commit8c2edace7f5c96524489e5eef5cc54d7c562925a (patch)
tree781115f454faf00d176c58016c25893739360f86 /target/linux/ar7/patches-2.6.27/160-cpmac_up_and_running.patch
parent019cf0dfed30148c83235db5006c0b840f3388d8 (diff)
downloadmaster-187ad058-8c2edace7f5c96524489e5eef5cc54d7c562925a.tar.gz
master-187ad058-8c2edace7f5c96524489e5eef5cc54d7c562925a.tar.bz2
master-187ad058-8c2edace7f5c96524489e5eef5cc54d7c562925a.zip
we don't support the 2.6.27 kernels for a long time now
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18369 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar7/patches-2.6.27/160-cpmac_up_and_running.patch')
-rw-r--r--target/linux/ar7/patches-2.6.27/160-cpmac_up_and_running.patch47
1 files changed, 0 insertions, 47 deletions
diff --git a/target/linux/ar7/patches-2.6.27/160-cpmac_up_and_running.patch b/target/linux/ar7/patches-2.6.27/160-cpmac_up_and_running.patch
deleted file mode 100644
index d11bbf2e58..0000000000
--- a/target/linux/ar7/patches-2.6.27/160-cpmac_up_and_running.patch
+++ /dev/null
@@ -1,47 +0,0 @@
---- a/arch/mips/ar7/platform.c
-+++ b/arch/mips/ar7/platform.c
-@@ -33,6 +33,8 @@
- #include <linux/vlynq.h>
- #include <linux/leds.h>
- #include <linux/string.h>
-+#include <linux/phy.h>
-+#include <linux/phy_fixed.h>
-
- #include <asm/addrspace.h>
- #include <asm/ar7/ar7.h>
-@@ -205,6 +207,13 @@
- .width = 2,
- };
-
-+/* lets assume this is suitable for both high and low cpmacs links */
-+static struct fixed_phy_status fixed_phy_status __initdata = {
-+ .link = 1,
-+ .speed = 100,
-+ .duplex = 1,
-+};
-+
- static struct plat_cpmac_data cpmac_low_data = {
- .reset_bit = 17,
- .power_bit = 20,
-@@ -506,6 +515,10 @@
- }
-
- if (ar7_has_high_cpmac()) {
-+ res = fixed_phy_add(PHY_POLL, cpmac_high.id, &fixed_phy_status);
-+ if (res && res != -ENODEV)
-+ return res;
-+
- cpmac_get_mac(1, cpmac_high_data.dev_addr);
- res = platform_device_register(&cpmac_high);
- if (res)
-@@ -514,6 +527,10 @@
- cpmac_low_data.phy_mask = 0xffffffff;
- }
-
-+ res = fixed_phy_add(PHY_POLL, cpmac_low.id, &fixed_phy_status);
-+ if (res && res != -ENODEV)
-+ return res;
-+
- cpmac_get_mac(0, cpmac_low_data.dev_addr);
- res = platform_device_register(&cpmac_low);
- if (res)