ide.h 566 B

123456789101112131415161718192021222324
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * arch/arm/include/asm/ide.h
  4. *
  5. * Copyright (C) 1994-1996 Linus Torvalds & authors
  6. */
  7. /*
  8. * This file contains the ARM architecture specific IDE code.
  9. */
  10. #ifndef __ASMARM_IDE_H
  11. #define __ASMARM_IDE_H
  12. #ifdef __KERNEL__
  13. #define __ide_mm_insw(port,addr,len) readsw(port,addr,len)
  14. #define __ide_mm_insl(port,addr,len) readsl(port,addr,len)
  15. #define __ide_mm_outsw(port,addr,len) writesw(port,addr,len)
  16. #define __ide_mm_outsl(port,addr,len) writesl(port,addr,len)
  17. #endif /* __KERNEL__ */
  18. #endif /* __ASMARM_IDE_H */