mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-21 00:12:58 +02:00
Add Vodafone K3765 and K4505 usbids to option driver.
This commit is contained in:
@@ -152,6 +152,9 @@ endif
|
||||
# Add some more LED triggers
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux-2.6.32.11-netdev-1.patch
|
||||
|
||||
# Huawei (Vodafone) K3765 & K4505 Usbids
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux-2.6.32.11-option_add_vodafone_usbids.patch
|
||||
|
||||
# Cleanup kernel source
|
||||
|
||||
cp $(DIR_SRC)/config/kernel/kernel.config.$(MACHINE)-$(VERSUFIX) $(DIR_APP)/.config
|
||||
|
||||
23
src/patches/linux-2.6.32.11-option_add_vodafone_usbids.patch
Normal file
23
src/patches/linux-2.6.32.11-option_add_vodafone_usbids.patch
Normal file
@@ -0,0 +1,23 @@
|
||||
diff -Naur linux-2.6.32.11.org/drivers/usb/serial/option.c linux-2.6.32.11/drivers/usb/serial/option.c
|
||||
--- linux-2.6.32.11.org/drivers/usb/serial/option.c 2010-04-02 00:59:14.000000000 +0200
|
||||
+++ linux-2.6.32.11/drivers/usb/serial/option.c 2010-04-21 21:56:56.000000000 +0200
|
||||
@@ -165,6 +165,10 @@
|
||||
#define HUAWEI_PRODUCT_E143D 0x143D
|
||||
#define HUAWEI_PRODUCT_E143E 0x143E
|
||||
#define HUAWEI_PRODUCT_E143F 0x143F
|
||||
+/* Vodafone K4505-H */
|
||||
+#define HUAWEI_PRODUCT_E1464 0x1464
|
||||
+/* Vodafone K3765-H */
|
||||
+#define HUAWEI_PRODUCT_E1465 0x1465
|
||||
#define HUAWEI_PRODUCT_E14AC 0x14AC
|
||||
|
||||
#define QUANTA_VENDOR_ID 0x0408
|
||||
@@ -443,6 +447,8 @@
|
||||
{ USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E143D, 0xff, 0xff, 0xff) },
|
||||
{ USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E143E, 0xff, 0xff, 0xff) },
|
||||
{ USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E143F, 0xff, 0xff, 0xff) },
|
||||
+ { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E1464, 0xff, 0xff, 0xff) },
|
||||
+ { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E1465, 0xff, 0xff, 0xff) },
|
||||
{ USB_DEVICE(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E14AC) },
|
||||
{ USB_DEVICE(AMOI_VENDOR_ID, AMOI_PRODUCT_9508) },
|
||||
{ USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_V640) }, /* Novatel Merlin V640/XV620 */
|
||||
Reference in New Issue
Block a user