How to include <sys/bus.h> without "device_if.h" and "bus_if.h"?

K. Macy kmacy at
Thu Sep 8 14:44:39 UTC 2011

Just add them to the makefile. They'll be automatically created  as

2011/9/8 Lev Serebryakov <lev at>:
> Hello, Freebsd-hackers.
>  I need to include <sys/bus.h> in my kernel module to use
> devctl_notify(). But my module doesn't have device_if.h or bus_if.h,
> which are required by <sys/bus.h>.
>  What should I do?
> --
> // Black Lion AKA Lev Serebryakov <lev at>
> _______________________________________________
> freebsd-hackers at mailing list
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at"

More information about the freebsd-hackers mailing list