diff options
author | Tony Ackerman <tackerman@FreeBSD.org> | 2004-08-12 23:48:26 +0000 |
---|---|---|
committer | Tony Ackerman <tackerman@FreeBSD.org> | 2004-08-12 23:48:26 +0000 |
commit | b59db7bbe8875a17c1911fb8961941d66add3666 (patch) | |
tree | 3401da1c2ab9de02720bbf887034687e5f08d6ad /sys/net/if_media.h | |
parent | bac683b5dbe500e885118e84d644093e9d0f792a (diff) | |
download | src-b59db7bbe8875a17c1911fb8961941d66add3666.tar.gz src-b59db7bbe8875a17c1911fb8961941d66add3666.zip |
Added two new media types for 10GBASE-SR and 10GBASE-LR
Notes
Notes:
svn path=/head/; revision=133603
Diffstat (limited to 'sys/net/if_media.h')
-rw-r--r-- | sys/net/if_media.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/net/if_media.h b/sys/net/if_media.h index c7ec1e881db4..3638b8feb5aa 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 }, \ } |