Name

atapi_cmd_type — Determine ATAPI command type from SCSI opcode

Synopsis

int atapi_cmd_type (u8 opcode);
 

Arguments

u8 opcode

SCSI opcode

Description

Determine ATAPI command type from opcode.

LOCKING: None.

Return

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