diff options
| -rw-r--r-- | include/asm-alpha/ide.h | 20 | ||||
| -rw-r--r-- | include/asm-blackfin/ide.h | 25 | ||||
| -rw-r--r-- | include/asm-h8300/ide.h | 24 | ||||
| -rw-r--r-- | include/asm-ia64/ide.h | 22 | ||||
| -rw-r--r-- | include/asm-m32r/ide.h | 20 | ||||
| -rw-r--r-- | include/asm-sh/ide.h | 21 | ||||
| -rw-r--r-- | include/asm-x86/ide.h | 18 | ||||
| -rw-r--r-- | include/asm-xtensa/ide.h | 21 | ||||
| -rw-r--r-- | include/linux/ide.h | 6 |
9 files changed, 6 insertions, 171 deletions
diff --git a/include/asm-alpha/ide.h b/include/asm-alpha/ide.h deleted file mode 100644 index 55f9f6870249..000000000000 --- a/include/asm-alpha/ide.h +++ /dev/null | |||
| @@ -1,20 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * linux/include/asm-alpha/ide.h | ||
| 3 | * | ||
| 4 | * Copyright (C) 1994-1996 Linus Torvalds & authors | ||
| 5 | */ | ||
| 6 | |||
| 7 | /* | ||
| 8 | * This file contains the alpha architecture specific IDE code. | ||
| 9 | */ | ||
| 10 | |||
| 11 | #ifndef __ASMalpha_IDE_H | ||
| 12 | #define __ASMalpha_IDE_H | ||
| 13 | |||
| 14 | #ifdef __KERNEL__ | ||
| 15 | |||
| 16 | #include <asm-generic/ide_iops.h> | ||
| 17 | |||
| 18 | #endif /* __KERNEL__ */ | ||
| 19 | |||
| 20 | #endif /* __ASMalpha_IDE_H */ | ||
diff --git a/include/asm-blackfin/ide.h b/include/asm-blackfin/ide.h deleted file mode 100644 index 90bc50bd22e9..000000000000 --- a/include/asm-blackfin/ide.h +++ /dev/null | |||
| @@ -1,25 +0,0 @@ | |||
| 1 | /****************************************************************************/ | ||
| 2 | |||
| 3 | /* | ||
| 4 | * linux/include/asm-blackfin/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 | * Copyright (C) 2005 Hennerich Michael (hennerich@blackfin.uclinux.org) | ||
| 11 | */ | ||
| 12 | |||
| 13 | /****************************************************************************/ | ||
| 14 | #ifndef _BLACKFIN_IDE_H | ||
| 15 | #define _BLACKFIN_IDE_H | ||
| 16 | /****************************************************************************/ | ||
| 17 | #ifdef __KERNEL__ | ||
| 18 | /****************************************************************************/ | ||
| 19 | |||
| 20 | #include <asm-generic/ide_iops.h> | ||
| 21 | |||
| 22 | /****************************************************************************/ | ||
| 23 | #endif /* __KERNEL__ */ | ||
| 24 | #endif /* _BLACKFIN_IDE_H */ | ||
| 25 | /****************************************************************************/ | ||
diff --git a/include/asm-h8300/ide.h b/include/asm-h8300/ide.h deleted file mode 100644 index 8f79ba2ff929..000000000000 --- a/include/asm-h8300/ide.h +++ /dev/null | |||
| @@ -1,24 +0,0 @@ | |||
| 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 | #include <asm-generic/ide_iops.h> | ||
| 20 | |||
| 21 | /****************************************************************************/ | ||
| 22 | #endif /* __KERNEL__ */ | ||
| 23 | #endif /* _H8300_IDE_H */ | ||
| 24 | /****************************************************************************/ | ||
diff --git a/include/asm-ia64/ide.h b/include/asm-ia64/ide.h deleted file mode 100644 index 5a0aedea4764..000000000000 --- a/include/asm-ia64/ide.h +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * linux/include/asm-ia64/ide.h | ||
| 3 | * | ||
| 4 | * Copyright (C) 1994-1996 Linus Torvalds & authors | ||
| 5 | */ | ||
| 6 | |||
| 7 | /* | ||
| 8 | * This file contains the ia64 architecture specific IDE code. | ||
| 9 | */ | ||
| 10 | |||
| 11 | #ifndef __ASM_IA64_IDE_H | ||
| 12 | #define __ASM_IA64_IDE_H | ||
| 13 | |||
| 14 | #ifdef __KERNEL__ | ||
| 15 | |||
| 16 | #include <linux/irq.h> | ||
| 17 | |||
| 18 | #include <asm-generic/ide_iops.h> | ||
| 19 | |||
| 20 | #endif /* __KERNEL__ */ | ||
| 21 | |||
| 22 | #endif /* __ASM_IA64_IDE_H */ | ||
diff --git a/include/asm-m32r/ide.h b/include/asm-m32r/ide.h deleted file mode 100644 index 0f1ec6973879..000000000000 --- a/include/asm-m32r/ide.h +++ /dev/null | |||
| @@ -1,20 +0,0 @@ | |||
| 1 | #ifndef _ASM_M32R_IDE_H | ||
| 2 | #define _ASM_M32R_IDE_H | ||
| 3 | |||
| 4 | /* | ||
| 5 | * linux/include/asm-m32r/ide.h | ||
| 6 | * | ||
| 7 | * Copyright (C) 1994-1996 Linus Torvalds & authors | ||
| 8 | */ | ||
| 9 | |||
| 10 | /* | ||
| 11 | * This file contains the i386 architecture specific IDE code. | ||
| 12 | */ | ||
| 13 | |||
| 14 | #ifdef __KERNEL__ | ||
| 15 | |||
| 16 | #include <asm-generic/ide_iops.h> | ||
| 17 | |||
| 18 | #endif /* __KERNEL__ */ | ||
| 19 | |||
| 20 | #endif /* _ASM_M32R_IDE_H */ | ||
diff --git a/include/asm-sh/ide.h b/include/asm-sh/ide.h deleted file mode 100644 index 58e0bdd52be4..000000000000 --- a/include/asm-sh/ide.h +++ /dev/null | |||
| @@ -1,21 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * linux/include/asm-sh/ide.h | ||
| 3 | * | ||
| 4 | * Copyright (C) 1994-1996 Linus Torvalds & authors | ||
| 5 | */ | ||
| 6 | |||
| 7 | /* | ||
| 8 | * This file contains the i386 architecture specific IDE code. | ||
| 9 | * In future, SuperH code. | ||
| 10 | */ | ||
| 11 | |||
| 12 | #ifndef __ASM_SH_IDE_H | ||
| 13 | #define __ASM_SH_IDE_H | ||
| 14 | |||
| 15 | #ifdef __KERNEL__ | ||
| 16 | |||
| 17 | #include <asm-generic/ide_iops.h> | ||
| 18 | |||
| 19 | #endif /* __KERNEL__ */ | ||
| 20 | |||
| 21 | #endif /* __ASM_SH_IDE_H */ | ||
diff --git a/include/asm-x86/ide.h b/include/asm-x86/ide.h deleted file mode 100644 index 0289baf9ce0a..000000000000 --- a/include/asm-x86/ide.h +++ /dev/null | |||
| @@ -1,18 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 1994-1996 Linus Torvalds & authors | ||
| 3 | */ | ||
| 4 | |||
| 5 | /* | ||
| 6 | * This file contains the i386 architecture specific IDE code. | ||
| 7 | */ | ||
| 8 | |||
| 9 | #ifndef __ASMi386_IDE_H | ||
| 10 | #define __ASMi386_IDE_H | ||
| 11 | |||
| 12 | #ifdef __KERNEL__ | ||
| 13 | |||
| 14 | #include <asm-generic/ide_iops.h> | ||
| 15 | |||
| 16 | #endif /* __KERNEL__ */ | ||
| 17 | |||
| 18 | #endif /* __ASMi386_IDE_H */ | ||
diff --git a/include/asm-xtensa/ide.h b/include/asm-xtensa/ide.h deleted file mode 100644 index 18342a2cc774..000000000000 --- a/include/asm-xtensa/ide.h +++ /dev/null | |||
| @@ -1,21 +0,0 @@ | |||
| 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 | #include <asm-generic/ide_iops.h> | ||
| 18 | |||
| 19 | #endif /* __KERNEL__ */ | ||
| 20 | |||
| 21 | #endif /* _XTENSA_IDE_H */ | ||
diff --git a/include/linux/ide.h b/include/linux/ide.h index 76fe00b24b51..fd78b401b036 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
| @@ -211,7 +211,13 @@ static inline int __ide_default_irq(unsigned long base) | |||
| 211 | return 0; | 211 | return 0; |
| 212 | } | 212 | } |
| 213 | 213 | ||
| 214 | #if defined(CONFIG_ARM) || defined(CONFIG_FRV) || defined(CONFIG_M68K) || \ | ||
| 215 | defined(CONFIG_MIPS) || defined(CONFIG_MN10300) || defined(CONFIG_PARISC) \ | ||
| 216 | || defined(CONFIG_PPC) || defined(CONFIG_SPARC) || defined(CONFIG_SPARC64) | ||
| 214 | #include <asm/ide.h> | 217 | #include <asm/ide.h> |
| 218 | #else | ||
| 219 | #include <asm-generic/ide_iops.h> | ||
| 220 | #endif | ||
| 215 | 221 | ||
| 216 | #ifndef MAX_HWIFS | 222 | #ifndef MAX_HWIFS |
| 217 | #if defined(CONFIG_BLACKFIN) || defined(CONFIG_H8300) || defined(CONFIG_XTENSA) | 223 | #if defined(CONFIG_BLACKFIN) || defined(CONFIG_H8300) || defined(CONFIG_XTENSA) |
