summaryrefslogtreecommitdiff
path: root/multitech/recipes/linux
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2012-08-16 15:58:10 -0500
committerJesse Gilles <jgilles@multitech.com>2012-08-16 15:58:10 -0500
commitd79bc33723b2ceb98a34ef0c9b12827b867cf03f (patch)
tree0448558288966e032d6117d836e4959856b0599a /multitech/recipes/linux
parent13ec33fbcd48768a35536d08c5a4776bec8b0b79 (diff)
linux-2.6.35: add linux-2.6.32-option-telit.patch, build ochi_hcd as a module
Diffstat (limited to 'multitech/recipes/linux')
-rw-r--r--multitech/recipes/linux/linux-2.6.35/linux-2.6.32.3-option-telit.patch23
-rw-r--r--multitech/recipes/linux/linux-2.6.35/mtcdp/defconfig2
-rw-r--r--multitech/recipes/linux/linux_2.6.35.bbappend4
3 files changed, 27 insertions, 2 deletions
diff --git a/multitech/recipes/linux/linux-2.6.35/linux-2.6.32.3-option-telit.patch b/multitech/recipes/linux/linux-2.6.35/linux-2.6.32.3-option-telit.patch
new file mode 100644
index 0000000..db0283d
--- /dev/null
+++ b/multitech/recipes/linux/linux-2.6.35/linux-2.6.32.3-option-telit.patch
@@ -0,0 +1,23 @@
+diff linux-2.6.32.3.orig/drivers/usb/serial/option.c linux-2.6.32.3/drivers/usb/serial/option.c
+--- linux-2.6.32.3.orig/drivers/usb/serial/option.c
++++ linux-2.6.32.3/drivers/usb/serial/option.c
+@@ -293,6 +293,9 @@ static int option_resume(struct usb_serial *serial);
+ #define TELIT_VENDOR_ID 0x1bc7
+ #define TELIT_PRODUCT_UC864E 0x1003
+ #define TELIT_PRODUCT_UC864G 0x1004
++#define TELIT_PRODUCT_CC864_DUAL 0x1005
++#define TELIT_PRODUCT_CC864_SINGLE 0x1006
++#define TELIT_PRODUCT_DE910_DUAL 0x1010
+
+ /* ZTE PRODUCTS */
+ #define ZTE_VENDOR_ID 0x19d2
+@@ -523,6 +526,9 @@ static struct usb_device_id option_ids[] = {
+ { USB_DEVICE(MAXON_VENDOR_ID, 0x6280) }, /* BP3-USB & BP3-EXT HSDPA */
+ { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_UC864E) },
+ { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_UC864G) },
++ { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_CC864_DUAL) },
++ { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_CC864_SINGLE) },
++ { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_DE910_DUAL) },
+ { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, ZTE_PRODUCT_MF622, 0xff, 0xff, 0xff) }, /* ZTE WCDMA products */
+ { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0002, 0xff, 0xff, 0xff) },
+ { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0003, 0xff, 0xff, 0xff) },
diff --git a/multitech/recipes/linux/linux-2.6.35/mtcdp/defconfig b/multitech/recipes/linux/linux-2.6.35/mtcdp/defconfig
index 498d6d7..02e49eb 100644
--- a/multitech/recipes/linux/linux-2.6.35/mtcdp/defconfig
+++ b/multitech/recipes/linux/linux-2.6.35/mtcdp/defconfig
@@ -1399,7 +1399,7 @@ CONFIG_USB_MON=y
# CONFIG_USB_ISP116X_HCD is not set
# CONFIG_USB_ISP1760_HCD is not set
# CONFIG_USB_ISP1362_HCD is not set
-CONFIG_USB_OHCI_HCD=y
+CONFIG_USB_OHCI_HCD=m
# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
diff --git a/multitech/recipes/linux/linux_2.6.35.bbappend b/multitech/recipes/linux/linux_2.6.35.bbappend
index 3e62838..1ba0624 100644
--- a/multitech/recipes/linux/linux_2.6.35.bbappend
+++ b/multitech/recipes/linux/linux_2.6.35.bbappend
@@ -1,7 +1,7 @@
FILESEXTRA := "${THISDIR}"
FILESPATHBASE =. "${FILESEXTRA}:"
-PR .= ".corecdp8"
+PR .= ".corecdp9"
STABLEV = "14"
SRC_URI_mtcdp = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2;name=kernel \
@@ -14,6 +14,7 @@ SRC_URI_mtcdp = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2;n
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 \
+ file://linux-2.6.32.3-option-telit.patch \
file://linux-2.6.35-at91sam9g20-reset.patch \
"
@@ -27,6 +28,7 @@ SRC_URI_mt100eocg = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.b
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 \
+ file://linux-2.6.32.3-option-telit.patch \
file://linux-2.6.35-at91sam9g20-reset.patch \
"