Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Oct 2005 11:17:54 -0700
From:      Maksim Yevmenkin <maksim.yevmenkin@savvis.net>
To:        current@freebsd.org
Subject:   buildkernel is broken in if_ndis
Message-ID:  <434C01D2.4040003@savvis.net>

next in thread | raw e-mail | index | archive | help
dear hackers,

make buildworld is broken for me. since NDIS_LOCK(sc) does not uses 
sc->ndis_mtx anymore, shouldn't the following patch be put in place?

max

p.s. i could not find KeIsInitializedSpinLock function in subr_ndis.c. 
quick look at msdn did not reveal it either


--- if_ndis.c.orig      Tue Oct 11 11:11:52 2005
+++ if_ndis.c   Tue Oct 11 11:11:31 2005
@@ -917,8 +917,6 @@
         driver_object           *drv;

         sc = device_get_softc(dev);
-       KASSERT(mtx_initialized(&sc->ndis_mtx),
-           ("ndis mutex not initialized"));
         NDIS_LOCK(sc);
         ifp = sc->ifp;
         ifp->if_flags &= ~IFF_UP;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?434C01D2.4040003>