From owner-freebsd-current Mon Jan 31 15: 8:12 2000 Delivered-To: freebsd-current@freebsd.org Received: from anchor-post-31.mail.demon.net (anchor-post-31.mail.demon.net [194.217.242.89]) by hub.freebsd.org (Postfix) with ESMTP id 7B23714F21 for ; Mon, 31 Jan 2000 15:08:02 -0800 (PST) (envelope-from dfr@nlsystems.com) Received: from nlsys.demon.co.uk ([158.152.125.33] helo=herring.nlsystems.com) by anchor-post-31.mail.demon.net with esmtp (Exim 2.12 #1) id 12FPvI-0006tK-0V; Mon, 31 Jan 2000 23:07:57 +0000 Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id XAA10840; Mon, 31 Jan 2000 23:11:31 GMT (envelope-from dfr@nlsystems.com) Date: Mon, 31 Jan 2000 23:11:31 +0000 (GMT) From: Doug Rabson To: "Matthew N. Dodd" Cc: Nikolai Saoukh , freebsd-current@freebsd.org Subject: Re: kldloaded driver not called at load time In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 31 Jan 2000, Matthew N. Dodd wrote: > On Mon, 31 Jan 2000, Nikolai Saoukh wrote: > > THE PROBLEM is that tok_isa_probe is not called at all, > > when driver kldloaded. Return value is irrelevant for this case. > > Try the attached patch. > > (cd /sys/isa && patch < isa_common.c.patch) This patch doesn't (shouldn't) compile since it uses private information from bus_private.h. I hope you are not including bus_private.h anywhere in your code - its strictly off limits to driver code, even bus drivers. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message