mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 09:10:28 +00:00
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
This commit is contained in:
parent
05a4755ef6
commit
23b179f5d3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=224157
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue