Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 May 2002 09:21:37 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Warner Losh <imp@harmony.village.org>
Cc:        cvs-committers@FreeBSD.org, <cvs-all@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/dev/wi wi_hostap.c 
Message-ID:  <20020501091926.B2902-100000@gamplex.bde.org>
In-Reply-To: <200204302241.g3UMfab87030@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On Tue, 30 Apr 2002, Warner Losh wrote:

> In message <20020501020252.W11154-100000@gamplex.bde.org> Bruce Evans writes:
>
> : This file also misuses splsoftclock.  splsoftclock has different
> : semantics in FreeBSD.  Using it is at best a hack except in the one
> : place where it has the correct semantics (in hardclock() in RELENG_4),
> : and even in that place its use is dubious -- it only works right on
> : some machines, not including i386's (so it is not used on i386's).
> : Drivers should use a device-specific spl to mask softclock interrupts
> : (splnet for network drivers).
>
> OK.  I'm not understanding what you are saying here.  Should I just
> use splimp as well?  The spl stuff is underdocumented at the moment.

Use splnet instead of NetBSD's splsoftclock and splsoftnet.  All spls
mask timeouts, and splnet _is_ splsoftnet (NetBSD renamed it for consistency).

Bruce


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020501091926.B2902-100000>