Device enumeration process

Alok Barsode <[email protected]> Fri, 6 Oct 2006 00:34:34 -0700 (PDT)
Newsgroups gmane.os.freebsd.devel.new-bus
Message-ID <[email protected]>
Hi,
Thanks for ur earliers replies. They helped me a lot
in understanding the newbus architecture.=20
I am involved in a freeBSD port to a freescale board.=20

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

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 :=20
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 ?=20

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

Thanks,
Alok.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around=20
http://mail.yahoo.com=20
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-new-bus
To unsubscribe, send any mail to "[email protected]=
"