summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2020-02-10 11:09:56 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2020-02-10 11:09:56 +0000
commitd82c0ebc694e7e991ab08b9ea1b45762876e5ebc (patch)
tree94e1a83e51867d62a3c4721f484f91d46e1c977f
parent9e4029ff4920d3eedfb897cd08d4ffa611920edf (diff)
Notes
-rw-r--r--sys/dev/usb/controller/ehci_pci.c4
-rw-r--r--sys/dev/usb/controller/ohci_pci.c4
-rw-r--r--sys/dev/usb/controller/xhci_pci.c3
3 files changed, 11 insertions, 0 deletions
diff --git a/sys/dev/usb/controller/ehci_pci.c b/sys/dev/usb/controller/ehci_pci.c
index a918bf679a24e..7783c157046f6 100644
--- a/sys/dev/usb/controller/ehci_pci.c
+++ b/sys/dev/usb/controller/ehci_pci.c
@@ -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;
diff --git a/sys/dev/usb/controller/ohci_pci.c b/sys/dev/usb/controller/ohci_pci.c
index 27929aa25ff0a..882a9db8885eb 100644
--- a/sys/dev/usb/controller/ohci_pci.c
+++ b/sys/dev/usb/controller/ohci_pci.c
@@ -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;
diff --git a/sys/dev/usb/controller/xhci_pci.c b/sys/dev/usb/controller/xhci_pci.c
index a96c21ddd66a6..5c59d7c989dc2 100644
--- a/sys/dev/usb/controller/xhci_pci.c
+++ b/sys/dev/usb/controller/xhci_pci.c
@@ -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: