diff options
author | Hariprasad Shenai <hariprasad@chelsio.com> | 2016-04-26 20:10:29 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-26 13:23:58 -0400 |
commit | ddc7740d9a7c7e61650309a81037f12d5cfad88e (patch) | |
tree | 92152ce39dddf1c739e3eb66b1896d0a9fdfc745 /drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | |
parent | 23853a0a9a7621922a21759eeed8c5bc09c71c54 (diff) |
cxgb4: Decode link down reason code obtained from firmware
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4/cxgb4.h')
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h b/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h index 911fe11d32c6..6af5242e6d21 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h +++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h @@ -396,6 +396,7 @@ struct link_config { unsigned char fc; /* actual link flow control */ unsigned char autoneg; /* autonegotiating? */ unsigned char link_ok; /* link up? */ + unsigned char link_down_rc; /* link down reason */ }; #define FW_LEN16(fw_struct) FW_CMD_LEN16_V(sizeof(fw_struct) / 16) |