Johannes Erdfelt wrote:
> > translation:
> > keep a list of drivers AND (unmatched?) devices. If either is added, match
> > them to the other list... this should solve the chicken and egg problem. The
> > tables won't get too large (not that many devices (and thus drivers) in a
> > system anyway...). New drivers should, off course, only be matched with
> > unmatched devices...
> 
> You need to have a list of all possible devices and the appropriate
> drivers. Remember, you don't know what will be plugged in.

Not exactly, you need to know all possible devices as supported with all
*available* drivers.

The problem with an extensive list is that even if you have the driver, but
not the correct entry in the list, you cannot use the driver. If, somehow, the
driver would be able to communicate which kind of device he drives and how to
recognise it, everything becomes a lot easier. Plug'n'play. Add the driver,
plug the device... bingo, no messing with config files etc.
It would also limit the size of the list and then it might be able to fit it
into the kernel anyway. (This would make it a lot easier to talk to the driver
to see which devices it supports.)

> Umm, isn't this essentially what I proposed? Or am I missing something?

dunno, it the above in your proposal ?

        J.

-- 
                                  ________
/---------------------------------\      /--------------------\
|  Johan Verrept                   \    /  Alcatel            |
|  Software Development Engineer    \  /   De Villermontstr 38|
|  xDSL Customer Premises Equipment  \/    B-2550 Kontich     |
|  http://www.alcateldsl.com/     ALC/\TEL Belgium            |
|  mailto:[EMAIL PROTECTED]    Phone: +32 3 450 3506   |
\-------------------------------------------------------------/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to