From 6e760504f0762e23b84544359338494affafab8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jeremy=20Lain=C3=A9?= Date: Fri, 28 Nov 2008 20:02:53 +0100 Subject: linux-2.6.26: add cdc_ether support on mpc8313e-rdb --- packages/linux/linux-2.6.26/boc01/020-cdc-ether-hack.patch | 11 ----------- packages/linux/linux-2.6.26/cdc-ether-hack.patch | 11 +++++++++++ packages/linux/linux-2.6.26/mpc8313e-rdb/defconfig | 12 +++++++++++- packages/linux/linux_2.6.26.bb | 3 ++- 4 files changed, 24 insertions(+), 13 deletions(-) delete mode 100644 packages/linux/linux-2.6.26/boc01/020-cdc-ether-hack.patch create mode 100644 packages/linux/linux-2.6.26/cdc-ether-hack.patch (limited to 'packages/linux') 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 deleted file mode 100644 index ca0ce72a0b..0000000000 --- a/packages/linux/linux-2.6.26/boc01/020-cdc-ether-hack.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- 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/cdc-ether-hack.patch b/packages/linux/linux-2.6.26/cdc-ether-hack.patch new file mode 100644 index 0000000000..ca0ce72a0b --- /dev/null +++ b/packages/linux/linux-2.6.26/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/mpc8313e-rdb/defconfig b/packages/linux/linux-2.6.26/mpc8313e-rdb/defconfig index 76634da120..bdeac7d89d 100644 --- a/packages/linux/linux-2.6.26/mpc8313e-rdb/defconfig +++ b/packages/linux/linux-2.6.26/mpc8313e-rdb/defconfig @@ -949,7 +949,17 @@ CONFIG_ZD1211RW=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 75881ba852..1b539b750d 100644 --- a/packages/linux/linux_2.6.26.bb +++ b/packages/linux/linux_2.6.26.bb @@ -13,6 +13,7 @@ SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.26.tar.bz2 \ SRC_URI_append_boc01 = "\ file://boc01.dts \ + file://cdc-ether-hack.patch;patch=1 \ file://002-081105-headers.patch;patch=1 \ file://003-081124-nand.patch;patch=1 \ file://004-081105-usb.patch;patch=1 \ @@ -23,10 +24,10 @@ 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 = "\ + file://cdc-ether-hack.patch;patch=1 \ file://mpc831x-nand.patch;patch=1 \ file://mpc8313e-rdb-leds.patch;patch=1 \ file://mpc8313e-rdb-cardbus.patch;patch=1 \ -- cgit v1.2.3