Author: yongari
Date: Wed May 15 01:21:40 2013
New Revision: 250650
URL: http://svnweb.freebsd.org/changeset/base/250650

Log:
  MFC r248993:
    Fix a typo.

Modified:
  stable/9/sys/dev/bge/if_bge.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/bge/if_bge.c
==============================================================================
--- stable/9/sys/dev/bge/if_bge.c       Wed May 15 01:17:59 2013        
(r250649)
+++ stable/9/sys/dev/bge/if_bge.c       Wed May 15 01:21:40 2013        
(r250650)
@@ -679,7 +679,7 @@ bge_ape_lock_init(struct bge_softc *sc)
                        bit = BGE_APE_LOCK_GRANT_DRIVER0;
                        break;
                default:
-                       if (sc->bge_func_addr != 0)
+                       if (sc->bge_func_addr == 0)
                                bit = BGE_APE_LOCK_GRANT_DRIVER0;
                        else
                                bit = (1 << sc->bge_func_addr);
_______________________________________________
svn-src-stable-9@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-stable-9
To unsubscribe, send any mail to "svn-src-stable-9-unsubscr...@freebsd.org"

Reply via email to