Date: Tue, 27 Mar 2001 11:42:49 -0500 From: Dennis <dennis@etinc.com> To: Devin Butterfield <dbutter@wireless.net>, Alfred Perlstein <bright@wintelcom.net>, Coleman Kane <cokane@FreeBSD.ORG> Cc: Roger Hardiman <roger@cs.strath.ac.uk>, hackers@FreeBSD.ORG Subject: Re: Porting a Linux driver to FreeBSD with ioctl return values Message-ID: <5.0.0.25.0.20010327114146.023fdeb0@mail.etinc.com> In-Reply-To: <01032701051000.83707@dbm.wireless.net> References: <20010326232431.Q9431@fw.wintelcom.net> <3ABF45B6.DF5A0B7F@cs.strath.ac.uk> <20010327015524.A863@cokane.yi.org> <20010326232431.Q9431@fw.wintelcom.net>
next in thread | previous in thread | raw e-mail | index | archive | help
At 04:05 AM 03/27/2001, Devin Butterfield wrote: >On Monday 26 March 2001 11:24, Alfred Perlstein wrote: > > * Coleman Kane <cokane@FreeBSD.ORG> [010326 22:40] wrote: > > > Yeah, that's basically what I had to do in tdfx. You can take a look int > > > src/sys/dev/tdfx/tdfx_pci.c under tdfx_ioctl(...) to get an idea of what > > > needs to be done, if you need more info. Tdfx basically implements the > > > API from device_3dfx in Linux. > > > > Is there anyone we can PLEAD with to explain that to the linnux people > > that that's a broken way to implement ioctl()? oh, also, they MUST be negative. so you return (-ENODEV)...some bad upper layer code they decided to never fix. DB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.0.0.25.0.20010327114146.023fdeb0>