[PATCH] libata: err_mask misc fix
authorAlbert Lee <albertcc@tw.ibm.com>
Tue, 6 Dec 2005 03:34:59 +0000 (11:34 +0800)
committerJeff Garzik <jgarzik@pobox.com>
Tue, 6 Dec 2005 09:49:23 +0000 (04:49 -0500)
commitfe79e683ccdb29c13b3e0d18507474b4e2d9aab6
tree855a61daec6898c089d135f54ab1fd6283edf27b
parentd8fe452b3e8e9ea6d62a3d116a092999fabae407
[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>
drivers/scsi/libata-core.c