From: Bartlomiej Zolnierkiewicz Date: Wed, 2 Apr 2008 19:22:04 +0000 (+0200) Subject: ide-h8300: 32-bit I/O is unsupported X-Git-Tag: v2.6.25-rc9~94^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=430c5d26eccb6293f7129805451cea15a3a12db3;p=linux-2.6-omap-h63xx.git ide-h8300: 32-bit I/O is unsupported This host driver doesn't support 32-bit I/O (it sets hwif->INSL/OUTSL to NULL) so IDE_HFLAG_NO_IO_32BIT host flag needs to be set. Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/drivers/ide/h8300/ide-h8300.c b/drivers/ide/h8300/ide-h8300.c index 3c8005b68a7..4108ec4ffa7 100644 --- a/drivers/ide/h8300/ide-h8300.c +++ b/drivers/ide/h8300/ide-h8300.c @@ -110,6 +110,7 @@ static int __init h8300_ide_init(void) ide_init_port_data(hwif, index); ide_init_port_hw(hwif, &hw); hwif_setup(hwif); + hwif->host_flags = IDE_HFLAG_NO_IO_32BIT; printk(KERN_INFO "ide%d: H8/300 generic IDE interface\n", index); idx[0] = index;