X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/fede69c5b22003b691d3c1b0d11b1ae4271f2534..45b733b7548b7570db6e83fac62f0819a6b230f9:/target/linux/aruba-2.6/patches/010-ar2313_enet.patch diff --git a/target/linux/aruba-2.6/patches/010-ar2313_enet.patch b/target/linux/aruba-2.6/patches/010-ar2313_enet.patch index b5ef4d324..529315a2c 100644 --- a/target/linux/aruba-2.6/patches/010-ar2313_enet.patch +++ b/target/linux/aruba-2.6/patches/010-ar2313_enet.patch @@ -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