[PATCH] [Natty SRU - both master and ti-omap4] Fix usb on omap hw when gcc 4.6 is used

Paolo Pisati paolo.pisati at canonical.com
Wed Jun 22 13:17:33 UTC 2011


SRU Justification:

Impact: when compiled with gcc 4.6, we loose usb on every omap* hw.
Fix: see attached patch.
Testcase: compile an omap[4] kernel with gcc 4.6 and boot it, you will
notice there are no usb devices present.

beagle xm, natty kernel and gcc 4.6:

flag at ubuntu:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

versus

beagle xm, natty kernel and gcc 4.6 + ehci fix:

flag at ubuntu:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 03f0:5307 Hewlett-Packard

BugLink: http://launchpad.net/bug/791552

upstream commit 139540170d9d9b7ead3caaf540f161756b356d56

-- 
bye,
p.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-USB-ehci-remove-structure-packing-from-ehci_def.patch
Type: text/x-patch
Size: 2126 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20110622/bf3ced1a/attachment.bin>


More information about the kernel-team mailing list