svn commit: r250651 - stable/8/sys/dev/bge

Pyun YongHyeon yongari at FreeBSD.org
Wed May 15 01:22:56 UTC 2013


Author: yongari
Date: Wed May 15 01:22:55 2013
New Revision: 250651
URL: http://svnweb.freebsd.org/changeset/base/250651

Log:
  MFC r248993:
    Fix a typo.

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

Modified: stable/8/sys/dev/bge/if_bge.c
==============================================================================
--- stable/8/sys/dev/bge/if_bge.c	Wed May 15 01:21:40 2013	(r250650)
+++ stable/8/sys/dev/bge/if_bge.c	Wed May 15 01:22:55 2013	(r250651)
@@ -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-stable-8 mailing list