From owner-freebsd-hackers Tue Jun 5 11:15:37 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from gate.qubesoft.com (gate.qubesoft.com [212.113.16.243]) by hub.freebsd.org (Postfix) with ESMTP id 71FCA37B403; Tue, 5 Jun 2001 11:15:32 -0700 (PDT) (envelope-from n_hibma@qubesoft.com) Received: from bluebottle.qubesoft.com (bluebottle [192.168.1.2]) by gate.qubesoft.com (8.11.3/8.11.3) with ESMTP id f55IFUq84716; Tue, 5 Jun 2001 19:15:30 +0100 (BST) (envelope-from n_hibma@qubesoft.com) Received: from localhost (localhost [127.0.0.1]) by bluebottle.qubesoft.com (8.11.1/8.11.3) with ESMTP id f55IFUG21433; Tue, 5 Jun 2001 19:15:30 +0100 (BST) (envelope-from n_hibma@qubesoft.com) Date: Tue, 5 Jun 2001 19:15:30 +0100 (BST) From: Nick Hibma X-Sender: n_hibma@bluebottle To: Mike Smith Cc: Jonathan Chen , hackers@FreeBSD.ORG Subject: Re: Resource reservation idea In-Reply-To: <200106050158.f551wmL06759@mass.dis.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > - Some dummy driver which grabs the resource. The dummy driver would > > need to be unloaded when the actual driver needs the resources. > > This sounds attractive, but it's hard to find the dummy driver when > you want to open the bidding for one or more devices again. You also end > up with the ugly case where the device has more resources than the driver > uses; you end up needing a placeholder of some sort for these as well, so > you might as well just built it into the way the bus thinks about child > devices and be done with it. It was suggested some time ago to do this by having a priority value that indicates a dummy, say -10000. When a driver is loaded, all dummies are detached and the probe is restarted. The dummies are quiet if not cold booting to avoi a storm of dummies announcing themselves again and again. Nick -- Qube Software, Ltd. Private: n_hibma@qubesoft.com n_hibma@webweaving.org n_hibma@freebsd.org http://www.qubesoft.com/ http://www.etla.net/~n_hibma/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message