Add USB host controller PCI ID's for Hygon.

Differential Revision:	https://reviews.freebsd.org/D23564
MFC after:	1 week
Sponsored by:	Mellanox Technologies
This commit is contained in:
hselasky 2020-02-10 11:09:56 +00:00
parent 996c6aefcf
commit 830cec2e06
3 changed files with 11 additions and 0 deletions

View File

@ -86,6 +86,7 @@ __FBSDID("$FreeBSD$");
#define PCI_EHCI_VENDORID_APPLE 0x106b
#define PCI_EHCI_VENDORID_ATI 0x1002
#define PCI_EHCI_VENDORID_CMDTECH 0x1095
#define PCI_EHCI_VENDORID_HYGON 0x1d94
#define PCI_EHCI_VENDORID_INTEL 0x8086
#define PCI_EHCI_VENDORID_NEC 0x1033
#define PCI_EHCI_VENDORID_OPTI 0x1045
@ -375,6 +376,9 @@ ehci_pci_attach(device_t self)
case PCI_EHCI_VENDORID_CMDTECH:
sprintf(sc->sc_vendor, "CMDTECH");
break;
case PCI_EHCI_VENDORID_HYGON:
sprintf(sc->sc_vendor, "Hygon");
break;
case PCI_EHCI_VENDORID_INTEL:
sprintf(sc->sc_vendor, "Intel");
break;

View File

@ -83,6 +83,7 @@ __FBSDID("$FreeBSD$");
#define PCI_OHCI_VENDORID_APPLE 0x106b
#define PCI_OHCI_VENDORID_ATI 0x1002
#define PCI_OHCI_VENDORID_CMDTECH 0x1095
#define PCI_OHCI_VENDORID_HYGON 0x1d94
#define PCI_OHCI_VENDORID_NEC 0x1033
#define PCI_OHCI_VENDORID_NVIDIA 0x12D2
#define PCI_OHCI_VENDORID_NVIDIA2 0x10DE
@ -280,6 +281,9 @@ ohci_pci_attach(device_t self)
case PCI_OHCI_VENDORID_CMDTECH:
sprintf(sc->sc_vendor, "CMDTECH");
break;
case PCI_OHCI_VENDORID_HYGON:
sprintf(sc->sc_vendor, "Hygon");
break;
case PCI_OHCI_VENDORID_NEC:
sprintf(sc->sc_vendor, "NEC");
break;

View File

@ -107,6 +107,9 @@ xhci_pci_match(device_t self)
case 0x78141022:
return ("AMD FCH USB 3.0 controller");
case 0x145f1d94:
return ("Hygon USB 3.0 controller");
case 0x01941033:
return ("NEC uPD720200 USB 3.0 controller");
case 0x00151912: