diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-08-05 18:17:01 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-08-05 18:17:01 +0200 |
commit | c5bfc3757f1d843a8e1261840c1f53c5062f8e92 (patch) | |
tree | cd0a125eaaa3e4c8b2e90c59fc8d13e1011776bb /include | |
parent | 0e25f710618ce919ac5ae4850c90d3fca19565c3 (diff) | |
download | linux-3.10-c5bfc3757f1d843a8e1261840c1f53c5062f8e92.tar.gz linux-3.10-c5bfc3757f1d843a8e1261840c1f53c5062f8e92.tar.bz2 linux-3.10-c5bfc3757f1d843a8e1261840c1f53c5062f8e92.zip |
ide: remove CONFIG_IDE_MAX_HWIFS
The benefits of a user settable CONFIG_IDE_MAX_HWIFS have become pretty
tiny and are no longer considered worth the trouble of an own option.
Simply always #define MAX_HWIFS to 10.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ide.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index b1fb15f10a0..87c12ed9695 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h @@ -219,18 +219,7 @@ static inline int __ide_default_irq(unsigned long base) #include <asm-generic/ide_iops.h> #endif -#ifndef MAX_HWIFS -#if defined(CONFIG_BLACKFIN) || defined(CONFIG_H8300) || defined(CONFIG_XTENSA) -# define MAX_HWIFS 1 -#else -# define MAX_HWIFS 10 -#endif -#endif - -#if !defined(MAX_HWIFS) || defined(CONFIG_EMBEDDED) -#undef MAX_HWIFS -#define MAX_HWIFS CONFIG_IDE_MAX_HWIFS -#endif +#define MAX_HWIFS 10 /* Currently only m68k, apus and m8xx need it */ #ifndef IDE_ARCH_ACK_INTR |