home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / src / linux-headers-2.6.17-6 / include / asm-xtensa / ide.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-08-11  |  674 b   |  36 lines

  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.  
  12. #ifndef _XTENSA_IDE_H
  13. #define _XTENSA_IDE_H
  14.  
  15. #ifdef __KERNEL__
  16.  
  17.  
  18. #ifndef MAX_HWIFS
  19. # define MAX_HWIFS    1
  20. #endif
  21.  
  22. static __inline__ int ide_default_irq(unsigned long base)
  23. {
  24.     /* Unsupported! */
  25.       return 0;
  26. }
  27.  
  28. static __inline__ unsigned long ide_default_io_base(int index)
  29. {
  30.     /* Unsupported! */
  31.       return 0;
  32. }
  33.  
  34. #endif    /* __KERNEL__ */
  35. #endif    /* _XTENSA_IDE_H */
  36.