Skip to contentSkip to conversation

ide-h8300: 32-bit I/O is unsupported

PATCH In review Bartlomiej Zolnierkiewicz 1 participant 1 message Mar 30, 2008 libata

lore
Share & tools
lore
#0 lore raw

PATCH 1/5 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.

---
 drivers/ide/h8300/ide-h8300.c |    1 +
 1 file changed, 1 insertion(+)
drivers/ide/h8300/ide-h8300.c +1 -0
Index: b/drivers/ide/h8300/ide-h8300.c
===================================================================
@@ -107,6 +107,7 @@ static int __init h8300_ide_init(void)
 	index = 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;