Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Feb 2006 10:36:07 -0800
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        Greg 'groggy' Lehey <grog@FreeBSD.org>, cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/modules Makefile
Message-ID:  <20060221183607.GA31112@odin.ac.hmc.edu>
In-Reply-To: <17403.6992.968878.676078@grasshopper.cs.duke.edu>
References:  <200602200250.k1K2o9WQ060573@repoman.freebsd.org> <20060220224724.GJ65002@wantadilla.lemis.com> <17403.6992.968878.676078@grasshopper.cs.duke.edu>

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

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

On Tue, Feb 21, 2006 at 08:53:20AM -0500, Andrew Gallatin wrote:
>=20
> Greg 'groggy' Lehey writes:
>  > On Monday, 20 February 2006 at  2:50:09 +0000, Andrew Gallatin wrote:
>  > > gallatin    2006-02-20 02:50:09 UTC
>  > >
>  > >   FreeBSD src repository
>  > >
>  > >   Modified files:
>  > >     sys/modules          Makefile
>  > >   Log:
>  > >   Hook the myri10ge driver to the i386 and amd64 module builds.
>  >=20
>  > Is this device really going to be called myri10ge?  That's at least
>  > double the length of any other device.  Can't we come up with a
>  > shorter name?
>=20
> Personally, I can't stand the name either.  Internally, I lobbied as
> hard as I could for mxge (Myri X GE), but my bosses were afraid that
> name might be confused with other product names (mx2g, mx10g), and
> because our ethernet-over-myriinet interface names have always been
> "myri" for our OS-bypass 2 and 4Gb products.  So we have myri10ge as
> the name of our Linux, Solaris, MacOSX, and Windows drivers.  My
> reason for naming it myri10ge in FreeBSD was to be consistent with our
> other platforms & to keep my bosses happy, since I was allowed to do
> this as part of my day job.  If there are technical reasons why it
> needs to be shortened, then I have a leg to stand on and hopefully
> won't get into trouble for changing it.
>=20
> Alternatively, would it be an option to shorten just the
> ifp->if_xname, and leave the driver named myri10ge?  The rationale is
> that nobody seems to mind the MacOSX driver's name being "en3" or the
> linux driver being "eth2" according to ifconfig.

You can set if_dname to anything you want it to be since we don't
actually do much with it (the cloning API being the major exception).
The only place it would be relevant is in if_mib where it's bogusly
exported with if_dunit smashed onto it in the IFDATA_DRIVERNAME case.
I've been meaning to add it to the ifconfig -v output for a while so
people who rename their interfaces can see it.

The one gotcha is that you'll presumably want the config file entries
and the module to be if_myri10ge which would mean that the ifconfig
autoloading hack wouldn't work.  That's not a problem for me since I
think it should die :), but this might be a minor, periodic support
headache.

-- 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

--9jxsPFA5p3P2qPhR
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFD+12WXY6L6fI4GtQRAgzXAJ9Zhnt9aCmmZkxjCkJVTyiHKA4EkwCeL28z
iV6uWia+1HgkAO+HI3xQj9w=
=Rhpl
-----END PGP SIGNATURE-----

--9jxsPFA5p3P2qPhR--



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