Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net IFM_1000_FX -> IFM_1000_SX, like it's supposed to be...
details: https://anonhg.NetBSD.org/src/rev/1bdfe0350ad4
branches: trunk
changeset: 481296:1bdfe0350ad4
user: thorpej <thorpej%NetBSD.org@localhost>
date: Tue Jan 25 20:18:52 2000 +0000
description:
IFM_1000_FX -> IFM_1000_SX, like it's supposed to be, and add a few
more gigabit Ethernet tyes from FreeBSD.
diffstat:
sys/net/if_media.h | 17 +++++++++++++----
1 files changed, 13 insertions(+), 4 deletions(-)
diffs (46 lines):
diff -r 6fb765fa6ec2 -r 1bdfe0350ad4 sys/net/if_media.h
--- a/sys/net/if_media.h Tue Jan 25 19:53:34 2000 +0000
+++ b/sys/net/if_media.h Tue Jan 25 20:18:52 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_media.h,v 1.18 2000/01/25 00:58:59 thorpej Exp $ */
+/* $NetBSD: if_media.h,v 1.19 2000/01/25 20:18:52 thorpej Exp $ */
/*-
* Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -168,9 +168,12 @@
#define IFM_100_T4 8 /* 100BaseT4 - 4 pair cat 3 */
#define IFM_100_VG 9 /* 100VG-AnyLAN */
#define IFM_100_T2 10 /* 100BaseT2 */
-#define IFM_1000_FX 11 /* 1000BaseFX - gigabit over fiber */
+#define IFM_1000_SX 11 /* 1000BaseSX - multi-mode fiber */
#define IFM_10_STP 12 /* 10BaseT over shielded TP */
#define IFM_10_FL 13 /* 10BaseFL - Fiber */
+#define IFM_1000_LX 14 /* 1000baseLX - single-mode fiber */
+#define IFM_1000_CX 15 /* 1000baseCX - 150ohm STP */
+#define IFM_1000_TX 16 /* 1000baseTX - 4 pair cat 5 */
/*
* Token ring
@@ -325,14 +328,20 @@
{ IFM_ETHER|IFM_100_VG, "100VG" }, \
{ IFM_ETHER|IFM_100_T2, "100baseT2" }, \
{ IFM_ETHER|IFM_100_T2, "100T2" }, \
- { IFM_ETHER|IFM_1000_FX, "1000baseFX" }, \
- { IFM_ETHER|IFM_1000_FX, "1000FX" }, \
+ { IFM_ETHER|IFM_1000_SX, "1000baseSX" }, \
+ { IFM_ETHER|IFM_1000_SX, "1000SX" }, \
{ IFM_ETHER|IFM_10_STP, "10baseSTP" }, \
{ IFM_ETHER|IFM_10_STP, "STP" }, \
{ IFM_ETHER|IFM_10_STP, "10STP" }, \
{ IFM_ETHER|IFM_10_FL, "10baseFL" }, \
{ IFM_ETHER|IFM_10_FL, "FL" }, \
{ IFM_ETHER|IFM_10_FL, "10FL" }, \
+ { IFM_ETHER|IFM_1000_LX, "1000baseLX" }, \
+ { IFM_ETHER|IFM_1000_LX, "1000LX" }, \
+ { IFM_ETHER|IFM_1000_CX, "1000baseCX" }, \
+ { IFM_ETHER|IFM_1000_CX, "1000CX" }, \
+ { IFM_ETHER|IFM_1000_TX, "1000baseTX" }, \
+ { IFM_ETHER|IFM_1000_TX, "1000TX" }, \
\
{ IFM_TOKEN|IFM_TOK_STP4, "DB9/4Mbit" }, \
{ IFM_TOKEN|IFM_TOK_STP4, "4STP" }, \
Home |
Main Index |
Thread Index |
Old Index