From owner-freebsd-hackers Sun Mar 26 21:25: 3 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from Draculina.otdel-1.org (Draculina.Otdel-1.ORG [195.230.65.30]) by hub.freebsd.org (Postfix) with ESMTP id ED12637B6DC for ; Sun, 26 Mar 2000 21:24:58 -0800 (PST) (envelope-from nms@otdel-1.org) Received: by Draculina.otdel-1.org (Postfix, from userid 1002) id C7A45F9; Mon, 27 Mar 2000 09:24:52 +0400 (MSD) Date: Mon, 27 Mar 2000 09:24:52 +0400 From: Nikolai Saoukh To: Warner Losh Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Reserving Resources Message-ID: <20000327092452.B18459@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> <20000327091626.A18459@Draculina.otdel-1.org> <200003270518.WAA89979@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200003270518.WAA89979@harmony.village.org>; from imp@village.org on Sun, Mar 26, 2000 at 10:18:49PM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Mar 26, 2000 at 10:18:49PM -0700, Warner Losh wrote: > : 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? Current 'unknown' driver attaches with 0 priority, thus kldloaded driver is not called at all. And even when 'unknown' driver attaches with very low priority, what happens when real driver will be kldunloaded? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message