mac_ether.h revision 0d2a8e5eea8ac6ea0f5c517f0c481329b57d5459
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb * CDDL HEADER START
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb * The contents of this file are subject to the terms of the
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb * Common Development and Distribution License (the "License").
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb * You may not use this file except in compliance with the License.
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb * See the License for the specific language governing permissions
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb * and limitations under the License.
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb * When distributing Covered Code, include this CDDL HEADER in each
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb * If applicable, add the following below this CDDL HEADER, with the
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb * fields enclosed by brackets "[]" replaced with your own identifying
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb * information: Portions Copyright [yyyy] [name of copyright owner]
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb * CDDL HEADER END
9b14cf1dc76dad8f2d9a74310e0a0200af96d217gd * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb * Use is subject to license terms.
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb#pragma ident "%Z%%M% %I% %E% SMI"
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb * Ethernet MAC Plugin
ba2e4443695ee6a6f420a35cd4fc3d3346d22932sebextern "C" {
9b14cf1dc76dad8f2d9a74310e0a0200af96d217gd * Do not reorder, and add only to the end of this list.
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb /* RFC 1643 stats */
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb /* MII/GMII stats */
0d2a8e5eea8ac6ea0f5c517f0c481329b57d5459gd#define ETHER_NSTAT (ETHER_STAT_LP_CAP_100T4 - ETHER_STAT_ALIGN_ERRORS + 1)
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb * Some drivers have a need to determine if a particular stat is a MII/GMII
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb * physical layer 802.3 stat.
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb#endif /* _KERNEL */
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb#endif /* _SYS_MAC_ETHER_H */