From nobody Fri Jan 07 00:23:38 2022 X-Original-To: dev-commits-src-branches@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 45B28192CC3E; Fri, 7 Jan 2022 00:23:39 +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 4JVP8W04Vkz4flZ; Fri, 7 Jan 2022 00:23:39 +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 D739F29A82; Fri, 7 Jan 2022 00:23:38 +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 2070NcLA080560; Fri, 7 Jan 2022 00:23:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2070NcV5080559; Fri, 7 Jan 2022 00:23:38 GMT (envelope-from git) Date: Fri, 7 Jan 2022 00:23:38 GMT Message-Id: <202201070023.2070NcV5080559@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Alexander Motin Subject: git: 7b12dbb7c394 - stable/13 - CAM: List few missed opcodes. List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@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/stable/13 X-Git-Reftype: branch X-Git-Commit: 7b12dbb7c3942dd9bc57851c7db854b73564b7b6 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641515019; 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=ViGiqTskFRpqCv0ucP7qYnOGMaKAF8f4VkzsBdrAcE4=; b=noVA48/tuqZm+W0YNOK4FIYz5oS2Q2rQZnAAcozqkAMyXoBwqHItIhepKJjSUR3goSUMXL cvxB0HmxKUD1fuo9dsRJLTsh6S3Uk3jvLYdsd5iBUt43KhhPY53lHKNx1akZRiy9MACuq9 MwS+U+bq73pB4j0eBmWTjI4NCyYvbegJT4Qihzi13cDbisCoP3wxpb9K+b9HJ7sabLI3Lb IVfC9pTfWUE02Wy/YnwKQyY0Qxprf2Gs8/lSGwxSiP44rbmRcDVE3RUu8UednDhzk/C7VJ HTXYEsa1SvZDniofcKSWmTQRqANNMQZ+8wbV2j5CM7ggW1qeWDQsKmDNuA7IMw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641515019; a=rsa-sha256; cv=none; b=Ha2Lms9M/i7t1WTKigDQ4/4LEuWyNcHra5AOmaGMGxdLP+wty0ys8rMp1qKUiHlswgvAoI AIfqAxUz7rAwuxCTSE2mOwgz6uYeiuh1ZEEtwT7PuV8b40AkyhUMh200hqtK4BU0Advc0G nfXHrux06omneBHSwEkahqMrRL0dVaZBjXZ4EQqkEOTcL3IWZmLtr9vVE1nnMzz/JCyGg3 llnN0VTDKIm/MdUS5YrnwpKDMKNxFyypuJul+IQR34asEjLDbXbmxbcc4pv8hhd5iFylPp kOKMOxCf8VKwQPAPv9NaGj0Zj4mKi8f5KgOSmWr6eX0TUvFAP9YuQvR1RCLFfA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by mav: URL: https://cgit.FreeBSD.org/src/commit/?id=7b12dbb7c3942dd9bc57851c7db854b73564b7b6 commit 7b12dbb7c3942dd9bc57851c7db854b73564b7b6 Author: Alexander Motin AuthorDate: 2021-12-31 16:46:58 +0000 Commit: Alexander Motin CommitDate: 2022-01-07 00:23:34 +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 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 729a2a06e616..6c56d4e3b234 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 */