From: Bartlomiej Zolnierkiewicz Date: Fri, 19 Oct 2007 22:32:33 +0000 (+0200) Subject: au1xxx-ide: set ->autotune and ->no_io_32bit also for the slave device X-Git-Tag: v2.6.24-rc1~128^2~25 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a05e2faa0e2c0157bcdace5d966ceebd37c10da4;p=platform%2Fkernel%2Flinux-3.10.git au1xxx-ide: set ->autotune and ->no_io_32bit also for the slave device Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/drivers/ide/mips/au1xxx-ide.c b/drivers/ide/mips/au1xxx-ide.c index 97af57a..1de5856 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) 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;