From: Jan Evert van Grootheest Date: Tue, 19 Feb 2008 00:41:26 +0000 (+0100) Subject: ht6560b can only do up to PIO mode 4 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1a1990f5479b0c9055c133b7e0e7fedfcbe11512;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git 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 Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/drivers/ide/legacy/ht6560b.c b/drivers/ide/legacy/ht6560b.c index 02d12c74764..2701e7d6caf 100644 --- a/drivers/ide/legacy/ht6560b.c +++ b/drivers/ide/legacy/ht6560b.c @@ -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)