diff options
author | Leon Woestenberg <leon.woestenberg@gmail.com> | 2007-10-05 12:43:03 +0000 |
---|---|---|
committer | Leon Woestenberg <leon.woestenberg@gmail.com> | 2007-10-05 12:43:03 +0000 |
commit | fb5a8ff3d88fca827e22ad48f136c7fe1c6cea10 (patch) | |
tree | f28b9b4a860576cf9909d567efc7baeb20dd2740 /packages/wifistix/wifistix-modules/marvell-devicename.patch | |
parent | f0f72d8aa5de6a41796117c6e781e150bbacbe47 (diff) | |
parent | bab0c48ac5132ad63b4f3da27a1c39c20b5db86c (diff) |
merge of 'aac60b186b977130a688c4d00bfde913fb6221eb'
and 'f42403739ba7106ebfe92b3af59bf9c81b54f06d'
Diffstat (limited to 'packages/wifistix/wifistix-modules/marvell-devicename.patch')
-rw-r--r-- | packages/wifistix/wifistix-modules/marvell-devicename.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/wifistix/wifistix-modules/marvell-devicename.patch b/packages/wifistix/wifistix-modules/marvell-devicename.patch new file mode 100644 index 0000000000..62ebe89883 --- /dev/null +++ b/packages/wifistix/wifistix-modules/marvell-devicename.patch @@ -0,0 +1,11 @@ +--- src_cf8385-orig/wlan/wlan_main.c 2006-05-06 17:24:51.000000000 -0700 ++++ src_cf8385/wlan/wlan_main.c 2006-05-06 17:26:14.000000000 -0700 +@@ -873,7 +873,7 @@ + #ifdef LINUX_2_4 + if (!(dev = init_etherdev(dev, sizeof(wlan_private)))) { + #else +- if (!(dev = alloc_etherdev(sizeof(wlan_private)))) { ++ if (!(dev = alloc_netdev(sizeof(wlan_private), "wlan%d", ether_setup))) { + #endif + PRINTM(MSG, "Init ethernet device failed!\n"); + return NULL; |