Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Sep 2009 13:35:39 +0200
From:      Roman Divacky <rdivacky@freebsd.org>
To:        Barney Cordoba <barney_cordoba@yahoo.com>
Cc:        current@freebsd.org
Subject:   Re: where is device_get_parent function defined
Message-ID:  <20090922113539.GB20559@freebsd.org>
In-Reply-To: <295750.94482.qm@web63906.mail.re1.yahoo.com>
References:  <20090922113239.02f3653f@ernst.jennejohn.org> <295750.94482.qm@web63906.mail.re1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 22, 2009 at 04:35:55AM -0700, Barney Cordoba wrote:
> 
> 
> --- On Tue, 9/22/09, Gary Jennejohn <gary.jennejohn@freenet.de> wrote:
> 
> > From: Gary Jennejohn <gary.jennejohn@freenet.de>
> > Subject: Re: where is device_get_parent function defined
> > To: "Barney Cordoba" <barney_cordoba@yahoo.com>
> > Cc: current@freebsd.org
> > Date: Tuesday, September 22, 2009, 5:32 AM
> > On Mon, 21 Sep 2009 15:27:42 -0700
> > (PDT)
> > Barney Cordoba <barney_cordoba@yahoo.com>
> > 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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090922113539.GB20559>