> >  - 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:
[EMAIL PROTECTED]                              [EMAIL PROTECTED]
                                                     [EMAIL PROTECTED]
http://www.qubesoft.com/                   http://www.etla.net/~n_hibma/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to