ht6560b can only do up to PIO mode 4
authorJan Evert van Grootheest <j.e.van.grootheest@caiway.nl>
Tue, 19 Feb 2008 00:41:26 +0000 (01:41 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 19 Feb 2008 00:41:26 +0000 (01:41 +0100)
According to the datasheet, ht6560b only supports up to PIO mode 4.

[bart: manually ported it over 2.6.25-rc2]

Signed-off-by: Jan Evert van Grootheest <janevert@caiway.nl>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/legacy/ht6560b.c

index 02d12c74764a6a6fcd38935f8cbba4286398b4f7..2701e7d6caffe3a258961cb215376597e5980eb0 100644 (file)
@@ -323,7 +323,7 @@ static const struct ide_port_info ht6560b_port_info __initdata = {
                                  IDE_HFLAG_NO_DMA |
                                  IDE_HFLAG_NO_AUTOTUNE |
                                  IDE_HFLAG_ABUSE_PREFETCH,
-       .pio_mask               = ATA_PIO5,
+       .pio_mask               = ATA_PIO4,
 };
 
 static int __init ht6560b_init(void)