projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38b66f8
)
ide/Kconfig: add missing range check for IDE_MAX_HWIFS
author
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Fri, 20 Apr 2007 20:16:58 +0000
(22:16 +0200)
committer
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Fri, 20 Apr 2007 20:16:58 +0000
(22:16 +0200)
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>
drivers/ide/Kconfig
patch
|
blob
|
history
diff --git
a/drivers/ide/Kconfig
b/drivers/ide/Kconfig
index ca2e4f830c392b01491248362c834901f73f920a..5bdf64b779134d555508891dbe49e7a55651f904 100644
(file)
--- a/
drivers/ide/Kconfig
+++ b/
drivers/ide/Kconfig
@@
-57,6
+57,7
@@
if IDE
config IDE_MAX_HWIFS
int "Max IDE interfaces"
depends on ALPHA || SUPERH || IA64 || EMBEDDED
+ range 1 10
default 4
help
This is the maximum number of IDE hardware interfaces that will