Home | History | Annotate | Download | only in e1000g
      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 - 2009 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 2009 Sun Microsystems, Inc.  All rights reserved.
     23  * Use is subject to license terms of the CDDLv1.
     24  */
     25 
     26 /*
     27  * IntelVersion: 1.16 v3-1-10-1_2009-9-18_Release14-6
     28  */
     29 #ifndef _E1000_82571_H_
     30 #define	_E1000_82571_H_
     31 
     32 #ifdef __cplusplus
     33 extern "C" {
     34 #endif
     35 
     36 #define	ID_LED_RESERVED_F746	0xF746
     37 #define	ID_LED_DEFAULT_82573	((ID_LED_DEF1_DEF2 << 12) | \
     38 				(ID_LED_OFF1_ON2  <<  8) | \
     39 				(ID_LED_DEF1_DEF2 <<  4) | \
     40 				(ID_LED_DEF1_DEF2))
     41 
     42 #define	E1000_GCR_L1_ACT_WITHOUT_L0S_RX	0x08000000
     43 
     44 /* Intr Throttling - RW */
     45 #define	E1000_EITR_82574(_n)	(0x000E8 + (0x4 * (_n)))
     46 
     47 #define	E1000_EIAC_82574	0x000DC /* Ext. Interrupt Auto Clear - RW */
     48 #define	E1000_EIAC_MASK_82574	0x01F00000
     49 
     50 #define	E1000_NVM_INIT_CTRL2_MNGM 0x6000 /* Manageability Operation Mode mask */
     51 
     52 #define	E1000_RXCFGL	0x0B634 /* TimeSync Rx EtherType & Msg Type Reg - RW */
     53 
     54 bool e1000_get_laa_state_82571(struct e1000_hw *hw);
     55 void e1000_set_laa_state_82571(struct e1000_hw *hw, bool state);
     56 
     57 #ifdef __cplusplus
     58 }
     59 #endif
     60 
     61 #endif	/* _E1000_82571_H_ */
     62