io.h 559 B

12345678910111213141516171819202122232425
  1. /*
  2. * arch/arm/mach-l7200/include/mach/io.h
  3. *
  4. * Copyright (C) 2000 Steve Hill (sjhill@cotw.com)
  5. *
  6. * Changelog:
  7. * 03-21-2000 SJH Created from arch/arm/mach-nexuspci/include/mach/io.h
  8. * 08-31-2000 SJH Added in IO functions necessary for new drivers
  9. */
  10. #ifndef __ASM_ARM_ARCH_IO_H
  11. #define __ASM_ARM_ARCH_IO_H
  12. #define IO_SPACE_LIMIT 0xffffffff
  13. /*
  14. * There are not real ISA nor PCI buses, so we fake it.
  15. */
  16. static inline void __iomem *__io(unsigned long addr)
  17. {
  18. return (void __iomem *)addr;
  19. }
  20. #define __io(a) __io(a)
  21. #define __mem_pci(a) (a)
  22. #endif