提交 e434f1f1 编写于 作者: N Nicholas Bellinger

target: use MAINTENANCE_IN and MAINTENANCE_OUT definitions in scsi.h

Signed-off-by: NFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: NNicholas A. Bellinger <nab@linux-iscsi.org>
上级 d8144955
......@@ -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
*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册