Subject: Re: Updated PnP driver is available
To: Shawn Hsiao <shawn@hercules.secc.fju.edu.tw>
From: Matthias Drochner <drochner@zelux6.zel.kfa-juelich.de>
List: port-i386
Date: 06/24/1996 17:49:12
Excerpts from netbsd: 21-Jun-96 Re: Updated PnP driver is a.. Jason
Thorpe@nas.nasa.go (1320)

> As an aside, I've got this code, and the PnP spec in my hot little 
> hands.  The code needs some work (it certainly won't work on Alphas in 
> its current state), and the thought of having a big table of known 
> devices make me ... a little ill :-)  Even if it is necessary, it should 
> be automatically generated a'la eisadevs.h, etc.

I gained some experience with ISAPnP half a year ago when I
implemented the parts necessary to make 3c509 cards work in
PnP mode.
These cards can be switched between conventional mode and
PnP mode (don't know about other cards). Imo, it makes not
much sense to have a PnP card without a PnP-aware BIOS.
This means, one can assume that the card is already set to
proper interrupt lines, io windows etc..
I'd suggest the following: The ISAPnP code simply scans for PnP
devices. If one is found, an "attach_args" structure is filled with the
card settings and the usual autoconf functions are called.
There is no need to have a table of known devices - all needed
information is inside the drivers.
Even if there were no PnP BIOS, I would prefer to use the
ressource settings from the system config file.

best regards
Matthias Drochner