From owner-freebsd-questions@FreeBSD.ORG Thu Jul 15 16:37:10 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 977D716A4CE for ; Thu, 15 Jul 2004 16:37:10 +0000 (GMT) Received: from mail.broadpark.no (mail.broadpark.no [217.13.4.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6066B43D41 for ; Thu, 15 Jul 2004 16:37:10 +0000 (GMT) (envelope-from henrik.w.lund@broadpark.no) Received: from [10.0.0.3] (52.80-202-129.nextgentel.com [80.202.129.52]) by mail.broadpark.no (Postfix) with ESMTP id 3294E2DA2; Thu, 15 Jul 2004 18:37:40 +0200 (MEST) Message-ID: <40F73154.7080400@broadpark.no> Date: Thu, 15 Jul 2004 18:37:24 -0700 From: Henrik W Lund User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: nb, en-us, en MIME-Version: 1.0 To: Kenneth Culver References: <40F66A82.9010502@celcom.net.my> <20040715100048.cccco80k4s0o4osw@www.sweetdreamsracing.biz> In-Reply-To: <20040715100048.cccco80k4s0o4osw@www.sweetdreamsracing.biz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Compiling Linux Driver under FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jul 2004 16:37:10 -0000 Kenneth Culver wrote: > > > > What you want to do can't be done. The best you can do really is port the > driver. The kernel internals/driver apis are totally different between > linux > and FreeBSD. > > Ken Greetings! Speaking of driver APIs, do you know of any good resources on that one? I've tried the developer's handbook on the website, but this seems more of a general introduction to programming with a little twist of FreeBSD sprinkled lightly. Are there any secret manpages, like code(9) and style(9) that are any good? I'm definitely getting "The design and implementation of the FreeBSD operating system" when it comes out, but that's this fall. The reason I'm asking, is that I'm kinda toying with the idea of porting nvidia-driver to amd64, but I've browsed the source, and it's a tad too much to really get an understanding good enough to do any porting (or even modifying, for that sake). I realize that there's also the whole problem of nvidia-driver depending on Linux-compat, which isn't entirely completed on amd64, but that's being worked on, as far as I know. Besides, I won't be porting anything unless I learn the required APIs. Must....learn....APIs.... Need....APIs.... ;-) Thanks! -Henrik W Lund