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)
commit9719b8f5bc35664a23de1ddfbc85217398af0df8
tree5986b2a7bf9b990f92c3c11e10d37c3eb8d45d1a
parent181e3ceaba761d35d96d791d5031b1e51abec46c
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