Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Oct 2012 07:01:07 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r241340 - head/sys/dev/ale
Message-ID:  <201210080701.q98717js050345@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yongari
Date: Mon Oct  8 07:01:07 2012
New Revision: 241340
URL: http://svn.freebsd.org/changeset/base/241340

Log:
  Fix typo. Check against number of allocated MSI-X vectors.
  There is no ale(4) controller that supports MSI-X so this is not
  real issue.
  
  PR:	kern/171825

Modified:
  head/sys/dev/ale/if_ale.c

Modified: head/sys/dev/ale/if_ale.c
==============================================================================
--- head/sys/dev/ale/if_ale.c	Mon Oct  8 05:51:47 2012	(r241339)
+++ head/sys/dev/ale/if_ale.c	Mon Oct  8 07:01:07 2012	(r241340)
@@ -551,7 +551,7 @@ ale_attach(device_t dev)
 	if (msix_disable == 0 || msi_disable == 0) {
 		if (msix_disable == 0 && msixc == ALE_MSIX_MESSAGES &&
 		    pci_alloc_msix(dev, &msixc) == 0) {
-			if (msic == ALE_MSIX_MESSAGES) {
+			if (msixc == ALE_MSIX_MESSAGES) {
 				device_printf(dev, "Using %d MSIX messages.\n",
 				    msixc);
 				sc->ale_flags |= ALE_FLAG_MSIX;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210080701.q98717js050345>