forked from Minki/linux
bnxt_en: Add chip IDs for 57452 and 57454 chips.
Fix BNXT_CHIP_NUM_5645X() to include 57452 and 56454 chip IDs, so that these chips will be properly classified as P4 chips to take advantage of the P4 fixes and features. Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
This commit is contained in:
parent
ab44081fef
commit
fb4cd81e4c
@ -1443,6 +1443,8 @@ struct bnxt {
|
||||
#define CHIP_NUM_57414L 0x16db
|
||||
|
||||
#define CHIP_NUM_5745X 0xd730
|
||||
#define CHIP_NUM_57452 0xc452
|
||||
#define CHIP_NUM_57454 0xc454
|
||||
|
||||
#define CHIP_NUM_57508 0x1750
|
||||
#define CHIP_NUM_57504 0x1751
|
||||
@ -1475,7 +1477,10 @@ struct bnxt {
|
||||
((chip_num) == CHIP_NUM_58700)
|
||||
|
||||
#define BNXT_CHIP_NUM_5745X(chip_num) \
|
||||
((chip_num) == CHIP_NUM_5745X)
|
||||
((chip_num) == CHIP_NUM_5745X || \
|
||||
(chip_num) == CHIP_NUM_57452 || \
|
||||
(chip_num) == CHIP_NUM_57454)
|
||||
|
||||
|
||||
#define BNXT_CHIP_NUM_57X0X(chip_num) \
|
||||
(BNXT_CHIP_NUM_5730X(chip_num) || BNXT_CHIP_NUM_5740X(chip_num))
|
||||
|
Loading…
Reference in New Issue
Block a user