diff options
author | mav <mav@FreeBSD.org> | 2012-07-02 19:35:56 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2012-07-02 19:35:56 +0000 |
commit | dccf4b181e80e005034ef0e1aa8c3ebaa0e69fdc (patch) | |
tree | 5473e0885c3f5f120993dfff3a821ce83244cc8e /sys/dev/usb/controller/xhci_pci.c | |
parent | 61f2919bd780728510d20f19e4efabc02461d2b2 (diff) | |
download | FreeBSD-src-dccf4b181e80e005034ef0e1aa8c3ebaa0e69fdc.zip FreeBSD-src-dccf4b181e80e005034ef0e1aa8c3ebaa0e69fdc.tar.gz |
Add IDs for some USB controllers I have around. Just a cosmetics.
MFC after: 3 days
Diffstat (limited to 'sys/dev/usb/controller/xhci_pci.c')
-rw-r--r-- | sys/dev/usb/controller/xhci_pci.c | 13 |
1 files changed, 13 insertions, 0 deletions
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)) { |