]> err.no Git - linux-2.6/commitdiff
au1xxx-ide: set ->autotune and ->no_io_32bit also for the slave device
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 19 Oct 2007 22:32:33 +0000 (00:32 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 19 Oct 2007 22:32:33 +0000 (00:32 +0200)
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/mips/au1xxx-ide.c

index 97af57a714cdfcb0c200055dac0929c089d7c383..1de58566e5b618aede51102965e7ed6f574a8a18 100644 (file)
@@ -707,8 +707,10 @@ static int au_ide_probe(struct device *dev)
        hwif->config_data               = 0;    /* no chipset-specific code */
 
        hwif->drives[0].autotune        = 1;    /* 1=autotune, 2=noautotune, 0=default */
+       hwif->drives[1].autotune        = 1;
 #endif
-       hwif->drives[0].no_io_32bit     = 1;   
+       hwif->drives[0].no_io_32bit     = 1;
+       hwif->drives[1].no_io_32bit     = 1;
 
        auide_hwif.hwif                 = hwif;
        hwif->hwif_data                 = &auide_hwif;