linux/drivers/net/e1000e
Bruce Allan a65a4a0d51 e1000e: fix checks for manageability enabled and management pass-through
The mac->arc_subsystem was being incorrectly used to flag whether or not
manageability was enabled when it should only be used to state whether the
ARC (Host interface) subsystem is available on a particular MAC _and_ only
valid when any manageability is enabled. The ARC subsystem is currently
only available on 80003es2lan and 82573 parts supported by the driver.

A new flag, has_fwsm, is introduced to be used when checking if
manageability is enabled but only on parts that acutally have an FWSM
register. While the above parts have an FWSM register, there are other
parts that have FWSM but do not have support for the ARC subsystem,
namely 82571/2 and ICHx/PCH.

And then there are parts that have manageability, but do not have either
FWSM register or support for the ARC subsystem - these are 82574 and 82583.

For 80003es2lan, 82571/2/3 and ICH/PCH parts, this patch makes no
functional changes, it only corrects the usage of the manageability flags.
For 82574 and 82583, it fixes the incorrect accesses of the non-existent
FWSM register and ARC subsystem as well as corrects the check for
management pass-through.

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>
2010-05-12 23:31:13 -07:00
..
82571.c e1000e: fix checks for manageability enabled and management pass-through 2010-05-12 23:31:13 -07:00
defines.h e1000e: fix checks for manageability enabled and management pass-through 2010-05-12 23:31:13 -07:00
e1000.h e1000e: save skb counts in TX to avoid cache misses 2010-05-05 21:11:25 -07:00
es2lan.c e1000e: fix checks for manageability enabled and management pass-through 2010-05-12 23:31:13 -07:00
ethtool.c e1000e: bad state after running ethtool diagnostics with AMT enabled 2010-05-12 23:31:09 -07:00
hw.h e1000e: fix checks for manageability enabled and management pass-through 2010-05-12 23:31:13 -07:00
ich8lan.c e1000e: fix checks for manageability enabled and management pass-through 2010-05-12 23:31:13 -07:00
lib.c e1000e: fix checks for manageability enabled and management pass-through 2010-05-12 23:31:13 -07:00
Makefile e1000e: reformat comment blocks, cosmetic changes only 2008-03-28 22:14:56 -04:00
netdev.c e1000e: s/w initiated LSC MSI-X interrupts not generated; no transmit 2010-05-12 23:31:10 -07:00
param.c e1000e: use static params to save stack space (part 2) 2010-05-12 23:31:09 -07:00
phy.c e1000e: Incorrect function pointer set for force_speed_duplex on 82577 2010-05-12 23:31:12 -07:00