diff options
author | Bruce Allan <bruce.w.allan@intel.com> | 2010-01-07 19:31:35 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-08 11:35:30 +0300 |
commit | f464ba87fe7f346e270239354eb0d38f7a3b3e6b (patch) | |
tree | 0772d25c99b76181496ebd496ade3b17d29d507b /drivers/net/e1000e/es2lan.c | |
parent | 29477e249f5a28444c556bbb816f3af2b6f84412 (diff) | |
download | linux-f464ba87fe7f346e270239354eb0d38f7a3b3e6b.tar.xz |
e1000e: perform 10/100 adaptive IFS only on parts that support it
Adaptive IFS which involves writing to the Adaptive IFS Throttle register
was being done for all devices supported by the driver even though it is
not supported (i.e. the register doesn't even exist) on some devices. The
feature is supported on 8257x/82583 and ICH/PCH based devices, but not
on ESB2.
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/es2lan.c')
-rw-r--r-- | drivers/net/e1000e/es2lan.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/e1000e/es2lan.c b/drivers/net/e1000e/es2lan.c index 3028f23da891..e2aa3b788564 100644 --- a/drivers/net/e1000e/es2lan.c +++ b/drivers/net/e1000e/es2lan.c @@ -224,6 +224,8 @@ static s32 e1000_init_mac_params_80003es2lan(struct e1000_adapter *adapter) /* Set if manageability features are enabled. */ mac->arc_subsystem_valid = (er32(FWSM) & E1000_FWSM_MODE_MASK) ? true : false; + /* Adaptive IFS not supported */ + mac->adaptive_ifs = false; /* check for link */ switch (hw->phy.media_type) { |