Add "10baseT-FDX" and "100baseTX-FDX" aliases to the end of the subtype
table. These are actually subtype+option combos, but these are the strings displayed by the MII code to indicate 10Mbps full-duplex and 100Mbps full-duplex respectively, and it's Nice that ifconfig(8) can grok them.
This commit is contained in:
parent
a8fd643677
commit
be4ce8c3f4
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: if_media.h,v 1.11 1998/08/12 23:23:29 thorpej Exp $ */
|
||||
/* $NetBSD: if_media.h,v 1.12 1998/11/02 22:10:26 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
@ -324,6 +324,12 @@ struct ifmedia_description {
|
||||
{ IFM_FDDI|IFM_FDDI_UTP, "UTP" }, \
|
||||
{ IFM_FDDI|IFM_FDDI_UTP, "CDDI" }, \
|
||||
\
|
||||
/* \
|
||||
* Short-hand for common media+option combos. \
|
||||
*/ \
|
||||
{ IFM_ETHER|IFM_10_T|IFM_FDX, "10baseT-FDX" }, \
|
||||
{ IFM_ETHER|IFM_100_TX|IFM_FDX, "100baseTX-FDX" }, \
|
||||
\
|
||||
{ 0, NULL }, \
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user