Subject: Re: NDIS support is broken
To: Aleksej Saushev <>
From: Antti Kantee <>
List: current-users
Date: 12/11/2007 21:16:05
On Tue Dec 11 2007 at 22:12:10 +0300, Aleksej Saushev wrote:
> 3. I moved #endif 1 line forth, so that I swapped last two lines
> of fragment above, and proceeded.  The build stopped in if_ndis.c
> at line 1195:
> 	mtx_destroy(&sc->ndis_mtx);
> I've found that ndis_mtx is "struct simplelock", not mutex.
> I tried changing that to kmutex_t, but this requires more work,
> than I expected, and more time (and knowledge), than I have.

Just as a data point, this broke when compat/ndis/nbcompat migrated to
use mutex, but if_ndis didn't.

Antti Kantee <>                     Of course he runs NetBSD                
    "la qualité la plus indispensable du cuisinier est l'exactitude"