Add ethernet bonding support for x86 (#856)
[openwrt.git] / target / linux / aruba-2.6 / patches / 010-ar2313_enet.patch
index b5ef4d3..d71d96f 100644 (file)
@@ -89,7 +89,7 @@ diff -Nur linux-2.6.17/drivers/net/ar2313/ar2313.c linux-2.6.17-owrt/drivers/net
 +static char ethaddr[18] = "00:00:00:00:00:00";
 +static char ifname[5] = "bond";
 +
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,17)
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,52)
 +module_param_string(ethaddr, ethaddr, 18, 0);
 +module_param_string(ifname, ifname, 5, 0);
 +#else
@@ -1228,7 +1228,7 @@ diff -Nur linux-2.6.17/drivers/net/ar2313/ar2313.c linux-2.6.17-owrt/drivers/net
 +          ar2313_restart(dev);
 +      }
 +    }
-+    return IRQ_RETVAL(0);
++    return IRQ_HANDLED;
 +}
 +
 +
This page took 0.034139 seconds and 4 git commands to generate.