diff options
author | lucy wang - Sun Microsystems - Beijing China <xiuyan.wang@Sun.COM> | 2009-04-24 13:46:17 +0800 |
---|---|---|
committer | lucy wang - Sun Microsystems - Beijing China <xiuyan.wang@Sun.COM> | 2009-04-24 13:46:17 +0800 |
commit | aca118b711d5dc86653e0b3c1a122a6b93a0112d (patch) | |
tree | cc620b675b7df5d1e292ae2d109cede4b773ebd7 /usr/src/uts/common/sys/mac_ether.h | |
parent | 59b1e613d6b09a7717b159d9e0d36586fd586ff6 (diff) | |
download | illumos-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.h | 10 |
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 || \ |