diff options
Diffstat (limited to 'arch/sh/drivers/pci/fixups-lboxre2.c')
-rw-r--r-- | arch/sh/drivers/pci/fixups-lboxre2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/drivers/pci/fixups-lboxre2.c b/arch/sh/drivers/pci/fixups-lboxre2.c index 40b19bdfb891..1c1d41255ec0 100644 --- a/arch/sh/drivers/pci/fixups-lboxre2.c +++ b/arch/sh/drivers/pci/fixups-lboxre2.c | |||
@@ -18,7 +18,7 @@ int pci_fixup_pcic(void) | |||
18 | { | 18 | { |
19 | unsigned long bcr1, mcr; | 19 | unsigned long bcr1, mcr; |
20 | 20 | ||
21 | bcr1 = inl(SH7751_BCR1); | 21 | bcr1 = ctrl_inl(SH7751_BCR1); |
22 | bcr1 |= 0x40080000; /* Enable Bit 19 BREQEN, set PCIC to slave */ | 22 | bcr1 |= 0x40080000; /* Enable Bit 19 BREQEN, set PCIC to slave */ |
23 | pci_write_reg(bcr1, SH4_PCIBCR1); | 23 | pci_write_reg(bcr1, SH4_PCIBCR1); |
24 | 24 | ||
@@ -28,7 +28,7 @@ int pci_fixup_pcic(void) | |||
28 | pci_write_reg(0xfb900047, SH7751_PCICONF1); | 28 | pci_write_reg(0xfb900047, SH7751_PCICONF1); |
29 | pci_write_reg(0xab000001, SH7751_PCICONF4); | 29 | pci_write_reg(0xab000001, SH7751_PCICONF4); |
30 | 30 | ||
31 | mcr = inl(SH7751_MCR); | 31 | mcr = ctrl_inl(SH7751_MCR); |
32 | mcr = (mcr & PCIMCR_MRSET_OFF) & PCIMCR_RFSH_OFF; | 32 | mcr = (mcr & PCIMCR_MRSET_OFF) & PCIMCR_RFSH_OFF; |
33 | pci_write_reg(mcr, SH4_PCIMCR); | 33 | pci_write_reg(mcr, SH4_PCIMCR); |
34 | 34 | ||