diff options
| author | Pyun YongHyeon <yongari@FreeBSD.org> | 2011-07-25 20:12:31 +0000 |
|---|---|---|
| committer | Pyun YongHyeon <yongari@FreeBSD.org> | 2011-07-25 20:12:31 +0000 |
| commit | 111501f4fc959247f24fcbf8ba94e89c300a4c0c (patch) | |
| tree | f4f8c452e03163fa6ef906d3a7b9d02a0e085d8c /sys/dev/gem | |
| parent | 009c9f91aa0ab52ea13eb54f46d29d2040a24b76 (diff) | |
Notes
Diffstat (limited to 'sys/dev/gem')
| -rw-r--r-- | sys/dev/gem/if_gem.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/gem/if_gem.c b/sys/dev/gem/if_gem.c index d26cb3daee5e..767bfc956bff 100644 --- a/sys/dev/gem/if_gem.c +++ b/sys/dev/gem/if_gem.c @@ -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), |
