• David Woodhouse's avatar
    [PATCH] USB: fix libusb endian issues · 630d2acc
    David Woodhouse authored
    On Wed, 2005-01-19 at 15:39 -0800, John Mock wrote:
    > New to 2.6.11-rc1 is that 'lsusb' exhibits 'endian' problems on the
    > PowerMac.
    
    Is that really new to 2.6.11-rc1? The kernel byte-swaps the bcdUSB,
    idVendor, idProduct, and bcdDevice fields in the device descriptor. It
    should probably swap them back before copying it up to userspace.
    
    From: David Woodhouse <dwmw2@infradead.org>
    Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
    630d2acc
devio.c 34.8 KB