linux-mips
[Top] [All Lists]

[PATCH 2.6.X] Fix Cobalt PCI cache line sizes

To: linux-mips@linux-mips.org
Subject: [PATCH 2.6.X] Fix Cobalt PCI cache line sizes
From: Peter Horton <pdh@colonel-panic.org>
Date: Sun, 29 Jan 2006 21:33:48 +0000
Cc: ralf@linux-mips.org
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.9i
Correct cache line sizes.

P.

Index: linux.git/arch/mips/pci/fixup-cobalt.c
===================================================================
--- linux.git.orig/arch/mips/pci/fixup-cobalt.c 2006-01-29 12:35:50.000000000 
+0000
+++ linux.git/arch/mips/pci/fixup-cobalt.c      2006-01-29 12:36:59.000000000 
+0000
@@ -52,7 +52,7 @@
        pci_read_config_byte(dev, PCI_LATENCY_TIMER, &lt);
        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 @@
         * 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

<Prev in Thread] Current Thread [Next in Thread>