Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Jun 1998 15:09:31 +0200 (MET DST)
From:      Ugo Paternostro <paterno@dsi.UNIFI.IT>
To:        freebsd-stable@FreeBSD.ORG
Subject:   PnP support for if_ed, and more...
Message-ID:  <XFMail.980601150931.paterno@dsi.unifi.it>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.980601150931.paterno>