At 04:05 AM 03/27/2001, Devin Butterfield wrote:
>On Monday 26 March 2001 11:24, Alfred Perlstein wrote:
> > * Coleman Kane <[EMAIL PROTECTED]> [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()?


Everything in LINUX is implemented in a broken way. Whats interesting is 
that they like it that way, and even try to justify it.

skbufs are really neat. no chaining, so if you are doing encapsulations you 
get to reallocate the entire buffer and copy overs tons of "attached info". 
Very high performance.

the biggest caveat with linux ioctls() is that there are only 10 commands 
available. So you are best off only using 1 and using sub-functions within 
your application, or you may run out.

Dennis



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to