Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci/ixgbe Fix some typos in comments.



details:   https://anonhg.NetBSD.org/src/rev/38b79d17b94f
branches:  trunk
changeset: 466848:38b79d17b94f
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Fri Jan 03 12:59:46 2020 +0000

description:
Fix some typos in comments.

>From vezhlys on freenode IRC.

diffstat:

 sys/dev/pci/ixgbe/ixgbe.c       |  4 ++--
 sys/dev/pci/ixgbe/ixgbe_82598.c |  6 +++---
 sys/dev/pci/ixgbe/ixgbe_api.c   |  8 ++++----
 3 files changed, 9 insertions(+), 9 deletions(-)

diffs (74 lines):

diff -r 142e363edbbb -r 38b79d17b94f sys/dev/pci/ixgbe/ixgbe.c
--- a/sys/dev/pci/ixgbe/ixgbe.c Fri Jan 03 12:41:26 2020 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe.c Fri Jan 03 12:59:46 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ixgbe.c,v 1.219 2019/12/23 09:36:17 msaitoh Exp $ */
+/* $NetBSD: ixgbe.c,v 1.220 2020/01/03 12:59:46 pgoyette Exp $ */
 
 /******************************************************************************
 
@@ -353,7 +353,7 @@
  * Number of Queues, can be set to 0,
  * it then autoconfigures based on the
  * number of cpus with a max of 8. This
- * can be overriden manually here.
+ * can be overridden manually here.
  */
 static int ixgbe_num_queues = 0;
 SYSCTL_INT(_hw_ix, OID_AUTO, num_queues, CTLFLAG_RDTUN, &ixgbe_num_queues, 0,
diff -r 142e363edbbb -r 38b79d17b94f sys/dev/pci/ixgbe/ixgbe_82598.c
--- a/sys/dev/pci/ixgbe/ixgbe_82598.c   Fri Jan 03 12:41:26 2020 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe_82598.c   Fri Jan 03 12:59:46 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ixgbe_82598.c,v 1.13 2019/12/23 09:36:17 msaitoh Exp $ */
+/* $NetBSD: ixgbe_82598.c,v 1.14 2020/01/03 12:59:46 pgoyette Exp $ */
 
 /******************************************************************************
   SPDX-License-Identifier: BSD-3-Clause
@@ -90,7 +90,7 @@
                goto out;
 
        /*
-        * if capababilities version is type 1 we can write the
+        * if capabilities version is type 1 we can write the
         * timeout of 10ms to 250ms through the GCR register
         */
        if (!(gcr & IXGBE_GCR_CAP_VER2)) {
@@ -913,7 +913,7 @@
        /*
         * Store the original AUTOC value if it has not been
         * stored off yet.  Otherwise restore the stored original
-        * AUTOC value since the reset operation sets back to deaults.
+        * AUTOC value since the reset operation sets back to defaults.
         */
        autoc = IXGBE_READ_REG(hw, IXGBE_AUTOC);
        if (hw->mac.orig_link_settings_stored == FALSE) {
diff -r 142e363edbbb -r 38b79d17b94f sys/dev/pci/ixgbe/ixgbe_api.c
--- a/sys/dev/pci/ixgbe/ixgbe_api.c     Fri Jan 03 12:41:26 2020 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe_api.c     Fri Jan 03 12:59:46 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ixgbe_api.c,v 1.23 2019/06/27 05:55:40 msaitoh Exp $ */
+/* $NetBSD: ixgbe_api.c,v 1.24 2020/01/03 12:59:46 pgoyette Exp $ */
 
 /******************************************************************************
   SPDX-License-Identifier: BSD-3-Clause
@@ -1381,8 +1381,8 @@
  * ixgbe_bypass_valid_rd - Verify valid return from bit-bang.
  *
  * If we send a write we can't be sure it took until we can read back
- * that same register.  It can be a problem as some of the feilds may
- * for valid reasons change inbetween the time wrote the register and
+ * that same register.  It can be a problem as some of the fields may
+ * for valid reasons change in-between the time wrote the register and
  * we read it again to verify.  So this function check everything we
  * can check and then assumes it worked.
  *
@@ -1396,7 +1396,7 @@
 }
 
 /**
- *  ixgbe_bypass_set - Set a bypass field in the FW CTRL Regiter.
+ *  ixgbe_bypass_set - Set a bypass field in the FW CTRL Register.
  *  @hw: pointer to hardware structure
  *  @cmd: The control word we are setting.
  *  @event: The event we are setting in the FW.  This also happens to



Home | Main Index | Thread Index | Old Index