lkml.org 
[lkml]   [1998]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectIsaPNP et al
How's this for an architecture:

1. At boot time, before device loading, kernel obtains
combined list of known hardware from BIOS by whatever
means available. Not just ISAPNP, but PCI, SBUS,
VME - whatever is available to the platform.

2. Device drivers have access to the list via an api
during loading, and can register ownership of devices,
and/or interest in receiving notifications of device
events. Both compiled-in and modular drivers are
supported.

3. Upon receipt of device events (hot swapped PCMCIA
cards, USB, etc.), kernel notifies interested device
drivers, and possibly a user-space daemon listening
to a /dev/something.

I can't think of a simpler, platform-inclusive way of
doing this. At no time does the kernel need to have
a master list of device IDs. Would this require recoding
of drivers? No, unless they want to take advantage
of it. Nothing broken, just a new CONFIG item.


Dave


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

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