From patchwork Wed Mar 29 01:30:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Chan X-Patchwork-Id: 13191822 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0B435C761AF for ; Wed, 29 Mar 2023 01:30:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229484AbjC2Bai (ORCPT ); Tue, 28 Mar 2023 21:30:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229786AbjC2Bah (ORCPT ); Tue, 28 Mar 2023 21:30:37 -0400 Received: from mail-qv1-xf2c.google.com (mail-qv1-xf2c.google.com [IPv6:2607:f8b0:4864:20::f2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E38D2700 for ; Tue, 28 Mar 2023 18:30:36 -0700 (PDT) Received: by mail-qv1-xf2c.google.com with SMTP id x8so10585551qvr.9 for ; Tue, 28 Mar 2023 18:30:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1680053435; h=mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=6DhcSilinZ1LtTGTCjdzprrAJKc/11NK/YGuLnTWbMU=; b=bOew8CLjV269QsAeSefvznnMUs7wwaZ/lfDrFZ2SUNGID0LjjEunhpPaNjg43WTyBf IVCjPbNWF9yS8Zfk+WqjPEoMmFa2xjbkkg0ikKYVOxw5EgMApCcHXGYMaej/e7SOK6Vg O06O0Rm33Vp48ap45ocmguT34WzK6Pw2DR8Cw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680053435; h=mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=6DhcSilinZ1LtTGTCjdzprrAJKc/11NK/YGuLnTWbMU=; b=BPOeL/9xjSGCwfMZfqKxARYwb7WJBsnEkiUJvPnlf1p1V37B95QzV0OY7y1Xig2zAO 62rSDhBWwsCKBe9vziARX8sm/mR5Nu+zKLAjOhhkAe+LiLOVieCqkvkkgsxv5PN0kqFk 4qPzlZ0hSTXEDjxJYJk9T2uCgUGHdSp0OB9HxBYMGoCO61veYeaCHTjRf4U/tGwi0aoW vdrxj1eohaLGMx5/nElxxvQZnnki4s4nktfoh8Yh5BkvddIot69z0D7PFg+KHUBam08e g/Uj53RxO5Sy5k5ERgVKy7Pr1uIA/6YOtuEzvsos+tpJj9dCScAUGBFXOSoEU0lnQ4d7 63Ew== X-Gm-Message-State: AAQBX9dWg/nToKAlzHrYC1c9dQvjmSvUb5uAG3H32fyfVqCBBEJSfCzq P/2eAcXmkJ9tV665/dw6aJSL9TbtpfVHdRpSoSY= X-Google-Smtp-Source: AKy350YnfAAULKZOPMG0lxdKBxcUOAGWzX/aS8IjZj/PKLw9ZGO09GB8/vZfqXu+cyZDQYFJe/iueg== X-Received: by 2002:ad4:5c4c:0:b0:5b2:fb2:4b1d with SMTP id a12-20020ad45c4c000000b005b20fb24b1dmr30893912qva.12.1680053434974; Tue, 28 Mar 2023 18:30:34 -0700 (PDT) Received: from lvnvda1597.lvn.broadcom.net ([192.19.161.250]) by smtp.gmail.com with ESMTPSA id l15-20020ad4408f000000b005dd8b9345b0sm4223402qvp.72.2023.03.28.18.30.33 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Mar 2023 18:30:34 -0700 (PDT) From: Michael Chan To: davem@davemloft.net Cc: netdev@vger.kernel.org, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, gospo@broadcom.com, Kalesh AP , Pavan Chebbi Subject: [PATCH net 2/3] bnxt_en: Fix typo in PCI id to device description string mapping Date: Tue, 28 Mar 2023 18:30:20 -0700 Message-Id: <20230329013021.5205-3-michael.chan@broadcom.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20230329013021.5205-1-michael.chan@broadcom.com> References: <20230329013021.5205-1-michael.chan@broadcom.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org From: Kalesh AP Fix 57502 and 57508 NPAR description string entries. The typos caused these devices to not match up with lspci output. Fixes: 49c98421e6ab ("bnxt_en: Add PCI IDs for 57500 series NPAR devices.") Reviewed-by: Pavan Chebbi Signed-off-by: Kalesh AP Signed-off-by: Michael Chan Reviewed-by: Simon Horman --- drivers/net/ethernet/broadcom/bnxt/bnxt.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt.c b/drivers/net/ethernet/broadcom/bnxt/bnxt.c index e2e2c986c82b..c23e3b397bcf 100644 --- a/drivers/net/ethernet/broadcom/bnxt/bnxt.c +++ b/drivers/net/ethernet/broadcom/bnxt/bnxt.c @@ -175,12 +175,12 @@ static const struct pci_device_id bnxt_pci_tbl[] = { { PCI_VDEVICE(BROADCOM, 0x1750), .driver_data = BCM57508 }, { PCI_VDEVICE(BROADCOM, 0x1751), .driver_data = BCM57504 }, { PCI_VDEVICE(BROADCOM, 0x1752), .driver_data = BCM57502 }, - { PCI_VDEVICE(BROADCOM, 0x1800), .driver_data = BCM57508_NPAR }, + { PCI_VDEVICE(BROADCOM, 0x1800), .driver_data = BCM57502_NPAR }, { PCI_VDEVICE(BROADCOM, 0x1801), .driver_data = BCM57504_NPAR }, - { PCI_VDEVICE(BROADCOM, 0x1802), .driver_data = BCM57502_NPAR }, - { PCI_VDEVICE(BROADCOM, 0x1803), .driver_data = BCM57508_NPAR }, + { PCI_VDEVICE(BROADCOM, 0x1802), .driver_data = BCM57508_NPAR }, + { PCI_VDEVICE(BROADCOM, 0x1803), .driver_data = BCM57502_NPAR }, { PCI_VDEVICE(BROADCOM, 0x1804), .driver_data = BCM57504_NPAR }, - { PCI_VDEVICE(BROADCOM, 0x1805), .driver_data = BCM57502_NPAR }, + { PCI_VDEVICE(BROADCOM, 0x1805), .driver_data = BCM57508_NPAR }, { PCI_VDEVICE(BROADCOM, 0xd802), .driver_data = BCM58802 }, { PCI_VDEVICE(BROADCOM, 0xd804), .driver_data = BCM58804 }, #ifdef CONFIG_BNXT_SRIOV