ide-h8300: 32-bit I/O is unsupported
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 2 Apr 2008 19:22:04 +0000 (21:22 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 2 Apr 2008 19:22:04 +0000 (21:22 +0200)
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 <bzolnier@gmail.com>
drivers/ide/h8300/ide-h8300.c

index 3c8005b..4108ec4 100644 (file)
@@ -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;