Writing Device Drivers in 5.1-RELEASE

Jason jason at ec.rr.com
Tue Nov 11 17:58:41 PST 2003

Gregory Nutt wrote:

> I'm trying to port the device driver for acx100 chipsets TO WORK ON 
> FreeBSD.  However, all the guides I'm finding make reference to files 
> that apparently are no longer used such as:
> card_if.h
> device_if.h
> bus_if.h
> etc...
> and have been renamed to card_if.m, device_if.m, bus_if.m, etc...
> even though these are includes in a good number of the device driver 
> files included with this distro.  So far I just remmed out the 
> includes of these files and am now stuck at the DEVMETHOD macro where 
> it is not accepting functions such as device_probe, device_attach, 
> device_detach, etc where I get an error saying ei. device_probe_desc 
> undeclared here (not in a function).  I can find no headers that 
> define the macro or the functions.  Please help!
> Greg
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"
I have tried a similar thing recently, but am very new to it.  I might 
not be able to help you a lot but you should check this site out: 

More information about the freebsd-questions mailing list