ide.h 628 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * linux/include/asm-sh64/ide.h
  3. *
  4. * Copyright (C) 1994-1996 Linus Torvalds & authors
  5. *
  6. * sh64 version by Richard Curnow & Paul Mundt
  7. */
  8. /*
  9. * This file contains the sh64 architecture specific IDE code.
  10. */
  11. #ifndef __ASM_SH64_IDE_H
  12. #define __ASM_SH64_IDE_H
  13. #ifdef __KERNEL__
  14. #include <linux/config.h>
  15. /* Without this, the initialisation of PCI IDE cards end up calling
  16. * ide_init_hwif_ports, which won't work. */
  17. #ifdef CONFIG_BLK_DEV_IDEPCI
  18. #define IDE_ARCH_OBSOLETE_INIT 1
  19. #define ide_default_io_ctl(base) (0)
  20. #endif
  21. #include <asm-generic/ide_iops.h>
  22. #endif /* __KERNEL__ */
  23. #endif /* __ASM_SH64_IDE_H */