ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / include / asm-h8300 / ide.h
1 /****************************************************************************/
2
3 /*
4  *  linux/include/asm-h8300/ide.h
5  *
6  *  Copyright (C) 1994-1996  Linus Torvalds & authors
7  *  Copyright (C) 2001       Lineo Inc., davidm@snapgear.com
8  *  Copyright (C) 2002       Greg Ungerer (gerg@snapgear.com)
9  *  Copyright (C) 2002       Yoshinori Sato (ysato@users.sourceforge.jp)
10  */
11
12 /****************************************************************************/
13 #ifndef _H8300_IDE_H
14 #define _H8300_IDE_H
15 /****************************************************************************/
16 #ifdef __KERNEL__
17 /****************************************************************************/
18
19 void h8300_ide_print_resource(char *name, hw_regs_t *hw);
20 static __inline__ int ide_default_irq(unsigned long base) { return 0; };
21 static __inline__ unsigned long ide_default_io_base(int index) { return 0; };
22
23 static __inline__ void ide_init_hwif_ports(hw_regs_t *hw, unsigned long data_port,
24          unsigned long ctrl_port, int *irq)
25 {
26 }
27
28 #define ide_init_default_irq(base)      (0)
29
30 #define MAX_HWIFS       1
31
32 #define __ide_mm_insw(port,addr,count)  do { } while(0)
33 #define __ide_mm_insl(port,addr,count)  do { } while(0)
34 #define __ide_mm_outsw(port,addr,count) do { } while(0)
35 #define __ide_mm_outsl(port,addr,count) do { } while(0)
36
37 /****************************************************************************/
38 #endif /* __KERNEL__ */
39 #endif /* _H8300_IDE_H */
40 /****************************************************************************/