diff options
Diffstat (limited to 'drivers/ide/legacy/ht6560b.c')
-rw-r--r-- | drivers/ide/legacy/ht6560b.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/ide/legacy/ht6560b.c b/drivers/ide/legacy/ht6560b.c index 02d5e20791e3..a2832643c522 100644 --- a/drivers/ide/legacy/ht6560b.c +++ b/drivers/ide/legacy/ht6560b.c | |||
@@ -301,12 +301,20 @@ static void tune_ht6560b (ide_drive_t *drive, u8 pio) | |||
301 | #endif | 301 | #endif |
302 | } | 302 | } |
303 | 303 | ||
304 | int probe_ht6560b = 0; | ||
305 | |||
306 | module_param_named(probe, probe_ht6560b, bool, 0); | ||
307 | MODULE_PARM_DESC(probe, "probe for HT6560B chipset"); | ||
308 | |||
304 | /* Can be called directly from ide.c. */ | 309 | /* Can be called directly from ide.c. */ |
305 | int __init ht6560b_init(void) | 310 | int __init ht6560b_init(void) |
306 | { | 311 | { |
307 | ide_hwif_t *hwif, *mate; | 312 | ide_hwif_t *hwif, *mate; |
308 | int t; | 313 | int t; |
309 | 314 | ||
315 | if (probe_ht6560b == 0) | ||
316 | return -ENODEV; | ||
317 | |||
310 | hwif = &ide_hwifs[0]; | 318 | hwif = &ide_hwifs[0]; |
311 | mate = &ide_hwifs[1]; | 319 | mate = &ide_hwifs[1]; |
312 | 320 | ||