summaryrefslogtreecommitdiffstats
path: root/include/asm-sh/ide.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sh/ide.h')
-rw-r--r--include/asm-sh/ide.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-sh/ide.h b/include/asm-sh/ide.h
index 25570cea2..db9df9256 100644
--- a/include/asm-sh/ide.h
+++ b/include/asm-sh/ide.h
@@ -18,7 +18,8 @@
#include <asm/machvec.h>
#ifndef MAX_HWIFS
-#define MAX_HWIFS 1
+/* Should never have less than 2, ide-pci.c(ide_match_hwif) requires it */
+#define MAX_HWIFS 2
#endif
#define ide__sti() __sti()