Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 May 2000 02:44:11 -0400
From:      Coleman Kane <cokane@one.net>
To:        hackers@freebsd.org
Subject:   3dfx driver woes
Message-ID:  <20000514024411.A726@cokane.yi.org>

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

--pf9I7BMVVzbSWLtt
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

Ya know, I have been tryingto get programs to work properly with this 3dfx
driver in linux. Directly from th man page, it states that ioctl()'s will r=
eturn
-1 if there is an error, putting the error no. in errno, or else they will
return zero. The 3dfx driver, written for linux returns, for a few ioctls, a
positive integer representing a non-error, data value, violating this. Well=
, in
freeBSD, a good deal of this stuff is handled at a higher level in the kern=
el,
so it is not up to the driver writer to abide by this, the return value is
already placed into errno. This basically creates the problem of compiled l=
inux
binaries not being able to take "advantage" of this little "feature" of a
number of linux device drivers....=20

--=20
Coleman Kane
President,=20
UC Free O.S. Users Group - http://pohl.ececs.uc.edu

--pf9I7BMVVzbSWLtt
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.0 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE5Hks6ERViMObJ880RAXn0AJ9mDu2O4N3+a1o5flIMOQLohoLD5wCeKlnU
109x4VONX8bKfaajs2aop9c=
=oMn3
-----END PGP SIGNATURE-----

--pf9I7BMVVzbSWLtt--


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?20000514024411.A726>