diff options
Diffstat (limited to 'include/asm-mips/io.h')
-rw-r--r-- | include/asm-mips/io.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/include/asm-mips/io.h b/include/asm-mips/io.h index f18d2816cbec..501a40b9f18d 100644 --- a/include/asm-mips/io.h +++ b/include/asm-mips/io.h | |||
@@ -161,13 +161,6 @@ static inline void * isa_bus_to_virt(unsigned long address) | |||
161 | #define bus_to_virt phys_to_virt | 161 | #define bus_to_virt phys_to_virt |
162 | 162 | ||
163 | /* | 163 | /* |
164 | * isa_slot_offset is the address where E(ISA) busaddress 0 is mapped | ||
165 | * for the processor. This implies the assumption that there is only | ||
166 | * one of these busses. | ||
167 | */ | ||
168 | extern unsigned long isa_slot_offset; | ||
169 | |||
170 | /* | ||
171 | * Change "struct page" to physical address. | 164 | * Change "struct page" to physical address. |
172 | */ | 165 | */ |
173 | #define page_to_phys(page) ((dma_addr_t)page_to_pfn(page) << PAGE_SHIFT) | 166 | #define page_to_phys(page) ((dma_addr_t)page_to_pfn(page) << PAGE_SHIFT) |
@@ -528,16 +521,6 @@ static inline void memcpy_toio(volatile void __iomem *dst, const void *src, int | |||
528 | } | 521 | } |
529 | 522 | ||
530 | /* | 523 | /* |
531 | * ISA space is 'always mapped' on currently supported MIPS systems, no need | ||
532 | * to explicitly ioremap() it. The fact that the ISA IO space is mapped | ||
533 | * to PAGE_OFFSET is pure coincidence - it does not mean ISA values | ||
534 | * are physical addresses. The following constant pointer can be | ||
535 | * used as the IO-area pointer (it can be iounmapped as well, so the | ||
536 | * analogy with PCI is quite large): | ||
537 | */ | ||
538 | #define __ISA_IO_base ((char *)(isa_slot_offset)) | ||
539 | |||
540 | /* | ||
541 | * The caches on some architectures aren't dma-coherent and have need to | 524 | * The caches on some architectures aren't dma-coherent and have need to |
542 | * handle this in software. There are three types of operations that | 525 | * handle this in software. There are three types of operations that |
543 | * can be applied to dma buffers. | 526 | * can be applied to dma buffers. |