According to the datasheet, ht6560b only supports up to PIO mode 4.

Signed-off-by: Jan Evert van Grootheest <[EMAIL PROTECTED]>

--- a/drivers/ide/legacy/ht6560b.c
+++ b/drivers/ide/legacy/ht6560b.c
@@ -343,7 +343,7 @@ int __init ht6560b_init(void)
 	hwif->chipset = ide_ht6560b;
 	hwif->selectproc = &ht6560b_selectproc;
 	hwif->host_flags = IDE_HFLAG_ABUSE_PREFETCH;
-	hwif->pio_mask = ATA_PIO5;
+	hwif->pio_mask = ATA_PIO4;
 	hwif->set_pio_mode = &ht6560b_set_pio_mode;
 	hwif->serialized = 1;	/* is this needed? */
 	hwif->mate = mate;
@@ -351,7 +351,7 @@ int __init ht6560b_init(void)
 	mate->chipset = ide_ht6560b;
 	mate->selectproc = &ht6560b_selectproc;
 	mate->host_flags = IDE_HFLAG_ABUSE_PREFETCH;
-	mate->pio_mask = ATA_PIO5;
+	mate->pio_mask = ATA_PIO4;
 	mate->set_pio_mode = &ht6560b_set_pio_mode;
 	mate->serialized = 1;	/* is this needed? */
 	mate->mate = hwif;

Reply via email to