Date: Mon, 31 Jan 2000 13:36:05 -0800 From: Mike Smith <msmith@freebsd.org> To: Nikolai Saoukh <nms@ethereal.ru> Cc: "Matthew N. Dodd" <winter@jurai.net>, freebsd-current@FreeBSD.ORG Subject: Re: kldloaded driver not called at load time Message-ID: <200001312136.NAA01860@mass.cdrom.com> In-Reply-To: Your message of "Mon, 31 Jan 2000 23:23:29 %2B0300." <20000131202335.66CFC1F1@Brigada-A.Ethereal.RU>
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. 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, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com 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?200001312136.NAA01860>