Scroll to navigation

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

May 2018 Kernel Hackers Manual 3.16