"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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to