From owner-freebsd-multimedia Wed May 10 21:40:22 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from evil.2y.net (ztown3-3-227.adsl.one.net [206.112.211.227]) by hub.freebsd.org (Postfix) with ESMTP id 92CFC37B751 for ; Wed, 10 May 2000 21:40:17 -0700 (PDT) (envelope-from cokane@evil.2y.net) Received: (from cokane@localhost) by evil.2y.net (8.9.3/8.9.3) id AAA00812; Thu, 11 May 2000 00:45:32 -0400 (EDT) (envelope-from cokane) Date: Thu, 11 May 2000 00:45:32 -0400 From: Coleman Kane To: "Daniel O'Connor" Cc: Coleman Kane , freebsd-multimedia@freebsd.org Subject: Re: 3DFX Driver Message-ID: <20000511004532.A797@cokane.yi.org> References: <20000511002855.A643@cokane.yi.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from doconnor@gsoft.com.au on Thu, May 11, 2000 at 12:26:41AM -0400 X-Vim: vim:tw=70:ts=4:sw=4 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org For the linux emulation code, you need to explicitly write linux ioctl handlers for this. I may stick these in the file, but it might make it somewhat ugly. I have yet to really get a good look at the linux emu code. Maybe tonight... after school. Basically, the linux emu needs to have all ioctls explicitly handled, or it never calls the dev ioctl. The ioctl handler for the 3dfx driver is rather simple, if you've ever looked at the linux code, there is no ioctl to translate, they are both generic ones made by 3dfx. I'll take a crack at it tonight, dan. Daniel O'Connor had the audacity to say: > > On 11-May-00 Coleman Kane wrote: > > best done as a simple add-on module that depends on the linux module, > > providing > > two effects: firstly, linux won't have to be statically compiled into the > > kernel, and second: people who don't want to use the linux ioctls for tdfx > > don't > > have to. > > Hmm, I am not sure the linux emulator is able to do what you want.. I don't > think a few extra ioctl handlers in it is going to greatly increase its size > either. > -- Coleman Kane President, UC Free O.S. Users Group - http://pohl.ececs.uc.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message