From dccf4b181e80e005034ef0e1aa8c3ebaa0e69fdc Mon Sep 17 00:00:00 2001 From: mav Date: Mon, 2 Jul 2012 19:35:56 +0000 Subject: Add IDs for some USB controllers I have around. Just a cosmetics. MFC after: 3 days --- sys/dev/usb/controller/xhci_pci.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'sys/dev/usb/controller/xhci_pci.c') diff --git a/sys/dev/usb/controller/xhci_pci.c b/sys/dev/usb/controller/xhci_pci.c index 80877ac..c9e067e 100644 --- a/sys/dev/usb/controller/xhci_pci.c +++ b/sys/dev/usb/controller/xhci_pci.c @@ -93,6 +93,19 @@ MODULE_DEPEND(xhci, usb, 1, 1, 1); static const char * xhci_pci_match(device_t self) { + uint32_t device_id = pci_get_devid(self); + + switch (device_id) { + case 0x01941033: + return ("NEC uPD720200 USB 3.0 controller"); + + case 0x1e318086: + return ("Intel Panther Point USB 3.0 controller"); + + default: + break; + } + if ((pci_get_class(self) == PCIC_SERIALBUS) && (pci_get_subclass(self) == PCIS_SERIALBUS_USB) && (pci_get_progif(self) == PCIP_SERIALBUS_USB_XHCI)) { -- cgit v1.1