pata_atp867x: PIO support fixes
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 6 Oct 2009 22:27:19 +0000 (00:27 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 7 Oct 2009 00:58:23 +0000 (20:58 -0400)
commitc59bcc37cb56e00ae0582339bea948853d600436
tree4164daee20b9db40862188da113626db89a981f5
parent64207f59137fd300a869e35b14c15f775c64c6fc
pata_atp867x: PIO support fixes

* use  8 clk setting for active clocks == 7 (was 12 clk)
* use 12 clk setting for active clocks > 12 (was  8 clk)
* do 66MHz bus fixup before mapping active clocks
* fix setup of PIO command timings

Acked-by: Jung-Ik (John) Lee <jilee@google.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_atp867x.c