Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Apr 1999 12:51:28 +0930 (CST)
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        Stephen Hocking-Senior Programmer PGS Tensor Perth <shocking@prth.pgs.com>
Cc:        hackers@FreeBSD.ORG
Subject:   RE: 3dfx driver and ioctl return value issues.
Message-ID:  <XFMail.990428125128.doconnor@gsoft.com.au>
In-Reply-To: <199904280309.LAA09496@ariadne.tensor.pgs.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 28-Apr-99 Stephen Hocking-Senior Programmer PGS Tensor Perth wrote:
>  returns *non-negative* numbers to indicate success. This means that an ioctl
>  can return information such as the number of 3dfx card in a system as a
>  value, rather than in the variable that the third argument of ioctl points
>  This would not normally be a problem, except for the fact that the Linux
>  library depends on this perverse behaivior, making testing rather difficult.

Why oh why? Thats pretty vile :(

>  There's another way out - I obtain the Glide source, alter it to pass
>  to variables in ioctl calls rather than relying on the return value of the 
>  ioctl call. For those people who wish to use the driver in the Linux
>  "realtime 
>  3d simulations" aka glquake, we recompile it after the alterations with the 
>  Linux dev kit.

Any chance of getting the Linux porter to fix this (really really) bad
behaviour? :)

---
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum


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?XFMail.990428125128.doconnor>