svn commit: r225015 - head/sys/dev/gem

Marius Strobl marius at FreeBSD.org
Fri Aug 19 19:13:31 UTC 2011


Author: marius
Date: Fri Aug 19 19:13:31 2011
New Revision: 225015
URL: http://svn.freebsd.org/changeset/base/225015

Log:
  Revert r224157, re-enabling r222135. The underlying problem keeping the
  latter from working as expected was fixed in r225014.
  
  MFC after:	3 days
  Approved by:	re (kib)

Modified:
  head/sys/dev/gem/if_gem.c

Modified: head/sys/dev/gem/if_gem.c
==============================================================================
--- head/sys/dev/gem/if_gem.c	Fri Aug 19 19:12:58 2011	(r225014)
+++ head/sys/dev/gem/if_gem.c	Fri Aug 19 19:13:31 2011	(r225015)
@@ -947,10 +947,8 @@ gem_init_locked(struct gem_softc *sc)
 
 	GEM_LOCK_ASSERT(sc, MA_OWNED);
 
-#ifdef notyet
 	if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0)
 		return;
-#endif
 
 #ifdef GEM_DEBUG
 	CTR2(KTR_GEM, "%s: %s: calling stop", device_get_name(sc->sc_dev),


More information about the svn-src-all mailing list