Date: Tue, 27 Jan 1998 19:04:52 +0100 (MET) From: Luigi Rizzo <luigi@labinfo.iet.unipi.it> To: kurto@bootp.sls.usu.edu (Kurt Olsen) Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Proposed PNP changes Message-ID: <199801271804.TAA02222@labinfo.iet.unipi.it> In-Reply-To: <199801271913.MAA18031@bootp.sls.usu.edu> from "Kurt Olsen" at Jan 27, 98 12:13:22 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> After checking out the PNP support in 3.0 and 2.5-STABLE, I came to the > conclusion that it could do more. So here's my thoughts, and hopefully > I'll get something done this weekend. > > The primary changes I want to make: > > 1 - grok the configuration information before USERCONFIG and identify > all LDNs and the resources they want as well as the configuration > values they accept. This is ok, but be sure not to overwrite the kernel table with the info from the previous config. In particular for those entries with the "os" flag set. > 2 - recognize the compatible tag for devices where we don't have > card specific drivers, but we do have general drivers. ie. I > have a plug and play ethernet card that's been in hardwired mode > for the last year, but it's ne2000 compatible and there's no > reason it couldn't be dynamically configured before the ed0 > probe. you are suggesting two things I believe: one is to do more than what our PnP does now, i.e. recognize compatible tags; this requires to run a little bit more of the pnp protocol, much like pnpinfo does. It adds a little bit of complexity to the code though. The other one is to make additional drivers PnP aware. jmg already did this for sio, and this is not hard at all. > Any suggestions? Or comments? Any reason why I won't be able to > run the isolation protocol before userconfig? just lazyness on my side, because function pnp_isolation_protocol() currently does both the insolation protocol and calls the config afterwards. It should not be hard to split this into two pieces and call one before userconfig, and the other one when configuring PnP devices. Just make sure that the insolation gets called even when userconfig is not used. And thanks a lot for volunteering to clean up this code! cheers luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801271804.TAA02222>