Commit 0426a096 authored by Dave Jones's avatar Dave Jones Committed by Linus Torvalds

[PATCH] KT266x latency fix.

From 2.4, see comment in diff.
parent 8bd2ec16
...@@ -148,6 +148,11 @@ static void __init pci_fixup_via_northbridge_bug(struct pci_dev *d) ...@@ -148,6 +148,11 @@ static void __init pci_fixup_via_northbridge_bug(struct pci_dev *d)
pci_read_config_byte(d, PCI_REVISION_ID, &revision); pci_read_config_byte(d, PCI_REVISION_ID, &revision);
if (d->device == PCI_DEVICE_ID_VIA_8367_0) { if (d->device == PCI_DEVICE_ID_VIA_8367_0) {
/* fix pci bus latency issues resulted by NB bios error
it appears on bug free^Wreduced kt266x's bios forces
NB latency to zero */
pci_write_config_byte(d, PCI_LATENCY_TIMER, 0);
where = 0x95; /* the memory write queue timer register is where = 0x95; /* the memory write queue timer register is
different for the KT266x's: 0x95 not 0x55 */ different for the KT266x's: 0x95 not 0x55 */
} else if (d->device == PCI_DEVICE_ID_VIA_8363_0 && } else if (d->device == PCI_DEVICE_ID_VIA_8363_0 &&
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment