summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2008-05-01 23:55:58 +0900
committerJeff Garzik <jgarzik@redhat.com>2008-05-06 11:40:53 -0400
commit364fac0e56b9bd379330ef9e39d3761f0b491e2c (patch)
tree7812a44cd9213a53b69f1e6de74579c270a0b0fc /crypto
parentb0dd9b8ef985291a8b40118c5f33b7935e273dcb (diff)
sata_inic162x: update TF read handling
inic162x can't reliably read back TF or at least we don't know how to do it yet. The only values which seem reliable are status and error. This patch updates access to TF. * implement inic_tf_read() which reads the TF area in mmio area * implement custom inic_qc_fill_rtf() which only returns true if status indicates device error. it'll be returning bogus addresses for device errors but it'll be able to report why it failed at least. * implement custom inic_check_ready() and use ata_wait_after_reset() instead of the SFF version. * use inic_tf_read() for classification. This is not perfect but it fixes hotplug detection failure and at least makes the driver report 0's instead of random garbages while reporting valid status and error for device errors. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions