diff options
author | Alexander Motin <mav@FreeBSD.org> | 2022-10-20 14:19:24 +0000 |
---|---|---|
committer | Alexander Motin <mav@FreeBSD.org> | 2022-10-20 14:19:24 +0000 |
commit | 2a31a06bf1bb2d328d6672ed91c3e54734684cc0 (patch) | |
tree | 393323aec36d2e669cb2b525903f7a4d063ce487 /sys/dev/usb/controller/xhci_pci.c | |
parent | 24cf7a8d62856552fa800ad81b6f89ec9cdf91be (diff) | |
download | src-2a31a06bf1bb2d328d6672ed91c3e54734684cc0.tar.gz src-2a31a06bf1bb2d328d6672ed91c3e54734684cc0.zip |
Add random VMware device IDs.
Just to make dmesg look nicer there.
MFC after: 1 week
Diffstat (limited to 'sys/dev/usb/controller/xhci_pci.c')
-rw-r--r-- | sys/dev/usb/controller/xhci_pci.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/dev/usb/controller/xhci_pci.c b/sys/dev/usb/controller/xhci_pci.c index e87489f32d14..95edb29422ed 100644 --- a/sys/dev/usb/controller/xhci_pci.c +++ b/sys/dev/usb/controller/xhci_pci.c @@ -64,6 +64,7 @@ __FBSDID("$FreeBSD$"); #define PCI_XHCI_VENDORID_AMD 0x1022 #define PCI_XHCI_VENDORID_INTEL 0x8086 +#define PCI_XHCI_VENDORID_VMWARE 0x15ad static device_probe_t xhci_pci_probe; static device_detach_t xhci_pci_detach; @@ -110,6 +111,10 @@ xhci_pci_match(device_t self) case 0x79141022: return ("AMD FCH USB 3.0 controller"); + case 0x077815ad: + case 0x077915ad: + return ("VMware USB 3.0 controller"); + case 0x145f1d94: return ("Hygon USB 3.0 controller"); @@ -385,6 +390,9 @@ xhci_pci_attach(device_t self) case PCI_XHCI_VENDORID_INTEL: strlcpy(sc->sc_vendor, "Intel", sizeof(sc->sc_vendor)); break; + case PCI_XHCI_VENDORID_VMWARE: + strlcpy(sc->sc_vendor, "VMware", sizeof(sc->sc_vendor)); + break; default: if (bootverbose) device_printf(self, "(New XHCI DeviceId=0x%08x)\n", |