svn commit: r344669 - head/sys/dev/isp
Alexander Motin
mav at FreeBSD.org
Thu Feb 28 21:07:17 UTC 2019
Author: mav
Date: Thu Feb 28 21:07:16 2019
New Revision: 344669
URL: https://svnweb.freebsd.org/changeset/base/344669
Log:
Limit 24xx adapters to only MSI interrupts by default.
This was actually the known good configuration we used before.
Single MSI-X configuration doesn't even work there on my tests, just due
to lack of documentation not sure whether by design or I am doing something
wrong.
PR: 233654
MFC after: 1 week
Modified:
head/sys/dev/isp/isp_pci.c
Modified: head/sys/dev/isp/isp_pci.c
==============================================================================
--- head/sys/dev/isp/isp_pci.c Thu Feb 28 20:57:41 2019 (r344668)
+++ head/sys/dev/isp/isp_pci.c Thu Feb 28 21:07:16 2019 (r344669)
@@ -1910,7 +1910,7 @@ isp_pci_irqsetup(ispsoftc_t *isp)
ISP_UNLOCK(isp);
if (ISP_CAP_MSIX(isp)) {
- max_irq = IS_26XX(isp) ? 3 : (IS_25XX(isp) ? 2 : 1);
+ max_irq = IS_26XX(isp) ? 3 : (IS_25XX(isp) ? 2 : 0);
resource_int_value(device_get_name(dev),
device_get_unit(dev), "msix", &max_irq);
max_irq = imin(ISP_MAX_IRQS, max_irq);
More information about the svn-src-all
mailing list