[PATCH] libata: if condition fix for ata_dev_identify()
authorAlbert Lee <albertcc@tw.ibm.com>
Wed, 9 Nov 2005 05:03:30 +0000 (13:03 +0800)
committerJeff Garzik <jgarzik@pobox.com>
Wed, 9 Nov 2005 06:23:22 +0000 (01:23 -0500)
commit7c3983357fdaef3ae71a0d7081a4b6dcfd869d39
treed6f80f097e2a15a7e758286cb901f624591ea74a
parent8e8b77dd4846b73f2e0756cf59123ee709246d11
[PATCH] libata: if condition fix for ata_dev_identify()

  - if condition fix for ata_dev_identify()
  - ata_pio_poll() minor cleanup.

Changes:
   - Use (dev->class == ATA_DEV_ATA) for ata_dev_identify()
     since "qc->tf.command" has been overwritten by the device status
   - Use HSM_ST_TMOUT directly in ata_pio_poll()

Signed-off-by: Albert Lee <albertcc@tw.ibm.com>
============
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/scsi/libata-core.c