summaryrefslogtreecommitdiff
path: root/include/asm-frv/ide.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-07-25 00:53:30 +0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-07-25 00:53:30 +0400
commitd83b8b85cd56a083d30df73f3fd5e4714591b910 (patch)
tree1fac379e8d909361ecbf934645463a00e706dafc /include/asm-frv/ide.h
parent2c9d86438a0104800da2a8ecdc1e27baf38ba6a4 (diff)
downloadlinux-d83b8b85cd56a083d30df73f3fd5e4714591b910.tar.xz
ide: define MAX_HWIFS in <linux/ide.h>
* Now that ide_hwif_t instances are allocated dynamically the difference between MAX_HWIFS == 2 and MAX_HWIFS == 10 is ~100 bytes (x86-32) so use MAX_HWIFS == 10 on all archs except these ones that use MAX_HWIFS == 1. * Define MAX_HWIFS in <linux/ide.h> instead of <asm/ide.h>. [ Please note that avr32/cris/v850 have no <asm/ide.h> and alpha/ia64/sh always define CONFIG_IDE_MAX_HWIFS. ] Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/asm-frv/ide.h')
-rw-r--r--include/asm-frv/ide.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/asm-frv/ide.h b/include/asm-frv/ide.h
index 8c9a540d4344..7ebcc56a2229 100644
--- a/include/asm-frv/ide.h
+++ b/include/asm-frv/ide.h
@@ -18,10 +18,6 @@
#include <asm/io.h>
#include <asm/irq.h>
-#ifndef MAX_HWIFS
-#define MAX_HWIFS 8
-#endif
-
/****************************************************************************/
/*
* some bits needed for parts of the IDE subsystem to compile