diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-04-04 22:04:54 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-04-04 22:04:54 +0000 |
commit | 536ce77ab8b2b371f7b7d6afe3a46afd54bd93f5 (patch) | |
tree | 50a23df25f2903a85751def3d44fb4e70d858a38 /target/linux | |
parent | 11543233b23052270bdda2cb21cc41096e579904 (diff) |
add pci latency timer workaround for atheros cards (from #1546)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6867 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/brcm47xx-2.6/files/drivers/ssb/driver_pci/pcicore.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/brcm47xx-2.6/files/drivers/ssb/driver_pci/pcicore.c b/target/linux/brcm47xx-2.6/files/drivers/ssb/driver_pci/pcicore.c index d9aa22b35..e18e486c0 100644 --- a/target/linux/brcm47xx-2.6/files/drivers/ssb/driver_pci/pcicore.c +++ b/target/linux/brcm47xx-2.6/files/drivers/ssb/driver_pci/pcicore.c @@ -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); |