[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)
  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>

No differences found