ht6560b can only do up to PIO mode 4
PATCH 1/1 ht6560b can only do up to PIO mode 4
According to the datasheet, ht6560b only supports up to PIO mode 4.
Signed-off-by Jan Evert van Grootheest <[email protected]>
drivers/ide/legacy/ht6560b.c +2 -2
@@ -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;
Bartlomiej Zolnierkiewicz
AppliedQuoted 3 lines · Jan Evert van Grootheest
According to the datasheet, ht6560b only supports up to PIO mode 4.
Signed-off-by Jan Evert van Grootheest <[email protected]>
applied, thanks!
PS I had to manually port it over 2.6.25-rc2, patch below
From: Jan Evert van Grootheest <[email protected]>
Subject: [PATCH] ht6560b can only do up to PIO mode 4
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 <[email protected]>
Signed-off-by Bartlomiej Zolnierkiewicz <[email protected]>
--- drivers/ide/legacy/ht6560b.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/ide/legacy/ht6560b.c +1 -1
@@ -323,7 +323,7 @@ static const struct ide_port_info ht6560IDE_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 )