> > > 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.
>
> THE PROBLEM is that tok_isa_probe is not called at all,
> when driver kldloaded. Return value is irrelevant for this case.
This is because the unknown driver is never revoked once it owns your
device. It's a(nother) bug in the ISA bus code. 8(
--
\\ Give a man a fish, and you feed him for a day. \\ Mike Smith
\\ Tell him he should learn how to fish himself, \\ [EMAIL PROTECTED]
\\ and he'll hate you for a lifetime. \\ [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message