Source-Changes-HG archive

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

[src/trunk]: src/sys Fix typo in comment. Found by Wataru Ashihara.



details:   https://anonhg.NetBSD.org/src/rev/3171cd7ed2c5
branches:  trunk
changeset: 463034:3171cd7ed2c5
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Tue Aug 06 05:37:30 2019 +0000

description:
Fix typo in comment. Found by Wataru Ashihara.

diffstat:

 sys/arch/sun2/sun2/locore.s    |  4 ++--
 sys/arch/sun3/sun3/locore.s    |  4 ++--
 sys/dev/pci/ixgbe/ixgbe_x550.c |  2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diffs (48 lines):

diff -r d7b539749f8d -r 3171cd7ed2c5 sys/arch/sun2/sun2/locore.s
--- a/sys/arch/sun2/sun2/locore.s       Tue Aug 06 05:32:44 2019 +0000
+++ b/sys/arch/sun2/sun2/locore.s       Tue Aug 06 05:37:30 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.s,v 1.26 2018/12/19 13:57:50 maxv Exp $ */
+/*     $NetBSD: locore.s,v 1.27 2019/08/06 05:37:30 msaitoh Exp $      */
 
 /*
  * Copyright (c) 1980, 1990, 1993
@@ -218,7 +218,7 @@
  * [this code replaces similarly mmu specific code in the hp300 code]
  */
 sun2_mmu_specific:
-       clrl %d0                        | make sure top bits are cleard too
+       clrl %d0                        | make sure top bits are cleared too
        movl %d1,%sp@-                  | save %d1
        movc %sfc,%d1                   | save %sfc to %d1
        moveq #FC_CONTROL,%d0           | %sfc = FC_CONTROL
diff -r d7b539749f8d -r 3171cd7ed2c5 sys/arch/sun3/sun3/locore.s
--- a/sys/arch/sun3/sun3/locore.s       Tue Aug 06 05:32:44 2019 +0000
+++ b/sys/arch/sun3/sun3/locore.s       Tue Aug 06 05:37:30 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.s,v 1.98 2018/12/19 13:57:51 maxv Exp $ */
+/*     $NetBSD: locore.s,v 1.99 2019/08/06 05:37:30 msaitoh Exp $      */
 
 /*
  * Copyright (c) 1980, 1990, 1993
@@ -248,7 +248,7 @@
  * [this code replaces similarly mmu specific code in the hp300 code]
  */
 sun3_mmu_specific:
-       clrl %d0                        | make sure top bits are cleard too
+       clrl %d0                        | make sure top bits are cleared too
        movl %d1,%sp@-                  | save %d1
        movc %sfc,%d1                   | save %sfc to %d1
        moveq #FC_CONTROL,%d0           | %sfc = FC_CONTROL
diff -r d7b539749f8d -r 3171cd7ed2c5 sys/dev/pci/ixgbe/ixgbe_x550.c
--- a/sys/dev/pci/ixgbe/ixgbe_x550.c    Tue Aug 06 05:32:44 2019 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe_x550.c    Tue Aug 06 05:37:30 2019 +0000
@@ -875,7 +875,7 @@
         *  Broken firmware sets BMCR register incorrectly if
         * FW_PHY_ACT_SETUP_LINK_AN isn't set.
         * a) FDX may not be set.
-        * b) BMCR_SPEED1 (bit 6) is always cleard.
+        * b) BMCR_SPEED1 (bit 6) is always cleared.
         * + -------+------+-----------+-----+--------------------------+
         * |request | BMCR | BMCR spd | BMCR |                          |
         * |        | (HEX)| (in bits)|  FDX |                          |



Home | Main Index | Thread Index | Old Index