diff options
author | John Linn <john.linn@xilinx.com> | 2010-02-24 14:55:02 -0500 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2012-10-04 09:19:33 -0400 |
commit | c74c8b1dcbaa890a064a5892e29cec5ce42d5b84 (patch) | |
tree | e0e393eb556e3bd7e316ebf9905fd5c5150b580f /arch/microblaze/include/asm/io.h | |
parent | aaa5241ebb53733663775c8a044004d63a126eb6 (diff) |
microblaze: Added more support for PCI
In order to use an off the shelf nic, like the intel pro card,
changes are needed to support pci dma interfaces and other
small changes.
Signed-off-by: John Linn <john.linn@xilinx.com>
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/include/asm/io.h')
-rw-r--r-- | arch/microblaze/include/asm/io.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/io.h b/arch/microblaze/include/asm/io.h index e4a797478603..4fbfdc1ac7f8 100644 --- a/arch/microblaze/include/asm/io.h +++ b/arch/microblaze/include/asm/io.h | |||
@@ -35,6 +35,10 @@ extern resource_size_t isa_mem_base; | |||
35 | 35 | ||
36 | #define IO_SPACE_LIMIT (0xFFFFFFFF) | 36 | #define IO_SPACE_LIMIT (0xFFFFFFFF) |
37 | 37 | ||
38 | /* the following is needed to support PCI with some drivers */ | ||
39 | |||
40 | #define mmiowb() | ||
41 | |||
38 | static inline unsigned char __raw_readb(const volatile void __iomem *addr) | 42 | static inline unsigned char __raw_readb(const volatile void __iomem *addr) |
39 | { | 43 | { |
40 | return *(volatile unsigned char __force *)addr; | 44 | return *(volatile unsigned char __force *)addr; |