* - ehci-pci-quirksc-dont-wait-so-long-for-bios-handoff.patch removed from -mm tree
@ 2008-11-13 21:28 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2008-11-13 21:28 UTC (permalink / raw)
To: steven, david-b, greg, jeff, stern, mm-commits
The patch titled
EHCI pci-quirks.c: don't wait so long for BIOS handoff
has been removed from the -mm tree. Its filename was
ehci-pci-quirksc-dont-wait-so-long-for-bios-handoff.patch
This patch was dropped because it was merged into mainline or a subsystem tree
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: EHCI pci-quirks.c: don't wait so long for BIOS handoff
From: Steven Noonan <steven@uplinklabs.net>
Instead of waiting a painful 5000ms, quirk_usb_disable_ehci() now does a
1000ms loop to wait for the BIOS to acknowledge the handoff.
The five second delay is really quite irritating to have to deal with
every boot up, and I very seriously doubt any non-broken bios takes more
than a second to do the actual handoff.
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Greg KH <greg@kroah.com>
Cc: David Brownell <david-b@pacbell.net>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/usb/host/pci-quirks.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN drivers/usb/host/pci-quirks.c~ehci-pci-quirksc-dont-wait-so-long-for-bios-handoff drivers/usb/host/pci-quirks.c
--- a/drivers/usb/host/pci-quirks.c~ehci-pci-quirksc-dont-wait-so-long-for-bios-handoff
+++ a/drivers/usb/host/pci-quirks.c
@@ -271,7 +271,7 @@ static void __devinit quirk_usb_disable_
/* if boot firmware now owns EHCI, spin till
* it hands it over.
*/
- msec = 5000;
+ msec = 1000;
while ((cap & EHCI_USBLEGSUP_BIOS) && (msec > 0)) {
tried_handoff = 1;
msleep(10);
_
Patches currently in -mm which might be from steven@uplinklabs.net are
linux-next.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-11-13 21:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-13 21:28 - ehci-pci-quirksc-dont-wait-so-long-for-bios-handoff.patch removed from -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.