diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-04 16:31:00 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-04 16:31:00 -0500 |
commit | 20b0f65d35ae45d43f363ace3744a775a752d265 (patch) | |
tree | 6085d058cb5ce12bc07368ed897c3689f5239389 /drivers/ide/legacy/ht6560b.c | |
parent | 70077f2fab35ed3d73631fc47d8c572b560ecabd (diff) | |
parent | 849138827c962589ac50496fa7feeb2a2d51b467 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/bart/ide-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/bart/ide-2.6:
ide: make legacy IDE VLB modules check for the "probe" kernel params (v2)
ide: remove some obsoleted kernel params (v2)
ide/pci/delkin_cb.c: pci_module_init to pci_register_driver
scc_pata: bugfix for checking DMA IRQ status
ide: remove a ton of pointless #undef REALLY_SLOW_IO
siimage: DRAC4 note
adjust legacy IDE resource setting (v2)
ide: fix pmac breakage
ide-cs: Update device table
ide: ide_get_best_pio_mode() returns incorrect IORDY setting (take 2)
piix/slc90e66: more tuneproc() fixing (take 2)
ide: fix drive side 80c cable check, take 2
cmd64x: fix PIO mode setup (take 3)
alim15x3: fix PIO mode setup
Diffstat (limited to 'drivers/ide/legacy/ht6560b.c')
-rw-r--r-- | drivers/ide/legacy/ht6560b.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/drivers/ide/legacy/ht6560b.c b/drivers/ide/legacy/ht6560b.c index 19ccd006f205..a2832643c522 100644 --- a/drivers/ide/legacy/ht6560b.c +++ b/drivers/ide/legacy/ht6560b.c | |||
@@ -36,8 +36,6 @@ | |||
36 | 36 | ||
37 | #define HT6560B_VERSION "v0.07" | 37 | #define HT6560B_VERSION "v0.07" |
38 | 38 | ||
39 | #undef REALLY_SLOW_IO /* most systems can safely undef this */ | ||
40 | |||
41 | #include <linux/module.h> | 39 | #include <linux/module.h> |
42 | #include <linux/types.h> | 40 | #include <linux/types.h> |
43 | #include <linux/kernel.h> | 41 | #include <linux/kernel.h> |
@@ -303,12 +301,20 @@ static void tune_ht6560b (ide_drive_t *drive, u8 pio) | |||
303 | #endif | 301 | #endif |
304 | } | 302 | } |
305 | 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 | |||
306 | /* Can be called directly from ide.c. */ | 309 | /* Can be called directly from ide.c. */ |
307 | int __init ht6560b_init(void) | 310 | int __init ht6560b_init(void) |
308 | { | 311 | { |
309 | ide_hwif_t *hwif, *mate; | 312 | ide_hwif_t *hwif, *mate; |
310 | int t; | 313 | int t; |
311 | 314 | ||
315 | if (probe_ht6560b == 0) | ||
316 | return -ENODEV; | ||
317 | |||
312 | hwif = &ide_hwifs[0]; | 318 | hwif = &ide_hwifs[0]; |
313 | mate = &ide_hwifs[1]; | 319 | mate = &ide_hwifs[1]; |
314 | 320 | ||