diff options
author | np <np@FreeBSD.org> | 2009-06-24 21:51:42 +0000 |
---|---|---|
committer | np <np@FreeBSD.org> | 2009-06-24 21:51:42 +0000 |
commit | e3f82ee9f1a11b4c9385e9028855a8120c95b59f (patch) | |
tree | 4c3281231ec0184cbf53527870be64f76ec54fbf /sys/net/if_media.h | |
parent | a2b16a14dfcf8adf5a116d8f4860420d042e48bb (diff) | |
download | FreeBSD-src-e3f82ee9f1a11b4c9385e9028855a8120c95b59f.zip FreeBSD-src-e3f82ee9f1a11b4c9385e9028855a8120c95b59f.tar.gz |
About to add 10Gbase-T to known media types, this is just a whitespace
cleanup before that commit. No functional impact.
Approved by: gnn (mentor)
Diffstat (limited to 'sys/net/if_media.h')
-rw-r--r-- | sys/net/if_media.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/net/if_media.h b/sys/net/if_media.h index f4b3d81..796892f 100644 --- a/sys/net/if_media.h +++ b/sys/net/if_media.h @@ -145,10 +145,10 @@ uint64_t ifmedia_baudrate(int); #define IFM_10G_SR 19 /* 10GBase-SR 850nm Multi-mode */ #define IFM_10G_CX4 20 /* 10GBase CX4 copper */ #define IFM_2500_SX 21 /* 2500BaseSX - multi-mode fiber */ -#define IFM_10G_TWINAX 22 /* 10GBase Twinax copper */ -#define IFM_10G_TWINAX_LONG 23 /* 10GBase Twinax Long copper */ -#define IFM_10G_LRM 24 /* 10GBase-LRM 850nm Multi-mode */ -#define IFM_UNKNOWN 25 /* New media types that have not been defined yet */ +#define IFM_10G_TWINAX 22 /* 10GBase Twinax copper */ +#define IFM_10G_TWINAX_LONG 23 /* 10GBase Twinax Long copper */ +#define IFM_10G_LRM 24 /* 10GBase-LRM 850nm Multi-mode */ +#define IFM_UNKNOWN 25 /* media types not defined yet */ /* note 31 is the max! */ @@ -354,10 +354,10 @@ struct ifmedia_description { { IFM_10G_SR, "10Gbase-SR" }, \ { IFM_10G_CX4, "10Gbase-CX4" }, \ { IFM_2500_SX, "2500BaseSX" }, \ - { IFM_10G_LRM, "10Gbase-LRM" }, \ - { IFM_10G_TWINAX, "10Gbase-Twinax" }, \ - { IFM_10G_TWINAX_LONG, "10Gbase-Twinax-Long" }, \ - { IFM_UNKNOWN, "Unknown" }, \ + { IFM_10G_LRM, "10Gbase-LRM" }, \ + { IFM_10G_TWINAX, "10Gbase-Twinax" }, \ + { IFM_10G_TWINAX_LONG, "10Gbase-Twinax-Long" }, \ + { IFM_UNKNOWN, "Unknown" }, \ { 0, NULL }, \ } @@ -613,7 +613,7 @@ struct ifmedia_baudrate { { IFM_ETHER | IFM_10G_CX4, IF_Gbps(10ULL) }, \ { IFM_ETHER | IFM_2500_SX, IF_Mbps(2500ULL) }, \ { IFM_ETHER | IFM_10G_TWINAX, IF_Gbps(10ULL) }, \ - { IFM_ETHER | IFM_10G_TWINAX_LONG, IF_Gbps(10ULL) }, \ + { IFM_ETHER | IFM_10G_TWINAX_LONG, IF_Gbps(10ULL) }, \ { IFM_ETHER | IFM_10G_LRM, IF_Gbps(10ULL) }, \ \ { IFM_TOKEN | IFM_TOK_STP4, IF_Mbps(4) }, \ |