Device enumeration process

Alok Barsode namaskar_alok at yahoo.co.in
Fri Oct 6 00:34:38 PDT 2006


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 


More information about the freebsd-new-bus mailing list