Add new usb-network modules to kudzu
[people/pmueller/ipfire-2.x.git] / src / patches / kudzu-usbnet.patch
CommitLineData
f110a344
AF
1diff -Naur kudzu-1.2.64.org/usb.c kudzu-1.2.64/usb.c
2--- kudzu-1.2.64.org/usb.c 2006-11-28 17:58:58.000000000 +0100
7ccfc5c3
AF
3+++ kudzu-1.2.64/usb.c 2009-07-16 20:33:19.000000000 +0200
4@@ -261,13 +261,33 @@
f110a344
AF
5 t->desc = strdup(t->usbprod);
6 else
7 asprintf(&t->desc,"Unknown USB device 0x%x:0x%x",t->vendorId,t->deviceId);
8- if (t->driver && (!strcmp(t->driver, "pegasus") ||
9+ if (t->driver && (!strcmp(t->driver, "asix") ||
a1d95394 10 !strcmp(t->driver, "catc") ||
a1d95394 11+ !strcmp(t->driver, "cdc_ether") ||
46e3910b 12+ !strcmp(t->driver, "cdc_subset") ||
f110a344 13+ !strcmp(t->driver, "dm9601") ||
a1d95394 14+ !strcmp(t->driver, "gl620a") ||
f110a344 15 !strcmp(t->driver, "kaweth") ||
f110a344 16+ !strcmp(t->driver, "mcs7830") ||
a1d95394 17+ !strcmp(t->driver, "net1080") ||
7ccfc5c3 18+ !strcmp(t->driver, "pegasus") ||
a1d95394
AF
19+ !strcmp(t->driver, "plusb") ||
20+ !strcmp(t->driver, "rndis_host") ||
46e3910b
AF
21 !strcmp(t->driver, "rtl8150") ||
22- !strcmp(t->driver, "ax8817x") ||
a1d95394 23+ !strcmp(t->driver, "zaurus") ||
46e3910b 24+ !strcmp(t->driver, "rt2500usb") ||
7ccfc5c3 25+ !strcmp(t->driver, "rt2800usb") ||
46e3910b
AF
26+ !strcmp(t->driver, "rt2x00usb") ||
27+ !strcmp(t->driver, "rt73usb") ||
7ccfc5c3
AF
28+ !strcmp(t->driver, "ar9170usb") ||
29+ !strcmp(t->driver, "libertas_tf_usb") ||
30+ !strcmp(t->driver, "at76c50x-usb") ||
46e3910b
AF
31+ !strcmp(t->driver, "p54usb") ||
32+ !strcmp(t->driver, "rndis_wlan") ||
f110a344
AF
33+ !strcmp(t->driver, "rtl8187") ||
34+ !strcmp(t->driver, "usb8xxx") ||
cb645374 35 !strcmp(t->driver, "zd1201") ||
f110a344
AF
36- !strcmp(t->driver, "asix") ||
37+ !strcmp(t->driver, "zd1211rw") ||
cb645374
AF
38 !strcmp(t->driver, "usbnet"))) {
39 if (t->type == CLASS_OTHER)
40 t->type = CLASS_NETWORK;