Author: yongari
Date: Sun Jul 17 21:54:51 2011
New Revision: 224157
URL: http://svn.freebsd.org/changeset/base/224157

Log:
  Revert r222135 by allowing controller reinitialization.  Due to
  unknown reason Apple UniNorth2 gem(4) device required manual
  interface down/up operation after r222135.  Even though this is not
  correct thing and I don't like to revert it but it would be better
  than breaking gem(4) on PPC.  This should be revisited.
  
  PR:   kern/157405

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

Modified: head/sys/dev/gem/if_gem.c
==============================================================================
--- head/sys/dev/gem/if_gem.c   Sun Jul 17 21:53:42 2011        (r224156)
+++ head/sys/dev/gem/if_gem.c   Sun Jul 17 21:54:51 2011        (r224157)
@@ -947,8 +947,10 @@ 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),
_______________________________________________
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