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: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
parent 38b66f84
...@@ -57,6 +57,7 @@ if IDE ...@@ -57,6 +57,7 @@ if IDE
config IDE_MAX_HWIFS config IDE_MAX_HWIFS
int "Max IDE interfaces" int "Max IDE interfaces"
depends on ALPHA || SUPERH || IA64 || EMBEDDED depends on ALPHA || SUPERH || IA64 || EMBEDDED
range 1 10
default 4 default 4
help help
This is the maximum number of IDE hardware interfaces that will This is the maximum number of IDE hardware interfaces that will
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment