aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/igb/e1000_hw.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/igb/e1000_hw.h')
-rw-r--r--drivers/net/igb/e1000_hw.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/drivers/net/igb/e1000_hw.h b/drivers/net/igb/e1000_hw.h
index cb8db78b1a05..27153e8d7b16 100644
--- a/drivers/net/igb/e1000_hw.h
+++ b/drivers/net/igb/e1000_hw.h
@@ -54,6 +54,11 @@ struct e1000_hw;
54#define E1000_DEV_ID_82580_SERDES 0x1510 54#define E1000_DEV_ID_82580_SERDES 0x1510
55#define E1000_DEV_ID_82580_SGMII 0x1511 55#define E1000_DEV_ID_82580_SGMII 0x1511
56#define E1000_DEV_ID_82580_COPPER_DUAL 0x1516 56#define E1000_DEV_ID_82580_COPPER_DUAL 0x1516
57#define E1000_DEV_ID_82580_QUAD_FIBER 0x1527
58#define E1000_DEV_ID_DH89XXCC_SGMII 0x0438
59#define E1000_DEV_ID_DH89XXCC_SERDES 0x043A
60#define E1000_DEV_ID_DH89XXCC_BACKPLANE 0x043C
61#define E1000_DEV_ID_DH89XXCC_SFP 0x0440
57#define E1000_DEV_ID_I350_COPPER 0x1521 62#define E1000_DEV_ID_I350_COPPER 0x1521
58#define E1000_DEV_ID_I350_FIBER 0x1522 63#define E1000_DEV_ID_I350_FIBER 0x1522
59#define E1000_DEV_ID_I350_SERDES 0x1523 64#define E1000_DEV_ID_I350_SERDES 0x1523
@@ -243,6 +248,10 @@ struct e1000_hw_stats {
243 u64 scvpc; 248 u64 scvpc;
244 u64 hrmpc; 249 u64 hrmpc;
245 u64 doosync; 250 u64 doosync;
251 u64 o2bgptc;
252 u64 o2bspc;
253 u64 b2ospc;
254 u64 b2ogprc;
246}; 255};
247 256
248struct e1000_phy_stats { 257struct e1000_phy_stats {
@@ -327,6 +336,8 @@ struct e1000_nvm_operations {
327 s32 (*read)(struct e1000_hw *, u16, u16, u16 *); 336 s32 (*read)(struct e1000_hw *, u16, u16, u16 *);
328 void (*release)(struct e1000_hw *); 337 void (*release)(struct e1000_hw *);
329 s32 (*write)(struct e1000_hw *, u16, u16, u16 *); 338 s32 (*write)(struct e1000_hw *, u16, u16, u16 *);
339 s32 (*update)(struct e1000_hw *);
340 s32 (*validate)(struct e1000_hw *);
330}; 341};
331 342
332struct e1000_info { 343struct e1000_info {
@@ -413,7 +424,6 @@ struct e1000_phy_info {
413 424
414struct e1000_nvm_info { 425struct e1000_nvm_info {
415 struct e1000_nvm_operations ops; 426 struct e1000_nvm_operations ops;
416
417 enum e1000_nvm_type type; 427 enum e1000_nvm_type type;
418 enum e1000_nvm_override override; 428 enum e1000_nvm_override override;
419 429
@@ -479,6 +489,7 @@ struct e1000_mbx_info {
479struct e1000_dev_spec_82575 { 489struct e1000_dev_spec_82575 {
480 bool sgmii_active; 490 bool sgmii_active;
481 bool global_device_reset; 491 bool global_device_reset;
492 bool eee_disable;
482}; 493};
483 494
484struct e1000_hw { 495struct e1000_hw {