]> git.baikalelectronics.ru Git - kernel.git/commit
ata: pata_at91.c bugfix for high master clock
authorIgor Plyatov <plyatov@gmail.com>
Mon, 28 Mar 2011 12:56:15 +0000 (16:56 +0400)
committerJeff Garzik <jgarzik@pobox.com>
Sun, 24 Apr 2011 15:34:06 +0000 (11:34 -0400)
commit20174d418c3d973c0578f4feed581b99473e9ac2
tree5986b2a7bf9b990f92c3c11e10d37c3eb8d45d1a
parent5b0cde485c3fe47a008c9a64f6970edead352497
ata: pata_at91.c bugfix for high master clock

The AT91SAM9 microcontrollers with master clock higher then 105 MHz
and PIO0, have overflow of the NCS_RD_PULSE value in the MSB. This
lead to "NCS_RD_PULSE" pulse longer then "NRD_CYCLE" pulse and driver
does not detect ATA device.

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