|
@@ -76,7 +76,7 @@ static inline void __indirect_writeb(u8 value, volatile void __iomem *p)
|
|
|
u32 n, byte_enables, data;
|
|
|
|
|
|
if (!is_pci_memory(addr)) {
|
|
|
- __raw_writeb(value, addr);
|
|
|
+ __raw_writeb(value, p);
|
|
|
return;
|
|
|
}
|
|
|
|
|
@@ -141,7 +141,7 @@ static inline unsigned char __indirect_readb(const volatile void __iomem *p)
|
|
|
u32 n, byte_enables, data;
|
|
|
|
|
|
if (!is_pci_memory(addr))
|
|
|
- return __raw_readb(addr);
|
|
|
+ return __raw_readb(p);
|
|
|
|
|
|
n = addr % 4;
|
|
|
byte_enables = (0xf & ~BIT(n)) << IXP4XX_PCI_NP_CBE_BESL;
|