Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Jan 2000 23:23:29 +0300
From:      Nikolai Saoukh <nms@ethereal.ru>
To:        "Matthew N. Dodd" <winter@jurai.net>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: kldloaded driver not called at load time 
Message-ID:  <20000131202335.66CFC1F1@Brigada-A.Ethereal.RU>
In-Reply-To: Your message of "Mon, 31 Jan 2000 14:42:34 EST." <Pine.BSF.4.21.0001311439380.479-100000@sasami.jurai.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > 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.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000131202335.66CFC1F1>