Senthil K | 27 Apr 2011 17:04
Picon

Reg - uhub_rescan()

Hi ,

This is senthil.

I need some clarification on the below file.

usr/src/sys/dev/usb/uhub.c -- netbsd 5.0.
I found the function uhub_rescan()  in the above file.I am not able to
findout when and who will invoke the function.
Can you please let me know how that function will be invoked.

Thanks and Regards
K.Senthil

Manuel Bouyer | 29 Apr 2011 21:32

Re: Reg - uhub_rescan()

On Wed, Apr 27, 2011 at 08:34:39PM +0530, Senthil K wrote:
> Hi ,
> 
> This is senthil.
> 
> I need some clarification on the below file.
> 
> usr/src/sys/dev/usb/uhub.c -- netbsd 5.0.
> I found the function uhub_rescan()  in the above file.I am not able to
> findout when and who will invoke the function.
> Can you please let me know how that function will be invoked.

it is called from the kernel autoconf system (it's passed as
parameter to the CFATTACH_DECL2_NEW macro).
See the autoconf(9) man page.

--

-- 
Manuel Bouyer <bouyer <at> antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Gmane