alistair23-linux/drivers/net/ethernet/emulex/benet
Suresh Reddy 25848c9015 be2net: use PCI MMIO read instead of config read for errors
When an EEH error occurs, the device/slot is disconnected. This condition
is more reliably detected (i.e., returns all ones) with an MMIO read rather
than a config read -- especially on power platforms.

Hence, this patch fixes EEH error detection by replacing config reads with
MMIO reads for reading the error registers. The error registers in
Skyhawk-R/BE2/BE3 are accessible both via the config space and the
PCICFG (BAR0) memory space.

Reported-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Suresh Reddy <Suresh.Reddy@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-03-20 13:25:51 -04:00
..
be.h be2net: use PCI MMIO read instead of config read for errors 2015-03-20 13:25:51 -04:00
be_cmds.c be2net: restrict MODIFY_EQ_DELAY cmd to a max of 8 EQs 2015-03-20 13:25:51 -04:00
be_cmds.h be2net: Prevent VFs from enabling VLAN promiscuous mode 2015-03-20 13:25:51 -04:00
be_ethtool.c be2net: fix failure case in setting flow control 2015-01-24 17:22:42 -08:00
be_hw.h be2net: avoid unncessary swapping of fields in eth_tx_wrb 2015-02-07 22:50:59 -08:00
be_main.c be2net: use PCI MMIO read instead of config read for errors 2015-03-20 13:25:51 -04:00
be_roce.c be2net: add blank line after declarations 2014-09-22 15:01:08 -04:00
be_roce.h be2net: Issue shutdown event to ocrdma driver 2014-08-01 15:07:36 -07:00
Kconfig be2net: fix build dependency on VxLAN 2014-04-01 16:25:51 -04:00
Makefile