]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] USB: sl811-hcd fixes
authorDavid Brownell <david-b@pacbell.net>
Thu, 26 May 2005 12:55:55 +0000 (05:55 -0700)
committerGreg KH <gregkh@suse.de>
Tue, 31 May 2005 21:13:58 +0000 (14:13 -0700)
commit4081bf261d5070a403f4c56092fb301d95e5aab8
tree3c279e2c896ea0b56d6d5694e643f19be88c8740
parent2e0aacd572b3e11ded584add9b03317e9f124a39
[PATCH] USB: sl811-hcd fixes

Various fixes to the sl811-hcd driver:

  * Fix small glitches that crept in during recent evolution of usbcore's hcd
    glue layer, coupling endpoint state records to usbcore and active urbs.
    (As noted by folk whose boards weren't stuck on 2.6.9 kernels...)

  * Cope with various system-specific issues:
      - Some configurations (e.g. a CF-card uses this chip) have iospace
        addresses for the two registers, rather than memory mapped ones.
      - Some configurations do interesting things with IRQs; maybe the
        line is shared, or it doesn't support level triggering.
      - Not all boards can drive the chip reset line in software.

  * Address a potential race during unlinking.

  * Tweak probe/remove section info to handle the case where this segment
    of a platform bus is hotpluggable (e.g. CF card).  (The basic problem
    is that CONFIG_HOTPLUG is global, which is wrong since not all busses
    can hotplug even on hotplug-friendly systems...)  Also export the
    driver, so that the CF driver can depend on it.

Also removed some annoying end-of-line whitespace.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/sl811-hcd.c