--
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info@coresystems.de •
http://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866
Fix USB Debug Device for Intel ICH chipsets
The USB EHCI controller reset is not really needed on ICH, and in fact
the code bailed out there which is the most stupid thing to do. So just
keep trying.
Signed-off-by: Stefan Reinauer
stepan@coresystems.de
Index: src/lib/usbdebug_direct.c
===================================================================
--- src/lib/usbdebug_direct.c (revision 4832)
+++ src/lib/usbdebug_direct.c (working copy)
@@ -407,11 +407,10 @@
cmd = readl(&ehci_regs->command);
} while ((cmd & CMD_RESET) && (--loop > 0));
- if(!loop) {
+ if(!loop)
dbgp_printk("Could not reset EHCI controller.\n");
- return;
- }
- dbgp_printk("EHCI controller reset successfully.\n");
+ else
+ dbgp_printk("EHCI controller reset successfully.\n");
/* Claim ownership, but do not enable yet */
ctrl = readl(&ehci_debug->control);