Re: Reg - uhub_rescan()

Manuel Bouyer <[email protected]> Fri, 29 Apr 2011 21:32:52 +0200
Newsgroups gmane.os.netbsd.devel.general
Message-ID <[email protected]>
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 <[email protected]>
     NetBSD: 26 ans d'experience feront toujours la difference
--