Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Sep 2002 17:40:24 -0700
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Brooks Davis <brooks@one-eyed-alien.net>
Cc:        net@FreeBSD.ORG
Subject:   Re: adding if_printf()
Message-ID:  <20020906174024.A32666@Odin.AC.HMC.Edu>
In-Reply-To: <20020815133314.A5037@Odin.AC.HMC.Edu>; from brooks@one-eyed-alien.net on Thu, Aug 15, 2002 at 01:33:14PM -0700
References:  <20020815133314.A5037@Odin.AC.HMC.Edu>

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

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

On Thu, Aug 15, 2002 at 01:33:14PM -0700, Brooks Davis wrote:
> I propose we create a new function if_printf() which is just like
> device_printf() except that it takes a (struct ifnet *) instead of a
> device_t.  It prints things like:
>=20
> an0: message
>=20
> Since this is what the vast majority of printfs in interface code, using
> this function would be cleaner and easier.  Additionaly, it potentialy
> gives driver authors a say to keep their source more compatable between
> 4.x and 5.x after the if_xname conversion.

Does anyone violently oppose this function?  I think it's the best
way to keep the move to if_xname sane.  I'd like to commit it soon and
start converting drivers.

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

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

iD8DBQE9eUr2XY6L6fI4GtQRAlyaAJ9tvmJeeP5Dvdm4ZR62VBt0vcbhCQCg4XYf
hU0IBoDr5He1axBew6n13/4=
=gJ5i
-----END PGP SIGNATURE-----

--VbJkn9YxBvnuCH5J--

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




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