diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-03-03 11:48:55 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-03-03 11:48:55 -0500 |
commit | 849138827c962589ac50496fa7feeb2a2d51b467 (patch) | |
tree | 3b7988c756068f00ccf8a1440a0f3709a241bcad /drivers/ide/ide.c | |
parent | b6209a90eca8c9a464bf9c5b91741fb125185619 (diff) |
ide: make legacy IDE VLB modules check for the "probe" kernel params (v2)
Legacy IDE VLB host drivers didn't check for "probe" options when compiled
as modules, which was obviously wrong as we don't want module to poke at
random I/O ports by simply loading it. Fix it by adding "probe" module param
to legacy IDE VLB host drivers.
v2:
* don't obsolete old "ide0=dtc2278/ht6560b/qd65xx/ali14xx/umc8672"
IDE driver options yet (per Alan Cox's request) and enhance documentation
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide.c')
-rw-r--r-- | drivers/ide/ide.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c index ac1a720f182a..dfbd74458522 100644 --- a/drivers/ide/ide.c +++ b/drivers/ide/ide.c | |||
@@ -1484,23 +1484,23 @@ static int __init match_parm (char *s, const char *keywords[], int vals[], int m | |||
1484 | } | 1484 | } |
1485 | 1485 | ||
1486 | #ifdef CONFIG_BLK_DEV_ALI14XX | 1486 | #ifdef CONFIG_BLK_DEV_ALI14XX |
1487 | static int __initdata probe_ali14xx; | 1487 | extern int probe_ali14xx; |
1488 | extern int ali14xx_init(void); | 1488 | extern int ali14xx_init(void); |
1489 | #endif | 1489 | #endif |
1490 | #ifdef CONFIG_BLK_DEV_UMC8672 | 1490 | #ifdef CONFIG_BLK_DEV_UMC8672 |
1491 | static int __initdata probe_umc8672; | 1491 | extern int probe_umc8672; |
1492 | extern int umc8672_init(void); | 1492 | extern int umc8672_init(void); |
1493 | #endif | 1493 | #endif |
1494 | #ifdef CONFIG_BLK_DEV_DTC2278 | 1494 | #ifdef CONFIG_BLK_DEV_DTC2278 |
1495 | static int __initdata probe_dtc2278; | 1495 | extern int probe_dtc2278; |
1496 | extern int dtc2278_init(void); | 1496 | extern int dtc2278_init(void); |
1497 | #endif | 1497 | #endif |
1498 | #ifdef CONFIG_BLK_DEV_HT6560B | 1498 | #ifdef CONFIG_BLK_DEV_HT6560B |
1499 | static int __initdata probe_ht6560b; | 1499 | extern int probe_ht6560b; |
1500 | extern int ht6560b_init(void); | 1500 | extern int ht6560b_init(void); |
1501 | #endif | 1501 | #endif |
1502 | #ifdef CONFIG_BLK_DEV_QD65XX | 1502 | #ifdef CONFIG_BLK_DEV_QD65XX |
1503 | static int __initdata probe_qd65xx; | 1503 | extern int probe_qd65xx; |
1504 | extern int qd65xx_init(void); | 1504 | extern int qd65xx_init(void); |
1505 | #endif | 1505 | #endif |
1506 | 1506 | ||