diff options
author | Bruce Allan <bruce.w.allan@intel.com> | 2010-05-10 15:02:12 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-12 23:31:13 -0700 |
commit | a305595b127fdbe7ab5ba458f7ee470a82a3b82c (patch) | |
tree | 3f771c91aaa998e296391a694fb29a5a2841651c /drivers/net/e1000e/hw.h | |
parent | a65a4a0d51eaf9e5715dc24f8820c8689c3719a5 (diff) | |
download | kernel_samsung_smdk4412-a305595b127fdbe7ab5ba458f7ee470a82a3b82c.zip kernel_samsung_smdk4412-a305595b127fdbe7ab5ba458f7ee470a82a3b82c.tar.gz kernel_samsung_smdk4412-a305595b127fdbe7ab5ba458f7ee470a82a3b82c.tar.bz2 |
e1000e: move settting of flow control refresh timer to link setup code
The flow control refresh timer value needs to be saved off so that it can
be programmed into the approrpiate register when applicable but without a
reset, e.g. when changing flow control parameters via ethtool.
Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/e1000e/hw.h')
-rw-r--r-- | drivers/net/e1000e/hw.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/e1000e/hw.h b/drivers/net/e1000e/hw.h index 287ee95..fa314b4 100644 --- a/drivers/net/e1000e/hw.h +++ b/drivers/net/e1000e/hw.h @@ -901,6 +901,7 @@ struct e1000_fc_info { u32 high_water; /* Flow control high-water mark */ u32 low_water; /* Flow control low-water mark */ u16 pause_time; /* Flow control pause timer */ + u16 refresh_time; /* Flow control refresh timer */ bool send_xon; /* Flow control send XON */ bool strict_ieee; /* Strict IEEE mode */ enum e1000_fc_mode current_mode; /* FC mode in effect */ |