From owner-freebsd-current Tue Aug 6 4:44:11 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 29AED37B400 for ; Tue, 6 Aug 2002 04:44:09 -0700 (PDT) Received: from smtp2.enst.fr (matrix2.enst.fr [137.194.2.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id D13BD43E4A for ; Tue, 6 Aug 2002 04:44:07 -0700 (PDT) (envelope-from beyssac@bofh.enst.fr) Received: from bofh.enst.fr (bofh.enst.fr [137.194.32.191]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "bofh.enst.fr", Issuer CN "ENST CA" (verified OK)) by smtp2.enst.fr (Postfix) with ESMTP id A38BE1EFB0; Tue, 6 Aug 2002 13:44:03 +0200 (MEST) Received: from bofh.enst.fr (localhost [127.0.0.1]) by bofh.enst.fr (8.12.5/8.12.3) with ESMTP id g76Bi5t4090745 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 6 Aug 2002 13:44:05 +0200 (CEST) (envelope-from beyssac@bofh.enst.fr) Received: (from beyssac@localhost) by bofh.enst.fr (8.12.5/8.12.3/Submit) id g76Bi4u6090744; Tue, 6 Aug 2002 13:44:04 +0200 (CEST) Date: Tue, 6 Aug 2002 13:44:04 +0200 From: Pierre Beyssac To: Bill Huey Cc: Frank Mayhar , Alp ATICI , Ed Yu , freebsd-current@FreeBSD.ORG Subject: Re: About 5.0 and Nvidia drivers Message-ID: <20020806134404.A87813@bofh.enst.fr> References: <200208051636.g75GaamW000669@realtime.exit.com> <20020806040903.GA4316@gnuppy.monkey.org> <20020806115753.A85868@bofh.enst.fr> <20020806103047.GA19825@gnuppy.monkey.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020806103047.GA19825@gnuppy.monkey.org>; from billh@gnuppy.monkey.org on Tue, Aug 06, 2002 at 03:30:47AM -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Aug 06, 2002 at 03:30:47AM -0700, Bill Huey wrote: > On Tue, Aug 06, 2002 at 11:57:53AM +0200, Pierre Beyssac wrote: > > It does a heavy use of Linux ioctls to call Linux DRM and Linux AGP > > and getting that to run under FreeBSD DRM and FreeBSD AGP ioctls > > is far from easy because the ioctl calling convention is quite > > different. So it's far from what I would call OS- or > > Except that there isn't an ioctl() symbol referenced in that binary > module (via 'nm'). It doesn't have to show up as a link symbol since it's a syscall. It can also be invoked using a i386 interrupt instruction. But I can't find any in nvidia_drv.o, so either there are none or I'm not looking the right way or at the right place. > address of the card itself. The intuition here and from the supporting > evidence from the 'nm' output is that you pass it the address of the > card and the binary module does all of that stuff automatically. Interesting... So the ioctl() stuff I heard about was probably referring to code in the Linux XFree server. So you're right, it seems to be architectured better than I imagined :) -- Pierre Beyssac pb@enst.fr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message