summaryrefslogtreecommitdiffstats
path: root/sys/net/if_media.h
diff options
context:
space:
mode:
authortackerman <tackerman@FreeBSD.org>2004-08-12 23:48:26 +0000
committertackerman <tackerman@FreeBSD.org>2004-08-12 23:48:26 +0000
commit4386366573fd0f30fa231e8c0bc5c6c668e0aaf9 (patch)
tree3401da1c2ab9de02720bbf887034687e5f08d6ad /sys/net/if_media.h
parent42c3e7a0219ea333a01fed959b2d64d46e4ea652 (diff)
downloadFreeBSD-src-4386366573fd0f30fa231e8c0bc5c6c668e0aaf9.zip
FreeBSD-src-4386366573fd0f30fa231e8c0bc5c6c668e0aaf9.tar.gz
Added two new media types for 10GBASE-SR and 10GBASE-LR
Diffstat (limited to 'sys/net/if_media.h')
-rw-r--r--sys/net/if_media.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/net/if_media.h b/sys/net/if_media.h
index c7ec1e8..3638b8f 100644
--- a/sys/net/if_media.h
+++ b/sys/net/if_media.h
@@ -138,6 +138,9 @@ int ifmedia_ioctl(struct ifnet *ifp, struct ifreq *ifr,
#define IFM_1000_CX 15 /* 1000baseCX - 150ohm STP */
#define IFM_1000_T 16 /* 1000baseT - 4 pair cat 5 */
#define IFM_HPNA_1 17 /* HomePNA 1.0 (1Mb/s) */
+#define IFM_10GBASE_SR 18 /* 10GBASE-SR 850nm Multi-mode Fiber */
+#define IFM_10GBASE_LR 19 /* 10GBASE-LR 1310nm Single-mode Fiber */
+
/* note 31 is the max! */
#define IFM_ETH_MASTER 0x00000100 /* master mode (1000baseT) */
@@ -316,6 +319,8 @@ struct ifmedia_description {
{ IFM_1000_T, "1000baseTX" }, \
{ IFM_1000_T, "1000baseT" }, \
{ IFM_HPNA_1, "homePNA" }, \
+ { IFM_10GBASE_SR, "10GBASE-SR" }, \
+ { IFM_10GBASE_LR, "10GBASE-LR" }, \
{ 0, NULL }, \
}
OpenPOWER on IntegriCloud