From owner-freebsd-hackers Fri Feb 27 13:47:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA04818 for freebsd-hackers-outgoing; Fri, 27 Feb 1998 13:47:05 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ewc-nt.ewc.edu (surf4282.se.mediaone.net [24.129.49.182]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA04727 for ; Fri, 27 Feb 1998 13:46:58 -0800 (PST) (envelope-from root@ewc-nt.ewc.edu) Received: (from root@localhost) by ewc-nt.ewc.edu (8.8.8/8.8.8) id QAA00729; Fri, 27 Feb 1998 16:51:20 GMT (envelope-from root) Received: from eot.cs.uoregon.edu ([128.223.202.87]) by ewc-nt.ewc.edu (Netscape Mail Server v2.02) with ESMTP id AAA249 for ; Tue, 27 Jan 1998 14:37:02 -0500 Received: from hub.freebsd.org (hub.FreeBSD.ORG [204.216.27.18]) by eot.cs.uoregon.edu (8.8.5/8.8.5) with ESMTP id LAA01928; Tue, 27 Jan 1998 11:38:05 -0800 (PST) Received: from localhost (daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id LAA19889; Tue, 27 Jan 1998 11:38:01 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: by hub.freebsd.org (bulk_mailer v1.6); Tue, 27 Jan 1998 11:37:10 -0800 Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA19416 for hackers-outgoing; Tue, 27 Jan 1998 11:37:09 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id LAA19305 for ; Tue, 27 Jan 1998 11:36:40 -0800 (PST) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id TAA02222; Tue, 27 Jan 1998 19:04:52 +0100 From: Luigi Rizzo Message-Id: <199801271804.TAA02222@labinfo.iet.unipi.it> Subject: Re: Proposed PNP changes To: kurto@bootp.sls.usu.edu (Kurt Olsen) Date: Tue, 27 Jan 1998 19:04:52 +0100 (MET) Cc: freebsd-hackers@FreeBSD.ORG In-Reply-To: <199801271913.MAA18031@bootp.sls.usu.edu> from "Kurt Olsen" at Jan 27, 98 12:13:22 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Status: RO X-IMAP-Date: 27-Jan-1998 14:37:06 +0000 X-UID: 654 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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