From nobody Sun Feb 25 07:47:23 2024 X-Original-To: dev-commits-src-all@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 4TjG6z6W2cz5BvXL; Sun, 25 Feb 2024 07:47:23 +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 4TjG6z4RLPz4Qk0; Sun, 25 Feb 2024 07:47:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708847243; 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=JtU4tbo4+jKm0ox1gtn1Rq4MGpKvPHForsln3/zbQPM=; b=nUp4Xb2yIIZutprszDIJ0MHpABVmR/Ug8kS5hfyAaFYtstBv2Tvce5i5C/De4hKNxST6VG YLZxH0BM8DSHKAHVTyYWfG3XzGegzvqVn2Cf3IL0lMs+7Y0Qp2oAXUrUDufCD96iWsUzwB qrL3Bd1zMJV19m+3T9eEzyRaj+lwV8l19eC9xSM+WtmAcnWQnSLF2kQh3SpOcEVcoiqVB4 bKcJ4hE9/wGUf7nk9OWuxu3VdqL4bzz5PU+WoY1KvFGr8cEGtL+263g2nvLvC0hMdmGPXw CHYCW39AByrEgafkGfccAdGAcofBm87dWhfDJVS5k7Wwxh/eqPEWY7RrzhhbSA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708847243; a=rsa-sha256; cv=none; b=Zjmy78xQGb/hG+eT390ATeMMOiWSOwzGKFV+pvVeD0htH2lFT0CxM/pjur9Ne7Y124okij rQUDGSn3tVLEJAVHXPZTJXqZNaDjnUWHgjrwFYHYisSjQo8Ufyx7VcPh8V8aHOCK4+WWG+ jp+Z12zTG7dNPmAZGUmRXt3n3AZWOERICcW4gp3PQWqOP1or2fTHKVuHjZoQyANTZiIsT6 RaSVejK92NiKCwjeVQhUBDuAijgj560X7OX9jc/cRkJyeKSqycjcV1lXR4gk4hUBjcPLhY 75dueeZeNdTt1k5fP2TjdlO6NsxvpbYDO6QcysH9en/sqzIhjI14GjLxmotM0Q== 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=1708847243; 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=JtU4tbo4+jKm0ox1gtn1Rq4MGpKvPHForsln3/zbQPM=; b=XBdqNmLBZV4QtL9bYvA70yWWNQdoLDS1w2TUhMnw78Igu0rZZHMrTY0UsOAAGSOMcw49Nb FJSFlNQq5Mv/JVarIrwvGojwxtGlZ2e5w8IHtqns802z2lUXV6CqiWljq776T+WjXdM/IM ymh/MscHaus09WBm5jRkA6g+YqLTZIQChLZwgzwEH+fVlXvf7knjtMsS+3GBexZBLdlZwy MIFCwgW2/Irb/Tv3xcrrOKjMqTob3zCjdugNBzR7iwvuULtmWJY0VNeERZiV/eeW2g0/IR bSxuVYNWv2vcEFd+A0hXuNTFP2lAx8Pc1sJBpjHopX3GyKY5wnT5zs0lslu//Q== 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 4TjG6z3QxJzbkP; Sun, 25 Feb 2024 07:47:23 +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 41P7lNv2074726; Sun, 25 Feb 2024 07:47:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41P7lNVB074723; Sun, 25 Feb 2024 07:47:23 GMT (envelope-from git) Date: Sun, 25 Feb 2024 07:47:23 GMT Message-Id: <202402250747.41P7lNVB074723@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Gordon Bergling Subject: git: eeee62ac1eb7 - stable/12 - bge(4): Fix some typos in source code comments List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: gbe X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: eeee62ac1eb756993cd6be72d6dbf2337048f3df Auto-Submitted: auto-generated The branch stable/12 has been updated by gbe: URL: https://cgit.FreeBSD.org/src/commit/?id=eeee62ac1eb756993cd6be72d6dbf2337048f3df commit eeee62ac1eb756993cd6be72d6dbf2337048f3df Author: Gordon Bergling AuthorDate: 2024-02-22 19:38:50 +0000 Commit: Gordon Bergling CommitDate: 2024-02-25 07:46:43 +0000 bge(4): Fix some typos in source code comments - s/firwmare/firmware/ - s/recue/reduce/ - s/throughpout/throughput/ - s/hardwares/hardware/ Obtainted from: NetBSD (cherry picked from commit d646dca3bc1bbd3bfd38bc5ed375d7a346768dcf) --- sys/dev/bge/if_bge.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/dev/bge/if_bge.c b/sys/dev/bge/if_bge.c index be52518fa6c7..c4d88486dff7 100644 --- a/sys/dev/bge/if_bge.c +++ b/sys/dev/bge/if_bge.c @@ -754,7 +754,7 @@ bge_ape_read_fw_ver(struct bge_softc *sc) sc->bge_mfw_flags |= BGE_MFW_ON_APE; - /* Fetch the APE firwmare type and version. */ + /* Fetch the APE firmware type and version. */ apedata = APE_READ_4(sc, BGE_APE_FW_VERSION); features = APE_READ_4(sc, BGE_APE_FW_FEATURES); if ((features & BGE_APE_FW_FEATURE_NCSI) != 0) { @@ -2219,7 +2219,7 @@ bge_blockinit(struct bge_softc *sc) * The BD ring replenish thresholds control how often the * hardware fetches new BD's from the producer rings in host * memory. Setting the value too low on a busy system can - * starve the hardware and recue the throughpout. + * starve the hardware and reduce the throughput. * * Set the BD ring replentish thresholds. The recommended * values are 1/8th the number of descriptors allocated to @@ -2354,7 +2354,7 @@ bge_blockinit(struct bge_softc *sc) */ CSR_WRITE_4(sc, BGE_RXLP_CFG, 0x181); - /* Inialize RX list placement stats mask. */ + /* Initialize RX list placement stats mask. */ CSR_WRITE_4(sc, BGE_RXLP_STATS_ENABLE_MASK, 0x007FFFFF); CSR_WRITE_4(sc, BGE_RXLP_STATS_CTL, 0x1); @@ -3595,7 +3595,7 @@ bge_attach(device_t dev) * known bug which can't handle TSO if Ethernet header + IP/TCP * header is greater than 80 bytes. A workaround for the TSO * bug exist but it seems it's too expensive than not using - * TSO at all. Some hardwares also have the TSO bug so limit + * TSO at all. Some hardware also have the TSO bug so limit * the TSO to the controllers that are not affected TSO issues * (e.g. 5755 or higher). */