Device enumeration
Alok Barsode <[email protected]> Thu, 28 Sep 2006 03:24:37 -0700 (PDT)
| Newsgroups | gmane.os.freebsd.devel.new-bus |
|---|---|
| Message-ID | <[email protected]> |
Hi, I am a newbie working on FreeBSD 4.10. I am a bit confused between i386/conf/GENERIC and i386/conf/GENERIC.hints.=20 Does a device driver's probe/attach routine is invoked when a enty is made for it in the GENERIC file?=20 for example an enty in the GENERIC file will be :=20 device nge # NatSemi DP83820 gigabit Ethernet =20 Does the probe routine in if_nge.c invoked when the kernel encounters the above entry?=20 How can I probe/attach a device which is not self-identifying? Like a memory mapped device? Does an entry in the GENERIC file make sure the probe/attach function will be called for it?=20 How can I identify where in the device hierarchy is it located? The device is not connected to any BUS. so will it be a independent device?=20 In GENERIC.hints a device's bus, port,irq are mentioned. What is the actual purpose of doing so? is this hard coding the values (like irqs)? what information has to be mentioned in this file?=20 I was unable to find a good document on the newbus architecture and device enumeration.If anybody knows of one, plz let me know.=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]= "