sata_promise: ATAPI cleanup
authorMikael Pettersson <mikpe@it.uu.se>
Wed, 10 Jan 2007 08:32:34 +0000 (09:32 +0100)
committerJeff Garzik <jeff@garzik.org>
Fri, 9 Feb 2007 22:39:33 +0000 (17:39 -0500)
commit73fd456b2dd770ab4fcf14b9d45b7482237a2cf7
tree6a32e6f9c95fbcb5fbf74c086527374dcdad3b89
parent1fd7a697a37bcd484b130a71326e43cd68ced90c
sata_promise: ATAPI cleanup

Here's a cleanup for yesterday's sata_promise ATAPI patch:
- add and use a symbolic constant for the altstatus register
- check return status from ata_busy_wait()
- add missing newline in a warning printk()
- update comment in pdc_issue_atapi_pkt_cmd() to clarify
  that the maybe-wait-for-INT issue cannot occur in the
  current driver, but may occur if the driver starts issuing
  ATAPI non-DMA commands as PDC packets

Signed-off-by: Mikael Pettersson <mikpe@it.uu.se>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/sata_promise.c