io.h 587 B

123456789101112131415161718192021222324252627
  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. #include <mach/hardware.h>
  13. #define IO_SPACE_LIMIT 0xffffffff
  14. /*
  15. * There are not real ISA nor PCI buses, so we fake it.
  16. */
  17. static inline void __iomem *__io(unsigned long addr)
  18. {
  19. return (void __iomem *)addr;
  20. }
  21. #define __io(a) __io(a)
  22. #define __mem_pci(a) (a)
  23. #endif