From owner-freebsd-hackers@FreeBSD.ORG Sun Jul 18 05:41:00 2010 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87B9A1065679 for ; Sun, 18 Jul 2010 05:41:00 +0000 (UTC) (envelope-from freebsd-hackers@chrisbowman.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2688B8FC15 for ; Sun, 18 Jul 2010 05:40:59 +0000 (UTC) Received: by wyf22 with SMTP id 22so3897954wyf.13 for ; Sat, 17 Jul 2010 22:40:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.227.138.138 with SMTP id a10mr2617764wbu.13.1279431658962; Sat, 17 Jul 2010 22:40:58 -0700 (PDT) Received: by 10.227.140.161 with HTTP; Sat, 17 Jul 2010 22:40:58 -0700 (PDT) X-Originating-IP: [70.143.83.15] In-Reply-To: <20100712.204623.519459540419523199.imp@bsdimp.com> References: <4C393D36.1050905@feral.com> <20100712.204623.519459540419523199.imp@bsdimp.com> Date: Sat, 17 Jul 2010 22:40:58 -0700 Message-ID: From: Christopher Bowman To: hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Missing files 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: Sun, 18 Jul 2010 05:41:00 -0000 Can a pci/pcie dirver be loaded and unloaded like a kld? On Mon, Jul 12, 2010 at 7:46 PM, M. Warner Losh wrote: > Not quite. Make creates them... > > Matthew Jacob writes: > : config(8) creates them I believe > : > : > line 523 of bus.h > : > > : > tries to include the following files: > : > > : > #include "device_if.h" > : > #include "bus_if.h" > : > > : > however, I don't see them any where in my source tree. Are these > : > missing or am I suppose to create them or are they built as part of > : > the build process and if the latter then why didn't I get a copy when > : > I built a custom kernel? > : > > : > Where do I get these files? Could someone please clue me in here? > : > > : > And since I am asking questions here, I see BUS_READ_IVAR used a > : > couple of places but can't find it's definition. Where is it defined? > : > > : > Thanks > : > Christopher > : > _______________________________________________ > : > freebsd-hackers@freebsd.org mailing list > : > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > : > To unsubscribe, send any mail to > : > "freebsd-hackers-unsubscribe@freebsd.org" > : > > : > : _______________________________________________ > : freebsd-hackers@freebsd.org mailing list > : http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > : To unsubscribe, send any mail to > : "freebsd-hackers-unsubscribe@freebsd.org" > : > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" >