svn commit: r344910 - stable/12/sys/dev/isp

Alexander Motin mav at FreeBSD.org
Fri Mar 8 00:56:08 UTC 2019


Author: mav
Date: Fri Mar  8 00:56:07 2019
New Revision: 344910
URL: https://svnweb.freebsd.org/changeset/base/344910

Log:
  MFC r344661, r344669: 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.

Modified:
  stable/12/sys/dev/isp/isp_pci.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/dev/isp/isp_pci.c
==============================================================================
--- stable/12/sys/dev/isp/isp_pci.c	Fri Mar  8 00:54:54 2019	(r344909)
+++ stable/12/sys/dev/isp/isp_pci.c	Fri Mar  8 00:56:07 2019	(r344910)
@@ -1910,7 +1910,7 @@ isp_pci_irqsetup(ispsoftc_t *isp)
 
 	ISP_UNLOCK(isp);
 	if (ISP_CAP_MSIX(isp)) {
-		max_irq = IS_26XX(isp) ? 3 : 2;
+		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-stable-12 mailing list