be2net: Log a kernel message when UE is detected in BE & Skyhawk
authorSomnath Kotur <somnath.kotur@emulex.com>
Wed, 12 Feb 2014 10:37:54 +0000 (16:07 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Feb 2014 23:19:22 +0000 (18:19 -0500)
commiteb0eecc136c917053c2e1b7eac8b8e8e2ebb3e6c
treed56a00bb8dcbf1c1780e3eabe951a8e93df6a027
parent886ab57c848892ebdddabca9990415176cf90679
be2net: Log a kernel message when UE is detected in BE & Skyhawk

This patch logs a kernel message when a HW error(SLIPORT_ERROR in Lancer and UE
in BEx/Skyhawk) is detected. The log message for BE3 was missing earlier.
This patch also refactors the code by segregating error-detection and reporting
code for Lancer and BEx/SH.

Signed-off-by: Somnath Kotur <somnath.kotur@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c