commit fb221b24a314069af26db8c9beb6c843efcafa38 Author: Rene Herman Date: Tue Mar 18 00:02:16 2008 +0100 USB: VIA VT6212 10us EHCI sleep time select The VIA VT6212 uses a 1us EHCI sleep time by default which hammers the PCI bus bad. Use the 10us spec value instead as suggested by Lev A. Melnikovsky. CC: Lev A. Melnikovsky Signed-off-by: Rene Herman diff --git a/drivers/usb/host/ehci-pci.c b/drivers/usb/host/ehci-pci.c index 3ba0166..35a6ccb 100644 --- a/drivers/usb/host/ehci-pci.c +++ b/drivers/usb/host/ehci-pci.c @@ -152,6 +152,15 @@ static int ehci_pci_setup(struct usb_hcd *hcd) break; } break; + case PCI_VENDOR_ID_VIA: + if (pdev->device == 0x3104 && pdev->revision >= 0x60) { + u8 tmp; + + /* VT6212: EHCI sleep time 10us (default 1) */ + pci_read_config_byte(pdev, 0x4b, &tmp); + pci_write_config_byte(pdev, 0x4b, tmp | 0x20); + } + break; } ehci_reset(ehci);