From nobody Thu Mar 07 19:09:51 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TrJlM3f8Cz5DdKx; Thu, 7 Mar 2024 19:09:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TrJlM1nDVz4YQZ; Thu, 7 Mar 2024 19:09:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709838591; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=d3E4p2G2gt+HMzvZBmGOEOgivQgixruoFp6CBMMOcy0=; b=cow06qOrfV+PQudhMUxYk+7TXSxklAE2zWPNkr8+imSyfcjJqQEwn0QhQSolms1kwBaA/t ab+tNycxjwMT8kD5pKlzU8uN7XRuehOsllQI82BrPR3YUTsdgAnWHUBUCOrXMX+15XTP3I nuMgARdlcgpzCtHWD0ZkApwnXIdAHIvQIWOxBv4kLQw+D5p4biAQzQINQHLvN+WVBouzDd MCSBVIKVYiMLVMW+jS3SE/aksrz+8ANRyUadGUvRhosDxeILeCs89DE6FTi7EnKoeeVxns 1+j5QHfwRQEuuwhRb2LgaDvqm3gP2IwlKTd8QuEPIxTuZEQDnqXyvnDBjyWNdQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709838591; a=rsa-sha256; cv=none; b=Mv6k9GsyJKMDiX8jiE0v5Rh8LaIwpB8S/6WHqOys7MkGUbn1YYxi8+t82hvARji5eg1uxH dtZ8sELGhv9JjlwgxPodB+n6HEUCKz0BvkDHe3COAahy7WJKmmOPLrp9oDtk5cOdBeo4/0 oGLg1//WazD/60L6zQXN9fjNsLE+EaxZC4LsMKt00Sn72ZO15FlEIPCf266dT311CaPVLS rLrKR32RyfluKrSebQT7aIa92ee3kQQVK8x7fAIRVIA3QV1p9Qaqy5KEQb2Z8nRA855Qmp OlIjg3+pCICvr3SL0H+DWNv0dChNFjYj4op31vXb5DlUYVRAOI/VFaQQuXXIrg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709838591; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=d3E4p2G2gt+HMzvZBmGOEOgivQgixruoFp6CBMMOcy0=; b=MCCV779scym0PwinYdll4MOsj0kHv3mf/WTNO02OgoPGs7qGfwtKCW+yvVnQyXWWx96Rst gv+Rx/DP/O9WW/V3SPn3YZZL1LjpB9YJ2JMubmeGJMUbdRpa9hQYlWwo+k8EwLJ0SVqwnM E+18ZD0sA9ckj7J7xnismkhdq+eM86u8H+OABO5vmaLdFRddqU6in3Gt4FeHGvhvc7SAf7 oL8D6cOawiDYbBp8y78PIwEGy8HVmhXMaIPN5/PGRoPPHOqoOznK0vam3/GOm8lIN4PNgd KGx5HBtNHt6Eyo6ChotbhIRv6I9iiUcQHbYlpIX/nAOIXd7+YhxoRXbg9uH3lw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TrJlM1NkvzmcZ; Thu, 7 Mar 2024 19:09:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 427J9p5L031085; Thu, 7 Mar 2024 19:09:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 427J9pKk031082; Thu, 7 Mar 2024 19:09:51 GMT (envelope-from git) Date: Thu, 7 Mar 2024 19:09:51 GMT Message-Id: <202403071909.427J9pKk031082@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Sumit Saxena Subject: git: c5108e37fbf9 - main - if_bnxt: Incorrect Labeling of Supported Medium in `ifconfig -m ` Command List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ssaxena X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c5108e37fbf93a538c76325766b8a3d76a72f119 Auto-Submitted: auto-generated The branch main has been updated by ssaxena: URL: https://cgit.FreeBSD.org/src/commit/?id=c5108e37fbf93a538c76325766b8a3d76a72f119 commit c5108e37fbf93a538c76325766b8a3d76a72f119 Author: Chandrakanth Patil AuthorDate: 2024-03-06 13:14:27 +0000 Commit: Sumit Saxena CommitDate: 2024-03-07 19:09:13 +0000 if_bnxt: Incorrect Labeling of Supported Medium in `ifconfig -m ` Command The 1G speed on DAC medium is incorrectly labeled as 1000baseT, it should be 1000baseCX. Updated the label accordingly. Reviewed by: imp Approved by: imp Differential revision: https://reviews.freebsd.org/D42952 --- sys/dev/bnxt/if_bnxt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/bnxt/if_bnxt.c b/sys/dev/bnxt/if_bnxt.c index 8439504af49a..6d447e8070d5 100644 --- a/sys/dev/bnxt/if_bnxt.c +++ b/sys/dev/bnxt/if_bnxt.c @@ -2890,7 +2890,7 @@ bnxt_add_media_types(struct bnxt_softc *softc) BNXT_IFMEDIA_ADD(supported, SPEEDS_40GB, IFM_40G_CR4); BNXT_IFMEDIA_ADD(supported, SPEEDS_25GB, IFM_25G_CR); BNXT_IFMEDIA_ADD(supported, SPEEDS_10GB, IFM_10G_CR1); - BNXT_IFMEDIA_ADD(supported, SPEEDS_1GB, IFM_1000_T); + BNXT_IFMEDIA_ADD(supported, SPEEDS_1GB, IFM_1000_CX); break; case HWRM_PORT_PHY_QCFG_OUTPUT_PHY_TYPE_100G_BASELR4: