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
..
2015-03-10 13:42:00 -04:00
2015-03-13 12:43:25 -04:00
2015-02-26 04:54:03 -08:00
2014-12-30 18:34:23 -05:00
2015-02-05 16:07:06 -08:00
2014-11-11 18:12:32 -05:00
2015-01-11 21:44:55 -05:00
2014-12-22 16:29:03 -05:00
2014-12-22 16:29:03 -05:00