Hi,

someone has replace a hex constant (0x100) by the 
wrong symbol in usb-ohci.c :-(

The patch assigns the right symbol for the interrupt routing bit.

But besides the failure of the SMM takeover the 
log looks a little bit strange.

Does this board has two OHCI controller or one with 4 ports?

Roman

Miles Lane wrote:
> 
> During boot, I get the following system log info:
> 
> > usb-ohci.c: USB OHCI at membase 0xd0800000, IRQ 10
> > usb-ohci.c: Advanced Micro Devices [AMD] AMD-756 [Viper] USB
> 
> I am trying to get usb-ohci to load with 2.3.99-pre4-5,
> but get these errors:
> 
> usb.c: registered new driver usbdevfs
> usb.c: registered new driver hub
> usb-ohci.c: USB OHCI at membase 0xd0800000, IRQ 10
> usb-ohci.c: Advanced Micro Devices [AMD] AMD-756 [Viper] USB
> usb-ohci.c: USB HC TakeOver from SMM
> usb-ohci.c: OHCI controller d0800000 state
> usb-ohci.c: control: 0x00000600 RWE RWC HCFS=reset CBSR=0
> usb-ohci.c: cmdstatus: 0x00000000 SOC=0
> usb-ohci.c: intrstatus: 0x40000004 OC SF
> usb-ohci.c: intrenable: 0x00000000
> usb-ohci.c: ed_controlhead 00002220
> usb-ohci.c: hcca frame #0000
> usb-ohci.c: roothub.a: 01000204 POTPGT=1 NPS NDP=4
> usb-ohci.c: roothub.b: 00000000 PPCM=0000 DR=0000
> usb-ohci.c: roothub.status: 00000000
> usb-ohci.c: roothub.portstatus [0] = 0x00000100 PPS
> usb-ohci.c: roothub.portstatus [1] = 0x00000100 PPS
> usb-ohci.c: roothub.portstatus [2] = 0x00000100 PPS
> usb-ohci.c: roothub.portstatus [3] = 0x00000100 PPS
> usb-ohci.c: USB HC TakeOver failed!
> usb-ohci.c: USB HC release ohci
> usb-ohci.c: USB HC TakeOver from SMM
> usb-ohci.c: OHCI controller d0800000 state
> usb-ohci.c: control: 0x00000600 RWE RWC HCFS=reset CBSR=0
> usb-ohci.c: cmdstatus: 0x00000000 SOC=0
> usb-ohci.c: intrstatus: 0x40000004 OC SF
> usb-ohci.c: intrenable: 0x00000000
> usb-ohci.c: ed_controlhead 00002220
> usb-ohci.c: hcca frame #0000
> usb-ohci.c: roothub.a: 01000204 POTPGT=1 NPS NDP=4
> usb-ohci.c: roothub.b: 00000000 PPCM=0000 DR=0000
> usb-ohci.c: roothub.status: 00000000
> usb-ohci.c: roothub.portstatus [0] = 0x00000100 PPS
> usb-ohci.c: roothub.portstatus [1] = 0x00000100 PPS
> usb-ohci.c: roothub.portstatus [2] = 0x00000100 PPS
> usb-ohci.c: roothub.portstatus [3] = 0x00000100 PPS
> usb-ohci.c: USB HC TakeOver failed!
> usb.c: USB bus -1 deregistered
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
1650c1650
<       if (readl (&ohci->regs->control) & OHCI_CTRL_RWC) { /* SMM owns the HC */
---
>       if (readl (&ohci->regs->control) & OHCI_CTRL_IR) { /* SMM owns the HC */
1653c1653
<               while (readl (&ohci->regs->control) & OHCI_CTRL_RWC) {
---
>               while (readl (&ohci->regs->control) & OHCI_CTRL_IR) {

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to