From owner-freebsd-hackers Sat May 13 23:38:12 2000 Delivered-To: freebsd-hackers@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 9F64737B53E for ; Sat, 13 May 2000 23:38:08 -0700 (PDT) (envelope-from cokane@evil.2y.net) Received: (from cokane@localhost) by evil.2y.net (8.9.3/8.9.3) id CAA00739 for hackers@freebsd.org; Sun, 14 May 2000 02:44:11 -0400 (EDT) (envelope-from cokane) Date: Sun, 14 May 2000 02:44:11 -0400 From: Coleman Kane To: hackers@freebsd.org Subject: 3dfx driver woes Message-ID: <20000514024411.A726@cokane.yi.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="pf9I7BMVVzbSWLtt" X-Mailer: Mutt 1.0.1i X-Vim: vim:tw=70:ts=4:sw=4 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --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