ATAPI_CMD_TYPE(9) libata Library ATAPI_CMD_TYPE(9)

NAME atapi_cmd_type - Determine ATAPI command type from SCSI opcode

SYNOPSIS int atapi_cmd_type(u8 opcode);

ARGUMENTS opcode SCSI opcode

DESCRIPTION Determine ATAPI command type from opcode.

LOCKING None.

RETURNS ATAPI_{READ|WRITE|READ_CD|PASS_THRU|MISC}

AUTHOR Jeff Garzik Author.

COPYRIGHT Kernel Hackers Manual 2.6. September 2014 ATAPI_CMD_TYPE(9)