where is device_get_parent function defined

Gary Jennejohn gary.jennejohn at freenet.de
Tue Sep 22 16:38:34 UTC 2009


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.

---
Gary Jennejohn


More information about the freebsd-current mailing list