From owner-freebsd-stable Wed Jun 3 09:41:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA12857 for freebsd-stable-outgoing; Wed, 3 Jun 1998 09:41:56 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from cesit1.unifi.it (cesit1.unifi.it [150.217.1.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA12837 for ; Wed, 3 Jun 1998 09:41:50 -0700 (PDT) (envelope-from ugo@dsi.UNIFI.IT) Received: from aguirre.dsi.unifi.it by CESIT1.UNIFI.IT (PMDF V5.1-10 #23168) with SMTP id <01IXQBU4HVIE0002GR@CESIT1.UNIFI.IT> for freebsd-stable@FreeBSD.ORG; Mon, 1 Jun 1998 17:59:13 MET Received: from dsi.unifi.it (ppp-firenze71-97.iol.it) by aguirre.dsi.unifi.it (4.1/SMI-4.1) id AA01105; Mon, 01 Jun 1998 18:00:01 +0200 Received: from pegasus.home.net (pegasus.home.net [192.168.1.3]) by dsi.unifi.it (8.8.8/8.8.8) with ESMTP id PAA02591 for ; Mon, 01 Jun 1998 15:09:31 +0200 (MET DST envelope-from ugo) Received: (from ugo@localhost) by pegasus.home.net (8.8.8/8.8.8) id PAA00434 for freebsd-stable@FreeBSD.ORG; Mon, 01 Jun 1998 15:09:31 +0200 (MET DST envelope-from ugo) Date: Mon, 01 Jun 1998 15:09:31 +0200 (MET DST) From: Ugo Paternostro Subject: PnP support for if_ed, and more... To: freebsd-stable@FreeBSD.ORG Message-id: Organization: Not an organization MIME-version: 1.0 X-Mailer: XFMail 1.2 [p0] on FreeBSD Content-type: multipart/mixed; boundary="_=XFMail.1.2.p0.FreeBSD:980601150931:241=_" X-Priority: 3 (Normal) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This message is in MIME format --_=XFMail.1.2.p0.FreeBSD:980601150931:241=_ Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I backported PnP support for if_ed from -current to -stable (hey, that was a lot of cut and paste... :-), and submitted it as PR i386/6792. Would please somebody with commit privileges bring that into -stable? TIA. BTW, as I said in the PR, there's a PnP ID in my patch that should be committed to -current too (the WSC9008 id). As you are there, please commit the attached patch to sio.c to enable the SupraExpress 56i Sp PnP detection, both in -stable and -current. Isn't there a way to avoid this mess of patching both releases when you want to add a PnP ID? Could we have some file to #include at the right point (to minimize name space pollution) in both -stable and -current, where we define the IDs? Maybe something like: siopnp.h: --------------------------- struct pnp_ids { u_long vend_id; char *id_str; }; #define SIOPNP_IDS { { 0x8113b04e, "Supra1381"} ... } --------------------------- sio.c: --------------------------- ... #if NPNP > 0 #include "siopnp.h" static struct pnp_ids siopnp_ids[] = SIOPNP_IDS; ... #endif --------------------------- Better: the pnp_ids definition should *NOT* live in siopnp.h, but in pnp.h, as that's shared with if_ed and so on. I could easily submit a full-blown-ready-to-commit-set-of-patches, if you like... :-) Bye, UP --_=XFMail.1.2.p0.FreeBSD:980601150931:241=_ Content-Disposition: attachment; filename="sio.c.diff" Content-Transfer-Encoding: base64 Content-Description: sio.c.diff Content-Type: application/octet-stream; name=sio.c.diff; SizeOnDisk=455 SW5kZXg6IHNyYy9zeXMvaTM4Ni9pc2Evc2lvLmMKPT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQpSQ1MgZmlsZTogL2hvbWUv bmN2cy9zcmMvc3lzL2kzODYvaXNhL3Npby5jLHYKcmV0cmlldmluZyByZXZpc2lvbiAxLjE0Ny4y LjE1CmRpZmYgLXUgLXIxLjE0Ny4yLjE1IHNpby5jCi0tLSBzaW8uYwkxOTk4LzA1LzA2IDE5OjA5 OjEzCTEuMTQ3LjIuMTUKKysrIHNpby5jCTE5OTgvMDUvMzEgMTI6MzI6MDgKQEAgLTI2ODksNiAr MjY4OSw3IEBACiB9IHNpb3BucF9pZHNbXSA9IHsKIAl7IDB4ODExM2IwNGUsICJTdXByYTEzODEi fSwKIAl7IDB4OTAxMmIwNGUsICJTdXByYTEyOTAifSwKKwl7IDB4NzEyMWIwNGUsICJTdXByYUV4 cHJlc3MgNTZpIFNwIn0sCiAJeyAweDExMDA3MjU2LCAiVVNSMDAxMSJ9LAogCXsgMCB9CiB9Owo= --_=XFMail.1.2.p0.FreeBSD:980601150931:241=_-- End of MIME message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message