On Tue, 22 Oct 2002, Pete Zaitcev wrote:

| Out of the blue an ALi engineer contacted me and offered a fix for
| lockups in IBM i-series laptops (RH Bugzilla #50225). I would
| really appreciate if someone ran it on their _regular_ ohci
| to ensure that it does not break non-ALi silicon. Both 2.4 and 2.5
| are the same (approximately), the patch is against 2.4.

Hi Pete-

Ah, good to see some help from silicon mfrs.

I tested in on vanilla 2.4.19 (applied patch by hand).
Is that OK for you?

My OHCI adapter is Lucent QuadraBus.
I used a keyboard with the hid driver and a USB hard drive
with usb-storage.  Both worked fine in limited testing.
I played an mp3 file from the hard disk.  Good music. (The Who :)

HTH.
~Randy

| --- linux-2.4.19/drivers/usb/usb-ohci.c       2002-08-02 17:39:45.000000000 -0700
| +++ linux-2.4.19-p3/drivers/usb/usb-ohci.c    2002-10-22 10:29:03.000000000 -0700
| @@ -12,6 +12,7 @@
|   *
|   * History:
|   *
| + * 2002/10/22 OHCI_USB_OPER for ALi lockup in IBM i1200 (ALEX <thchou@ali>)
|   * 2002/03/08 interrupt unlink fix (Matt Hughes), better cleanup on
|   *   load failure (Matthew Frederickson)
|   * 2002/01/20 async unlink fixes:  return -EINPROGRESS (per spec) and
| @@ -2165,7 +2166,11 @@
|
|       /* Reset USB (needed by some controllers) */
|       writel (0, &ohci->regs->control);
| -
| +
| +     /* Force a state change from USBRESET to USBOPERATIONAL for ALi */
| +     (void) readl (&ohci->regs->control);    /* PCI posting */
| +     writel (ohci->hc_control = OHCI_USB_OPER, &ohci->regs->control);
| +
|       /* HC Reset requires max 10 ms delay */
|       writel (OHCI_HCR,  &ohci->regs->cmdstatus);
|       while ((readl (&ohci->regs->cmdstatus) & OHCI_HCR) != 0) {
|
|
| -------------------------------------------------------



-------------------------------------------------------
This sf.net emial is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to