瀏覽代碼

au1xxx-ide: set ->autotune and ->no_io_32bit also for the slave device

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Bartlomiej Zolnierkiewicz 17 年之前
父節點
當前提交
a05e2faa0e
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      drivers/ide/mips/au1xxx-ide.c

+ 3 - 1
drivers/ide/mips/au1xxx-ide.c

@@ -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;