ide.h 788 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * linux/include/asm-arm/ide.h
  3. *
  4. * Copyright (C) 1994-1996 Linus Torvalds & authors
  5. */
  6. /*
  7. * This file contains the i386 architecture specific IDE code.
  8. */
  9. #ifndef __ASMARM_IDE_H
  10. #define __ASMARM_IDE_H
  11. #ifdef __KERNEL__
  12. #ifndef MAX_HWIFS
  13. #define MAX_HWIFS 4
  14. #endif
  15. #include <asm/irq.h>
  16. #include <asm/mach-types.h>
  17. /* JMA 18.05.03 these will never be needed, but the kernel needs them to compile */
  18. #define __ide_mm_insw(port,addr,len) readsw(port,addr,len)
  19. #define __ide_mm_insl(port,addr,len) readsl(port,addr,len)
  20. #define __ide_mm_outsw(port,addr,len) writesw(port,addr,len)
  21. #define __ide_mm_outsl(port,addr,len) writesl(port,addr,len)
  22. #define IDE_ARCH_OBSOLETE_INIT
  23. #define ide_default_io_ctl(base) (0)
  24. #endif /* __KERNEL__ */
  25. #endif /* __ASMARM_IDE_H */