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


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to