summaryrefslogtreecommitdiffstats
path: root/arch/mips/au1000/common/pci.c
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2007-02-11 02:36:29 +0100
committerDave Jones <davej@redhat.com>2007-02-11 02:36:29 +0100
commitbd0561c9d8dcbf21cd9aa46c416bbf6a3a12e4b1 (patch)
tree64fe15d4db42e0840acea00e4cf7e1855bba9e96 /arch/mips/au1000/common/pci.c
parent[CPUFREQ] Longhaul - Separate frequency and voltage transition (diff)
parentlibata: kill ATA_ENABLE_PATA (diff)
downloadlinux-bd0561c9d8dcbf21cd9aa46c416bbf6a3a12e4b1.tar.xz
linux-bd0561c9d8dcbf21cd9aa46c416bbf6a3a12e4b1.zip
[CPUFREQ] Fix up merge conflicts with recent ACPI changes.
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'arch/mips/au1000/common/pci.c')
-rw-r--r--arch/mips/au1000/common/pci.c18
1 files changed, 11 insertions, 7 deletions
diff --git a/arch/mips/au1000/common/pci.c b/arch/mips/au1000/common/pci.c
index 9f8ce08e173b..6c25e6c09f78 100644
--- a/arch/mips/au1000/common/pci.c
+++ b/arch/mips/au1000/common/pci.c
@@ -76,13 +76,17 @@ static int __init au1x_pci_setup(void)
}
#ifdef CONFIG_DMA_NONCOHERENT
- /*
- * Set the NC bit in controller for Au1500 pre-AC silicon
- */
- u32 prid = read_c0_prid();
- if ( (prid & 0xFF000000) == 0x01000000 && prid < 0x01030202) {
- au_writel( 1<<16 | au_readl(Au1500_PCI_CFG), Au1500_PCI_CFG);
- printk("Non-coherent PCI accesses enabled\n");
+ {
+ /*
+ * Set the NC bit in controller for Au1500 pre-AC silicon
+ */
+ u32 prid = read_c0_prid();
+
+ if ((prid & 0xFF000000) == 0x01000000 && prid < 0x01030202) {
+ au_writel((1 << 16) | au_readl(Au1500_PCI_CFG),
+ Au1500_PCI_CFG);
+ printk("Non-coherent PCI accesses enabled\n");
+ }
}
#endif