From owner-freebsd-hackers Thu Mar 14 13:32:47 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from swan.prod.itd.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by hub.freebsd.org (Postfix) with ESMTP id 3B67037B416 for ; Thu, 14 Mar 2002 13:32:42 -0800 (PST) Received: from pool0226.cvx22-bradley.dialup.earthlink.net ([209.179.198.226] helo=mindspring.com) by swan.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16lcq0-0006mV-00; Thu, 14 Mar 2002 13:32:40 -0800 Message-ID: <3C9116E6.5C13234A@mindspring.com> Date: Thu, 14 Mar 2002 13:32:22 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "Kreider, Carl" Cc: freebsd-hackers@freebsd.org Subject: Re: Another kernel newbie References: <20020314124906.A25849@indy.doctordesign.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Kreider, Carl" wrote: > I've been tasked with a driver for a video capture card. I've been > following the example of the bktr driver, searched the net for > information, bought "The Design and Implementation of the 4.4BSD > Operating System", read the Developer's Handbook, etc. > > I am working outside the kernel tree right now, in /usr/local/src > and am ready to compile. However, sys/bus.h wants device_if.h and > bus_if.h, which apparently are generated dynamically. How do I > make that magic happen? See /sys/modules/bktr/bktr/Makefile for an example of a Makefile that does the necessary generation using the perl scripts. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message