From owner-freebsd-stable@FreeBSD.ORG Wed Oct 17 23:09:05 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09E7E16A41A for ; Wed, 17 Oct 2007 23:09:04 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id 8137A13C442 for ; Wed, 17 Oct 2007 23:09:04 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-253-31-60.bredband.comhem.se ([83.253.31.60]:54422 helo=falcon.midgard.homeip.net) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1IiI0d-0006qO-50 for freebsd-stable@freebsd.org; Thu, 18 Oct 2007 01:09:03 +0200 Received: (qmail 74929 invoked from network); 18 Oct 2007 01:09:00 +0200 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 18 Oct 2007 01:09:00 +0200 Received: (qmail 29402 invoked by uid 1001); 18 Oct 2007 01:09:00 +0200 Date: Thu, 18 Oct 2007 01:09:00 +0200 From: Erik Trulsson To: David Yeske Message-ID: <20071017230900.GA29380@owl.midgard.homeip.net> Mail-Followup-To: David Yeske , FreeBSD Stable List References: <85bdae4e0710171603p4a269efbi62710d55e37b733d@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <85bdae4e0710171603p4a269efbi62710d55e37b733d@mail.gmail.com> User-Agent: Mutt/1.5.16 (2007-06-09) X-Originating-IP: 83.253.31.60 X-Scan-Result: No virus found in message 1IiI0d-0006qO-50. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1IiI0d-0006qO-50 3c35cf30ff24ea46c561b132a2943fa0 Cc: FreeBSD Stable List Subject: Re: interface speed support X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Oct 2007 23:09:05 -0000 On Wed, Oct 17, 2007 at 07:03:22PM -0400, David Yeske wrote: > Is there a way to determine the supported interface speed of a > particular driver? If I have a gigabit ethernet device connected to a > 100baseTX switch, how can I determine the interface supports gigabit > ethernet? I have tried parsing the following. Is there a cleaner way > to do this? > > sysctl -A | grep phy | grep desc 'ifconfig -m' might be what you are looking for. -- Erik Trulsson ertr1013@student.uu.se