Skip to content

Commit

Permalink
target: use MAINTENANCE_IN and MAINTENANCE_OUT definitions in scsi.h
Browse files Browse the repository at this point in the history
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Nicholas A. Bellinger <nab@linux-iscsi.org>
  • Loading branch information
Nicholas Bellinger committed Jul 22, 2011
1 parent d814495 commit e434f1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/target/target_core_transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
/*
Expand Down Expand Up @@ -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
*
Expand Down

0 comments on commit e434f1f

Please sign in to comment.