io.h 553 B

1234567891011121314151617181920212223242526
  1. /*
  2. * linux/include/asm-arm/arch-sa1100/io.h
  3. *
  4. * Copyright (C) 1997-1999 Russell King
  5. *
  6. * Modifications:
  7. * 06-12-1997 RMK Created.
  8. * 07-04-1999 RMK Major cleanup
  9. */
  10. #ifndef __ASM_ARM_ARCH_IO_H
  11. #define __ASM_ARM_ARCH_IO_H
  12. #define IO_SPACE_LIMIT 0xffffffff
  13. /*
  14. * We don't actually have real ISA nor PCI buses, but there is so many
  15. * drivers out there that might just work if we fake them...
  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