From owner-freebsd-net@FreeBSD.ORG Fri Jun 1 21:45:48 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8CDCB16A400 for ; Fri, 1 Jun 2007 21:45:48 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 68DBE13C44B for ; Fri, 1 Jun 2007 21:45:48 +0000 (UTC) (envelope-from sam@errno.com) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id l51Ljkvw000285 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 1 Jun 2007 14:45:47 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <4660938A.6050602@errno.com> Date: Fri, 01 Jun 2007 14:45:46 -0700 From: Sam Leffler User-Agent: Thunderbird 2.0.0.0 (X11/20070528) MIME-Version: 1.0 To: David Christensen References: <09BFF2FA5EAB4A45B6655E151BBDD903040678EC@NT-IRVA-0750.brcm.ad.broadcom.com> <46606EEF.6010507@errno.com> <09BFF2FA5EAB4A45B6655E151BBDD9030406792D@NT-IRVA-0750.brcm.ad.broadcom.com> In-Reply-To: <09BFF2FA5EAB4A45B6655E151BBDD9030406792D@NT-IRVA-0750.brcm.ad.broadcom.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: Adding Proprietary Link Speed to sys/net/if_media.h X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jun 2007 21:45:48 -0000 David Christensen wrote: >>> I'm working on improving the fiber support for the bce >> driver. One of >> >> Should be fine but you might want to post a patch to be concrete. >> >> Sam > > I'm just looking at adding a media type as follows: > > #define IFM_2500_SX 21 /* 2500BaseSX - multi-mode fiber */ > > I've only briefly explored whether any other changes are necessary > anywhere outside of my driver. If anyone has any thoughts on > where I should consider more changes I'd appreciate the feedback. You need to add the item to the lists later in the file so ifconfig can deal with them. Sam