Date: Thu, 23 Nov 2000 11:44:38 +0100 From: Nicolas Souchu <nsouch@alcove.fr> To: Archie Cobbs <archie@dellroad.org> Cc: freebsd-current@freebsd.org Subject: Mutex, SMBUS, ACPI (Re: how to mutex'ify a device driver) Message-ID: <20001123114438.C19987@wiliam.alcove-int> In-Reply-To: <200011230058.eAN0wWI62818@curve.dellroad.org>; from archie@dellroad.org on Wed, Nov 22, 2000 at 04:58:32PM -0800 References: <200011230058.eAN0wWI62818@curve.dellroad.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 22, 2000 at 04:58:32PM -0800, Archie Cobbs wrote: > As a relatively simple exercise in -current kernel programming, > I'm planning to mutex'ify the ichsmb(4) device driver (this is > a relatively simple driver that currently uses splhigh()). I'd > appreciate some feedback if what I'm doing is the right thing. What are kernel mutex? A new mechanism for spl replacement? Is it introduced with the new SMP? I found nothing in the mail archives... > > The plan is to give each instance of the device a mutex. This > mutex will be grabbed by both the top level code (when programming > the chip to do something or reading the results) and the interrupt > code (when servicing an interrupt). Have you comments about smbus/iicbus? What would you add to the todo list of the framework? Did you participate to ACPI discussions? -- Nicolas Souchu Alcôve - Open Source Software Engineer - http://www.alcove.fr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001123114438.C19987>