Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Mar 2002 13:32:22 -0800
From:      Terry Lambert <tlambert2@mindspring.com>
To:        "Kreider, Carl" <carl.kreider@windriver.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Another kernel newbie
Message-ID:  <3C9116E6.5C13234A@mindspring.com>
References:  <20020314124906.A25849@indy.doctordesign.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C9116E6.5C13234A>