Subject: Re: Various NetBSD kernel questions to help with port of FreeBSD "zaptel" drivers.
To: None <tls@rek.tjls.com>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-kern
Date: 11/08/2004 13:07:20
--Apple-Mail-6--765727247
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 <thorpej@shagadelic.org>


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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQFBj+AMOpVKkaBm8XkRAlwsAJ9NseQ1QdqOLR6NBv7TdA92lkADywCfazxJ
CvV1Egtnac1zQEDQOOrm4Pw=
=b40B
-----END PGP SIGNATURE-----

--Apple-Mail-6--765727247--