mirror of
https://github.com/torvalds/linux.git
synced 2024-10-31 01:01:52 +00:00
target: use MAINTENANCE_IN and MAINTENANCE_OUT definitions in scsi.h
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Signed-off-by: Nicholas A. Bellinger <nab@linux-iscsi.org>
This commit is contained in:
parent
d814495599
commit
e434f1f182
@ -3325,7 +3325,7 @@ static int transport_generic_cmd_sequencer(
|
||||
goto out_unsupported_cdb;
|
||||
}
|
||||
break;
|
||||
case 0xa3:
|
||||
case MAINTENANCE_IN:
|
||||
if (TRANSPORT(dev)->get_device_type(dev) != TYPE_ROM) {
|
||||
/* MAINTENANCE_IN from SCC-2 */
|
||||
/*
|
||||
@ -3395,7 +3395,7 @@ static int transport_generic_cmd_sequencer(
|
||||
size = READ_POSITION_LEN;
|
||||
cmd->se_cmd_flags |= SCF_SCSI_CONTROL_NONSG_IO_CDB;
|
||||
break;
|
||||
case 0xa4:
|
||||
case MAINTENANCE_OUT:
|
||||
if (TRANSPORT(dev)->get_device_type(dev) != TYPE_ROM) {
|
||||
/* MAINTENANCE_OUT from SCC-2
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user