diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-11-14 14:50:05 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-11-14 14:50:05 -0500 |
commit | c6e6e666cbfe40f0d7fb1a293ff6332973acac37 (patch) | |
tree | 21609c228d8aaf1f9a2217f7fd08266ed669f5bc /drivers/scsi/libata.h | |
parent | 2c13b7cee045af689b36349c2bc6a9ed6e3d73fa (diff) | |
download | blackbird-op-linux-c6e6e666cbfe40f0d7fb1a293ff6332973acac37.tar.gz blackbird-op-linux-c6e6e666cbfe40f0d7fb1a293ff6332973acac37.zip |
[libata] REQUEST SENSE handling fixes
- Move ATAPI check-condition handling out of the timeout handler
- Use multi-qc-issue feature to issue REQUEST SENSE ATAPI PACKET
command upon receiving an ATAPI check-condition.
This cleans things up a lot, and eliminates a nasty recursion bug.
Diffstat (limited to 'drivers/scsi/libata.h')
-rw-r--r-- | drivers/scsi/libata.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/libata.h b/drivers/scsi/libata.h index fad051ca4672..74a84e0ec0a4 100644 --- a/drivers/scsi/libata.h +++ b/drivers/scsi/libata.h @@ -54,8 +54,6 @@ extern int ata_cmd_ioctl(struct scsi_device *scsidev, void __user *arg); /* libata-scsi.c */ -extern void atapi_request_sense(struct ata_port *ap, struct ata_device *dev, - struct scsi_cmnd *cmd); extern void ata_scsi_scan_host(struct ata_port *ap); extern int ata_scsi_error(struct Scsi_Host *host); extern unsigned int ata_scsiop_inq_std(struct ata_scsi_args *args, u8 *rbuf, |