Date: Thu, 8 Sep 2011 18:54:19 +0400 From: Lev Serebryakov <lev@FreeBSD.org> To: "K. Macy" <kmacy@freebsd.org> Cc: "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org> Subject: Re: How to include <sys/bus.h> without "device_if.h" and "bus_if.h"? Message-ID: <510582218.20110908185419@serebryakov.spb.ru> In-Reply-To: <CAHM0Q_NitgdkKKA_EcCwh4_kW1MRCF9X_kAM81KkGNFBAGfrzg@mail.gmail.com> References: <899261441.20110908175756@serebryakov.spb.ru> <CAHM0Q_NitgdkKKA_EcCwh4_kW1MRCF9X_kAM81KkGNFBAGfrzg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, K.. You wrote 8 =F1=E5=ED=F2=FF=E1=F0=FF 2011 =E3., 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. --=20 // Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?510582218.20110908185419>