Caller already hold a driver lock in mii callback, assert it.

This commit is contained in:
Pyun YongHyeon 2009-05-25 04:25:08 +00:00
parent e2b166039a
commit 4b76fe63d9

View File

@ -467,7 +467,7 @@ msk_miibus_statchg(device_t dev)
sc_if = device_get_softc(dev);
sc = sc_if->msk_softc;
MSK_IF_LOCK(sc_if);
MSK_IF_LOCK_ASSERT(sc_if);
mii = device_get_softc(sc_if->msk_miibus);
ifp = sc_if->msk_ifp;