ide.h 693 B

1234567891011121314151617181920212223242526272829303132333435
  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. #ifndef MAX_HWIFS
  16. #define MAX_HWIFS CONFIG_IDE_MAX_HWIFS
  17. #endif
  18. /* Without this, the initialisation of PCI IDE cards end up calling
  19. * ide_init_hwif_ports, which won't work. */
  20. #ifdef CONFIG_BLK_DEV_IDEPCI
  21. #define IDE_ARCH_OBSOLETE_INIT 1
  22. #define ide_default_io_ctl(base) (0)
  23. #endif
  24. #include <asm-generic/ide_iops.h>
  25. #endif /* __KERNEL__ */
  26. #endif /* __ASM_SH64_IDE_H */