diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-04-04 22:04:54 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-04-04 22:04:54 +0000 |
commit | 769302fc498422f28a79811c8c2d6d5b1b2e0bf8 (patch) | |
tree | 1170e01196237c61e51927258cb035b0605e3cc4 | |
parent | ed654ae6bdc0dab58832afb7172b5e7361fe1a56 (diff) | |
download | upstream-769302fc498422f28a79811c8c2d6d5b1b2e0bf8.tar.gz upstream-769302fc498422f28a79811c8c2d6d5b1b2e0bf8.tar.bz2 upstream-769302fc498422f28a79811c8c2d6d5b1b2e0bf8.zip |
add pci latency timer workaround for atheros cards (from #1546)
SVN-Revision: 6867
-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 d9aa22b351..e18e486c01 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); |