From aca118b711d5dc86653e0b3c1a122a6b93a0112d Mon Sep 17 00:00:00 2001 From: lucy wang - Sun Microsystems - Beijing China Date: Fri, 24 Apr 2009 13:46:17 +0800 Subject: 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) --- usr/src/uts/common/sys/mac_ether.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'usr/src/uts/common/sys/mac_ether.h') 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 || \ -- cgit v1.2.3