From nobody Thu Feb 22 19:40:20 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 4Tgk503rlsz5BGYJ; Thu, 22 Feb 2024 19:40:20 +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 4Tgk5037Kkz4pW9; Thu, 22 Feb 2024 19:40:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708630820; 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=liZWINqpIXrXclOsBgLKecN420Eebf7fGjRiQN85b2U=; b=JJfCpoE2CJbE21RFlSLFm+PI3cRIKRmuRE6chlUem70I+qBTWgC0GuROar9FJiVkyDn11s GVhzonlGfV6h7+wK2CIBvR3HTEQtIg7m4lIVa/Y4CjuF/YAzzH0JmZzGgvqOkZD+8XcfCB oANr8sBjJ5vHvyLJF0KgC8ay6K4RiAz41Y/3e02MaQvlXiXXyEIdIniFPJD1Q3SWh8Gck5 UAzKYn8XJuCermIvAKT/fBeH26y8IRqeBcg0KguCh0IaY813laAgg0DjFZcgKn/RHXMXqN +KavwEOwuMF1qJtEkFlFvQj2gffMY1JLk8DbNVPj7gHBe8x9PjSfYl/PjKTusw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708630820; 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=liZWINqpIXrXclOsBgLKecN420Eebf7fGjRiQN85b2U=; b=GXUSqBpLZEtOZc4RPWOhhCIQJ4GjoUQ7fUZprPkrvjE+e8Wq7bGqXDBzLAgcd3aKrJfdbm wZjnhYQ/672CYKS0fCHygyeOmwr+CjYRftz0XpNV+ZHe84UKYkFcpeU8cM6F8b5ai7Hx6I aiWJIUZiplPVwfjREwUiGXFp4SUtxfEaKg54wGriEZ5QLappSZ+eujcjn51j5uEt4b5g2g fTwPCtvJZcgfsltd+RrHR4ybPM6jfv2dbSiVgnWZahWSyqou/8nvW9FE6O3gbokj+r6tOv Yi/92C21vQWO1I42XhmbhCv4Lt87QwZB1flD2VtY/jbUft3UYApLyyCIKNbAXA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708630820; a=rsa-sha256; cv=none; b=kb3ERx2BZhR1rlspw+vI0ihvkU5iaZOV38J7byT5seVqLHugHyzScp+33TD4obfUMi/Rss XDChM9SWORljP3pTGCxheKKcA5x6ar08nzHAGuDpd3Bz/uP8nOozTtvbJqulyvrToIIbyZ fYOltf0+mw0Cz2S9XtW0Rl2+Cnpxjb8OvDqerlYRPHHX4D/krHNEjZio8tkSdDlKTmubbE 3DicvOFUpAQ3A7cvUUtsdWzETeh0stSrkSaMGE/qAT6GauFZNOtXOhtGyen+pg6po2YoYM 2+P8973xGVAawibB6jpQoTaFTprLx00/+eomF3WGgcOWnwEydsE5gL+y1tjVpQ== 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 4Tgk5022NqzkxZ; Thu, 22 Feb 2024 19:40:20 +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 41MJeKMN047307; Thu, 22 Feb 2024 19:40:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41MJeK4b047304; Thu, 22 Feb 2024 19:40:20 GMT (envelope-from git) Date: Thu, 22 Feb 2024 19:40:20 GMT Message-Id: <202402221940.41MJeK4b047304@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Gordon Bergling Subject: git: d646dca3bc1b - main - bge(4): Fix some typos in source code comments 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: gbe X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d646dca3bc1bbd3bfd38bc5ed375d7a346768dcf Auto-Submitted: auto-generated The branch main has been updated by gbe: URL: https://cgit.FreeBSD.org/src/commit/?id=d646dca3bc1bbd3bfd38bc5ed375d7a346768dcf commit d646dca3bc1bbd3bfd38bc5ed375d7a346768dcf Author: Gordon Bergling AuthorDate: 2024-02-22 19:38:50 +0000 Commit: Gordon Bergling CommitDate: 2024-02-22 19:40:10 +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 MFC after: 3 days --- 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 ce4d0856f447..15cd3b0df8e9 100644 --- a/sys/dev/bge/if_bge.c +++ b/sys/dev/bge/if_bge.c @@ -701,7 +701,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) { @@ -2159,7 +2159,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 @@ -2295,7 +2295,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); @@ -3536,7 +3536,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). */