[libata] REQUEST SENSE handling fixes
authorJeff Garzik <jgarzik@pobox.com>
Mon, 14 Nov 2005 19:50:05 +0000 (14:50 -0500)
committerJeff Garzik <jgarzik@pobox.com>
Mon, 14 Nov 2005 19:50:05 +0000 (14:50 -0500)
commitc6e6e666cbfe40f0d7fb1a293ff6332973acac37
tree21609c228d8aaf1f9a2217f7fd08266ed669f5bc
parent2c13b7cee045af689b36349c2bc6a9ed6e3d73fa
[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.
drivers/scsi/libata-core.c
drivers/scsi/libata-scsi.c
drivers/scsi/libata.h