All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] EHCI pci-quirks.c: wait for BIOS handoff too long
@ 2008-11-04  4:57 Steven Noonan
  2008-11-04  5:32 ` Jeff Garzik
  2008-11-05 10:00 ` Pavel Machek
  0 siblings, 2 replies; 6+ messages in thread
From: Steven Noonan @ 2008-11-04  4:57 UTC (permalink / raw)
  To: linux-kernel
  Cc: Steven Noonan, Andrew Morton, Alan Stern, Greg KH, David Brownell

Instead of waiting a painful 5000ms, quirk_usb_disable_ehci() now does a
1000ms loop to wait for the BIOS to acknowledge the handoff.

Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Greg KH <greg@kroah.com>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
---
 drivers/usb/host/pci-quirks.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/usb/host/pci-quirks.c b/drivers/usb/host/pci-quirks.c
index ae6e70e..1968ba1 100644
--- a/drivers/usb/host/pci-quirks.c
+++ b/drivers/usb/host/pci-quirks.c
@@ -271,7 +271,7 @@ static void __devinit quirk_usb_disable_ehci(struct pci_dev *pdev)
 			/* 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);
-- 
1.5.6.3


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-11-05 10:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-04  4:57 [PATCH] EHCI pci-quirks.c: wait for BIOS handoff too long Steven Noonan
2008-11-04  5:32 ` Jeff Garzik
2008-11-04  6:51   ` David Brownell
2008-11-04  7:47     ` Jeff Garzik
2008-11-04  7:53       ` Steven Noonan
2008-11-05 10:00 ` Pavel Machek

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.