Module Name: src
Committed By: andvar
Date: Wed Jan 5 16:01:54 UTC 2022
Modified Files:
src/sys/arch/newsmips/dev: scsireg.h
src/sys/arch/sparc64/doc: TODO
src/sys/dev/nor: cfi.h
src/sys/dev/pci: icp_pci.c
src/sys/lib/libsa: bootcfg.c
Log Message:
fix typos, mainly s/comand/command/
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/newsmips/dev/scsireg.h
cvs rdiff -u -r1.45 -r1.46 src/sys/arch/sparc64/doc/TODO
cvs rdiff -u -r1.7 -r1.8 src/sys/dev/nor/cfi.h
cvs rdiff -u -r1.24 -r1.25 src/sys/dev/pci/icp_pci.c
cvs rdiff -u -r1.8 -r1.9 src/sys/lib/libsa/bootcfg.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/newsmips/dev/scsireg.h
diff -u src/sys/arch/newsmips/dev/scsireg.h:1.12 src/sys/arch/newsmips/dev/scsireg.h:1.13
--- src/sys/arch/newsmips/dev/scsireg.h:1.12 Wed Apr 9 15:40:30 2008
+++ src/sys/arch/newsmips/dev/scsireg.h Wed Jan 5 16:01:54 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: scsireg.h,v 1.12 2008/04/09 15:40:30 tsutsui Exp $ */
+/* $NetBSD: scsireg.h,v 1.13 2022/01/05 16:01:54 andvar Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -216,7 +216,7 @@ struct sc_chan_stat {
u_int stag; /* save tag register */
u_int soffset; /* save offset register */
int chan_num; /* channel NO. */
- uint8_t comflg; /* flag for save comand pointer */
+ uint8_t comflg; /* flag for save command pointer */
uint8_t intr_flg; /* interrupt flag. SCSI_INTEN/INTDIS */
};
Index: src/sys/arch/sparc64/doc/TODO
diff -u src/sys/arch/sparc64/doc/TODO:1.45 src/sys/arch/sparc64/doc/TODO:1.46
--- src/sys/arch/sparc64/doc/TODO:1.45 Thu Sep 23 17:51:52 2021
+++ src/sys/arch/sparc64/doc/TODO Wed Jan 5 16:01:54 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: TODO,v 1.45 2021/09/23 17:51:52 palle Exp $ */
+/* $NetBSD: TODO,v 1.46 2022/01/05 16:01:54 andvar Exp $ */
Things to be done:
@@ -18,7 +18,7 @@ sun4v:
(verified by exiting sysinst and issuing a ping command)
- the sysinst tool starts, disk setup is working, network configuration is working,
but after the selected (minimal) sets have been downloaded and installed
- the 'sh MAKEDEV all' comand hangs.
+ the 'sh MAKEDEV all' command hangs.
T2000 ldom with 8 VCPU and 4GB:
- crashes in /sbin/init doing an access() call where %o0 is corrupted (zero)
S7 ldom with 8 VCPU and 16GB (primary ldom is Solaris 11.4 SRU33):
@@ -42,7 +42,7 @@ sun4v:
- man pages for drivers imported from OpenBSD lke vpci, vbus, cbus, vdsk, ldc etc.
- vdsk and ldc drivers: code maked with OPENBSD_BUSDMA - make the bus_dma stuff work properly
- vbus.c: handle prom_getprop() memory leaks
-- locore.s: rft_user (sun4v specific manaul fill) - seems to work, but is it good enough (compared to openbsds rft_user?
+- locore.s: rft_user (sun4v specific manual fill) - seems to work, but is it good enough (compared to openbsds rft_user?
- openfirmware interface
bounce handlng could need rework
- only #if __arch64__ independent for SUN4V, as OF for all ultrasparcs is
Index: src/sys/dev/nor/cfi.h
diff -u src/sys/dev/nor/cfi.h:1.7 src/sys/dev/nor/cfi.h:1.8
--- src/sys/dev/nor/cfi.h:1.7 Thu Apr 19 21:50:09 2018
+++ src/sys/dev/nor/cfi.h Wed Jan 5 16:01:54 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: cfi.h,v 1.7 2018/04/19 21:50:09 christos Exp $ */
+/* $NetBSD: cfi.h,v 1.8 2022/01/05 16:01:54 andvar Exp $ */
#ifndef _CFI_H_
#define _CFI_H_
@@ -33,7 +33,7 @@ struct cfi_erase_blk_info {
struct cfi_query_data {
/* Query info */
uint8_t qry[3]; /* { 'Q', 'R', 'Y' } */
- uint16_t id_pri; /* primary comand set ID */
+ uint16_t id_pri; /* primary command set ID */
uint16_t addr_pri; /* primary table addr */
uint16_t id_alt; /* alternate command set ID */
uint16_t addr_alt; /* alternate table addr */
Index: src/sys/dev/pci/icp_pci.c
diff -u src/sys/dev/pci/icp_pci.c:1.24 src/sys/dev/pci/icp_pci.c:1.25
--- src/sys/dev/pci/icp_pci.c:1.24 Sun Dec 9 11:14:02 2018
+++ src/sys/dev/pci/icp_pci.c Wed Jan 5 16:01:54 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: icp_pci.c,v 1.24 2018/12/09 11:14:02 jdolecek Exp $ */
+/* $NetBSD: icp_pci.c,v 1.25 2022/01/05 16:01:54 andvar Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -69,7 +69,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: icp_pci.c,v 1.24 2018/12/09 11:14:02 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: icp_pci.c,v 1.25 2022/01/05 16:01:54 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -510,7 +510,7 @@ icp_pci_attach(device_t parent, device_t
goto bail_out;
}
- /* special commnd to controller BIOS */
+ /* special command to controller BIOS */
bus_space_write_4(dpmemt, dpmemh, ICP_MPR_IC + ICP_S_INFO, 0);
bus_space_write_4(dpmemt, dpmemh,
ICP_MPR_IC + ICP_S_INFO + sizeof(u_int32_t), 0);
Index: src/sys/lib/libsa/bootcfg.c
diff -u src/sys/lib/libsa/bootcfg.c:1.8 src/sys/lib/libsa/bootcfg.c:1.9
--- src/sys/lib/libsa/bootcfg.c:1.8 Sun Oct 17 14:12:21 2021
+++ src/sys/lib/libsa/bootcfg.c Wed Jan 5 16:01:54 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: bootcfg.c,v 1.8 2021/10/17 14:12:21 jmcneill Exp $ */
+/* $NetBSD: bootcfg.c,v 1.9 2022/01/05 16:01:54 andvar Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -92,7 +92,7 @@ bootcfg_do_noop(const char *cmd, char *a
* menu=Boot NetBSD:boot netbsd
* menu=Boot into single user mode:boot netbsd -s
* menu=:boot hd1a:netbsd -cs
- * menu=Goto boot comand line:prompt
+ * menu=Goto boot command line:prompt
* timeout=10
* consdev=com0
* default=1