summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2011-08-17 16:14:55 -0500
committerJesse Gilles <jgilles@multitech.com>2011-08-17 16:14:55 -0500
commit5331a6b4866148dc3176178d42e8004168f4d477 (patch)
tree086c0d6e082bfdb027fc743c91ba75e8265d37ec
parent66076470ebed6677864d4b186ff7d21a83c51ac1 (diff)
linux-2.6.35: add ZTE MC2718 ID to option driver
-rw-r--r--multitech/recipes/linux/linux-2.6.35/linux-2.6.35.14-option-zte.patch12
-rw-r--r--multitech/recipes/linux/linux_2.6.35.bbappend36
2 files changed, 31 insertions, 17 deletions
diff --git a/multitech/recipes/linux/linux-2.6.35/linux-2.6.35.14-option-zte.patch b/multitech/recipes/linux/linux-2.6.35/linux-2.6.35.14-option-zte.patch
new file mode 100644
index 0000000..776c7ee
--- /dev/null
+++ b/multitech/recipes/linux/linux-2.6.35/linux-2.6.35.14-option-zte.patch
@@ -0,0 +1,12 @@
+Index: linux-2.6.35/drivers/usb/serial/option.c
+===================================================================
+--- linux-2.6.35.orig/drivers/usb/serial/option.c
++++ linux-2.6.35/drivers/usb/serial/option.c
+@@ -889,6 +889,7 @@ static const struct usb_device_id option
+ { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0141, 0xff, 0xff, 0xff) },
+ { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x2002, 0xff, 0xff, 0xff) },
+ { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x2003, 0xff, 0xff, 0xff) },
++ { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffe8, 0xff, 0xff, 0xff) }, // MC2718
+ { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, ZTE_PRODUCT_CDMA_TECH, 0xff, 0xff, 0xff) },
+ { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, ZTE_PRODUCT_AC8710, 0xff, 0xff, 0xff) },
+ { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, ZTE_PRODUCT_AC2726, 0xff, 0xff, 0xff) },
diff --git a/multitech/recipes/linux/linux_2.6.35.bbappend b/multitech/recipes/linux/linux_2.6.35.bbappend
index 4a3af0e..48fe0b2 100644
--- a/multitech/recipes/linux/linux_2.6.35.bbappend
+++ b/multitech/recipes/linux/linux_2.6.35.bbappend
@@ -1,28 +1,30 @@
FILESEXTRA := "${THISDIR}"
FILESPATHBASE =. "${FILESEXTRA}:"
-PR .= ".corecdp1"
+PR .= ".corecdp2"
STABLEV = "14"
SRC_URI_mtcdp = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2;name=kernel \
- ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/longterm/v${PV}/patch-${PV}.${STABLEV}.bz2;apply=yes;name=stablepatch \
- file://defconfig \
- file://linux-2.6.35.14-mach-at91.patch \
- file://linux-2.6.35-sierra-1.7.40.patch \
- file://linux-2.6.32.3-atmel_spi.patch \
- file://linux-2.6.32.3-at25.patch \
- file://linux-2.6.32.3-atmel_serial_disable_hwhs.patch \
- "
+ ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/longterm/v${PV}/patch-${PV}.${STABLEV}.bz2;apply=yes;name=stablepatch \
+ file://defconfig \
+ file://linux-2.6.35.14-mach-at91.patch \
+ file://linux-2.6.35-sierra-1.7.40.patch \
+ file://linux-2.6.32.3-atmel_spi.patch \
+ file://linux-2.6.32.3-at25.patch \
+ file://linux-2.6.32.3-atmel_serial_disable_hwhs.patch \
+ file://linux-2.6.35.14-option-zte.patch \
+ "
SRC_URI_mtcdp-embedded = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2;name=kernel \
- ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/longterm/v${PV}/patch-${PV}.${STABLEV}.bz2;apply=yes;name=stablepatch \
- file://defconfig \
- file://linux-2.6.35.14-mach-at91-mtcdp-embedded.patch \
- file://linux-2.6.35-sierra-1.7.40.patch \
- file://linux-2.6.32.3-atmel_spi.patch \
- file://linux-2.6.32.3-at25.patch \
- file://linux-2.6.32.3-atmel_serial_disable_hwhs.patch \
- "
+ ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/longterm/v${PV}/patch-${PV}.${STABLEV}.bz2;apply=yes;name=stablepatch \
+ file://defconfig \
+ file://linux-2.6.35.14-mach-at91-mtcdp-embedded.patch \
+ file://linux-2.6.35-sierra-1.7.40.patch \
+ file://linux-2.6.32.3-atmel_spi.patch \
+ file://linux-2.6.32.3-at25.patch \
+ file://linux-2.6.32.3-atmel_serial_disable_hwhs.patch \
+ file://linux-2.6.35.14-option-zte.patch \
+ "
SRC_URI[stablepatch.md5sum] = "1f540c6bb638e1fff9de25648d063e4c"
SRC_URI[stablepatch.sha256sum] = "57c820dfb7a587c01a90d6317c9d7e2ae1471b923970ad305c384dbb1d67b182"