mirror of
https://github.com/adulau/aha.git
synced 2025-01-01 05:36:24 +00:00
[MIPS] Fix Cobalt PCI cache line sizes
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
c315a2b5fe
commit
52378445da
1 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@ static void qube_raq_via_bmIDE_fixup(struct pci_dev *dev)
|
|||
pci_read_config_byte(dev, PCI_LATENCY_TIMER, <);
|
||||
if (lt < 64)
|
||||
pci_write_config_byte(dev, PCI_LATENCY_TIMER, 64);
|
||||
pci_write_config_byte(dev, PCI_CACHE_LINE_SIZE, 7);
|
||||
pci_write_config_byte(dev, PCI_CACHE_LINE_SIZE, 8);
|
||||
}
|
||||
|
||||
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C586_1,
|
||||
|
@ -69,7 +69,7 @@ static void qube_raq_galileo_fixup(struct pci_dev *dev)
|
|||
* host bridge.
|
||||
*/
|
||||
pci_write_config_byte(dev, PCI_LATENCY_TIMER, 64);
|
||||
pci_write_config_byte(dev, PCI_CACHE_LINE_SIZE, 7);
|
||||
pci_write_config_byte(dev, PCI_CACHE_LINE_SIZE, 8);
|
||||
|
||||
/*
|
||||
* The code described by the comment below has been removed
|
||||
|
|
Loading…
Reference in a new issue