Only pre-allocate 256 bytes of cardbio IO range
[linux-2.6.git] / include / asm-xtensa / ide.h
blobb523cd4a486ec155f347fa2a6738b4a739a3fb61
1 /*
2 * include/asm-xtensa/ide.h
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.
8 * Copyright (C) 1994 - 1996 Linus Torvalds & authors
9 * Copyright (C) 2001 - 2005 Tensilica Inc.
12 #ifndef _XTENSA_IDE_H
13 #define _XTENSA_IDE_H
15 #ifdef __KERNEL__
17 #include <linux/config.h>
19 #ifndef MAX_HWIFS
20 # define MAX_HWIFS 1
21 #endif
23 static __inline__ int ide_default_irq(unsigned long base)
25 /* Unsupported! */
26 return 0;
29 static __inline__ unsigned long ide_default_io_base(int index)
31 /* Unsupported! */
32 return 0;
35 #endif /* __KERNEL__ */
36 #endif /* _XTENSA_IDE_H */