ide.h 700 B

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * include/asm-xtensa/ide.h
  3. *
  4. * This file is subject to the terms and conditions of the GNU General Public
  5. * License. See the file "COPYING" in the main directory of this archive
  6. * for more details.
  7. *
  8. * Copyright (C) 1994 - 1996 Linus Torvalds & authors
  9. * Copyright (C) 2001 - 2005 Tensilica Inc.
  10. */
  11. #ifndef _XTENSA_IDE_H
  12. #define _XTENSA_IDE_H
  13. #ifdef __KERNEL__
  14. #include <linux/config.h>
  15. #ifndef MAX_HWIFS
  16. # define MAX_HWIFS 1
  17. #endif
  18. static __inline__ int ide_default_irq(unsigned long base)
  19. {
  20. /* Unsupported! */
  21. return 0;
  22. }
  23. static __inline__ unsigned long ide_default_io_base(int index)
  24. {
  25. /* Unsupported! */
  26. return 0;
  27. }
  28. #endif /* __KERNEL__ */
  29. #endif /* _XTENSA_IDE_H */