svn commit: r192724 - head/sys/dev/msk

Pyun YongHyeon yongari at FreeBSD.org
Mon May 25 04:25:09 UTC 2009


Author: yongari
Date: Mon May 25 04:25:08 2009
New Revision: 192724
URL: http://svn.freebsd.org/changeset/base/192724

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

Modified:
  head/sys/dev/msk/if_msk.c

Modified: head/sys/dev/msk/if_msk.c
==============================================================================
--- head/sys/dev/msk/if_msk.c	Mon May 25 04:22:27 2009	(r192723)
+++ head/sys/dev/msk/if_msk.c	Mon May 25 04:25:08 2009	(r192724)
@@ -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;


More information about the svn-src-all mailing list