Re: device probe re-tried for failed isa device

2006-01-13 Thread Warner Losh
> 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",

Re: device probe re-tried for failed isa device

2006-01-13 Thread Matthew N. Dodd
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

device probe re-tried for failed isa device

2006-01-13 Thread Norbert Koch
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