aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x.h
diff options
context:
space:
mode:
authorVladislav Zolotarov <vladz@broadcom.com>2010-04-18 21:13:23 -0400
committerDavid S. Miller <davem@davemloft.net>2010-04-19 16:17:06 -0400
commit34f24c7fc095a2d884e634ff430ab0da6f2a0669 (patch)
tree59982427f62ce52d7b5dd6d0393a59f85ff293b8 /drivers/net/bnx2x.h
parent72fd0718332e6514fb9db325e89ffc694bb31f6e (diff)
bnx2x: Use VPD-R V0 entry to display firmware revision
Author: Dmitry Kravkov <dmitry@broadcom.com> Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com> Signed-off-by: Vladislav Zolotarov <vladz@broadcom.com> Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x.h')
-rw-r--r--drivers/net/bnx2x.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/bnx2x.h b/drivers/net/bnx2x.h
index ccef13b41dfa..694c8cd59e09 100644
--- a/drivers/net/bnx2x.h
+++ b/drivers/net/bnx2x.h
@@ -1089,6 +1089,7 @@ struct bnx2x {
1089#define INIT_CSEM_INT_TABLE_DATA(bp) (bp->csem_int_table_data) 1089#define INIT_CSEM_INT_TABLE_DATA(bp) (bp->csem_int_table_data)
1090#define INIT_CSEM_PRAM_DATA(bp) (bp->csem_pram_data) 1090#define INIT_CSEM_PRAM_DATA(bp) (bp->csem_pram_data)
1091 1091
1092 char fw_ver[32];
1092 const struct firmware *firmware; 1093 const struct firmware *firmware;
1093}; 1094};
1094 1095
@@ -1352,6 +1353,9 @@ static inline u32 reg_poll(struct bnx2x *bp, u32 reg, u32 expected, int ms,
1352#define PXP2_REG_PXP2_INT_STS PXP2_REG_PXP2_INT_STS_0 1353#define PXP2_REG_PXP2_INT_STS PXP2_REG_PXP2_INT_STS_0
1353#endif 1354#endif
1354 1355
1356#define BNX2X_VPD_LEN 128
1357#define VENDOR_ID_LEN 4
1358
1355/* MISC_REG_RESET_REG - this is here for the hsi to work don't touch */ 1359/* MISC_REG_RESET_REG - this is here for the hsi to work don't touch */
1356 1360
1357#endif /* bnx2x.h */ 1361#endif /* bnx2x.h */