summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1999-03-07 04:39:25 +0000
committerwpaul <wpaul@FreeBSD.org>1999-03-07 04:39:25 +0000
commit8071fca0487b2cdbac4c0c6a9b1106deff813f05 (patch)
tree165e72123049fa8655c9d2b6aa57ba6e7fb98742 /sys/net
parente8558b0707a00d1ab53ee2cf174c1b9c15a33f29 (diff)
downloadFreeBSD-src-8071fca0487b2cdbac4c0c6a9b1106deff813f05.zip
FreeBSD-src-8071fca0487b2cdbac4c0c6a9b1106deff813f05.tar.gz
Also add 1000baseSX, 1000baseLX, 1000baseCX and 1000baseTX media types. At
this point I don't know if there are any actual gigabit ethernet devices that support media other than 1000baseSX (multi-mode fiber) but who knows.
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_media.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/net/if_media.h b/sys/net/if_media.h
index dcab815..c66fd9e 100644
--- a/sys/net/if_media.h
+++ b/sys/net/if_media.h
@@ -131,6 +131,10 @@ int ifmedia_ioctl __P((struct ifnet *ifp, struct ifreq *ifr,
#define IFM_1000_FX 11 /* 1000BaseFX - gigabit over fiber */
#define IFM_10_STP 12 /* 10BaseT over shielded TP */
#define IFM_10_FL 13 /* 10baseFL - Fiber */
+#define IFM_1000_SX 14 /* 1000BaseSX Multi-mode Fiber */
+#define IFM_1000_LX 15 /* 1000BaseLX Single-mode Fiber */
+#define IFM_1000_CX 16 /* 1000BaseCX 150ohm STP */
+#define IFM_1000_TX 17 /* 1000BaseTX 4 pair cat 5 */
/*
* Token ring
@@ -239,6 +243,10 @@ struct ifmedia_description {
{ IFM_1000_FX, "1000baseFX" }, \
{ IFM_10_STP, "10baseSTP" }, \
{ IFM_10_FL, "10baseFL" }, \
+ { IFM_1000_SX, "1000baseSX" }, \
+ { IFM_1000_LX, "1000baseLX" }, \
+ { IFM_1000_CX, "1000baseCX" }, \
+ { IFM_1000_TX, "1000baseTX" }, \
{ 0, NULL }, \
}
@@ -257,6 +265,10 @@ struct ifmedia_description {
{ IFM_1000_FX, "1000FX" }, \
{ IFM_10_STP, "10STP" }, \
{ IFM_10_FL, "10FL" }, \
+ { IFM_1000_FX, "1000SX" }, \
+ { IFM_1000_FX, "1000LX" }, \
+ { IFM_1000_FX, "1000CX" }, \
+ { IFM_1000_FX, "1000TX" }, \
{ 0, NULL }, \
}
OpenPOWER on IntegriCloud