Re: [PATCH] USB and Driver Core patches for 2.6.10

From: Greg KH
Date: Sat Jan 08 2005 - 02:31:37 EST


ChangeSet 1.1938.439.55, 2005/01/07 09:07:22-08:00, david-b@xxxxxxxxxxx

[PATCH] USB: ohci diagnostic tweak

This changes the OHCI "USB HC TakeOver failed" message to be a bit
more informative, by fingering the root cause: a BIOS/SMM bug.

That way they're more likely to either bug the board vendor, or find
workarounds (like tweaking the BIOS setup, or the ohci_hcd no_handshake
parameter) before giving up or (wrongly) reporting a Linux bug.

Signed-off-by: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <greg@xxxxxxxxx>


drivers/usb/host/ohci-hcd.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)


diff -Nru a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c
--- a/drivers/usb/host/ohci-hcd.c 2005-01-07 15:35:13 -08:00
+++ b/drivers/usb/host/ohci-hcd.c 2005-01-07 15:35:13 -08:00
@@ -441,7 +441,8 @@
while (ohci_readl (ohci, &ohci->regs->control) & OHCI_CTRL_IR) {
msleep (10);
if (--temp == 0) {
- ohci_err (ohci, "USB HC TakeOver failed!\n");
+ ohci_err (ohci, "USB HC takeover failed!"
+ " (BIOS/SMM bug)\n");
return -EBUSY;
}
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/