From nobody Wed Nov 13 04:56:08 2024 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 4Xp9wS3ZGTz5d9RZ; Wed, 13 Nov 2024 04:56:08 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xp9wS2KZQz43kr; Wed, 13 Nov 2024 04:56:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731473768; 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=gWuWBIV+oNrT0KVGxiwto9Fa+VEvhzcZK6HKuIPBra0=; b=UJR8NcmczjSXPEmNawjdLaQGfWC0nWjACDAR8/6ySXlcuYt6eMdE7miTx/pxRVWtjsrxY7 hVxfeQxOF2IicmpYDwxI5vx+jMqdjoPp67N6QaNHDdyoRstfgyfVAFooicVKNxhy4y5+0/ 93+Y3A/QZ8NUKGo4rvAz7IsF0HmpzBh9jrmMgba1QGwRo0zyr4SBQojzshF6ydq7ZWdYWF fLQw7GQ8t+5ATXsX9AnUjJJI0IqP13e/QPtSp/Z7+ay0XT4UU6wbpoUp2Ph9b9n84uI7nT YCnx7ssOKV3/7WXoPmrNBiytdDfzjIeQFQmMH3MXJlGG7C2dytnmfHDBcNdISA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731473768; 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=gWuWBIV+oNrT0KVGxiwto9Fa+VEvhzcZK6HKuIPBra0=; b=J7wcv65EHQE+uTc4XVXKnZx6htz20ItzatKtnI2ehNDgvices6mfVi119Gf4gerWWbQYFV SvwGShcsTn1AAXG3hlg88FuU/QtgxZlES1lSFv0zNMcQDK5dxzD0LefrrAMF3vWRr45/6L sKngmrfcwMlOntV7Vlse/il9cZJcimnJxZbjwATEXU2NA8WjQlHoHKzEPHIKPwNmAvpGnK /Qc23r/fMg12kA8xDL16MP723wIBgyxzsOERJosTjWbuy3VcfBRkUPDay36+tDdUFk6tqF XvePl6y7vkMya+Yq9soLcif6q+iO3321dnbxOZDBrigwxare4slx+6lt41DSPA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731473768; a=rsa-sha256; cv=none; b=BxGRpiJ7FhMnJmAZcpxvhsir4po0yP6mt1S9rmr1rNEK9mv81C8MeC49hG0yvQNgp0LAaP XjzK7wULhsgVqdRK4uzW6H7/ml3DCMn8mxfpjsyA8QyROMzey5ixFuMeI5F7uwiKllQnnw 2JcowXqLeGxVB3dDq6DOqGGNI/obbdZjM/bDm/TVyKQV3ZWn17xf6AaXTomyXr3b8IJ3/l iMrshJz/a7e+c0N7UMzy00Uc7KhCPLinH5Zz2iDUKFT9xMydlpCnIUja6nWnk5FJOixtFm fZ2GeKLcVLXDBMivhuOWjk20pO/Pkc795cmxcQ2jvRq6g/UUvE1Mth/eu/vhTQ== 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 4Xp9wS1x08zh8j; Wed, 13 Nov 2024 04:56:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4AD4u8Vs016398; Wed, 13 Nov 2024 04:56:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AD4u87R016395; Wed, 13 Nov 2024 04:56:08 GMT (envelope-from git) Date: Wed, 13 Nov 2024 04:56:08 GMT Message-Id: <202411130456.4AD4u87R016395@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Warner Losh Subject: git: 18e42bdf1a7b - stable/14 - da: Add quirk for ADATA USB Drive 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 18e42bdf1a7b493d6305d104ebec68cb01ab0285 Auto-Submitted: auto-generated The branch stable/14 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=18e42bdf1a7b493d6305d104ebec68cb01ab0285 commit 18e42bdf1a7b493d6305d104ebec68cb01ab0285 Author: Warner Losh AuthorDate: 2024-11-08 00:11:15 +0000 Commit: Warner Losh CommitDate: 2024-11-13 04:55:04 +0000 da: Add quirk for ADATA USB Drive ADATA USB Drive lies about the RC16, so add a quirk to ignore it. MFC After: 3 days PR: 188999 Sponsored by: Netflix (cherry picked from commit f11b6ce4a3bc6d455dbec375218c01ce9b6b5dc2) --- sys/cam/scsi/scsi_da.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sys/cam/scsi/scsi_da.c b/sys/cam/scsi/scsi_da.c index 5b1cc7314984..efa903c2e57a 100644 --- a/sys/cam/scsi/scsi_da.c +++ b/sys/cam/scsi/scsi_da.c @@ -882,6 +882,11 @@ static struct da_quirk_entry da_quirk_table[] = {T_DIRECT, SIP_MEDIA_REMOVABLE, "JetFlash", "Transcend*", "*"}, /*quirks*/ DA_Q_NO_RC16 }, + { + /* ADATA USB sticks lie on RC16. */ + {T_DIRECT, SIP_MEDIA_REMOVABLE, "ADATA", "USB Flash Drive*", + "*"}, /*quirks*/ DA_Q_NO_RC16 + }, { /* * I-O Data USB Flash Disk