mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
scsi: remove MSG_*_TAG defines
For SPI drivers use the message definitions from scsi.h, and for target drivers introduce a new TCM_*_TAG namespace. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Bart Van Assche <[email protected]> Reviewed-by: Martin K. Petersen <[email protected]
This commit is contained in:
parent
4e484896ac
commit
68d81f4004
18 changed files with 58 additions and 58 deletions
|
|
@ -1131,19 +1131,19 @@ static int usbg_submit_command(struct f_uas *fu,
|
|||
|
||||
switch (cmd_iu->prio_attr & 0x7) {
|
||||
case UAS_HEAD_TAG:
|
||||
cmd->prio_attr = MSG_HEAD_TAG;
|
||||
cmd->prio_attr = TCM_HEAD_TAG;
|
||||
break;
|
||||
case UAS_ORDERED_TAG:
|
||||
cmd->prio_attr = MSG_ORDERED_TAG;
|
||||
cmd->prio_attr = TCM_ORDERED_TAG;
|
||||
break;
|
||||
case UAS_ACA:
|
||||
cmd->prio_attr = MSG_ACA_TAG;
|
||||
cmd->prio_attr = TCM_ACA_TAG;
|
||||
break;
|
||||
default:
|
||||
pr_debug_once("Unsupported prio_attr: %02x.\n",
|
||||
cmd_iu->prio_attr);
|
||||
case UAS_SIMPLE_TAG:
|
||||
cmd->prio_attr = MSG_SIMPLE_TAG;
|
||||
cmd->prio_attr = TCM_SIMPLE_TAG;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
@ -1240,7 +1240,7 @@ static int bot_submit_command(struct f_uas *fu,
|
|||
goto err;
|
||||
}
|
||||
|
||||
cmd->prio_attr = MSG_SIMPLE_TAG;
|
||||
cmd->prio_attr = TCM_SIMPLE_TAG;
|
||||
se_cmd = &cmd->se_cmd;
|
||||
cmd->unpacked_lun = cbw->Lun;
|
||||
cmd->is_read = cbw->Flags & US_BULK_FLAG_IN ? 1 : 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue