mirror of https://github.com/ipxe/ipxe.git
[bnxt] Add support for additional chip IDs
Add additional chip IDs that can be recognized as part of the thor family. Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/1128/head
parent
2eea04c02c
commit
de8a0821c7
|
@ -722,7 +722,9 @@ static int bnxt_hwrm_ver_get ( struct bnxt *bp )
|
||||||
( resp->dev_caps_cfg & SHORT_CMD_REQUIRED ) )
|
( resp->dev_caps_cfg & SHORT_CMD_REQUIRED ) )
|
||||||
FLAG_SET ( bp->flags, BNXT_FLAG_HWRM_SHORT_CMD_SUPP );
|
FLAG_SET ( bp->flags, BNXT_FLAG_HWRM_SHORT_CMD_SUPP );
|
||||||
bp->hwrm_max_ext_req_len = resp->max_ext_req_len;
|
bp->hwrm_max_ext_req_len = resp->max_ext_req_len;
|
||||||
if ( bp->chip_num == CHIP_NUM_57500 )
|
if ( ( bp->chip_num == CHIP_NUM_57508 ) ||
|
||||||
|
( bp->chip_num == CHIP_NUM_57504 ) ||
|
||||||
|
( bp->chip_num == CHIP_NUM_57502 ) )
|
||||||
bp->thor = 1;
|
bp->thor = 1;
|
||||||
dbg_fw_ver ( resp, bp->hwrm_cmd_timeout );
|
dbg_fw_ver ( resp, bp->hwrm_cmd_timeout );
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
|
|
|
@ -868,4 +868,6 @@ struct bnxt {
|
||||||
FUNC_VF_CFG_REQ_ENABLES_ASYNC_EVENT_CR | \
|
FUNC_VF_CFG_REQ_ENABLES_ASYNC_EVENT_CR | \
|
||||||
FUNC_VF_CFG_REQ_ENABLES_DFLT_MAC_ADDR)
|
FUNC_VF_CFG_REQ_ENABLES_DFLT_MAC_ADDR)
|
||||||
|
|
||||||
#define CHIP_NUM_57500 0x1750
|
#define CHIP_NUM_57508 0x1750
|
||||||
|
#define CHIP_NUM_57504 0x1751
|
||||||
|
#define CHIP_NUM_57502 0x1752
|
||||||
|
|
Loading…
Reference in New Issue