1. 29 10月, 2005 3 次提交
    • A
      [PATCH] UHCI: unify BIOS handoff and driver reset code · bb200f6e
      Alan Stern 提交于
      This patch (as574) updates the PCI BIOS usb-handoff code for UHCI
      controllers, making it work like the reset routines in uhci-hcd.  This
      allows uhci-hcd to drop its own routines in favor of the new ones
      (code-sharing).
      
      Once the patch is merged we can turn the usb-handoff option on
      permanently, as far as UHCI is concerned.  OHCI and EHCI may still have
      some issues.
      Signed-off-by: NAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      bb200f6e
    • D
      [PATCH] update PCI early-handoff handling for OHCI · f2cb36c1
      David Brownell 提交于
      The PCI "early usb handoff" quirk logic didn't work like "ohci-hcd" ...
      This patch makes it do so by:
      
        - Resetting the controller after kicking BIOS off, matching the
          normal "chip in hardware reset" startup mode;
      
        - Reporting any BIOS that borks this simple handoff; it's likely
          got a few other surprises for us too.
      
        - Ignoring that handoff on HPPA;
      
      The diagnostic string is mostly shared with EHCI, saving a few bytes.
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
       drivers/usb/host/pci-quirks.c |   22 ++++++++++++++++++----
       1 file changed, 18 insertions(+), 4 deletions(-)
      f2cb36c1
    • D
      [PATCH] USB: move handoff code · 7586269c
      David Brownell 提交于
      This moves the PCI quirk handling for USB host controllers from the
      PCI directory to the USB directory.  Follow-on patches will need to:
      
      (a) merge these copies with the originals in the HCD reset methods.
      they don't wholly agree, despite doing the very same thing; and
      
      (b) eventually change it so "usb-handoff" is the default, to help
      get more robust USB/BIOS/input/... interactions.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
       drivers/Makefile              |    2
       drivers/pci/quirks.c          |  253 ---------------------------------------
       drivers/usb/Makefile          |    1
       drivers/usb/host/Makefile     |    5
       drivers/usb/host/pci-quirks.c |  272 ++++++++++++++++++++++++++++++++++++++++++
       5 files changed, 280 insertions(+), 253 deletions(-)
      7586269c