From owner-freebsd-hackers@FreeBSD.ORG Thu Sep 8 14:58:33 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 0B8DA1065670; Thu, 8 Sep 2011 14:58:33 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id A3E638FC1F; Thu, 8 Sep 2011 14:58:32 +0000 (UTC) Received: by vxi39 with SMTP id 39so671994vxi.13 for ; Thu, 08 Sep 2011 07:58:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=YPHHVBy+/4fZoOhwf2PHDpinoGBK3HiidkZRqCBsgig=; b=LRKXk0B8aVJ5RT0DoRYY+oOQzDzzjm5atG6fEK1muj9i1EdXlDINEtMpfr+Wbz9lD1 fMcJZcemVdeENJ9RPDWW6VeOYIBo1zSnhzHVfwrqyEY3KFnNSoDIXDb2U94dZjX4kN7H pl/179hLqP1VnujgbRo1aevOWULBqXQXpEOBM= MIME-Version: 1.0 Received: by 10.52.28.206 with SMTP id d14mr754156vdh.498.1315493911894; Thu, 08 Sep 2011 07:58:31 -0700 (PDT) Sender: kmacybsd@gmail.com Received: by 10.52.113.169 with HTTP; Thu, 8 Sep 2011 07:58:31 -0700 (PDT) In-Reply-To: <510582218.20110908185419@serebryakov.spb.ru> References: <899261441.20110908175756@serebryakov.spb.ru> <510582218.20110908185419@serebryakov.spb.ru> Date: Thu, 8 Sep 2011 16:58:31 +0200 X-Google-Sender-Auth: PWqEObiQ7iqWRD3u0aNQzoxppMI Message-ID: From: "K. Macy" To: lev@freebsd.org Content-Type: text/plain; charset=KOI8-R 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 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:58:33 -0000 2011/9/8 Lev Serebryakov : > Hello, K.. > You wrote 8 =D3=C5=CE=D4=D1=C2=D2=D1 2011 =C7., 18:22:11: > >> Just add them to the makefile. They'll be automatically created =9Aas >> dependencies. > =9AIs it good idea to create these empty files only for one prototype > from ? I can't comment on whether or not it is good or bad. It is simply how things are done. > =9AWhy 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. If you look at it you'll see that bus.h covers a range of areas, general device instantiation being one of them. > > -- > // Black Lion AKA Lev Serebryakov > >