Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Nov 2003 12:38:06 -0500
From:      Gregory Nutt <gregory@nutt.ca>
To:        freebsd-questions@FreeBSD.org
Subject:   Writing Device Drivers in 5.1-RELEASE
Message-ID:  <6.0.0.22.0.20031110123252.02428258@mail.nutt.ca>

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



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