diff options
author | andrew <andrew@FreeBSD.org> | 2015-12-24 09:40:29 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2015-12-24 09:40:29 +0000 |
commit | 5badcaaa0f325d543c4a79c30c6c91b0e88163fd (patch) | |
tree | f9f93225673952f7b60b7ebda1d05a47b89d0f7f /sys/dev/usb/controller/xhci.h | |
parent | dea196cd0987efddd0de054962cd6f8b403787d4 (diff) | |
download | FreeBSD-src-5badcaaa0f325d543c4a79c30c6c91b0e88163fd.zip FreeBSD-src-5badcaaa0f325d543c4a79c30c6c91b0e88163fd.tar.gz |
Ads support to the xhci pci attachment to use MSI-X interrupts when
available. As with MSI interrupts these can be disabled by setting
hw.usb.xhci.msix to 0 in the loader.
MSI-X interrupts are needed on some hardware, for example the Cavium
ThunderX only supports them, and with this we don't fall back to polling.
PR: 204378
Reviewed by: hselasky, jhb
MFC after: 1 week (after r292669)
Sponsored by: ABT Systems Ltd
Differential Revision: https://reviews.freebsd.org/D4698
Diffstat (limited to 'sys/dev/usb/controller/xhci.h')
-rw-r--r-- | sys/dev/usb/controller/xhci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/usb/controller/xhci.h b/sys/dev/usb/controller/xhci.h index ac21c0f..4857450 100644 --- a/sys/dev/usb/controller/xhci.h +++ b/sys/dev/usb/controller/xhci.h @@ -465,6 +465,7 @@ struct xhci_softc { struct usb_device *sc_devices[XHCI_MAX_DEVICES]; struct resource *sc_io_res; struct resource *sc_irq_res; + struct resource *sc_msix_res; void *sc_intr_hdl; bus_size_t sc_io_size; |