author | Florian Pose <fp@igh-essen.com> |
Fri, 03 Mar 2017 17:08:39 +0100 | |
branch | stable-1.5 |
changeset 2674 | 3be68a020748 |
parent 2587 | afd76ee3aa87 |
permissions | -rw-r--r-- |
2587
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
1 |
/******************************************************************************* |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
2 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
3 |
Intel PRO/1000 Linux driver |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
4 |
Copyright(c) 1999 - 2013 Intel Corporation. |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
5 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
6 |
This program is free software; you can redistribute it and/or modify it |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
7 |
under the terms and conditions of the GNU General Public License, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
8 |
version 2, as published by the Free Software Foundation. |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
9 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
10 |
This program is distributed in the hope it will be useful, but WITHOUT |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
11 |
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
12 |
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
13 |
more details. |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
14 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
15 |
You should have received a copy of the GNU General Public License along with |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
16 |
this program; if not, write to the Free Software Foundation, Inc., |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
17 |
51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
18 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
19 |
The full GNU General Public License is included in this distribution in |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
20 |
the file called "COPYING". |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
21 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
22 |
Contact Information: |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
23 |
Linux NICS <linux.nics@intel.com> |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
24 |
e1000-devel Mailing List <e1000-devel@lists.sourceforge.net> |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
25 |
Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
26 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
27 |
*******************************************************************************/ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
28 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
29 |
#ifndef _E1000_HW_H_ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
30 |
#define _E1000_HW_H_ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
31 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
32 |
#include "regs.h" |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
33 |
#include "defines.h" |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
34 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
35 |
struct e1000_hw; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
36 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
37 |
#define E1000_DEV_ID_82571EB_COPPER 0x105E |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
38 |
#define E1000_DEV_ID_82571EB_FIBER 0x105F |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
39 |
#define E1000_DEV_ID_82571EB_SERDES 0x1060 |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
40 |
#define E1000_DEV_ID_82571EB_QUAD_COPPER 0x10A4 |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
41 |
#define E1000_DEV_ID_82571PT_QUAD_COPPER 0x10D5 |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
42 |
#define E1000_DEV_ID_82571EB_QUAD_FIBER 0x10A5 |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
43 |
#define E1000_DEV_ID_82571EB_QUAD_COPPER_LP 0x10BC |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
44 |
#define E1000_DEV_ID_82571EB_SERDES_DUAL 0x10D9 |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
45 |
#define E1000_DEV_ID_82571EB_SERDES_QUAD 0x10DA |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
46 |
#define E1000_DEV_ID_82572EI_COPPER 0x107D |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
47 |
#define E1000_DEV_ID_82572EI_FIBER 0x107E |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
48 |
#define E1000_DEV_ID_82572EI_SERDES 0x107F |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
49 |
#define E1000_DEV_ID_82572EI 0x10B9 |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
50 |
#define E1000_DEV_ID_82573E 0x108B |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
51 |
#define E1000_DEV_ID_82573E_IAMT 0x108C |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
52 |
#define E1000_DEV_ID_82573L 0x109A |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
53 |
#define E1000_DEV_ID_82574L 0x10D3 |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
54 |
#define E1000_DEV_ID_82574LA 0x10F6 |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
55 |
#define E1000_DEV_ID_82583V 0x150C |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
56 |
#define E1000_DEV_ID_80003ES2LAN_COPPER_DPT 0x1096 |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
57 |
#define E1000_DEV_ID_80003ES2LAN_SERDES_DPT 0x1098 |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
58 |
#define E1000_DEV_ID_80003ES2LAN_COPPER_SPT 0x10BA |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
59 |
#define E1000_DEV_ID_80003ES2LAN_SERDES_SPT 0x10BB |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
60 |
#define E1000_DEV_ID_ICH8_82567V_3 0x1501 |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
61 |
#define E1000_DEV_ID_ICH8_IGP_M_AMT 0x1049 |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
62 |
#define E1000_DEV_ID_ICH8_IGP_AMT 0x104A |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
63 |
#define E1000_DEV_ID_ICH8_IGP_C 0x104B |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
64 |
#define E1000_DEV_ID_ICH8_IFE 0x104C |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
65 |
#define E1000_DEV_ID_ICH8_IFE_GT 0x10C4 |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
66 |
#define E1000_DEV_ID_ICH8_IFE_G 0x10C5 |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
67 |
#define E1000_DEV_ID_ICH8_IGP_M 0x104D |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
68 |
#define E1000_DEV_ID_ICH9_IGP_AMT 0x10BD |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
69 |
#define E1000_DEV_ID_ICH9_BM 0x10E5 |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
70 |
#define E1000_DEV_ID_ICH9_IGP_M_AMT 0x10F5 |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
71 |
#define E1000_DEV_ID_ICH9_IGP_M 0x10BF |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
72 |
#define E1000_DEV_ID_ICH9_IGP_M_V 0x10CB |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
73 |
#define E1000_DEV_ID_ICH9_IGP_C 0x294C |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
74 |
#define E1000_DEV_ID_ICH9_IFE 0x10C0 |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
75 |
#define E1000_DEV_ID_ICH9_IFE_GT 0x10C3 |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
76 |
#define E1000_DEV_ID_ICH9_IFE_G 0x10C2 |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
77 |
#define E1000_DEV_ID_ICH10_R_BM_LM 0x10CC |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
78 |
#define E1000_DEV_ID_ICH10_R_BM_LF 0x10CD |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
79 |
#define E1000_DEV_ID_ICH10_R_BM_V 0x10CE |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
80 |
#define E1000_DEV_ID_ICH10_D_BM_LM 0x10DE |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
81 |
#define E1000_DEV_ID_ICH10_D_BM_LF 0x10DF |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
82 |
#define E1000_DEV_ID_ICH10_D_BM_V 0x1525 |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
83 |
#define E1000_DEV_ID_PCH_M_HV_LM 0x10EA |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
84 |
#define E1000_DEV_ID_PCH_M_HV_LC 0x10EB |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
85 |
#define E1000_DEV_ID_PCH_D_HV_DM 0x10EF |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
86 |
#define E1000_DEV_ID_PCH_D_HV_DC 0x10F0 |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
87 |
#define E1000_DEV_ID_PCH2_LV_LM 0x1502 |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
88 |
#define E1000_DEV_ID_PCH2_LV_V 0x1503 |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
89 |
#define E1000_DEV_ID_PCH_LPT_I217_LM 0x153A |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
90 |
#define E1000_DEV_ID_PCH_LPT_I217_V 0x153B |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
91 |
#define E1000_DEV_ID_PCH_LPTLP_I218_LM 0x155A |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
92 |
#define E1000_DEV_ID_PCH_LPTLP_I218_V 0x1559 |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
93 |
#define E1000_DEV_ID_PCH_I218_LM2 0x15A0 |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
94 |
#define E1000_DEV_ID_PCH_I218_V2 0x15A1 |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
95 |
#define E1000_DEV_ID_PCH_I218_LM3 0x15A2 /* Wildcat Point PCH */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
96 |
#define E1000_DEV_ID_PCH_I218_V3 0x15A3 /* Wildcat Point PCH */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
97 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
98 |
#define E1000_REVISION_4 4 |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
99 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
100 |
#define E1000_FUNC_1 1 |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
101 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
102 |
#define E1000_ALT_MAC_ADDRESS_OFFSET_LAN0 0 |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
103 |
#define E1000_ALT_MAC_ADDRESS_OFFSET_LAN1 3 |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
104 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
105 |
enum e1000_mac_type { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
106 |
e1000_82571, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
107 |
e1000_82572, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
108 |
e1000_82573, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
109 |
e1000_82574, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
110 |
e1000_82583, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
111 |
e1000_80003es2lan, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
112 |
e1000_ich8lan, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
113 |
e1000_ich9lan, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
114 |
e1000_ich10lan, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
115 |
e1000_pchlan, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
116 |
e1000_pch2lan, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
117 |
e1000_pch_lpt, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
118 |
}; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
119 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
120 |
enum e1000_media_type { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
121 |
e1000_media_type_unknown = 0, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
122 |
e1000_media_type_copper = 1, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
123 |
e1000_media_type_fiber = 2, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
124 |
e1000_media_type_internal_serdes = 3, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
125 |
e1000_num_media_types |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
126 |
}; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
127 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
128 |
enum e1000_nvm_type { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
129 |
e1000_nvm_unknown = 0, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
130 |
e1000_nvm_none, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
131 |
e1000_nvm_eeprom_spi, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
132 |
e1000_nvm_flash_hw, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
133 |
e1000_nvm_flash_sw |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
134 |
}; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
135 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
136 |
enum e1000_nvm_override { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
137 |
e1000_nvm_override_none = 0, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
138 |
e1000_nvm_override_spi_small, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
139 |
e1000_nvm_override_spi_large |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
140 |
}; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
141 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
142 |
enum e1000_phy_type { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
143 |
e1000_phy_unknown = 0, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
144 |
e1000_phy_none, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
145 |
e1000_phy_m88, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
146 |
e1000_phy_igp, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
147 |
e1000_phy_igp_2, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
148 |
e1000_phy_gg82563, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
149 |
e1000_phy_igp_3, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
150 |
e1000_phy_ife, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
151 |
e1000_phy_bm, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
152 |
e1000_phy_82578, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
153 |
e1000_phy_82577, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
154 |
e1000_phy_82579, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
155 |
e1000_phy_i217, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
156 |
}; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
157 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
158 |
enum e1000_bus_width { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
159 |
e1000_bus_width_unknown = 0, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
160 |
e1000_bus_width_pcie_x1, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
161 |
e1000_bus_width_pcie_x2, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
162 |
e1000_bus_width_pcie_x4 = 4, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
163 |
e1000_bus_width_32, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
164 |
e1000_bus_width_64, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
165 |
e1000_bus_width_reserved |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
166 |
}; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
167 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
168 |
enum e1000_1000t_rx_status { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
169 |
e1000_1000t_rx_status_not_ok = 0, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
170 |
e1000_1000t_rx_status_ok, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
171 |
e1000_1000t_rx_status_undefined = 0xFF |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
172 |
}; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
173 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
174 |
enum e1000_rev_polarity { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
175 |
e1000_rev_polarity_normal = 0, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
176 |
e1000_rev_polarity_reversed, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
177 |
e1000_rev_polarity_undefined = 0xFF |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
178 |
}; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
179 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
180 |
enum e1000_fc_mode { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
181 |
e1000_fc_none = 0, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
182 |
e1000_fc_rx_pause, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
183 |
e1000_fc_tx_pause, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
184 |
e1000_fc_full, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
185 |
e1000_fc_default = 0xFF |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
186 |
}; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
187 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
188 |
enum e1000_ms_type { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
189 |
e1000_ms_hw_default = 0, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
190 |
e1000_ms_force_master, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
191 |
e1000_ms_force_slave, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
192 |
e1000_ms_auto |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
193 |
}; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
194 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
195 |
enum e1000_smart_speed { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
196 |
e1000_smart_speed_default = 0, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
197 |
e1000_smart_speed_on, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
198 |
e1000_smart_speed_off |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
199 |
}; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
200 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
201 |
enum e1000_serdes_link_state { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
202 |
e1000_serdes_link_down = 0, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
203 |
e1000_serdes_link_autoneg_progress, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
204 |
e1000_serdes_link_autoneg_complete, |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
205 |
e1000_serdes_link_forced_up |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
206 |
}; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
207 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
208 |
/* Receive Descriptor - Extended */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
209 |
union e1000_rx_desc_extended { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
210 |
struct { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
211 |
__le64 buffer_addr; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
212 |
__le64 reserved; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
213 |
} read; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
214 |
struct { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
215 |
struct { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
216 |
__le32 mrq; /* Multiple Rx Queues */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
217 |
union { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
218 |
__le32 rss; /* RSS Hash */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
219 |
struct { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
220 |
__le16 ip_id; /* IP id */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
221 |
__le16 csum; /* Packet Checksum */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
222 |
} csum_ip; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
223 |
} hi_dword; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
224 |
} lower; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
225 |
struct { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
226 |
__le32 status_error; /* ext status/error */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
227 |
__le16 length; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
228 |
__le16 vlan; /* VLAN tag */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
229 |
} upper; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
230 |
} wb; /* writeback */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
231 |
}; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
232 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
233 |
#define MAX_PS_BUFFERS 4 |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
234 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
235 |
/* Number of packet split data buffers (not including the header buffer) */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
236 |
#define PS_PAGE_BUFFERS (MAX_PS_BUFFERS - 1) |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
237 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
238 |
/* Receive Descriptor - Packet Split */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
239 |
union e1000_rx_desc_packet_split { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
240 |
struct { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
241 |
/* one buffer for protocol header(s), three data buffers */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
242 |
__le64 buffer_addr[MAX_PS_BUFFERS]; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
243 |
} read; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
244 |
struct { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
245 |
struct { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
246 |
__le32 mrq; /* Multiple Rx Queues */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
247 |
union { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
248 |
__le32 rss; /* RSS Hash */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
249 |
struct { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
250 |
__le16 ip_id; /* IP id */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
251 |
__le16 csum; /* Packet Checksum */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
252 |
} csum_ip; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
253 |
} hi_dword; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
254 |
} lower; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
255 |
struct { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
256 |
__le32 status_error; /* ext status/error */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
257 |
__le16 length0; /* length of buffer 0 */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
258 |
__le16 vlan; /* VLAN tag */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
259 |
} middle; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
260 |
struct { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
261 |
__le16 header_status; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
262 |
/* length of buffers 1-3 */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
263 |
__le16 length[PS_PAGE_BUFFERS]; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
264 |
} upper; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
265 |
__le64 reserved; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
266 |
} wb; /* writeback */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
267 |
}; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
268 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
269 |
/* Transmit Descriptor */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
270 |
struct e1000_tx_desc { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
271 |
__le64 buffer_addr; /* Address of the descriptor's data buffer */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
272 |
union { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
273 |
__le32 data; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
274 |
struct { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
275 |
__le16 length; /* Data buffer length */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
276 |
u8 cso; /* Checksum offset */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
277 |
u8 cmd; /* Descriptor control */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
278 |
} flags; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
279 |
} lower; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
280 |
union { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
281 |
__le32 data; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
282 |
struct { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
283 |
u8 status; /* Descriptor status */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
284 |
u8 css; /* Checksum start */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
285 |
__le16 special; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
286 |
} fields; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
287 |
} upper; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
288 |
}; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
289 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
290 |
/* Offload Context Descriptor */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
291 |
struct e1000_context_desc { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
292 |
union { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
293 |
__le32 ip_config; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
294 |
struct { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
295 |
u8 ipcss; /* IP checksum start */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
296 |
u8 ipcso; /* IP checksum offset */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
297 |
__le16 ipcse; /* IP checksum end */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
298 |
} ip_fields; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
299 |
} lower_setup; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
300 |
union { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
301 |
__le32 tcp_config; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
302 |
struct { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
303 |
u8 tucss; /* TCP checksum start */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
304 |
u8 tucso; /* TCP checksum offset */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
305 |
__le16 tucse; /* TCP checksum end */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
306 |
} tcp_fields; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
307 |
} upper_setup; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
308 |
__le32 cmd_and_length; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
309 |
union { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
310 |
__le32 data; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
311 |
struct { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
312 |
u8 status; /* Descriptor status */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
313 |
u8 hdr_len; /* Header length */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
314 |
__le16 mss; /* Maximum segment size */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
315 |
} fields; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
316 |
} tcp_seg_setup; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
317 |
}; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
318 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
319 |
/* Offload data descriptor */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
320 |
struct e1000_data_desc { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
321 |
__le64 buffer_addr; /* Address of the descriptor's buffer address */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
322 |
union { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
323 |
__le32 data; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
324 |
struct { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
325 |
__le16 length; /* Data buffer length */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
326 |
u8 typ_len_ext; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
327 |
u8 cmd; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
328 |
} flags; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
329 |
} lower; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
330 |
union { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
331 |
__le32 data; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
332 |
struct { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
333 |
u8 status; /* Descriptor status */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
334 |
u8 popts; /* Packet Options */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
335 |
__le16 special; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
336 |
} fields; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
337 |
} upper; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
338 |
}; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
339 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
340 |
/* Statistics counters collected by the MAC */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
341 |
struct e1000_hw_stats { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
342 |
u64 crcerrs; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
343 |
u64 algnerrc; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
344 |
u64 symerrs; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
345 |
u64 rxerrc; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
346 |
u64 mpc; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
347 |
u64 scc; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
348 |
u64 ecol; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
349 |
u64 mcc; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
350 |
u64 latecol; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
351 |
u64 colc; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
352 |
u64 dc; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
353 |
u64 tncrs; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
354 |
u64 sec; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
355 |
u64 cexterr; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
356 |
u64 rlec; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
357 |
u64 xonrxc; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
358 |
u64 xontxc; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
359 |
u64 xoffrxc; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
360 |
u64 xofftxc; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
361 |
u64 fcruc; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
362 |
u64 prc64; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
363 |
u64 prc127; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
364 |
u64 prc255; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
365 |
u64 prc511; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
366 |
u64 prc1023; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
367 |
u64 prc1522; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
368 |
u64 gprc; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
369 |
u64 bprc; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
370 |
u64 mprc; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
371 |
u64 gptc; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
372 |
u64 gorc; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
373 |
u64 gotc; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
374 |
u64 rnbc; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
375 |
u64 ruc; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
376 |
u64 rfc; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
377 |
u64 roc; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
378 |
u64 rjc; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
379 |
u64 mgprc; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
380 |
u64 mgpdc; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
381 |
u64 mgptc; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
382 |
u64 tor; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
383 |
u64 tot; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
384 |
u64 tpr; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
385 |
u64 tpt; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
386 |
u64 ptc64; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
387 |
u64 ptc127; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
388 |
u64 ptc255; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
389 |
u64 ptc511; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
390 |
u64 ptc1023; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
391 |
u64 ptc1522; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
392 |
u64 mptc; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
393 |
u64 bptc; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
394 |
u64 tsctc; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
395 |
u64 tsctfc; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
396 |
u64 iac; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
397 |
u64 icrxptc; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
398 |
u64 icrxatc; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
399 |
u64 ictxptc; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
400 |
u64 ictxatc; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
401 |
u64 ictxqec; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
402 |
u64 ictxqmtc; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
403 |
u64 icrxdmtc; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
404 |
u64 icrxoc; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
405 |
}; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
406 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
407 |
struct e1000_phy_stats { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
408 |
u32 idle_errors; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
409 |
u32 receive_errors; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
410 |
}; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
411 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
412 |
struct e1000_host_mng_dhcp_cookie { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
413 |
u32 signature; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
414 |
u8 status; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
415 |
u8 reserved0; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
416 |
u16 vlan_id; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
417 |
u32 reserved1; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
418 |
u16 reserved2; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
419 |
u8 reserved3; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
420 |
u8 checksum; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
421 |
}; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
422 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
423 |
/* Host Interface "Rev 1" */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
424 |
struct e1000_host_command_header { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
425 |
u8 command_id; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
426 |
u8 command_length; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
427 |
u8 command_options; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
428 |
u8 checksum; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
429 |
}; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
430 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
431 |
#define E1000_HI_MAX_DATA_LENGTH 252 |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
432 |
struct e1000_host_command_info { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
433 |
struct e1000_host_command_header command_header; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
434 |
u8 command_data[E1000_HI_MAX_DATA_LENGTH]; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
435 |
}; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
436 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
437 |
/* Host Interface "Rev 2" */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
438 |
struct e1000_host_mng_command_header { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
439 |
u8 command_id; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
440 |
u8 checksum; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
441 |
u16 reserved1; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
442 |
u16 reserved2; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
443 |
u16 command_length; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
444 |
}; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
445 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
446 |
#define E1000_HI_MAX_MNG_DATA_LENGTH 0x6F8 |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
447 |
struct e1000_host_mng_command_info { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
448 |
struct e1000_host_mng_command_header command_header; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
449 |
u8 command_data[E1000_HI_MAX_MNG_DATA_LENGTH]; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
450 |
}; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
451 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
452 |
#include "mac.h" |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
453 |
#include "phy.h" |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
454 |
#include "nvm.h" |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
455 |
#include "manage.h" |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
456 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
457 |
/* Function pointers for the MAC. */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
458 |
struct e1000_mac_operations { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
459 |
s32 (*id_led_init)(struct e1000_hw *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
460 |
s32 (*blink_led)(struct e1000_hw *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
461 |
bool (*check_mng_mode)(struct e1000_hw *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
462 |
s32 (*check_for_link)(struct e1000_hw *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
463 |
s32 (*cleanup_led)(struct e1000_hw *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
464 |
void (*clear_hw_cntrs)(struct e1000_hw *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
465 |
void (*clear_vfta)(struct e1000_hw *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
466 |
s32 (*get_bus_info)(struct e1000_hw *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
467 |
void (*set_lan_id)(struct e1000_hw *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
468 |
s32 (*get_link_up_info)(struct e1000_hw *, u16 *, u16 *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
469 |
s32 (*led_on)(struct e1000_hw *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
470 |
s32 (*led_off)(struct e1000_hw *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
471 |
void (*update_mc_addr_list)(struct e1000_hw *, u8 *, u32); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
472 |
s32 (*reset_hw)(struct e1000_hw *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
473 |
s32 (*init_hw)(struct e1000_hw *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
474 |
s32 (*setup_link)(struct e1000_hw *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
475 |
s32 (*setup_physical_interface)(struct e1000_hw *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
476 |
s32 (*setup_led)(struct e1000_hw *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
477 |
void (*write_vfta)(struct e1000_hw *, u32, u32); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
478 |
void (*config_collision_dist)(struct e1000_hw *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
479 |
void (*rar_set)(struct e1000_hw *, u8 *, u32); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
480 |
s32 (*read_mac_addr)(struct e1000_hw *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
481 |
}; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
482 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
483 |
/* When to use various PHY register access functions: |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
484 |
* |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
485 |
* Func Caller |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
486 |
* Function Does Does When to use |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
487 |
* ~~~~~~~~~~~~ ~~~~~ ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
488 |
* X_reg L,P,A n/a for simple PHY reg accesses |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
489 |
* X_reg_locked P,A L for multiple accesses of different regs |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
490 |
* on different pages |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
491 |
* X_reg_page A L,P for multiple accesses of different regs |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
492 |
* on the same page |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
493 |
* |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
494 |
* Where X=[read|write], L=locking, P=sets page, A=register access |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
495 |
* |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
496 |
*/ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
497 |
struct e1000_phy_operations { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
498 |
s32 (*acquire)(struct e1000_hw *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
499 |
s32 (*cfg_on_link_up)(struct e1000_hw *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
500 |
s32 (*check_polarity)(struct e1000_hw *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
501 |
s32 (*check_reset_block)(struct e1000_hw *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
502 |
s32 (*commit)(struct e1000_hw *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
503 |
s32 (*force_speed_duplex)(struct e1000_hw *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
504 |
s32 (*get_cfg_done)(struct e1000_hw *hw); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
505 |
s32 (*get_cable_length)(struct e1000_hw *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
506 |
s32 (*get_info)(struct e1000_hw *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
507 |
s32 (*set_page)(struct e1000_hw *, u16); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
508 |
s32 (*read_reg)(struct e1000_hw *, u32, u16 *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
509 |
s32 (*read_reg_locked)(struct e1000_hw *, u32, u16 *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
510 |
s32 (*read_reg_page)(struct e1000_hw *, u32, u16 *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
511 |
void (*release)(struct e1000_hw *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
512 |
s32 (*reset)(struct e1000_hw *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
513 |
s32 (*set_d0_lplu_state)(struct e1000_hw *, bool); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
514 |
s32 (*set_d3_lplu_state)(struct e1000_hw *, bool); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
515 |
s32 (*write_reg)(struct e1000_hw *, u32, u16); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
516 |
s32 (*write_reg_locked)(struct e1000_hw *, u32, u16); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
517 |
s32 (*write_reg_page)(struct e1000_hw *, u32, u16); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
518 |
void (*power_up)(struct e1000_hw *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
519 |
void (*power_down)(struct e1000_hw *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
520 |
}; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
521 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
522 |
/* Function pointers for the NVM. */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
523 |
struct e1000_nvm_operations { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
524 |
s32 (*acquire)(struct e1000_hw *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
525 |
s32 (*read)(struct e1000_hw *, u16, u16, u16 *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
526 |
void (*release)(struct e1000_hw *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
527 |
void (*reload)(struct e1000_hw *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
528 |
s32 (*update)(struct e1000_hw *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
529 |
s32 (*valid_led_default)(struct e1000_hw *, u16 *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
530 |
s32 (*validate)(struct e1000_hw *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
531 |
s32 (*write)(struct e1000_hw *, u16, u16, u16 *); |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
532 |
}; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
533 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
534 |
struct e1000_mac_info { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
535 |
struct e1000_mac_operations ops; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
536 |
u8 addr[ETH_ALEN]; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
537 |
u8 perm_addr[ETH_ALEN]; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
538 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
539 |
enum e1000_mac_type type; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
540 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
541 |
u32 collision_delta; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
542 |
u32 ledctl_default; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
543 |
u32 ledctl_mode1; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
544 |
u32 ledctl_mode2; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
545 |
u32 mc_filter_type; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
546 |
u32 tx_packet_delta; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
547 |
u32 txcw; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
548 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
549 |
u16 current_ifs_val; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
550 |
u16 ifs_max_val; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
551 |
u16 ifs_min_val; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
552 |
u16 ifs_ratio; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
553 |
u16 ifs_step_size; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
554 |
u16 mta_reg_count; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
555 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
556 |
/* Maximum size of the MTA register table in all supported adapters */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
557 |
#define MAX_MTA_REG 128 |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
558 |
u32 mta_shadow[MAX_MTA_REG]; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
559 |
u16 rar_entry_count; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
560 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
561 |
u8 forced_speed_duplex; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
562 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
563 |
bool adaptive_ifs; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
564 |
bool has_fwsm; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
565 |
bool arc_subsystem_valid; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
566 |
bool autoneg; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
567 |
bool autoneg_failed; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
568 |
bool get_link_status; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
569 |
bool in_ifs_mode; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
570 |
bool serdes_has_link; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
571 |
bool tx_pkt_filtering; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
572 |
enum e1000_serdes_link_state serdes_link_state; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
573 |
}; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
574 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
575 |
struct e1000_phy_info { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
576 |
struct e1000_phy_operations ops; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
577 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
578 |
enum e1000_phy_type type; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
579 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
580 |
enum e1000_1000t_rx_status local_rx; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
581 |
enum e1000_1000t_rx_status remote_rx; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
582 |
enum e1000_ms_type ms_type; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
583 |
enum e1000_ms_type original_ms_type; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
584 |
enum e1000_rev_polarity cable_polarity; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
585 |
enum e1000_smart_speed smart_speed; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
586 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
587 |
u32 addr; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
588 |
u32 id; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
589 |
u32 reset_delay_us; /* in usec */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
590 |
u32 revision; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
591 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
592 |
enum e1000_media_type media_type; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
593 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
594 |
u16 autoneg_advertised; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
595 |
u16 autoneg_mask; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
596 |
u16 cable_length; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
597 |
u16 max_cable_length; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
598 |
u16 min_cable_length; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
599 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
600 |
u8 mdix; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
601 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
602 |
bool disable_polarity_correction; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
603 |
bool is_mdix; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
604 |
bool polarity_correction; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
605 |
bool speed_downgraded; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
606 |
bool autoneg_wait_to_complete; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
607 |
}; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
608 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
609 |
struct e1000_nvm_info { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
610 |
struct e1000_nvm_operations ops; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
611 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
612 |
enum e1000_nvm_type type; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
613 |
enum e1000_nvm_override override; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
614 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
615 |
u32 flash_bank_size; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
616 |
u32 flash_base_addr; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
617 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
618 |
u16 word_size; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
619 |
u16 delay_usec; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
620 |
u16 address_bits; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
621 |
u16 opcode_bits; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
622 |
u16 page_size; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
623 |
}; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
624 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
625 |
struct e1000_bus_info { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
626 |
enum e1000_bus_width width; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
627 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
628 |
u16 func; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
629 |
}; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
630 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
631 |
struct e1000_fc_info { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
632 |
u32 high_water; /* Flow control high-water mark */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
633 |
u32 low_water; /* Flow control low-water mark */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
634 |
u16 pause_time; /* Flow control pause timer */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
635 |
u16 refresh_time; /* Flow control refresh timer */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
636 |
bool send_xon; /* Flow control send XON */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
637 |
bool strict_ieee; /* Strict IEEE mode */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
638 |
enum e1000_fc_mode current_mode; /* FC mode in effect */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
639 |
enum e1000_fc_mode requested_mode; /* FC mode requested by caller */ |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
640 |
}; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
641 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
642 |
struct e1000_dev_spec_82571 { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
643 |
bool laa_is_present; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
644 |
u32 smb_counter; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
645 |
}; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
646 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
647 |
struct e1000_dev_spec_80003es2lan { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
648 |
bool mdic_wa_enable; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
649 |
}; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
650 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
651 |
struct e1000_shadow_ram { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
652 |
u16 value; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
653 |
bool modified; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
654 |
}; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
655 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
656 |
#define E1000_ICH8_SHADOW_RAM_WORDS 2048 |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
657 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
658 |
struct e1000_dev_spec_ich8lan { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
659 |
bool kmrn_lock_loss_workaround_enabled; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
660 |
struct e1000_shadow_ram shadow_ram[E1000_ICH8_SHADOW_RAM_WORDS]; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
661 |
bool nvm_k1_enabled; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
662 |
bool eee_disable; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
663 |
u16 eee_lp_ability; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
664 |
}; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
665 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
666 |
struct e1000_hw { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
667 |
struct e1000_adapter *adapter; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
668 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
669 |
void __iomem *hw_addr; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
670 |
void __iomem *flash_address; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
671 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
672 |
struct e1000_mac_info mac; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
673 |
struct e1000_fc_info fc; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
674 |
struct e1000_phy_info phy; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
675 |
struct e1000_nvm_info nvm; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
676 |
struct e1000_bus_info bus; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
677 |
struct e1000_host_mng_dhcp_cookie mng_cookie; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
678 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
679 |
union { |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
680 |
struct e1000_dev_spec_82571 e82571; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
681 |
struct e1000_dev_spec_80003es2lan e80003es2lan; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
682 |
struct e1000_dev_spec_ich8lan ich8lan; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
683 |
} dev_spec; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
684 |
}; |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
685 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
686 |
#include "82571.h" |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
687 |
#include "80003es2lan.h" |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
688 |
#include "ich8lan.h" |
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
689 |
|
afd76ee3aa87
Added all drivers for kernel 3.14.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
690 |
#endif |