diff options
author | Albert Lee <albertcc@tw.ibm.com> | 2005-12-05 22:34:59 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-12-06 04:49:23 -0500 |
commit | fe79e683ccdb29c13b3e0d18507474b4e2d9aab6 (patch) | |
tree | 855a61daec6898c089d135f54ab1fd6283edf27b /usr | |
parent | d8fe452b3e8e9ea6d62a3d116a092999fabae407 (diff) |
[PATCH] libata: err_mask misc fix
1. ata_pio_complete():
It seems unnecessary to wait for the clearing of the DRQ bit.
(Waiting for BSY=0 should be enough.
ata_ok() also checks the correctness of the status bits later.)
2. ata_pio_block():
- added error checking, before transfering data.
- minor comments fix
Signed-off-by: Albert Lee <albertcc@tw.ibm.com>
============
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions