소스 검색

add pci latency timer workaround for atheros cards (from #1546)

SVN-Revision: 6867
Felix Fietkau 19 년 전
부모
커밋
769302fc49
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      target/linux/brcm47xx-2.6/files/drivers/ssb/driver_pci/pcicore.c

+ 3 - 0
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 */
 	/* Enable PCI bridge BAR1 prefetch and burst */
 	pci_write_config_dword(dev, SSB_BAR1_CONTROL, 3);
 	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);
 DECLARE_PCI_FIXUP_EARLY(PCI_ANY_ID, PCI_ANY_ID, ssb_fixup_pcibridge);