Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net Add some 10-gigabit media words used by Intel 82599.



details:   https://anonhg.NetBSD.org/src/rev/e2fac15fc672
branches:  trunk
changeset: 761385:e2fac15fc672
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Wed Jan 26 00:57:47 2011 +0000

description:
Add some 10-gigabit media words used by Intel 82599.

diffstat:

 sys/net/if_media.h |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r d8f14fb86605 -r e2fac15fc672 sys/net/if_media.h
--- a/sys/net/if_media.h        Wed Jan 26 00:55:42 2011 +0000
+++ b/sys/net/if_media.h        Wed Jan 26 00:57:47 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_media.h,v 1.53 2009/10/05 21:27:36 dyoung Exp $     */
+/*     $NetBSD: if_media.h,v 1.54 2011/01/26 00:57:47 dyoung Exp $     */
 
 /*-
  * Copyright (c) 1998, 2000, 2001 The NetBSD Foundation, Inc.
@@ -180,6 +180,10 @@
 #define        IFM_10G_CX4     20              /* 10GBase CX4 copper */
 #define        IFM_2500_SX     21              /* 2500baseSX - multi-mode fiber */
 #define        IFM_1000_BX10   22              /* 1000base-BX10 */
+#define        IFM_10G_TWINAX  23              /* 10GBase Twinax copper */
+#define        IFM_10G_TWINAX_LONG     24      /* 10GBase Twinax Long copper */
+#define        IFM_10G_LRM     25              /* 10GBase-LRM 850nm Multi-mode */
+#define        IFM_10G_T       26              /* 10GBase-T - RJ45 */
 
 #define        IFM_ETH_MASTER  0x00000100      /* master mode (1000baseT) */
 #define        IFM_ETH_RXPAUSE 0x00000200      /* receive PAUSE frames */
@@ -423,6 +427,10 @@
        { IFM_ETHER | IFM_10G_SR,       "10GbaseSR" },                  \
        { IFM_ETHER | IFM_10G_SR,       "10GSR" },                      \
        { IFM_ETHER | IFM_10G_SR,       "10GBASE-SR" },                 \
+       { IFM_ETHER | IFM_10G_LRM,      "10Gbase-LRM" },                \
+       { IFM_ETHER | IFM_10G_TWINAX,   "10Gbase-Twinax" },             \
+       { IFM_ETHER | IFM_10G_TWINAX_LONG,      "10Gbase-Twinax-Long" },\
+       { IFM_ETHER | IFM_10G_T,        "10Gbase-T" },                  \
        { IFM_ETHER | IFM_10G_CX4,      "10GbaseCX4" },                 \
        { IFM_ETHER | IFM_10G_CX4,      "10GCX4" },                     \
        { IFM_ETHER | IFM_10G_CX4,      "10GBASE-CX4" },                \



Home | Main Index | Thread Index | Old Index