From owner-freebsd-hackers Sun Mar 26 21:19:11 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 786E737BAF2 for ; Sun, 26 Mar 2000 21:19:08 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id WAA52196; Sun, 26 Mar 2000 22:19:03 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id WAA89979; Sun, 26 Mar 2000 22:18:49 -0700 (MST) Message-Id: <200003270518.WAA89979@harmony.village.org> To: Nikolai Saoukh Subject: Re: Reserving Resources Cc: freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Mon, 27 Mar 2000 09:16:27 +0400." <20000327091626.A18459@Draculina.otdel-1.org> References: <20000327091626.A18459@Draculina.otdel-1.org> <200003261249.VAA05285@tasogare.imasy.or.jp> <200003260112.SAA76635@harmony.village.org> <200003261249.VAA05285@tasogare.imasy.or.jp> <200003262340.QAA87438@harmony.village.org> Date: Sun, 26 Mar 2000 22:18:49 -0700 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20000327091626.A18459@Draculina.otdel-1.org> Nikolai Saoukh writes: : On Sun, Mar 26, 2000 at 04:40:53PM -0700, Warner Losh wrote: : : > First, I'll create a null driver. Let's call it "null" since : > "resourceplaceholder" is too long. This driver's probe routine would : > always succeed, and its attach routine would gobble up all the : > resources associated with this. Very much like the unknown driver : > does for pnp resources today. : : No good, because with current 'unknown' driver any kldloadable : driver for pnp device would not get its resources. In theory, if one matches with a -1 or smaller rather than 0, then it will be detached on reprobe. Isn't that the case? Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message