summaryrefslogtreecommitdiff
path: root/target/linux/atheros/patches-2.6.27/135-ar2313_2.6.26.patch
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-10-09 08:08:13 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-10-09 08:08:13 +0000
commiteecd8cc2a3de1d6b86abe77e4f88003486e7dc69 (patch)
tree37bae05f76c6f4e8d8e206bc30564c5e6d3c28c1 /target/linux/atheros/patches-2.6.27/135-ar2313_2.6.26.patch
parente57a3cb7f2d656644bc46d5bdd89a9199754c614 (diff)
[atheros] experimental support for 2.6.27
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12932 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/atheros/patches-2.6.27/135-ar2313_2.6.26.patch')
-rw-r--r--target/linux/atheros/patches-2.6.27/135-ar2313_2.6.26.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/atheros/patches-2.6.27/135-ar2313_2.6.26.patch b/target/linux/atheros/patches-2.6.27/135-ar2313_2.6.26.patch
new file mode 100644
index 0000000000..97d3f1c387
--- /dev/null
+++ b/target/linux/atheros/patches-2.6.27/135-ar2313_2.6.26.patch
@@ -0,0 +1,11 @@
+--- a/drivers/net/ar2313/ar2313.c
++++ b/drivers/net/ar2313/ar2313.c
+@@ -291,7 +291,7 @@
+ sp->mii_bus.write = mdiobus_write;
+ sp->mii_bus.reset = mdiobus_reset;
+ sp->mii_bus.name = "ar2313_eth_mii";
+- sp->mii_bus.id = 0;
++ snprintf(sp->mii_bus.id, MII_BUS_ID_SIZE, "0");
+ sp->mii_bus.irq = kmalloc(sizeof(int), GFP_KERNEL);
+ *sp->mii_bus.irq = PHY_POLL;
+