From nobody Fri Dec 31 16:48:08 2021 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 5BD551912A01; Fri, 31 Dec 2021 16:48:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JQWKj0lhrz3Fcf; Fri, 31 Dec 2021 16:48:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EE697726B; Fri, 31 Dec 2021 16:48:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1BVGm8DE026847; Fri, 31 Dec 2021 16:48:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BVGm8R0026846; Fri, 31 Dec 2021 16:48:08 GMT (envelope-from git) Date: Fri, 31 Dec 2021 16:48:08 GMT Message-Id: <202112311648.1BVGm8R0026846@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Alexander Motin Subject: git: 757089f01e3f - main - CAM: List few missed opcodes. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mav X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 757089f01e3f5386d134443047fae363a8da9809 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640969289; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=b0ua0rw1wUnGgxontJpmveN1+TBgP7iupaqm/WxcCAw=; b=Ucev3yhqWrCNhjCqH8jDPLJfTl6NCkNxofh+8m4O84ufVTzidLEMzeeI3SiP7EbchK5pD2 Xx0S5Kvlz4Rn+2KyZ+LYwCRMxlwFz79ZLu/UU8YexTO9SkOA+gjBRYOo1X9EuQ60i67Pnd F8FWvOiJCIpVzHXjZQYAAxgMaPlCpeVPZBuFwhmjevs2k/uyRd7vEmtE1aN6GOaVFSoOtG OduZIDdfgJyePSnFm1pymQXtJ0iVqaPw2B7ux7waIA9U20qyc1WxYlQB5elw2fFqFD1hZI 8BQBXOnfHILs9F24OExfNomieXNz6wC/sc2zxWJNu5xv3GQW1GPq93hyDfKljg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640969289; a=rsa-sha256; cv=none; b=SGQbeVvSNnOlv9g5brfSxz9P+Aro3rTtq0HSB86sMpoO4Q8gWRQ22LVcU3EkDcb2lVvo6I XMllAY7yRn8lBN/56jgo16P2ybYbBKnap4V40h9u5mNgqwlq8WYzENjhc4U5Ax/i/4Famq QXH9W6IKbhGROotiZKcpXjFj53oSaIekCmHeLmucuTdHI29pNpThihTC2SVaV2PRBkT+yH N7f1kSTCYt3txaXq0EdoQomA2RQoeYD9tAF8iJz6PHpP1iarwqUj4Yl136m3B08r7aaD5L KjeJ2XoM+3wzBglc49NM31lW+Z9Qlk0j8oziVpxosnhNlR658vqsgJgLsNn6rg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mav: URL: https://cgit.FreeBSD.org/src/commit/?id=757089f01e3f5386d134443047fae363a8da9809 commit 757089f01e3f5386d134443047fae363a8da9809 Author: Alexander Motin AuthorDate: 2021-12-31 16:46:58 +0000 Commit: Alexander Motin CommitDate: 2021-12-31 16:48:03 +0000 CAM: List few missed opcodes. MFC after: 1 weeks --- 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 0e7268389c3b..2e512ec11c82 100644 --- a/sys/cam/ctl/ctl_cmd_table.c +++ b/sys/cam/ctl/ctl_cmd_table.c @@ -786,7 +786,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 dc249dac8000..ff917c827f6b 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 */