Date: Thu, 14 Mar 2002 10:37:48 -0800 (PST) From: Julian Elischer <julian@elischer.org> To: "Kreider, Carl" <carl.kreider@windriver.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Another kernel newbie Message-ID: <Pine.BSF.4.21.0203141036340.81090-100000@InterJet.elischer.org> In-Reply-To: <20020314124906.A25849@indy.doctordesign.com>
next in thread | previous in thread | raw e-mail | index | archive | help
check how the modules do this.. also, look at the example device driver in -current /usr/share/examples/drivers/make_device_driver.sh that makes and then compiles a driver. On Thu, 14 Mar 2002, 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? > > -- > Carl Kreider > Doctor Design Services > 700 E Beardsley Suite 14A > Elkhart Indiana 46514 > 219-206-8050 x104 > carl.kreider@windriver.com ckreider@doctordesign.com > ckreider@acm.org ckreider@gte.net > ============================================================= > "The reasonable man adapts himself to the world: the unreasonable one > persists in trying to adapt the world to himself. Therefore all progress > depends on the unreasonable man." > -- George Bernard Shaw > ============================================================= > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > 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?Pine.BSF.4.21.0203141036340.81090-100000>