author | Philipp Weyer <pw@igh-essen.com> |
Fri, 18 Aug 2017 12:30:16 +0200 | |
branch | stable-1.5 |
changeset 2680 | e6f324a3d8a0 |
parent 2586 | 5b89b4e38cdc |
permissions | -rw-r--r-- |
2586
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
1 |
/******************************************************************************* |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
2 |
|
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
3 |
Intel PRO/1000 Linux driver |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
4 |
Copyright(c) 1999 - 2013 Intel Corporation. |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
5 |
|
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
6 |
This program is free software; you can redistribute it and/or modify it |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
7 |
under the terms and conditions of the GNU General Public License, |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
8 |
version 2, as published by the Free Software Foundation. |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
9 |
|
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
10 |
This program is distributed in the hope it will be useful, but WITHOUT |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
11 |
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
12 |
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
13 |
more details. |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
14 |
|
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
15 |
You should have received a copy of the GNU General Public License along with |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
16 |
this program; if not, write to the Free Software Foundation, Inc., |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
17 |
51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
18 |
|
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
19 |
The full GNU General Public License is included in this distribution in |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
20 |
the file called "COPYING". |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
21 |
|
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
22 |
Contact Information: |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
23 |
Linux NICS <linux.nics@intel.com> |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
24 |
e1000-devel Mailing List <e1000-devel@lists.sourceforge.net> |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
25 |
Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
26 |
|
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
27 |
*******************************************************************************/ |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
28 |
|
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
29 |
#ifndef _E1000E_82571_H_ |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
30 |
#define _E1000E_82571_H_ |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
31 |
|
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
32 |
#define ID_LED_RESERVED_F746 0xF746 |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
33 |
#define ID_LED_DEFAULT_82573 ((ID_LED_DEF1_DEF2 << 12) | \ |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
34 |
(ID_LED_OFF1_ON2 << 8) | \ |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
35 |
(ID_LED_DEF1_DEF2 << 4) | \ |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
36 |
(ID_LED_DEF1_DEF2)) |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
37 |
|
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
38 |
#define E1000_GCR_L1_ACT_WITHOUT_L0S_RX 0x08000000 |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
39 |
#define AN_RETRY_COUNT 5 /* Autoneg Retry Count value */ |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
40 |
|
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
41 |
/* Intr Throttling - RW */ |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
42 |
#define E1000_EITR_82574(_n) (0x000E8 + (0x4 * (_n))) |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
43 |
|
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
44 |
#define E1000_EIAC_82574 0x000DC /* Ext. Interrupt Auto Clear - RW */ |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
45 |
#define E1000_EIAC_MASK_82574 0x01F00000 |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
46 |
|
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
47 |
#define E1000_IVAR_INT_ALLOC_VALID 0x8 |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
48 |
|
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
49 |
/* Manageability Operation Mode mask */ |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
50 |
#define E1000_NVM_INIT_CTRL2_MNGM 0x6000 |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
51 |
|
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
52 |
#define E1000_BASE1000T_STATUS 10 |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
53 |
#define E1000_IDLE_ERROR_COUNT_MASK 0xFF |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
54 |
#define E1000_RECEIVE_ERROR_COUNTER 21 |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
55 |
#define E1000_RECEIVE_ERROR_MAX 0xFFFF |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
56 |
bool e1000_check_phy_82574(struct e1000_hw *hw); |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
57 |
bool e1000e_get_laa_state_82571(struct e1000_hw *hw); |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
58 |
void e1000e_set_laa_state_82571(struct e1000_hw *hw, bool state); |
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
59 |
|
5b89b4e38cdc
Added all drivers for kernel 3.12.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
60 |
#endif |