> I wrote two isa device drivers A and B for FreeBSD4.11.
> Both are kld-loaded and have identify() entries.
>
> Here is the pseudo code for the identify() routines:
>
> A_identify() /* 2 units */
> {
> for (i = 0; i <=1; ++ i)
> {
> dev = BUS_ADD_CHILD(parent, ISA-ORDER_SPECULATIVE, "a",
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
Hello.
I wrote two isa device drivers A and B for FreeBSD4.11.
Both are kld-loaded and have identify() entries.
Here is the pseudo code for the identify() routines:
A_identify() /* 2 units */
{
for (i = 0; i <=1; ++ i)
{
dev = BUS_ADD_CHILD(parent, ISA-ORDER_SPECULATIVE, "a", 0);
If
3 matches
Mail list logo