aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/mips
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-02 13:56:29 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-02 13:56:29 -0500
commitbd38dd3c13c143c60d6284d145bf1273a0f64004 (patch)
tree24ca59cb03c385c6cbc7596dcc0c20bae3a69e15 /drivers/ide/mips
parent36e9dc469b1300d8bec6f2ab48b4556e2c4241ba (diff)
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 <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/mips')
-rw-r--r--drivers/ide/mips/au1xxx-ide.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ide/mips/au1xxx-ide.c b/drivers/ide/mips/au1xxx-ide.c
index cd42b30a7a3b..6e98662b1192 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)
658 hwif->drives[0].autotune = 1; /* 1=autotune, 2=noautotune, 0=default */ 658 hwif->drives[0].autotune = 1; /* 1=autotune, 2=noautotune, 0=default */
659 hwif->drives[1].autotune = 1; 659 hwif->drives[1].autotune = 1;
660 660
661 hwif->drives[0].no_io_32bit = 1; 661 hwif->no_io_32bit = 1;
662 hwif->drives[1].no_io_32bit = 1;
663 662
664 auide_hwif.hwif = hwif; 663 auide_hwif.hwif = hwif;
665 hwif->hwif_data = &auide_hwif; 664 hwif->hwif_data = &auide_hwif;