git: 4abe99d02d2e - stable/13 - uhci(4): Add IDs for Zhaoxin USB controller
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 29 Mar 2023 16:53:07 UTC
The branch stable/13 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=4abe99d02d2e28dfa8290b305d735d61ffd9cbca commit 4abe99d02d2e28dfa8290b305d735d61ffd9cbca Author: Dmitry Luhtionov <dmitryluhtionov@gmail.com> AuthorDate: 2023-01-17 10:43:24 +0000 Commit: Zhenlei Huang <zlei@FreeBSD.org> CommitDate: 2023-03-29 16:49:31 +0000 uhci(4): Add IDs for Zhaoxin USB controller Tested by: Weitao Wang <WeitaoWang-oc@zhaoxin.com> MFC after: 1 week Sponsored by: NVIDIA Networking Differential Revision: https://reviews.freebsd.org/D38924 (cherry picked from commit 986c7be472bd8b29bb280e72b57e6cbf1851b26f) (cherry picked from commit b754d7faafd3536889bb6078b9fd11ef2e7717d7) --- sys/dev/usb/controller/uhci_pci.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sys/dev/usb/controller/uhci_pci.c b/sys/dev/usb/controller/uhci_pci.c index e9036aa9ce23..07bc25b644e3 100644 --- a/sys/dev/usb/controller/uhci_pci.c +++ b/sys/dev/usb/controller/uhci_pci.c @@ -82,6 +82,7 @@ __FBSDID("$FreeBSD$"); #define PCI_UHCI_VENDORID_HP 0x103c #define PCI_UHCI_VENDORID_VIA 0x1106 #define PCI_UHCI_VENDORID_VMWARE 0x15ad +#define PCI_UHCI_VENDORID_ZHAOXIN 0x1d17 /* PIIX4E has no separate stepping */ @@ -240,6 +241,10 @@ uhci_pci_match(device_t self) case 0x077415ad: return ("VMware USB controller"); + + case 0x30381d17: + return ("Zhaoxin ZX-100/ZX-200/ZX-E USB controller"); + default: break; } @@ -333,6 +338,9 @@ uhci_pci_attach(device_t self) case PCI_UHCI_VENDORID_VMWARE: sprintf(sc->sc_vendor, "VMware"); break; + case PCI_UHCI_VENDORID_ZHAOXIN: + sprintf(sc->sc_vendor, "Zhaoxin"); + break; default: if (bootverbose) { device_printf(self, "(New UHCI DeviceId=0x%08x)\n",