Subject: Re: Various NetBSD kernel questions to help with port of FreeBSD "zaptel" drivers.
To: None <>
From: Jason Thorpe <>
List: tech-kern
Date: 11/08/2004 13:07:20
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed

On Nov 8, 2004, at 12:05 PM, Thor Lancelot Simon wrote:

> If the user/kernel interface for this device under Linux has semantics
> that require per-descriptor private data, you can manage it under 
> NetBSD,
> though it's not tremendously pretty.  Have a look at the various
> device implementations in the kernel modules that implement VMware
> compatibility; they need to do that.  You might also want to have a 
> look
> at the "devvp" branch (or did we finally merge that?) which was 
> intended
> to make this sort of thing easier.

devvp had some fundamental flaws, and is dead.

You can take a look at the "dmover" stuff, too... it is a "per-open 
cloning" device.  All the magic happens in dmoverioopen().

         -- Jason R. Thorpe <>

content-type: application/pgp-signature; x-mac-type=70674453;
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

Version: GnuPG v1.2.3 (Darwin)