From nobody Wed Mar 29 16:53:05 2023 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 4Pmt0K55nLz42nWn; Wed, 29 Mar 2023 16:53:05 +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 4Pmt0K3S3rz4cbD; Wed, 29 Mar 2023 16:53:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680108785; 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=4+2MvxDRmD+e+M7JdkzukexKF5qQxAQA8rXvxxR2lLI=; b=RKfKPxpo83/06ympKpZT1iWccCnOigAmfvRYQxUyXD2/5mHRiX+Qe3GFPv5KlRb6KaR5CB y3DwJrSJpXgQ7XoX3abE/NxbeHxFlCUxMXGJhgsub/9plqmeNtPJtbpJy6TcKQ0ydfW6+X 7775niGnFUGwiOwL7nu7EtD8TneOWvmf74lCBIxTslyEqGgSSxAySrv0Jx8hxnqk5+SvWt UszWkOSGnWQBZ9gySQLRtV2OxmqYRLm+lCuuLqPIRdFqUyuFSIKdyacBSAE7vDgMogCklN kZaEoNIIXrKlPbXUHEXjhu1G3jbdTDc4CKwbZVGYgUMp4mKXP8izVgK9BC78kA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680108785; 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=4+2MvxDRmD+e+M7JdkzukexKF5qQxAQA8rXvxxR2lLI=; b=KSqt/97bvLCAIPvIG4Pmc2lZYEg5vysNmAerP3e3kpGRvz0UPAW3OHkeCNcOGy4INq+Wuc 7uAcqDuqxHVa2b5Oomn4/jin+pdFqqqxDdLtZ1j/NfIt0DOr8D7Epjy3Nsg1E5KWCXQw8a KVzjoNr7ps2l64WndVuCjKhvMFjzFWkPlxgt1c6anjFVBli4VMPqDRfS4M5ml6JOSI5r3o cvDKShyP29Lh+3KFSIHz44TlKKwQ9gNcDIGVgkIxH2UleWCxoEWlWijilHdNVvoSX/1EGW 9y26pgO+frc87FVWmPFpVLqj3OfFPYLsOZlpWo20eODMASv2f1BFprZKZejT9A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680108785; a=rsa-sha256; cv=none; b=nJ5I3J7ZueFBWon9KNdfe5Rr3mBCySBNVCH4Sf9mKMtymbSsZbzCtuBndXgWCHqihL7qik l4CuNtsTOIg27nnKdaMl904kiV1XHk61hc5CSVpHQ0vr9AMvNPne3fmFGJlVsUmxjBnxNX Dvq06RYeyBVRaRHhJOrXS6yDgv/7mpCJPNjXg7IrsUYswQCIVisi5nXEppIz+h+w9+cKKZ 8UUHJa5qIPMO0yB+C1HdpUR3XyL8yBkMmRrJ3Fqg18XPzrmZrIBJBP0qnCvEdCRVVw5CmO U2g5r1GJZUa4siFOEFrTpjd7VzJOB9easY3V8XQ4MPNWsdBQ2E7FSjVanERJWA== 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 4Pmt0K2X73zdnK; Wed, 29 Mar 2023 16:53:05 +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 32TGr5ZI039704; Wed, 29 Mar 2023 16:53:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32TGr5BN039703; Wed, 29 Mar 2023 16:53:05 GMT (envelope-from git) Date: Wed, 29 Mar 2023 16:53:05 GMT Message-Id: <202303291653.32TGr5BN039703@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Zhenlei Huang Subject: git: fd16ee512374 - stable/13 - xhci(4): Add IDs for Zhaoxin USB 3.0 controllers 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: zlei X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: fd16ee51237444aa0cacacfdf7de1975485dcf35 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=fd16ee51237444aa0cacacfdf7de1975485dcf35 commit fd16ee51237444aa0cacacfdf7de1975485dcf35 Author: Dmitry Luhtionov AuthorDate: 2023-01-17 10:43:40 +0000 Commit: Zhenlei Huang CommitDate: 2023-03-29 16:37:14 +0000 xhci(4): Add IDs for Zhaoxin USB 3.0 controllers Reviewed by: hselasky Tested by: Weitao Wang MFC after: 1 week Sponsored by: NVIDIA Networking Differential Revision: https://reviews.freebsd.org/D38921 (cherry picked from commit 0d7064d58f897c95c3bd319b497f70c8177e0de6) (cherry picked from commit f50f53931edb24c5f30434603f5d1d3043effc0c) --- sys/dev/usb/controller/xhci_pci.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/sys/dev/usb/controller/xhci_pci.c b/sys/dev/usb/controller/xhci_pci.c index 31c361fd26e8..ad49ea7bb38f 100644 --- a/sys/dev/usb/controller/xhci_pci.c +++ b/sys/dev/usb/controller/xhci_pci.c @@ -65,6 +65,7 @@ __FBSDID("$FreeBSD$"); #define PCI_XHCI_VENDORID_AMD 0x1022 #define PCI_XHCI_VENDORID_INTEL 0x8086 #define PCI_XHCI_VENDORID_VMWARE 0x15ad +#define PCI_XHCI_VENDORID_ZHAOXIN 0x1d17 static device_probe_t xhci_pci_probe; static device_detach_t xhci_pci_detach; @@ -207,6 +208,13 @@ xhci_pci_match(device_t self) case 0x1ada10de: return ("NVIDIA TU106 USB 3.1 controller"); + case 0x92021d17: + return ("Zhaoxin ZX-100 USB 3.0 controller"); + case 0x92031d17: + return ("Zhaoxin ZX-200 USB 3.0 controller"); + case 0x92041d17: + return ("Zhaoxin ZX-E USB 3.0 controller"); + default: break; } @@ -395,6 +403,9 @@ xhci_pci_attach(device_t self) case PCI_XHCI_VENDORID_VMWARE: strlcpy(sc->sc_vendor, "VMware", sizeof(sc->sc_vendor)); break; + case PCI_XHCI_VENDORID_ZHAOXIN: + strlcpy(sc->sc_vendor, "Zhaoxin", sizeof(sc->sc_vendor)); + break; default: if (bootverbose) device_printf(self, "(New XHCI DeviceId=0x%08x)\n",