Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Feb 2023 03:16:29 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: fb22c140cc11 - releng/13.2 - usb: add new scsi_huawei eject3 & eject4 quirks
Message-ID:  <202302190316.31J3GTpS083804@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch releng/13.2 has been updated by imp:

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

commit fb22c140cc11bec1e19f4825b54d1e8c8004fdf6
Author:     Michael Paepcke <fbsd@paepcke.de>
AuthorDate: 2023-02-16 16:58:30 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-02-19 03:12:45 +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
    Approved by: re (cperciva)
    
    (cherry picked from commit 64fd867f8cdbad24d7af678ee17bd3893832b905)
    (cherry picked from commit 1d31c745cfe60d7a81fd91efdcfecd0405888af2)
---
 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 3dd2aa735fb3..bb02b90ba4bd 100644
--- a/sys/dev/usb/quirk/usb_quirk.c
+++ b/sys/dev/usb/quirk/usb_quirk.c
@@ -696,6 +696,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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302190316.31J3GTpS083804>