mirror of
https://github.com/opnsense/src.git
synced 2026-02-03 20:49:35 -05:00
xhci(4): Add new USB IDs.
MFC after: 1 week Sponsored by: NVIDIA Networking
This commit is contained in:
parent
f9237e1937
commit
0d7064d58f
1 changed files with 11 additions and 0 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue