ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / include / asm-ppc64 / ide.h
1 /*
2  *  linux/include/asm-ppc/ide.h
3  *
4  *  Copyright (C) 1994-1996 Linus Torvalds & authors
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License
8  * as published by the Free Software Foundation; either version
9  * 2 of the License, or (at your option) any later version.
10  */
11
12 /*
13  *  This file contains the ppc64 architecture specific IDE code.
14  */
15
16 #ifndef __ASMPPC64_IDE_H
17 #define __ASMPPC64_IDE_H
18
19 #ifdef __KERNEL__
20
21 #ifndef MAX_HWIFS
22 # define MAX_HWIFS      4
23 #endif
24
25 static inline int ide_default_irq(unsigned long base) { return 0; }
26 static inline unsigned long ide_default_io_base(int index) { return 0; }
27
28 #define ide_init_default_irq(base)      (0)
29
30 #endif /* __KERNEL__ */
31
32 #endif /* __ASMPPC64_IDE_H */