Date: Tue, 5 Jun 2001 19:15:30 +0100 (BST) From: Nick Hibma <n_hibma@qubesoft.com> To: Mike Smith <msmith@FreeBSD.ORG> Cc: Jonathan Chen <jon@FreeBSD.ORG>, hackers@FreeBSD.ORG Subject: Re: Resource reservation idea Message-ID: <Pine.BSF.4.10.10106051912280.20600-100000@bluebottle> In-Reply-To: <200106050158.f551wmL06759@mass.dis.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> > - 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10106051912280.20600-100000>