git: e7a6dc01fac7 - stable/12 - CAM: List few missed opcodes.

From: Alexander Motin <mav_at_FreeBSD.org>
Date: Fri, 07 Jan 2022 00:24:12 UTC
The branch stable/12 has been updated by mav:

URL: https://cgit.FreeBSD.org/src/commit/?id=e7a6dc01fac7225dd1fdbc9f1ef92c5b7dccf838

commit e7a6dc01fac7225dd1fdbc9f1ef92c5b7dccf838
Author:     Alexander Motin <mav@FreeBSD.org>
AuthorDate: 2021-12-31 16:46:58 +0000
Commit:     Alexander Motin <mav@FreeBSD.org>
CommitDate: 2022-01-07 00:24:07 +0000

    CAM: List few missed opcodes.
    
    MFC after:      1 weeks
    
    (cherry picked from commit 757089f01e3f5386d134443047fae363a8da9809)
---
 sys/cam/ctl/ctl_cmd_table.c | 2 +-
 sys/cam/scsi/scsi_all.c     | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/sys/cam/ctl/ctl_cmd_table.c b/sys/cam/ctl/ctl_cmd_table.c
index b3780dcf8c67..d000c5195901 100644
--- a/sys/cam/ctl/ctl_cmd_table.c
+++ b/sys/cam/ctl/ctl_cmd_table.c
@@ -787,7 +787,7 @@ const struct ctl_cmd_entry ctl_cmd_table_9e[32] =
 /* 0E */
 {NULL, CTL_SERIDX_INVLD, CTL_CMD_FLAG_NONE, CTL_LUN_PAT_NONE},
 
-/* 0F */
+/* 0F RECEIVE BINDING REPORT */
 {NULL, CTL_SERIDX_INVLD, CTL_CMD_FLAG_NONE, CTL_LUN_PAT_NONE},
 
 /* 10 READ CAPACITY(16) */
diff --git a/sys/cam/scsi/scsi_all.c b/sys/cam/scsi/scsi_all.c
index 6c8dec7cc235..07171b83923f 100644
--- a/sys/cam/scsi/scsi_all.c
+++ b/sys/cam/scsi/scsi_all.c
@@ -418,6 +418,8 @@ static struct op_table_entry scsi_op_codes[] = {
 	{ 0x52,	D, "XDREAD(10)" },
 	/* 52       O          READ TRACK INFORMATION */
 	{ 0x52,	R, "READ TRACK INFORMATION" },
+	/* 53  O               XDWRITEREAD(10) */
+	{ 0x53,	D, "XDWRITEREAD(10)" },
 	/* 53       O          RESERVE TRACK */
 	{ 0x53,	R, "RESERVE TRACK" },
 	/* 54       O          SEND OPC INFORMATION */
@@ -461,6 +463,8 @@ static struct op_table_entry scsi_op_codes[] = {
 	{ 0x81,	T, "READ REVERSE(16)" },
 	/* 82  Z               REGENERATE(16) */
 	{ 0x82,	D, "REGENERATE(16)" },
+	/* 82   O              ALLOW OVERWRITE */
+	{ 0x82,	T, "ALLOW OVERWRITE" },
 	/* 83  OOOOO O    OO   EXTENDED COPY */
 	{ 0x83,	D | T | L | P | W | O | K | V, "EXTENDED COPY" },
 	/* 84  OOOOO O    OO   RECEIVE COPY RESULTS */