bus.h contains reference to bus_if.h and device_if.h which are not found in the required directory
ahornung at gmail.com
Sat Mar 26 14:00:13 PDT 2011
you need to add them to SRCS+=... just look at other drivers, for
example the linuxulator module in sys/emulation/linux.
These header files are interface files built from interface definitions
On 26/03/11 20:53, shivanth wrote:
> I'm trying to write a char driver and am having trouble including bus.h
> header file . This file tries to include the files bus_if.h and
> device_if.h. But these files are not found in /usr/src/sys/sys/ .
> Instead i found these files in usr/obj/usr/src/sys/GENERIC/ .
> I'm wondering there're many drivers using bus.h and are not broken ,
> but my module never seems to compile . Am I wrong somewhere (I should be)?
More information about the Kernel