Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Nov 2002 12:04:47 -0800
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        Brooks Davis <brooks@one-eyed-alien.net>, Sam Leffler <sam@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/an if_an.c if_an_isa.c if_an_pccard.c if_an_pci.c src/sys/dev/ar if_ar.c src/sys/dev/awi awi.c if_awi_pccard.c src/sys/dev/bge if_bge.c if_bgereg.h src/sys/dev/cm smc90cx6.c src/sys/dev/cnw if_cnw.c src/sys/dev/cs ...
Message-ID:  <20021115120447.C4826@Odin.AC.HMC.Edu>
In-Reply-To: <15829.20547.24539.647339@grasshopper.cs.duke.edu>; from gallatin@cs.duke.edu on Fri, Nov 15, 2002 at 02:51:31PM -0500
References:  <200211142354.gAENstXE004776@repoman.freebsd.org> <20021115143004.A54902@grasshopper.cs.duke.edu> <20021115114335.A4826@Odin.AC.HMC.Edu> <15829.20547.24539.647339@grasshopper.cs.duke.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

--OBd5C1Lgu00Gd/Tn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Nov 15, 2002 at 02:51:31PM -0500, Andrew Gallatin wrote:
>=20
> Brooks Davis writes:
>  >=20
>  > I've got the if_xname change coming, but we're waiting until after DP2
>  > because it breaks some ports.  I'm going to try and roll up a new patch
>  > soon and see if Kris can to do a ports run soon.
>=20
> Can you remind me what the motivation for the changes are?  I started
> reading about it somewhere in the middle of a thread,  so I'm curious
> why you want to make these changes.

The short list is, increased compatability with NetBSD and OpenBSD,
ability to name interfaces arbitrarily (e.g. lax-t1, sfo-ds1, etc.) and
thus usefully rename interfaces, cleaner code for most uses of either
if_name or if_unit, and hopefully, easier implementation of intresting
cloning functions like fxp0.10 as a vlan interface.

The downside is an API incompatability, but we're talking about trading
two assignments for an snprintf in most drivers so the #if's aren't too
bad.

-- Brooks

--=20
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

--OBd5C1Lgu00Gd/Tn
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE91VNeXY6L6fI4GtQRAkScAKCxsYOguxyzhf4lwPZOzQmDG50ZWgCfUnNb
z3RbRmNMCb+a7LjhKBYrLTE=
=Hb1x
-----END PGP SIGNATURE-----

--OBd5C1Lgu00Gd/Tn--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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