| commit | 7c3983357fdaef3ae71a0d7081a4b6dcfd869d39 | [log] [tgz] |
|---|---|---|
| author | Albert Lee <albertcc@tw.ibm.com> | Wed Nov 09 13:03:30 2005 +0800 |
| committer | Jeff Garzik <jgarzik@pobox.com> | Wed Nov 09 01:23:22 2005 -0500 |
| tree | d6f80f097e2a15a7e758286cb901f624591ea74a | |
| parent | 8e8b77dd4846b73f2e0756cf59123ee709246d11 [diff] |
[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>