mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 02:19:23 +02:00
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
This commit is contained in:
parent
11543233b2
commit
536ce77ab8
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user