diff options
Diffstat (limited to 'include/asm-sparc64/io.h')
| -rw-r--r-- | include/asm-sparc64/io.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/asm-sparc64/io.h b/include/asm-sparc64/io.h index 30b912d8e8bc..ad595b679842 100644 --- a/include/asm-sparc64/io.h +++ b/include/asm-sparc64/io.h | |||
| @@ -24,14 +24,6 @@ extern unsigned long kern_base, kern_size; | |||
| 24 | #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) | 24 | #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) |
| 25 | #define BIO_VMERGE_BOUNDARY 8192 | 25 | #define BIO_VMERGE_BOUNDARY 8192 |
| 26 | 26 | ||
| 27 | /* Different PCI controllers we support have their PCI MEM space | ||
| 28 | * mapped to an either 2GB (Psycho) or 4GB (Sabre) aligned area, | ||
| 29 | * so need to chop off the top 33 or 32 bits. | ||
| 30 | */ | ||
| 31 | extern unsigned long pci_memspace_mask; | ||
| 32 | |||
| 33 | #define bus_dvma_to_mem(__vaddr) ((__vaddr) & pci_memspace_mask) | ||
| 34 | |||
| 35 | static __inline__ u8 _inb(unsigned long addr) | 27 | static __inline__ u8 _inb(unsigned long addr) |
| 36 | { | 28 | { |
| 37 | u8 ret; | 29 | u8 ret; |
