Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Nov 2012 02:20:44 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r242653 - stable/8/sys/dev/ale
Message-ID:  <201211060220.qA62KiME052410@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yongari
Date: Tue Nov  6 02:20:44 2012
New Revision: 242653
URL: http://svnweb.freebsd.org/changeset/base/242653

Log:
  MFC r241340:
    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:
  stable/8/sys/dev/ale/if_ale.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/dev/   (props changed)
  stable/8/sys/dev/ale/   (props changed)

Modified: stable/8/sys/dev/ale/if_ale.c
==============================================================================
--- stable/8/sys/dev/ale/if_ale.c	Tue Nov  6 02:19:51 2012	(r242652)
+++ stable/8/sys/dev/ale/if_ale.c	Tue Nov  6 02:20:44 2012	(r242653)
@@ -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?201211060220.qA62KiME052410>