From nobody Sat Feb 04 21:29:46 2023 X-Original-To: dev-commits-src-main@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 4P8Qf25vpFz3nsLJ; Sat, 4 Feb 2023 21:29:46 +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 4P8Qf25JXKz3lsD; Sat, 4 Feb 2023 21:29:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675546186; 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=yaDEoKAJ1vIyCclnq6Xk5rVlgobr4HkKZulT2bhKNzA=; b=l83vbjXSA3xiQK1qEvzIGOcI0s2zBXqZhLWGkhxBmd8BIHQgHik7J4Tm8eiBJnNTVGs81y 2sI/SLYKSgBgtJVgXyF6c2M2P8ss51gh2ba7ctwafF7tSbJ6nYJfLRkR56njRGTLH7SgIr i6d2vjZvelCZ5Ip3LwYAOD85D9hl5X9OK4Pwe2X+iNGe7wdEAeCdU9VQJX4Hmc4fmgpIQL vVK/GtOA4QIwVUiS67ku/dV85VcaL0Cj/83fLVdQORc/Sy4ov+420t8A+IjIIHgHS3p/Be CP0Q2qLUSz+P3oPlLy68Jis9QwMZE9NVEAG3TSwDnAxqXEH493t4OXQbI0VuLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675546186; 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=yaDEoKAJ1vIyCclnq6Xk5rVlgobr4HkKZulT2bhKNzA=; b=ePSwlJgC6Bek4fiMOzKrJ+89h/1V/UZSgxi3qgASKYSXOCmCFjIUqQ9juuRTdoitaVqHG4 h2XbcoJJab81OxyrP077HVBRQy5wHgWuQssX5YLQjfNL2jAhNos85QNcQwgQ3pK7D/7QD6 rl0IvsOJRC0FmALhUWuk/qbTDm3E/fIBnx4VRy7lbPpxJqoapfvjlDV5Z3JQsGDQyktDpL jSES8CJHVp2a/UJOxmqlnpozeip8oZ0FoA96dvOWemwyFFFZa70hQxZt7NyaxD7uHZwjvZ bijZr6rAqsHneDwu5H+M1sLBEjQQdS+wCyTxpwvCf2axGt0Apcdqsm4UHeMowg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675546186; a=rsa-sha256; cv=none; b=StYFsEtpOQXpTtBKhwjacPrbis4kvgaYeutJV+TxkLJDkZ2aE8obLNC+2K3Ai8sTV11u8o 1kyLGXX7DJkn2JkGLTZP9mGr/96UvR/tDvUcCDOtkk1YT7k/xbEYbTBj0DeCyOoIKBtS6S 8kmejtp6rVR7NSEqHBM8wvrRrj87dwY6/YJ3LydLiMNTg0HyBodEkOLcELQUBFgGRA5nj0 WrdyblqLCCrXO/tnoOxLziYhiC+cRNhpD8rPUB2qsScJOiXbg5+SMpy1mXwiPxaBixmoZr dWhkEMMy7hCrbGDXCcljM6NjYngETNRelB698OFK14LySO+wh9G9E2GYs5L6HQ== 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 4P8Qf23yzCzVlS; Sat, 4 Feb 2023 21:29:46 +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 314LTkvT047399; Sat, 4 Feb 2023 21:29:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 314LTkhP047398; Sat, 4 Feb 2023 21:29:46 GMT (envelope-from git) Date: Sat, 4 Feb 2023 21:29:46 GMT Message-Id: <202302042129.314LTkhP047398@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 64fd867f8cdb - main - usb: add new scsi_huawei eject3 & eject4 quirks List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 64fd867f8cdbad24d7af678ee17bd3893832b905 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=64fd867f8cdbad24d7af678ee17bd3893832b905 commit 64fd867f8cdbad24d7af678ee17bd3893832b905 Author: Michael Paepcke AuthorDate: 2022-12-16 10:12:17 +0000 Commit: Warner Losh CommitDate: 2023-02-04 21:27:08 +0000 usb: add new scsi_huawei eject3 & eject4 quirks Add new scsi_huawei eject3 & eject4 mode driver to usb quirks Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/633 --- sys/dev/usb/quirk/usb_quirk.c | 2 ++ sys/dev/usb/quirk/usb_quirk.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/sys/dev/usb/quirk/usb_quirk.c b/sys/dev/usb/quirk/usb_quirk.c index d67007012251..6e45e5a2b043 100644 --- a/sys/dev/usb/quirk/usb_quirk.c +++ b/sys/dev/usb/quirk/usb_quirk.c @@ -698,6 +698,8 @@ static const char *usb_quirk_str[USB_QUIRK_MAX] = { [UQ_MSC_EJECT_SAEL_M460] = "UQ_MSC_EJECT_SAEL_M460", [UQ_MSC_EJECT_HUAWEISCSI] = "UQ_MSC_EJECT_HUAWEISCSI", [UQ_MSC_EJECT_HUAWEISCSI2] = "UQ_MSC_EJECT_HUAWEISCSI2", + [UQ_MSC_EJECT_HUAWEISCSI3] = "UQ_MSC_EJECT_HUAWEISCSI3", + [UQ_MSC_EJECT_HUAWEISCSI4] = "UQ_MSC_EJECT_HUAWEISCSI4", [UQ_MSC_EJECT_TCT] = "UQ_MSC_EJECT_TCT", [UQ_BAD_MIDI] = "UQ_BAD_MIDI", [UQ_AU_VENDOR_CLASS] = "UQ_AU_VENDOR_CLASS", diff --git a/sys/dev/usb/quirk/usb_quirk.h b/sys/dev/usb/quirk/usb_quirk.h index 755465576684..399c8d3f65b4 100644 --- a/sys/dev/usb/quirk/usb_quirk.h +++ b/sys/dev/usb/quirk/usb_quirk.h @@ -108,6 +108,8 @@ enum { UQ_MSC_EJECT_SAEL_M460, /* ejects after Sael USB commands */ UQ_MSC_EJECT_HUAWEISCSI, /* ejects after Huawei SCSI command */ UQ_MSC_EJECT_HUAWEISCSI2, /* ejects after Huawei SCSI 2 command */ + UQ_MSC_EJECT_HUAWEISCSI3, /* ejects after Huawei SCSI 3 command */ + UQ_MSC_EJECT_HUAWEISCSI4, /* ejects after Huawei SCSI 4 command */ UQ_MSC_EJECT_TCT, /* ejects after TCT SCSI command */ UQ_BAD_MIDI, /* device claims MIDI class, but isn't */