e1000_82543.h revision 6735:ba4d622bb38a
1/* 2 * This file is provided under a CDDLv1 license. When using or 3 * redistributing this file, you may do so under this license. 4 * In redistributing this file this license must be included 5 * and no other modification of this header file is permitted. 6 * 7 * CDDL LICENSE SUMMARY 8 * 9 * Copyright(c) 1999 - 2008 Intel Corporation. All rights reserved. 10 * 11 * The contents of this file are subject to the terms of Version 12 * 1.0 of the Common Development and Distribution License (the "License"). 13 * 14 * You should have received a copy of the License with this software. 15 * You can obtain a copy of the License at 16 * http://www.opensolaris.org/os/licensing. 17 * See the License for the specific language governing permissions 18 * and limitations under the License. 19 */ 20 21/* 22 * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 23 * Use is subject to license terms of the CDDLv1. 24 */ 25 26/* 27 * IntelVersion: 1.6 v2008-02-29 28 */ 29#ifndef _E1000_82543_H_ 30#define _E1000_82543_H_ 31 32#pragma ident "%Z%%M% %I% %E% SMI" 33 34#ifdef __cplusplus 35extern "C" { 36#endif 37 38#define PHY_PREAMBLE 0xFFFFFFFF 39#define PHY_PREAMBLE_SIZE 32 40#define PHY_SOF 0x1 41#define PHY_OP_READ 0x2 42#define PHY_OP_WRITE 0x1 43#define PHY_TURNAROUND 0x2 44 45#define TBI_COMPAT_ENABLED 0x1 /* Global "knob" for the workaround */ 46/* If TBI_COMPAT_ENABLED, then this is the current state (on/off) */ 47#define TBI_SBP_ENABLED 0x2 48 49#ifdef __cplusplus 50} 51#endif 52 53#endif /* _E1000_82543_H_ */ 54