diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-10-19 18:32:33 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-10-19 18:32:33 -0400 |
commit | a05e2faa0e2c0157bcdace5d966ceebd37c10da4 (patch) | |
tree | 0cec6bea1642223eb46182c1b965976252fae0ca /drivers/ide/mips/au1xxx-ide.c | |
parent | 9239b333939dd1e5b1a9f033a1c136273d58efe8 (diff) |
au1xxx-ide: set ->autotune and ->no_io_32bit also for the slave device
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/mips/au1xxx-ide.c')
-rw-r--r-- | drivers/ide/mips/au1xxx-ide.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/ide/mips/au1xxx-ide.c b/drivers/ide/mips/au1xxx-ide.c index 97af57a714cd..1de58566e5b6 100644 --- a/drivers/ide/mips/au1xxx-ide.c +++ b/drivers/ide/mips/au1xxx-ide.c | |||
@@ -707,8 +707,10 @@ static int au_ide_probe(struct device *dev) | |||
707 | hwif->config_data = 0; /* no chipset-specific code */ | 707 | hwif->config_data = 0; /* no chipset-specific code */ |
708 | 708 | ||
709 | hwif->drives[0].autotune = 1; /* 1=autotune, 2=noautotune, 0=default */ | 709 | hwif->drives[0].autotune = 1; /* 1=autotune, 2=noautotune, 0=default */ |
710 | hwif->drives[1].autotune = 1; | ||
710 | #endif | 711 | #endif |
711 | hwif->drives[0].no_io_32bit = 1; | 712 | hwif->drives[0].no_io_32bit = 1; |
713 | hwif->drives[1].no_io_32bit = 1; | ||
712 | 714 | ||
713 | auide_hwif.hwif = hwif; | 715 | auide_hwif.hwif = hwif; |
714 | hwif->hwif_data = &auide_hwif; | 716 | hwif->hwif_data = &auide_hwif; |