• David Brownell's avatar
    [PATCH] USB: ehci-hcd, misc bugfixes · 752d7202
    David Brownell authored
    This fixes some bugs observed in the EHCI code:
    
      - Byte-order confusion caused the wrong address to be set
        on big-endian hardware (reported last week on PPC and
        SPARC).   That bug's been there for about a year, with
        no problem reports ... hmm.
    
      - Used the wrong bitmask to determine max packet size
        for interrupt transfers, so they were limited to 1023
        bytes (not 1024 bytes) at high speed.
    
      - Because those two problems related to the masking,
        I sanity checked it and moved more of byteswapping
        to compile time.
    
      - Removes some oopsing in the (debug) periodic schedule
        dump, seen with patches that add more interesting
        behaviors (which folk are finally trying...).
    
      - Removed some now-pointless <linux/version.h> usage
    752d7202
ehci.h 16.8 KB