From owner-freebsd-current Fri May 25 16:37:37 2001 Delivered-To: freebsd-current@freebsd.org Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by hub.freebsd.org (Postfix) with ESMTP id F339337B424 for ; Fri, 25 May 2001 16:37:33 -0700 (PDT) (envelope-from brdavis@odin.ac.hmc.edu) Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.11.0/8.11.0) id f4PNbTX21078; Fri, 25 May 2001 16:37:29 -0700 Date: Fri, 25 May 2001 16:37:29 -0700 From: Brooks Davis To: Terry Lambert Cc: current@FreeBSD.ORG Subject: Re: PATCH: media option for ethernet hw checksum Message-ID: <20010525163729.A18559@Odin.AC.HMC.Edu> References: <200105252311.QAA05152@usr02.primenet.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="UlVJffcvxoiEqYs2" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200105252311.QAA05152@usr02.primenet.com>; from tlambert@primenet.com on Fri, May 25, 2001 at 11:11:16PM +0000 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 25, 2001 at 11:11:16PM +0000, Terry Lambert wrote: > Here is a patch I have locally that would be useful for Bill Paul, > I think. I know, we could use "flag0" for this, but it seems to > me that this will be an increasingly common option in hadware. Should this be implemented as a shared option like this? I ask because NetBSD has added the following types and only has one shared option left: #define IFM_FLOW 0x00400000 /* enable hardware flow control */ #define IFM_FLAG0 0x01000000 /* Driver defined flag */ #define IFM_FLAG1 0x02000000 /* Driver defined flag */ #define IFM_FLAG2 0x04000000 /* Driver defined flag */ #define IFM_LOOP 0x08000000 /* Put hardware in loopback */ Personaly I don't think I would have wasted 3/8th of the shared options on the abomination known as flags... -- 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 --UlVJffcvxoiEqYs2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE7Duy4XY6L6fI4GtQRAgv1AJ9MmXfaF/XY5IIPNuRpLYRIlaZdhACfcEyr fqTsutlGc4/CI9UhuQKLP+s= =9TmG -----END PGP SIGNATURE----- --UlVJffcvxoiEqYs2-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message