Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 191808
b: refs/heads/master
c: 7d60a04
h: refs/heads/master
v: v3
  • Loading branch information
Russell King committed May 2, 2010
1 parent d9fbd95 commit 34a42e2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: da7ba956c84d3c85c5ec619af794a6ca0ee3faae
refs/heads/master: 7d60a044c8226d86fa93c2cf90ccdb97e3ba28fa
14 changes: 7 additions & 7 deletions trunk/arch/arm/mach-integrator/include/mach/hardware.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,18 @@
#define PCIO_BASE PCI_IO_VADDR
#define PCIMEM_BASE PCI_MEMORY_VADDR

#ifdef CONFIG_MMU
/* macro to get at IO space when running virtually */
#define IO_ADDRESS(x) (((x) >> 4) + IO_BASE)
#else
#define IO_ADDRESS(x) (x)
#endif

#define pcibios_assign_all_busses() 1

#define PCIBIOS_MIN_IO 0x6000
#define PCIBIOS_MIN_MEM 0x00100000

/* macro to get at IO space when running virtually */
#ifdef CONFIG_MMU
#define IO_ADDRESS(x) (((x) & 0x000fffff) | (((x) >> 4) & 0x0ff00000) | IO_BASE)
#else
#define IO_ADDRESS(x) (x)
#endif

#define __io_address(n) ((void __iomem *)IO_ADDRESS(n))

#endif
Expand Down

0 comments on commit 34a42e2

Please sign in to comment.