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). */
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to