summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2008-11-26 18:10:47 +0100
committerJeremy Lainé <jeremy.laine@m4x.org>2008-11-26 18:10:47 +0100
commit6778e554c5871a3fa74f459c90c6dc3c2bd3eef1 (patch)
tree226a469290676efcd5c2f8ae8fff7b244fee1ef9
parent313d0662ee9183b85e9674f892c2f45fbcfe3a9e (diff)
linux-2.6.26: add cdc ether support for boc01
-rw-r--r--packages/linux/linux-2.6.26/boc01/020-cdc-ether-hack.patch11
-rw-r--r--packages/linux/linux-2.6.26/boc01/defconfig12
-rw-r--r--packages/linux/linux_2.6.26.bb1
3 files changed, 23 insertions, 1 deletions
diff --git a/packages/linux/linux-2.6.26/boc01/020-cdc-ether-hack.patch b/packages/linux/linux-2.6.26/boc01/020-cdc-ether-hack.patch
new file mode 100644
index 0000000000..ca0ce72a0b
--- /dev/null
+++ b/packages/linux/linux-2.6.26/boc01/020-cdc-ether-hack.patch
@@ -0,0 +1,11 @@
+--- a/drivers/usb/host/ehci-q.c.orig 2008-10-30 15:17:27.000000000 +0100
++++ b/drivers/usb/host/ehci-q.c 2008-10-30 15:23:41.000000000 +0100
+@@ -799,7 +799,7 @@
+ * to help them do so. So now people expect to use
+ * such nonconformant devices with Linux too; sigh.
+ */
+- info1 |= max_packet(maxp) << 16;
++ info1 |= 256 << 16;
+ info2 |= (EHCI_TUNE_MULT_HS << 30);
+ } else { /* PIPE_INTERRUPT */
+ info1 |= max_packet (maxp) << 16;
diff --git a/packages/linux/linux-2.6.26/boc01/defconfig b/packages/linux/linux-2.6.26/boc01/defconfig
index 4b57ab4cc7..42f33dbb78 100644
--- a/packages/linux/linux-2.6.26/boc01/defconfig
+++ b/packages/linux/linux-2.6.26/boc01/defconfig
@@ -907,7 +907,17 @@ CONFIG_HOSTAP_PCI=m
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
-# CONFIG_USB_USBNET is not set
+CONFIG_USB_USBNET=m
+# CONFIG_USB_NET_AX8817X is not set
+CONFIG_USB_NET_CDCETHER=m
+# CONFIG_USB_NET_DM9601 is not set
+# CONFIG_USB_NET_GL620A is not set
+# CONFIG_USB_NET_NET1080 is not set
+# CONFIG_USB_NET_PLUSB is not set
+# CONFIG_USB_NET_MCS7830 is not set
+# CONFIG_USB_NET_RNDIS_HOST is not set
+# CONFIG_USB_NET_CDC_SUBSET is not set
+# CONFIG_USB_NET_ZAURUS is not set
# CONFIG_WAN is not set
CONFIG_ATM_DRIVERS=y
# CONFIG_ATM_DUMMY is not set
diff --git a/packages/linux/linux_2.6.26.bb b/packages/linux/linux_2.6.26.bb
index da84be14a0..75881ba852 100644
--- a/packages/linux/linux_2.6.26.bb
+++ b/packages/linux/linux_2.6.26.bb
@@ -23,6 +23,7 @@ SRC_URI_append_boc01 = "\
file://010-081105-mii.patch;patch=1 \
file://011-081105-gpio.patch;patch=1 \
file://012-081121-cy3218-btns.patch;patch=1 \
+ file://020-cdc-ether-hack.patch;patch=1 \
"
SRC_URI_append_mpc8313e-rdb = "\