summaryrefslogtreecommitdiffstats
path: root/drivers/ide
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-02 21:22:04 +0200
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-02 21:22:04 +0200
commit430c5d26eccb6293f7129805451cea15a3a12db3 (patch)
treee63be56d4d67951c9f25e5850865a0c2b8e69c3c /drivers/ide
parentide/legacy/q40ide.c: add MODULE_LICENSE (diff)
downloadlinux-430c5d26eccb6293f7129805451cea15a3a12db3.tar.xz
linux-430c5d26eccb6293f7129805451cea15a3a12db3.zip
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 <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide')
-rw-r--r--drivers/ide/h8300/ide-h8300.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ide/h8300/ide-h8300.c b/drivers/ide/h8300/ide-h8300.c
index 3c8005b68a79..4108ec4ffa7f 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;