[lkml]   [2003]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: PnP Model
On Mon, 2003-02-03 at 10:41, Alan Cox wrote:
> On Mon, 2003-02-03 at 15:31, James Bottomley wrote:
> > The last issue is probably that we'd like the ISA probes to be run after
> > all the rest of the busses so that all resources in use in the system
> They need to run very early on in some ways. We don't want to assign a
> PnP device over something we didnt know exists. We can scan the other
> busses first safely but we can't activate devices or do anything else
> until the ISA unsafe probes run. Those also have some very careful
> ordering especially in networking. NE2000 must run early, other probes
> can make some cards move around so must also be ordered

It strikes me that we can make use of the bus matching logic for this.
For ISA, since we have no concept of a card id, we could instead match
on when the binding should occur (i.e. ISA_BIND_EARLY and
ISA_BIND_LATE). Thus each driver picks its binding type and we run bind
early before all other busses and bind late after them (probably by
simulating a hotplug event that says hey I suddenly found a bunch of ISA
cards of type ISA_BIND_LATE). It's a bit of an abuse of what bus
matching is supposed to do, but it should work for the purpose


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:32    [W:0.037 / U:2.552 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site