Skip to content

Commit

Permalink
microblaze: Added more support for PCI
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
  • Loading branch information
John Linn authored and michalsimek committed Oct 4, 2012
1 parent aaa5241 commit c74c8b1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/microblaze/include/asm/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ extern resource_size_t isa_mem_base;

#define IO_SPACE_LIMIT (0xFFFFFFFF)

/* the following is needed to support PCI with some drivers */

#define mmiowb()

static inline unsigned char __raw_readb(const volatile void __iomem *addr)
{
return *(volatile unsigned char __force *)addr;
Expand Down
2 changes: 2 additions & 0 deletions arch/microblaze/include/asm/pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
#include <asm/prom.h>
#include <asm/pci-bridge.h>

#include <asm-generic/pci-dma-compat.h>

#define PCIBIOS_MIN_IO 0x1000
#define PCIBIOS_MIN_MEM 0x10000000

Expand Down

0 comments on commit c74c8b1

Please sign in to comment.