[PATCH] USB: fix EHCI early handoff issues
authorDavid Brownell <david-b@pacbell.net>
Tue, 24 Jan 2006 15:15:30 +0000 (07:15 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 1 Feb 2006 01:23:35 +0000 (17:23 -0800)
commit401feafa621ba98ecaeed5db1a53ab878943c225
tree225ffa420c626ca5c4525a96f476706cd95f8933
parent3fa97c9db4f6f93f41f7a40d08872dbfd8dc907e
[PATCH] USB: fix EHCI early handoff issues

This moves the previously widely-used ehci-pci.c BIOS handoff
code into the pci-quirks.c file, replacing the less widely used
"early handoff" version that seems to cause problems lately.

One notable change:  the "early handoff" version always enabled
an SMI IRQ ... and did so even if the pre-Linux code said it was
not using EHCI (and not expecting EHCI SMIs).  Looks like a goof
in a workaround for some unknown BIOS version.

This merged version only forcibly enables those IRQs when pre-Linux
code says it's using EHCI.  And now it always forces them off "just
in case".

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