Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Fix typo in comment.



details:   https://anonhg.NetBSD.org/src/rev/ba0c818f4dda
branches:  trunk
changeset: 459796:ba0c818f4dda
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Thu Sep 26 04:16:03 2019 +0000

description:
Fix typo in comment.

diffstat:

 sys/dev/pci/if_wm.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (42 lines):

diff -r 8b8ae175db5f -r ba0c818f4dda sys/dev/pci/if_wm.c
--- a/sys/dev/pci/if_wm.c       Thu Sep 26 02:01:02 2019 +0000
+++ b/sys/dev/pci/if_wm.c       Thu Sep 26 04:16:03 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_wm.c,v 1.648 2019/09/13 07:55:07 msaitoh Exp $      */
+/*     $NetBSD: if_wm.c,v 1.649 2019/09/26 04:16:03 msaitoh Exp $      */
 
 /*
  * Copyright (c) 2001, 2002, 2003, 2004 Wasabi Systems, Inc.
@@ -82,7 +82,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.648 2019/09/13 07:55:07 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.649 2019/09/26 04:16:03 msaitoh Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_net_mpsafe.h"
@@ -9894,7 +9894,7 @@
  * result might be incorrect.
  *
  *  In the second call, PHY OUI and model is used to identify PHY type.
- * It might not be perfpect because of the lack of compared entry, but it
+ * It might not be perfect because of the lack of compared entry, but it
  * would be better than the first call.
  *
  *  If the detected new result and previous assumption is different,
@@ -12852,12 +12852,12 @@
        /*
         * Either we should have a hardware SPI cycle in progress bit to check
         * against, in order to start a new cycle or FDONE bit should be
-        * changed in the hardware so that it is 1 after harware reset, which
+        * changed in the hardware so that it is 1 after hardware reset, which
         * can then be used as an indication whether a cycle is in progress or
         * has been completed .. we should also have some software semaphore
         * mechanism to guard FDONE or the cycle in progress bit so that two
         * threads access to those bits can be sequentiallized or a way so that
-        * 2 threads dont start the cycle at the same time
+        * 2 threads don't start the cycle at the same time
         */
 
        if ((hsfsts & HSFSTS_FLINPRO) == 0) {



Home | Main Index | Thread Index | Old Index