svn commit: r250650 - stable/9/sys/dev/bge

Pyun YongHyeon yongari at FreeBSD.org
Wed May 15 01:21:41 UTC 2013


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);


More information about the svn-src-all mailing list