From owner-freebsd-hackers Tue Dec 11 12:37:50 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id A04DA37B506 for ; Tue, 11 Dec 2001 12:37:28 -0800 (PST) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id fBBKbQa82076; Tue, 11 Dec 2001 13:37:26 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id fBBKbOM30189; Tue, 11 Dec 2001 13:37:24 -0700 (MST) (envelope-from imp@harmony.village.org) Message-Id: <200112112037.fBBKbOM30189@harmony.village.org> To: Poul-Henning Kamp Subject: Re: statefulness in character device drivers Cc: Dave Rufino , Alfred Perlstein , freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Sat, 08 Dec 2001 10:04:18 +0100." <46358.1007802258@critter.freebsd.dk> References: <46358.1007802258@critter.freebsd.dk> Date: Tue, 11 Dec 2001 13:37:24 -0700 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <46358.1007802258@critter.freebsd.dk> Poul-Henning Kamp writes: : In message , Dave R : ufino writes: : : >> Most likely he means a per-open(2) opaque datum that is kept in : >> struct file and passed to the underlying routines. : > : >Sorry, unbelievably bad at explaining myself. Per-open data is what i : >meant. The reason I'm interested is it would make a full nvidia driver : >port quite a bit easier. : : Sorry, I know of no current plans which adress this. : : The issue is non-trivial to fix because we currently don't pass : dup(2) events through the vnode layer. I'm using a cloning device driver for my needs in this area. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message