Date: Fri, 13 Jan 2006 13:42:43 -0500 (EST) From: "Matthew N. Dodd" <mdodd@FreeBSD.ORG> To: Norbert Koch <NKoch@demig.de> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: device probe re-tried for failed isa device Message-ID: <20060113133800.X91753@sasami.jurai.net> In-Reply-To: <000701c6184c$d3f27060$4801a8c0@ws-ew-3.demig.intra> References: <000701c6184c$d3f27060$4801a8c0@ws-ew-3.demig.intra>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 13 Jan 2006, Norbert Koch wrote: > 4. A_probe(unit 1) > <-- fails with ENXIO because hardware is not present Your IDENTIFY method allows device enumeration. You should not create devices in IDENTIFY that do not exist. Consider use /boot/device.hints add ISA devices. An IDENTIFY method for ISA devices is only useful if there is some programatic method for identifying their presence in the system. Look at the ISA frontends for ex(4) and ep(4) for an example of a proper IDENTIFY method. > Is it correct to initialize softc in identify()? No. IDENTIFY only adds the devices. The association with the driver takes place after PROBE.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060113133800.X91753>