Re: where is device_get_parent function defined

From: Barney Cordoba <barney_cordoba_at_yahoo.com>
Date: Tue, 22 Sep 2009 04:35:55 -0700 (PDT)
--- On Tue, 9/22/09, Gary Jennejohn <gary.jennejohn_at_freenet.de> wrote:

> From: Gary Jennejohn <gary.jennejohn_at_freenet.de>
> Subject: Re: where is device_get_parent function defined
> To: "Barney Cordoba" <barney_cordoba_at_yahoo.com>
> Cc: current_at_freebsd.org
> Date: Tuesday, September 22, 2009, 5:32 AM
> On Mon, 21 Sep 2009 15:27:42 -0700
> (PDT)
> Barney Cordoba <barney_cordoba_at_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.

Barney


      
Received on Tue Sep 22 2009 - 09:37:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:55 UTC