From owner-freebsd-current@FreeBSD.ORG Tue Sep 22 11:39:11 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B535F1065692 for ; Tue, 22 Sep 2009 11:39:11 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (77-93-215-190.static.masterinter.net [77.93.215.190]) by mx1.freebsd.org (Postfix) with ESMTP id 6F6ED8FC13 for ; Tue, 22 Sep 2009 11:39:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 7F1489CB139; Tue, 22 Sep 2009 13:35:42 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (lev.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZUA6lxxNqheb; Tue, 22 Sep 2009 13:35:39 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id C143F9CB187; Tue, 22 Sep 2009 13:35:39 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.3/8.14.3/Submit) id n8MBZd3U020779; Tue, 22 Sep 2009 13:35:39 +0200 (CEST) (envelope-from rdivacky) Date: Tue, 22 Sep 2009 13:35:39 +0200 From: Roman Divacky To: Barney Cordoba Message-ID: <20090922113539.GB20559@freebsd.org> References: <20090922113239.02f3653f@ernst.jennejohn.org> <295750.94482.qm@web63906.mail.re1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <295750.94482.qm@web63906.mail.re1.yahoo.com> User-Agent: Mutt/1.4.2.3i Cc: current@freebsd.org Subject: Re: where is device_get_parent function defined X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Sep 2009 11:39:11 -0000 On Tue, Sep 22, 2009 at 04:35:55AM -0700, Barney Cordoba wrote: > > > --- On Tue, 9/22/09, Gary Jennejohn wrote: > > > From: Gary Jennejohn > > Subject: Re: where is device_get_parent function defined > > To: "Barney Cordoba" > > Cc: current@freebsd.org > > Date: Tuesday, September 22, 2009, 5:32 AM > > On Mon, 21 Sep 2009 15:27:42 -0700 > > (PDT) > > Barney Cordoba > > wrote: > > > > > I can't seem to find where device_get_parent() is > > defined. > > > > > > > /sys/kern/subr_bus,c > > > > grep -r ^device_get_parent /sys/ > > Thanks, I found it shortly after posting. The "problem" with grep is > that you get about a billion lines, particularly on systems with 4 or > 5 different kernel sources installed. use cscope (available in ports)