aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/Kconfig
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-04-20 16:16:58 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-04-20 16:16:58 -0400
commit8929fea39cb0ab3e455fe00e7eb6806c32155cd2 (patch)
tree75c4ff89edeae4d5d7293035843e0438c0857c08 /drivers/ide/Kconfig
parent38b66f8444050c7cdfad759b8b556338e1fcb4da (diff)
ide/Kconfig: add missing range check for IDE_MAX_HWIFS
ide_hwif_to_major[] has only 10 entries as there are 10 major numbers reserved for IDE (if somebody needs more it shouldn't be hard to fix). Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/Kconfig')
-rw-r--r--drivers/ide/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ide/Kconfig b/drivers/ide/Kconfig
index ca2e4f830c39..5bdf64b77913 100644
--- a/drivers/ide/Kconfig
+++ b/drivers/ide/Kconfig
@@ -57,6 +57,7 @@ if IDE
57config IDE_MAX_HWIFS 57config IDE_MAX_HWIFS
58 int "Max IDE interfaces" 58 int "Max IDE interfaces"
59 depends on ALPHA || SUPERH || IA64 || EMBEDDED 59 depends on ALPHA || SUPERH || IA64 || EMBEDDED
60 range 1 10
60 default 4 61 default 4
61 help 62 help
62 This is the maximum number of IDE hardware interfaces that will 63 This is the maximum number of IDE hardware interfaces that will