On Mon, 31 Jan 2000, Nikolai Saoukh wrote:
> I am trying to make kldloadable driver. But none of functions are
> called when I kldload it. Is this a bug or I am missing something
> essential?
You're missing something essential.
The return values for the DEVICE_PROBE method should be 0 or negative for
priority, or positive to indicate an error.
if_tok.c:tok_probe() returns ENXIO which is in the return value you use
for if_tok_isa.c:tok_isa_probe().
You should take a good look at /sys/dev/{ex,ep} for an example of how to
accommodate PnP probes.
--
| Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD |
| [EMAIL PROTECTED] | 2 x '84 Volvo 245DL | ix86,sparc,pmax |
| http://www.jurai.net/~winter | This Space For Rent | ISO8802.5 4ever |
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message