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

Lev Serebryakov lev at FreeBSD.org
Thu Sep 8 14:54:24 UTC 2011


Hello, K..
You wrote 8 сентября 2011 г., 18:22:11:

> Just add them to the makefile. They'll be automatically created  as
> dependencies.
 Is it good idea to create these empty files only for one prototype
from <sys/bus.h>?
  Why devctl_notify() is bound to bus, anyway? It is used, for
example, for notifications about network cable plug/unplug, which
doesn't look like something bus-related.

-- 
// Black Lion AKA Lev Serebryakov <lev at FreeBSD.org>



More information about the freebsd-hackers mailing list