Date: Thu, 28 Sep 2006 03:24:37 -0700 (PDT) From: Alok Barsode <namaskar_alok@yahoo.co.in> To: freebsd-new-bus@freebsd.org Subject: Device enumeration Message-ID: <20060928102437.93193.qmail@web8912.mail.in.yahoo.com>
next in thread | raw e-mail | index | archive | help
Hi, I am a newbie working on FreeBSD 4.10. I am a bit confused between i386/conf/GENERIC and i386/conf/GENERIC.hints. Does a device driver's probe/attach routine is invoked when a enty is made for it in the GENERIC file? for example an enty in the GENERIC file will be : device nge # NatSemi DP83820 gigabit Ethernet Does the probe routine in if_nge.c invoked when the kernel encounters the above entry? 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? 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? 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? I was unable to find a good document on the newbus architecture and device enumeration.If anybody knows of one, plz let me know. 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?20060928102437.93193.qmail>