summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/mac_ether.h
diff options
context:
space:
mode:
authorlucy wang - Sun Microsystems - Beijing China <xiuyan.wang@Sun.COM>2009-04-24 13:46:17 +0800
committerlucy wang - Sun Microsystems - Beijing China <xiuyan.wang@Sun.COM>2009-04-24 13:46:17 +0800
commitaca118b711d5dc86653e0b3c1a122a6b93a0112d (patch)
treecc620b675b7df5d1e292ae2d109cede4b773ebd7 /usr/src/uts/common/sys/mac_ether.h
parent59b1e613d6b09a7717b159d9e0d36586fd586ff6 (diff)
downloadillumos-gate-aca118b711d5dc86653e0b3c1a122a6b93a0112d.tar.gz
PSARC 2009/206 10G link properties
6830888 GLDv3 should provide more link properties for 10Gb Ethernet drivers 6818198 Identical assembly functions should be unified in one .il file Contributed by Paul Durrant (pdurrant@solarflare.com)
Diffstat (limited to 'usr/src/uts/common/sys/mac_ether.h')
-rw-r--r--usr/src/uts/common/sys/mac_ether.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/usr/src/uts/common/sys/mac_ether.h b/usr/src/uts/common/sys/mac_ether.h
index 6310ea4952..32e0168971 100644
--- a/usr/src/uts/common/sys/mac_ether.h
+++ b/usr/src/uts/common/sys/mac_ether.h
@@ -19,15 +19,13 @@
* CDDL HEADER END
*/
/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _SYS_MAC_ETHER_H
#define _SYS_MAC_ETHER_H
-#pragma ident "%Z%%M% %I% %E% SMI"
-
/*
* Ethernet MAC Plugin
*/
@@ -103,9 +101,13 @@ enum ether_stat {
ETHER_STAT_CAP_100T4,
ETHER_STAT_ADV_CAP_100T4,
ETHER_STAT_LP_CAP_100T4,
+
+ ETHER_STAT_CAP_10GFDX,
+ ETHER_STAT_ADV_CAP_10GFDX,
+ ETHER_STAT_LP_CAP_10GFDX,
};
-#define ETHER_NSTAT (ETHER_STAT_LP_CAP_100T4 - ETHER_STAT_ALIGN_ERRORS + 1)
+#define ETHER_NSTAT (ETHER_STAT_LP_CAP_10GFDX - ETHER_STAT_ALIGN_ERRORS + 1)
#define ETHER_STAT_ISACOUNTER(_ether_stat) \
((_ether_stat) == ETHER_STAT_ALIGN_ERRORS || \