3881 want device driver for HP SmartArray RAID controllers
[illumos-gate.git] / usr / src / uts / common / io / e1000g / e1000_82571.h
blob98279ddd499a96f186000de7280b9ac10b11794d
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.
7 * CDDL LICENSE SUMMARY
9 * Copyright(c) 1999 - 2009 Intel Corporation. All rights reserved.
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").
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.
22 * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23 * Use is subject to license terms of the CDDLv1.
27 * IntelVersion: 1.16 v3-1-10-1_2009-9-18_Release14-6
29 #ifndef _E1000_82571_H_
30 #define _E1000_82571_H_
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
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))
42 #define E1000_GCR_L1_ACT_WITHOUT_L0S_RX 0x08000000
44 /* Intr Throttling - RW */
45 #define E1000_EITR_82574(_n) (0x000E8 + (0x4 * (_n)))
47 #define E1000_EIAC_82574 0x000DC /* Ext. Interrupt Auto Clear - RW */
48 #define E1000_EIAC_MASK_82574 0x01F00000
50 #define E1000_NVM_INIT_CTRL2_MNGM 0x6000 /* Manageability Operation Mode mask */
52 #define E1000_RXCFGL 0x0B634 /* TimeSync Rx EtherType & Msg Type Reg - RW */
54 bool e1000_get_laa_state_82571(struct e1000_hw *hw);
55 void e1000_set_laa_state_82571(struct e1000_hw *hw, bool state);
57 #ifdef __cplusplus
59 #endif
61 #endif /* _E1000_82571_H_ */