From owner-freebsd-bugs Wed Nov 27 2:20: 5 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABC0A37B401 for ; Wed, 27 Nov 2002 02:20:03 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA04943EC5 for ; Wed, 27 Nov 2002 02:20:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gARAK1x3026947 for ; Wed, 27 Nov 2002 02:20:01 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gARAK1kb026946; Wed, 27 Nov 2002 02:20:01 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E62537B406 for ; Wed, 27 Nov 2002 02:10:16 -0800 (PST) Received: from magnesium.net (toxic.magnesium.net [207.154.84.15]) by mx1.FreeBSD.org (Postfix) with SMTP id 306CB43EA9 for ; Wed, 27 Nov 2002 02:10:16 -0800 (PST) (envelope-from sethk@magnesium.net) Received: (qmail 27902 invoked by uid 1165); 27 Nov 2002 10:10:10 -0000 Message-Id: <20021127101010.27901.qmail@magnesium.net> Date: 27 Nov 2002 02:10:10 -0800 From: Seth Kingsley Reply-To: Seth Kingsley To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/45793: Invalid media subtype aliases in if_media.h Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 45793 >Category: kern >Synopsis: Invalid media subtype aliases in if_media.h >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Nov 27 02:20:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Seth Kingsley >Release: FreeBSD 4.7-RELEASE >Organization: >Environment: FreeBSD 4.7-RELEASE #0: Wed Oct 9 15:08:34 GMT 2002 root@builder.freebsdmall.com:/usr/obj/usr/src/sys/GENERIC >Description: Some of the media subtype aliases in net/if_media.h appear to be missing or duplicated, possibly as the result of a paste-o. >How-To-Repeat: Write a program to extract the media subtype from a gigabit interface, then attempt to print its abbreviated subtype description. >Fix: --- /usr/src/sys/net/if_media.h.orig Thu Nov 28 09:52:36 2002 +++ /usr/src/sys/net/if_media.h Thu Nov 28 09:52:49 2002 @@ -296,10 +296,10 @@ { IFM_1000_FX, "1000FX" }, \ { IFM_10_STP, "10STP" }, \ { IFM_10_FL, "10FL" }, \ - { IFM_1000_FX, "1000SX" }, \ - { IFM_1000_FX, "1000LX" }, \ - { IFM_1000_FX, "1000CX" }, \ - { IFM_1000_FX, "1000TX" }, \ + { IFM_1000_SX, "1000SX" }, \ + { IFM_1000_LX, "1000LX" }, \ + { IFM_1000_CX, "1000CX" }, \ + { IFM_1000_TX, "1000TX" }, \ { 0, NULL }, \ } >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message