[oe-commits] Jeremy Lainé : linux-2.6.26: add cdc ether support for boc01

GIT User account git at amethyst.openembedded.net
Fri Nov 28 09:03:49 UTC 2008


Module: openembedded.git
Branch: koen/darwin-host-fixes
Commit: 6778e554c5871a3fa74f459c90c6dc3c2bd3eef1
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=6778e554c5871a3fa74f459c90c6dc3c2bd3eef1

Author: Jeremy Lainé <jeremy.laine at m4x.org>
Date:   Wed Nov 26 18:10:47 2008 +0100

linux-2.6.26: add cdc ether support for boc01

---

 .../linux-2.6.26/boc01/020-cdc-ether-hack.patch    |   11 +++++++++++
 packages/linux/linux-2.6.26/boc01/defconfig        |   12 +++++++++++-
 packages/linux/linux_2.6.26.bb                     |    1 +
 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 0000000..ca0ce72
--- /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 4b57ab4..42f33db 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 da84be1..75881ba 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 = "\





More information about the Openembedded-commits mailing list