Date: Wed, 17 Oct 2007 16:09:14 -0700 From: Chuck Swiger <cswiger@mac.com> To: David Yeske <dyeske@gmail.com> Cc: FreeBSD Stable List <freebsd-stable@freebsd.org> Subject: Re: interface speed support Message-ID: <E3385DF5-4BD8-466E-B4FB-7B7793666EB3@mac.com> In-Reply-To: <85bdae4e0710171603p4a269efbi62710d55e37b733d@mail.gmail.com> References: <85bdae4e0710171603p4a269efbi62710d55e37b733d@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, David--
On Oct 17, 2007, at 4:03 PM, 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?
Perhaps you want the "ifconfig -m _interface_" command, as in:
# ifconfig -m bge0
bge0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
options=1a<TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
capability list:
=1a<TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
ether 00:b0:d0:e1:92:a1
media: Ethernet autoselect (none)
status: no carrier
supported media:
media autoselect
media 1000baseTX mediaopt full-duplex
media 1000baseTX
media 100baseTX mediaopt full-duplex
media 100baseTX
media 10baseT/UTP mediaopt full-duplex
media 10baseT/UTP
media none
--
-Chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E3385DF5-4BD8-466E-B4FB-7B7793666EB3>
