From nobody Tue Jan 17 10:46:23 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 4Nx5Cz31ktz2sx8v; Tue, 17 Jan 2023 10:46:23 +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 4Nx5Cz2K2qz3q79; Tue, 17 Jan 2023 10:46:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673952383; 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=WN8z2KVKXGho/6pM2Q1fPIowfhKYnWkiQcyvFH2bW0E=; b=EjsVmMdZU84orNWLnhcZm/RZ4cU1ajsEDOuvI8C/OKQE3by59/RcESZfGfu4KOuEQ96Ha/ fqZjKBnafxlfedh/jr9FufOn0k870eQbcM8gG7EGATy5DqE+TaF+UaCn1lyr1B1iqS4gn8 68feVqfCphD8mA8qTRei5BD/IFREM9bWQkV7/3eYRym1N9WGI/ux7690NhONu1ws2W2+7u y2B62cvm+Hqzmysfp406jQgdljRZpkiXYcA4aKGFJE7ECubF13+Nr0Z92/dZKQ15/EfGmo cE4tFgkRlm8phUViGfxe4YF0VmykJQ1TJvWykl33szobdOrywoXMZ3ssaJDSKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673952383; 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=WN8z2KVKXGho/6pM2Q1fPIowfhKYnWkiQcyvFH2bW0E=; b=ZP9+nY4bajQhmhVFj8R+2/BcgAJI6olvxysz2LAw/PqYjIwFv49+/QR1gctQW1UidBRH5d bUE+daMQ6ZCouOVpa6sUuRfN13BK1KwpLhxIpmkz90aJdAgyRT8xeWEthvxvPJEJ4/fQTi 844+s8/sCgJiW+8zZVGclevKjj8Hw2HxO31yfx80Wd2A0qw1qlgaTmfln1W3dWb8qZJBzD Ir0hxxZevba1x4/S0Vdyz9W/bfoC7iyzEfhQiwtYE7zXOXIHa12pppXRgLL6aYPGnfNtAA 5KtLaGxQ31kdgkAse4UOKlHtTm744DOHb7KXmX8jJ0uIsfZXPJjhcKnedidUgg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1673952383; a=rsa-sha256; cv=none; b=sjhQouUoXZ8xqKDwDDhWDodsFsCCkMuzRLZiJo5TlZTE1yl0voDH9cGvW1kTaTNU9SqgOh Cz9XAXg630PeJPAd4MpfdLwwQBW0Zl4SZLpKqxlmGm8IUA1taZUGiUyzSTPr/vzg8bF6+1 AH7HbW2iuFB155NmsmoOObgVuhFGIR6AehbzjvTaAxFt3ALjPT0lIHb45xT7ATfIXiUWXZ x5UvhrYdUqOawXnL6vJg4u0p0OhSEDV1ugTxP3dC0buTEcntO+08fcfohwU5NSM5xr3HPG 4bWeX4wpxc27v7goAQmyBa/0YhHrQ1pRr3sretemkQmKM0i6d3NF06hk5gMokQ== 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 4Nx5Cz1LHTzSfv; Tue, 17 Jan 2023 10:46:23 +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 30HAkNnf091481; Tue, 17 Jan 2023 10:46:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30HAkNNP091480; Tue, 17 Jan 2023 10:46:23 GMT (envelope-from git) Date: Tue, 17 Jan 2023 10:46:23 GMT Message-Id: <202301171046.30HAkNNP091480@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: f9237e1937a4 - main - ehci(4): Add new USB IDs. 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: hselasky X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f9237e1937a4e399e08ca8e5bd88a60910e74be6 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by hselasky: URL: https://cgit.FreeBSD.org/src/commit/?id=f9237e1937a4e399e08ca8e5bd88a60910e74be6 commit f9237e1937a4e399e08ca8e5bd88a60910e74be6 Author: Dmitry Luhtionov AuthorDate: 2023-01-17 10:43:33 +0000 Commit: Hans Petter Selasky CommitDate: 2023-01-17 10:45:35 +0000 ehci(4): Add new USB IDs. MFC after: 1 week Sponsored by: NVIDIA Networking --- sys/dev/usb/controller/ehci_pci.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sys/dev/usb/controller/ehci_pci.c b/sys/dev/usb/controller/ehci_pci.c index bee65e603a15..4ff15a37538c 100644 --- a/sys/dev/usb/controller/ehci_pci.c +++ b/sys/dev/usb/controller/ehci_pci.c @@ -96,6 +96,7 @@ __FBSDID("$FreeBSD$"); #define PCI_EHCI_VENDORID_NVIDIA2 0x10DE #define PCI_EHCI_VENDORID_VIA 0x1106 #define PCI_EHCI_VENDORID_VMWARE 0x15ad +#define PCI_EHCI_VENDORID_ZHAOXIN 0x1d17 static device_probe_t ehci_pci_probe; static device_attach_t ehci_pci_attach; @@ -224,6 +225,10 @@ ehci_pci_match(device_t self) case 0x077015ad: return ("VMware USB 2.0 controller"); + + case 0x1d173104: + return ("Zhaoxin ZX-100/ZX-200/ZX-E USB 2.0 controller"); + default: break; } @@ -409,6 +414,9 @@ ehci_pci_attach(device_t self) case PCI_EHCI_VENDORID_VMWARE: sprintf(sc->sc_vendor, "VMware"); break; + case PCI_EHCI_VENDORID_ZHAOXIN: + sprintf(sc->sc_vendor, "Zhaoxin"); + break; default: if (bootverbose) device_printf(self, "(New EHCI DeviceId=0x%08x)\n",