diff options
author | Tejun Heo <htejun@gmail.com> | 2007-12-05 16:43:06 +0900 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-01-23 05:24:14 -0500 |
commit | ceb0c642624f634c5b4f46b0e22df19be87a2e53 (patch) | |
tree | a55adf01b6c00b4724a468a52fce03704bf5109f /drivers/ata/libata-core.c | |
parent | 0dc36888d4422140f9eaf50f24953ec109f750a3 (diff) |
libata: add ATAPI_* cmd types and implement atapi_cmd_type()
Add ATAPI command types - ATAPI_READ, WRITE, RW_BUF, READ_CD and MISC,
and implement atapi_cmd_type() which takes SCSI opcode and returns to
which class the opcode belongs. This will be used later to improve
ATAPI handling.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/libata-core.c')
0 files changed, 0 insertions, 0 deletions