Skip to content

Commit 62aad36

Browse files
Kalesh APkuba-moo
authored andcommitted
bnxt_en: Fix typo in PCI id to device description string mapping
Fix 57502 and 57508 NPAR description string entries. The typos caused these devices to not match up with lspci output. Fixes: 49c9842 ("bnxt_en: Add PCI IDs for 57500 series NPAR devices.") Reviewed-by: Pavan Chebbi <[email protected]> Signed-off-by: Kalesh AP <[email protected]> Signed-off-by: Michael Chan <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 83714dc commit 62aad36

File tree

1 file changed

+4
-4
lines changed
  • drivers/net/ethernet/broadcom/bnxt

1 file changed

+4
-4
lines changed

drivers/net/ethernet/broadcom/bnxt/bnxt.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,12 +175,12 @@ static const struct pci_device_id bnxt_pci_tbl[] = {
175175
{ PCI_VDEVICE(BROADCOM, 0x1750), .driver_data = BCM57508 },
176176
{ PCI_VDEVICE(BROADCOM, 0x1751), .driver_data = BCM57504 },
177177
{ PCI_VDEVICE(BROADCOM, 0x1752), .driver_data = BCM57502 },
178-
{ PCI_VDEVICE(BROADCOM, 0x1800), .driver_data = BCM57508_NPAR },
178+
{ PCI_VDEVICE(BROADCOM, 0x1800), .driver_data = BCM57502_NPAR },
179179
{ PCI_VDEVICE(BROADCOM, 0x1801), .driver_data = BCM57504_NPAR },
180-
{ PCI_VDEVICE(BROADCOM, 0x1802), .driver_data = BCM57502_NPAR },
181-
{ PCI_VDEVICE(BROADCOM, 0x1803), .driver_data = BCM57508_NPAR },
180+
{ PCI_VDEVICE(BROADCOM, 0x1802), .driver_data = BCM57508_NPAR },
181+
{ PCI_VDEVICE(BROADCOM, 0x1803), .driver_data = BCM57502_NPAR },
182182
{ PCI_VDEVICE(BROADCOM, 0x1804), .driver_data = BCM57504_NPAR },
183-
{ PCI_VDEVICE(BROADCOM, 0x1805), .driver_data = BCM57502_NPAR },
183+
{ PCI_VDEVICE(BROADCOM, 0x1805), .driver_data = BCM57508_NPAR },
184184
{ PCI_VDEVICE(BROADCOM, 0xd802), .driver_data = BCM58802 },
185185
{ PCI_VDEVICE(BROADCOM, 0xd804), .driver_data = BCM58804 },
186186
#ifdef CONFIG_BNXT_SRIOV

0 commit comments

Comments
 (0)