From nobody Tue Jan 17 10:46:24 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 4Nx5D03TDqz2sx1Y; Tue, 17 Jan 2023 10:46:24 +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 4Nx5D0333hz3qL9; Tue, 17 Jan 2023 10:46:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673952384; 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=LDXc/XFS9CuduXuE9CRCqFuF6Wd0jlXW8JolLVEB9oA=; b=Z7hXRFp1lNLu68oDU6+qmAJkLNu3vgB9zmZA2lZVpz/KLVoVL0oGH3a/crn2SukOsuJAPA vgI6nu5Nw50zXCEsleNo/MGZfmZXs05K+ntCvEDRPyWDn3+4rRw3f2jJFm2yCYxE/WLdkr DIyTBY6RL7zBdhONmnzfFH0n6+xoJex63lSX0GTNtalzlFcuhFEiYps+SFGNeiL8Cx46EM LXW6YXqJOKWlxb2ptSY9d5Z5jxq4KiFPPnK7efAGh+ImbU0YuyqCOK5/7hq6bNptxafU7x giqaat3eyE9j/zJnZ8a8B8pP7dkSEzjmPDacYRtJVnpMHlkYvkssH4HCMALSnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673952384; 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=LDXc/XFS9CuduXuE9CRCqFuF6Wd0jlXW8JolLVEB9oA=; b=TgL/FmvfjhCW5wSe1JytxVkXWq72DgLaYQzUULbyNs+zBSLxytWfF8r+b1xoKBKtNZAII5 BTmsm8hIpwWkze2XhgrOGbdcO9bJxzRzi0PPgLTCfbwm+JKMZ+KjVF4B/7+bRi9lhFINLk IMH8NOFneeXNG8bIpHMAMUPrtRNyr6Q1/OxdOvfIskZdQ7cFrC0SKuljaKApyB2yVl5Nxt evn5ILBRvoBLkHJpqLPMt0ZWvILCceD5RkEN7K38oaDhblXLOVqbjaJVRMt0p7ovP7Ah8b VWjnEHp+F+8cr9EGC03Enidf8Nja+95fgSlYl3vAt/92T3OtqM+E4kNKSm0rGw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1673952384; a=rsa-sha256; cv=none; b=eWFx+1spvRJCrcOgAEZV9TIiq4Db/pGpEVleD+rQOBpUbaSJy7143wh+t0s+nazkVbcs8u grO+hNyGlhHk0MNF9cT3a/c1jWVoitav2UXyRz8cAPp2vG4HsMw+aQJphnkEkyXUwDNWla TpbJ/MOBpLOLuKTzCt7K2/l/SXVrsLk+OMxqHtXMh80r8sArhl1/FZ7qX9NRQRK6lbyDXc py1ani+cQjagag+pDCte9hwQavI7I+ZkZw4t/1GuL7tDmyRUcnGVI+9V2ojmRmhrsA+6/x yIXPQXY2aHHXdU9EmlvC+b0tayUt90AhVwVHBWnKOohGhOWEgWi6bjJnlYAv3Q== 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 4Nx5D026nXzSvk; Tue, 17 Jan 2023 10:46:24 +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 30HAkO9R091512; Tue, 17 Jan 2023 10:46:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30HAkOO4091511; Tue, 17 Jan 2023 10:46:24 GMT (envelope-from git) Date: Tue, 17 Jan 2023 10:46:24 GMT Message-Id: <202301171046.30HAkOO4091511@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Hans Petter Selasky Subject: git: 0d7064d58f89 - main - xhci(4): Add new USB IDs. 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: hselasky X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0d7064d58f897c95c3bd319b497f70c8177e0de6 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by hselasky: URL: https://cgit.FreeBSD.org/src/commit/?id=0d7064d58f897c95c3bd319b497f70c8177e0de6 commit 0d7064d58f897c95c3bd319b497f70c8177e0de6 Author: Dmitry Luhtionov AuthorDate: 2023-01-17 10:43:40 +0000 Commit: Hans Petter Selasky CommitDate: 2023-01-17 10:45:35 +0000 xhci(4): Add new USB IDs. MFC after: 1 week Sponsored by: NVIDIA Networking --- 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 890eec4f0169..3fff1ec1db01 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; @@ -205,6 +206,13 @@ xhci_pci_match(device_t self) case 0x1ada10de: return ("NVIDIA TU106 USB 3.1 controller"); + case 0x1d179202: + return ("Zhaoxin ZX-100 USB 3.0 controller"); + case 0x1d179203: + return ("Zhaoxin ZX-200 USB 3.0 controller"); + case 0x1d179204: + return ("Zhaoxin ZX-E USB 3.0 controller"); + default: break; } @@ -393,6 +401,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",