Skip to content

Commit 62aad36

Browse files
kaleshap86kuba-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 <pavan.chebbi@broadcom.com> Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Reviewed-by: Simon Horman <simon.horman@corigine.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 83714dc commit 62aad36

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • drivers/net/ethernet/broadcom/bnxt

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)