where is device_get_parent function defined
Barney Cordoba
barney_cordoba at yahoo.com
Tue Sep 22 18:07:08 UTC 2009
--- 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: "pluknet" <pluknet at gmail.com>, current at freebsd..org
> Date: Tuesday, September 22, 2009, 12:38 PM
> On Tue, 22 Sep 2009 08:37:26 -0700
> (PDT)
> Barney Cordoba <barney_cordoba at yahoo.com>
> wrote:
>
> > So all they need now is an open to turn off the
> recursive directory
> > warnings....
> >
>
> I saw no warnings at all when I did the grep. The
> only ouput from grep
> was the name of the file.
>
> Must be something weird on your machine.
>
> > Of course a section in the man page telling you the
> source module would
> > make way too much sense to be adopted by any of the
> free software groups...
> >
>
> It generally isn't relevant where a function is
> located. Man pages
> are supposed to document the required syntax and not the
> layout of
> the source tree, which can change at any time.
>
> FreeBSD has generally excellent man pages for kernel
> functions. Linux,
> on the other hand, has virtually no kernel documentation at
> all, so the
> only way to figure out how a routine works is to examine
> the code.
>
> I can speak authoritatively on this because I make my
> living developing
> drivers for Linux.
I have to disagree that its more important to put the AUTHOR of the man
page than the source file where it can be found.
Barney
More information about the freebsd-current
mailing list