1 --- kernel/drivers/usb/gadget/ether.c 2005-04-24 12:40:08.867411535 +0200
2 +++ /tmp/ether.c 2005-04-24 12:39:02.119093498 +0200
4 MODULE_PARM(host_addr, "s");
5 MODULE_PARM_DESC(host_addr, "Host Ethernet Address");
7 +#ifdef CONFIG_USB_ETH_RNDIS
8 +/* setting it to 1 disables the RNDIS extension,
9 + * needed to make g_ether compatible with usbnet from kernel < 2.6.10:
10 + * - simple vendor/product
11 + * - just the CDC interface
13 +static u8 __initdata compat_mode;
14 +MODULE_PARM(compat_mode, "b");
15 +MODULE_PARM_DESC(compat_mode, "non-zero value reverts to traditional usbnet compatibility (RNDIS disabled)");
18 /*-------------------------------------------------------------------------*/
20 @@ -2336,6 +2346,10 @@
22 #ifndef CONFIG_USB_ETH_RNDIS
30 /* Because most host side USB stacks handle CDC Ethernet, that