ba3a2d6be55fa17e26d31bdf964dba7dd6ef625a
[people/pmueller/ipfire-2.x.git] / src / patches / kudzu-usbnet.patch
1 diff -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
3 +++ kudzu-1.2.64/usb.c 2008-10-15 19:15:08.000000000 +0200
4 @@ -261,13 +261,29 @@
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") ||
10 !strcmp(t->driver, "catc") ||
11 + !strcmp(t->driver, "cdc_ether") ||
12 + !strcmp(t->driver, "cdc_subset") ||
13 + !strcmp(t->driver, "dm9601") ||
14 + !strcmp(t->driver, "gl620a") ||
15 !strcmp(t->driver, "kaweth") ||
16 + !strcmp(t->driver, "mcs7830") ||
17 + !strcmp(t->driver, "net1080") ||
18 + !strcmp(t->driver, "pegasus") ||
19 + !strcmp(t->driver, "plusb") ||
20 + !strcmp(t->driver, "rndis_host") ||
21 !strcmp(t->driver, "rtl8150") ||
22 - !strcmp(t->driver, "ax8817x") ||
23 + !strcmp(t->driver, "zaurus") ||
24 + !strcmp(t->driver, "rt2500usb") ||
25 + !strcmp(t->driver, "rt2x00usb") ||
26 + !strcmp(t->driver, "rt73usb") ||
27 + !strcmp(t->driver, "p54usb") ||
28 + !strcmp(t->driver, "rndis_wlan") ||
29 + !strcmp(t->driver, "rtl8187") ||
30 + !strcmp(t->driver, "usb8xxx") ||
31 !strcmp(t->driver, "zd1201") ||
32 - !strcmp(t->driver, "asix") ||
33 + !strcmp(t->driver, "zd1211rw") ||
34 !strcmp(t->driver, "usbnet"))) {
35 if (t->type == CLASS_OTHER)
36 t->type = CLASS_NETWORK;