commit | ceb0c642624f634c5b4f46b0e22df19be87a2e53 | [log] [tgz] |
---|---|---|
author | Tejun Heo <htejun@gmail.com> | Wed Dec 05 16:43:06 2007 +0900 |
committer | Jeff Garzik <jeff@garzik.org> | Wed Jan 23 05:24:14 2008 -0500 |
tree | a55adf01b6c00b4724a468a52fce03704bf5109f | |
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>