Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Oct 2006 00:34:34 -0700 (PDT)
From:      Alok Barsode <namaskar_alok@yahoo.co.in>
To:        freebsd-new-bus@freebsd.org
Subject:   Device enumeration process
Message-ID:  <20061006073434.71730.qmail@web8913.mail.in.yahoo.com>
In-Reply-To: <20060930.124334.-432842007.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,
Thanks for ur earliers replies. They helped me a lot
in understanding the newbus architecture. 
I am involved in a freeBSD port to a freescale board. 

I still had a few doubts:
I am looking at the autoconf.c file for the i386
architecture. 

When i/o configuration is in progress during startup,
are the drivers for specific busses alreay assosciated
with them or the association happens at run time ?
for example : 
when nexus is being attached to root_bus,
the method devclass_find_internal("nexus", 0, TRUE) is
invoked(in method make_device).Now does a nexus
devclass already exist ( it is created through the
macro DRIVER_MODULE(nexus, root, nexus_driver,
nexus_devclass, 0, 0);) or it is created at runtime ? 

if it is created at runtime how the nexus_driver get
assciated with nexus? 

Thanks,
Alok.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061006073434.71730.qmail>