diff options
author | Ajit Khaparde <ajitk@serverengines.com> | 2010-07-29 06:16:33 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-30 23:59:05 -0700 |
commit | 7c185276e8d820fa50a678c61abd611ee599920e (patch) | |
tree | 5c8b5ac0e55eb2bafca470da939177ecc52a9755 /drivers/net/benet/be_cmds.h | |
parent | 6dedec818ac2a3783581a761b0680e713f78afde (diff) | |
download | kernel_samsung_smdk4412-7c185276e8d820fa50a678c61abd611ee599920e.zip kernel_samsung_smdk4412-7c185276e8d820fa50a678c61abd611ee599920e.tar.gz kernel_samsung_smdk4412-7c185276e8d820fa50a678c61abd611ee599920e.tar.bz2 |
be2net: add code to dump registers for debug
when the BE device becomes unresponsive, dump the registers to help debugging
Signed-off-by: Somnath K <somnathk@serverengines.com>
Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/benet/be_cmds.h')
-rw-r--r-- | drivers/net/benet/be_cmds.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/benet/be_cmds.h b/drivers/net/benet/be_cmds.h index 036531c..bdc10a2 100644 --- a/drivers/net/benet/be_cmds.h +++ b/drivers/net/benet/be_cmds.h @@ -992,4 +992,5 @@ extern int be_cmd_set_loopback(struct be_adapter *adapter, u8 port_num, extern int be_cmd_get_phy_info(struct be_adapter *adapter, struct be_dma_mem *cmd); extern int be_cmd_set_qos(struct be_adapter *adapter, u32 bps, u32 domain); +extern void be_dump_ue(struct be_adapter *adapter); |