]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4: Detect and display firmware reported errors
authorHariprasad Shenai <hariprasad@chelsio.com>
Mon, 1 Sep 2014 14:24:58 +0000 (19:54 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Sep 2014 06:00:41 +0000 (23:00 -0700)
commitd8e72c012ea823dd896136bbaca7b028e4aab38a
tree4520b49b870ee9b1c25ce2d6df88ed5d5510563a
parent58026d26935a8da96fa3c85d6fb562066d36c8d0
cxgb4: Detect and display firmware reported errors

The adapter firmware can indicate error conditions to the host.
If the firmware has indicated an error, print out the reason for
the firmware error.

Based on original work by Casey Leedom <leedom@chelsio.com>

Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h