Re: bus.h contains reference to bus_if.h and device_if.h which a

看板DFBSD_kernel作者時間15年前 (2011/03/27 05:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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 (foo.m). Regards, Alex 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)?
文章代碼(AID): #1DZbjM6d (DFBSD_kernel)