svn commit: r230338 - head/sys/dev/bge

Pyun YongHyeon yongari at FreeBSD.org
Thu Jan 19 20:28:58 UTC 2012


Author: yongari
Date: Thu Jan 19 20:28:58 2012
New Revision: 230338
URL: http://svn.freebsd.org/changeset/base/230338

Log:
  Oops, fix logic error introduced in r230337.

Modified:
  head/sys/dev/bge/if_bge.c

Modified: head/sys/dev/bge/if_bge.c
==============================================================================
--- head/sys/dev/bge/if_bge.c	Thu Jan 19 20:21:59 2012	(r230337)
+++ head/sys/dev/bge/if_bge.c	Thu Jan 19 20:28:58 2012	(r230338)
@@ -2745,7 +2745,7 @@ bge_can_use_msi(struct bge_softc *sc)
 {
 	int can_use_msi = 0;
 
-	if (sc->bge_msi != 0)
+	if (sc->bge_msi == 0)
 		return (0);
 
 	/* Disable MSI for polling(4). */


More information about the svn-src-head mailing list