From: Bartlomiej Zolnierkiewicz Date: Sat, 2 Feb 2008 18:56:29 +0000 (+0100) Subject: au1xxx-ide: fix ->io_32bit handling X-Git-Tag: v2.6.25-rc1~1068^2~93 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd38dd3c13c143c60d6284d145bf1273a0f64004;p=linux-2.6 au1xxx-ide: fix ->io_32bit handling The host driver must set hwif's ->no_io_32bit setting not drive's one (ide_port_tune_devices() overrides drive's setting). Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/drivers/ide/mips/au1xxx-ide.c b/drivers/ide/mips/au1xxx-ide.c index cd42b30a7a..6e98662b11 100644 --- a/drivers/ide/mips/au1xxx-ide.c +++ b/drivers/ide/mips/au1xxx-ide.c @@ -658,8 +658,7 @@ static int au_ide_probe(struct device *dev) hwif->drives[0].autotune = 1; /* 1=autotune, 2=noautotune, 0=default */ hwif->drives[1].autotune = 1; - hwif->drives[0].no_io_32bit = 1; - hwif->drives[1].no_io_32bit = 1; + hwif->no_io_32bit = 1; auide_hwif.hwif = hwif; hwif->hwif_data = &auide_hwif;