add pci latency timer workaround for atheros cards (from #1546)
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 4 Apr 2007 22:04:54 +0000 (22:04 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 4 Apr 2007 22:04:54 +0000 (22:04 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6867 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/brcm47xx-2.6/files/drivers/ssb/driver_pci/pcicore.c

index d9aa22b..e18e486 100644 (file)
@@ -92,6 +92,9 @@ static void __init ssb_fixup_pcibridge(struct pci_dev *dev)
 
        /* Enable PCI bridge BAR1 prefetch and burst */
        pci_write_config_dword(dev, SSB_BAR1_CONTROL, 3);
+
+       /* Make sure our latency is high enough to handle the devices behind us */
+       pci_write_config_byte(dev, PCI_LATENCY_TIMER, 0xa8);
 }
 DECLARE_PCI_FIXUP_EARLY(PCI_ANY_ID, PCI_ANY_ID, ssb_fixup_pcibridge);
 
This page took 0.024354 seconds and 4 git commands to generate.