]> git.baikalelectronics.ru Git - kernel.git/commit
pata_at91: SMC settings calculation bugfixes, support for t6z and IORDY
authorIgor Plyatov <plyatov@gmail.com>
Thu, 12 May 2011 18:15:51 +0000 (22:15 +0400)
committerJeff Garzik <jgarzik@pobox.com>
Sat, 14 May 2011 19:00:13 +0000 (15:00 -0400)
commitf2976381cdc13bde1d16021eeb39d6947e7b4043
treea73a2ff3e3c6a2d00ff634b893de6b8448215010
parent9c4c29a9c20666a345795ddbdfef42da1aa616a1
pata_at91: SMC settings calculation bugfixes, support for t6z and IORDY

* New code correctly calculates SMC registers values, adjusts calculated
  to admissible ranges, enlarges cycles when required and converts values
  into SMC's format.
* Support for TDF cycles (ATA t6z) and IORDY line added.
* Eliminate need in the initial_timing structure.
* Code cleanup.

Signed-off-by: Igor Plyatov <plyatov@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/ata/pata_at91.c