]> git.baikalelectronics.ru Git - kernel.git/commit
ATA: pata_octeon_cf: Use I/O clock rate for timing calculations.
authorDavid Daney <ddaney@caviumnetworks.com>
Thu, 7 Oct 2010 23:03:51 +0000 (16:03 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 29 Oct 2010 18:08:41 +0000 (19:08 +0100)
commit21fa9f8564252cbef7b9cba4221abd3a8da257e7
treee476c708e2bb7e9de70b1a7aeebef23ce6bdeef9
parent6db2507bddd8f139d03f311288611c4eed9391b3
ATA: pata_octeon_cf: Use I/O clock rate for timing calculations.

The creation of the I/O clock domain requires some adjustments.  Since the
CF bus timing logic is clocked by the I/O clock, use its rate for delay
calculations.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Cc: Jeff Garzik <jgarzik@pobox.com>
Cc: linux-ide@vger.kernel.org
Patchwork: http://patchwork.linux-mips.org/patch/1660/
Acked-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
drivers/ata/pata_octeon_cf.c