From owner-freebsd-hackers@FreeBSD.ORG Thu Sep 8 14:54:24 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD427106566C; Thu, 8 Sep 2011 14:54:24 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id A00598FC0C; Thu, 8 Sep 2011 14:54:24 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:14f9:cfdf:caf2:2c18]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id C9D524AC31; Thu, 8 Sep 2011 18:54:23 +0400 (MSD) Date: Thu, 8 Sep 2011 18:54:19 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <510582218.20110908185419@serebryakov.spb.ru> To: "K. Macy" In-Reply-To: References: <899261441.20110908175756@serebryakov.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-hackers@freebsd.org" Subject: Re: How to include without "device_if.h" and "bus_if.h"? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Sep 2011 14:54:24 -0000 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 ? 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