From owner-freebsd-current Mon Jan 31 12:24:46 2000 Delivered-To: freebsd-current@freebsd.org Received: from Brigada-A.Ethereal.RU (Brigada-A.ethereal.ru [195.230.65.30]) by hub.freebsd.org (Postfix) with ESMTP id 2EECA150F3 for ; Mon, 31 Jan 2000 12:24:23 -0800 (PST) (envelope-from nms@Brigada-A.Ethereal.RU) Received: by Brigada-A.Ethereal.RU (Postfix, from userid 1002) id 66CFC1F1; Mon, 31 Jan 2000 23:23:35 +0300 (MSK) Received: from Brigada-A.Ethereal.RU (localhost [127.0.0.1]) by Brigada-A.Ethereal.RU (Postfix) with ESMTP id 4E5E21D8; Mon, 31 Jan 2000 23:23:35 +0300 (MSK) From: Nikolai Saoukh To: "Matthew N. Dodd" Cc: freebsd-current@FreeBSD.ORG Subject: Re: kldloaded driver not called at load time In-Reply-To: Your message of "Mon, 31 Jan 2000 14:42:34 EST." Date: Mon, 31 Jan 2000 23:23:29 +0300 Message-Id: <20000131202335.66CFC1F1@Brigada-A.Ethereal.RU> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > 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