Module Name: src
Committed By: msaitoh
Date: Tue Aug 6 05:37:30 UTC 2019
Modified Files:
src/sys/arch/sun2/sun2: locore.s
src/sys/arch/sun3/sun3: locore.s
src/sys/dev/pci/ixgbe: ixgbe_x550.c
Log Message:
Fix typo in comment. Found by Wataru Ashihara.
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/sun2/sun2/locore.s
cvs rdiff -u -r1.98 -r1.99 src/sys/arch/sun3/sun3/locore.s
cvs rdiff -u -r1.15 -r1.16 src/sys/dev/pci/ixgbe/ixgbe_x550.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/sun2/sun2/locore.s
diff -u src/sys/arch/sun2/sun2/locore.s:1.26 src/sys/arch/sun2/sun2/locore.s:1.27
--- src/sys/arch/sun2/sun2/locore.s:1.26 Wed Dec 19 13:57:50 2018
+++ src/sys/arch/sun2/sun2/locore.s Tue Aug 6 05:37:30 2019
@@ -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 @@ GLOBAL(addrerr)
* [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
Index: src/sys/arch/sun3/sun3/locore.s
diff -u src/sys/arch/sun3/sun3/locore.s:1.98 src/sys/arch/sun3/sun3/locore.s:1.99
--- src/sys/arch/sun3/sun3/locore.s:1.98 Wed Dec 19 13:57:51 2018
+++ src/sys/arch/sun3/sun3/locore.s Tue Aug 6 05:37:30 2019
@@ -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 @@ Lbe10:
* [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
Index: src/sys/dev/pci/ixgbe/ixgbe_x550.c
diff -u src/sys/dev/pci/ixgbe/ixgbe_x550.c:1.15 src/sys/dev/pci/ixgbe/ixgbe_x550.c:1.16
--- src/sys/dev/pci/ixgbe/ixgbe_x550.c:1.15 Thu Jun 27 06:00:11 2019
+++ src/sys/dev/pci/ixgbe/ixgbe_x550.c Tue Aug 6 05:37:30 2019
@@ -875,7 +875,7 @@ static s32 ixgbe_setup_fw_link(struct ix
* 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 | |