summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authormsaitoh <msaitoh@NetBSD.org>2023-06-19 08:40:29 +0000
committermsaitoh <msaitoh@NetBSD.org>2023-06-19 08:40:29 +0000
commit1ea4aa55b11ace511fe27163942c162b3d313750 (patch)
tree7d8ec4114073d64ad1fcebc84e5f9fd3b0eeb183 /sys
parent668f0b9d4a9e5fae4edded1ef22a3652e3f8a59e (diff)
Fix typo. unknwon -> unknown
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/alpha/mcbus/mcbus.c6
-rw-r--r--sys/arch/arm/marvell/mvsoc.c10
-rw-r--r--sys/arch/arm/marvell/mvsocgpp.c6
-rw-r--r--sys/arch/arm/marvell/mvsocts.c6
-rw-r--r--sys/arch/bebox/bebox/autoconf.c8
-rw-r--r--sys/arch/bebox/stand/boot/siop.c4
-rw-r--r--sys/arch/powerpc/ibm4xx/dev/mal.c6
-rw-r--r--sys/arch/prep/stand/boot/siop.c4
-rw-r--r--sys/dev/marvell/gtidmac.c12
-rw-r--r--sys/fs/hfs/libhfs.c6
10 files changed, 34 insertions, 34 deletions
diff --git a/sys/arch/alpha/mcbus/mcbus.c b/sys/arch/alpha/mcbus/mcbus.c
index c9e9730acb8..762400f2253 100644
--- a/sys/arch/alpha/mcbus/mcbus.c
+++ b/sys/arch/alpha/mcbus/mcbus.c
@@ -1,4 +1,4 @@
-/* $NetBSD: mcbus.c,v 1.25 2021/08/07 16:18:40 thorpej Exp $ */
+/* $NetBSD: mcbus.c,v 1.26 2023/06/19 08:40:29 msaitoh Exp $ */
/*
* Copyright (c) 1998 by Matthew Jacob
@@ -37,7 +37,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: mcbus.c,v 1.25 2021/08/07 16:18:40 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mcbus.c,v 1.26 2023/06/19 08:40:29 msaitoh Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -228,7 +228,7 @@ mcbus_node_type_str(uint8_t type)
case MCBUS_TYPE_PCI:
return ("PCI Bridge");
default:
- panic("REALLY UNKNWON (%x) TYPE IN MCBUS_NODE_TYPE_STR", type);
+ panic("REALLY UNKNOWN (%x) TYPE IN MCBUS_NODE_TYPE_STR", type);
break;
}
}
diff --git a/sys/arch/arm/marvell/mvsoc.c b/sys/arch/arm/marvell/mvsoc.c
index c49894960d1..990c1354fb5 100644
--- a/sys/arch/arm/marvell/mvsoc.c
+++ b/sys/arch/arm/marvell/mvsoc.c
@@ -1,4 +1,4 @@
-/* $NetBSD: mvsoc.c,v 1.32 2021/08/30 00:04:30 rin Exp $ */
+/* $NetBSD: mvsoc.c,v 1.33 2023/06/19 08:40:29 msaitoh Exp $ */
/*
* Copyright (c) 2007, 2008, 2013, 2014, 2016 KIYOHARA Takashi
* All rights reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mvsoc.c,v 1.32 2021/08/30 00:04:30 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mvsoc.c,v 1.33 2023/06/19 08:40:29 msaitoh Exp $");
#include "opt_cputypes.h"
#include "opt_mvsoc.h"
@@ -1308,7 +1308,7 @@ mvsoc_target_ddr(uint32_t attr, uint32_t *base, uint32_t *size)
cs = 3;
break;
default:
- aprint_error("unknwon ATTR: 0x%x", attr);
+ aprint_error("unknown ATTR: 0x%x", attr);
return -1;
}
sizereg = le32toh(*(volatile uint32_t *)(dsc_base +
@@ -1355,7 +1355,7 @@ mvsoc_target_ddr3(uint32_t attr, uint32_t *base, uint32_t *size)
cs = 3;
break;
default:
- aprint_error("unknwon ATTR: 0x%x", attr);
+ aprint_error("unknown ATTR: 0x%x", attr);
return -1;
}
for (i = 0; i < MVSOC_MLMB_NWIN; i++) {
@@ -1399,7 +1399,7 @@ mvsoc_target_axi(int tag, uint32_t *base, uint32_t *size)
cs = 1;
break;
default:
- aprint_error("unknwon TAG: 0x%x", tag);
+ aprint_error("unknown TAG: 0x%x", tag);
return -1;
}
val = le32toh(*(volatile uint32_t *)(regbase + MVSOC_AXI_MMAP1(cs)));
diff --git a/sys/arch/arm/marvell/mvsocgpp.c b/sys/arch/arm/marvell/mvsocgpp.c
index b717991e78a..3b66f954cc0 100644
--- a/sys/arch/arm/marvell/mvsocgpp.c
+++ b/sys/arch/arm/marvell/mvsocgpp.c
@@ -1,4 +1,4 @@
-/* $NetBSD: mvsocgpp.c,v 1.8 2021/08/07 16:18:44 thorpej Exp $ */
+/* $NetBSD: mvsocgpp.c,v 1.9 2023/06/19 08:40:29 msaitoh Exp $ */
/*
* Copyright (c) 2008, 2010 KIYOHARA Takashi
* All rights reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mvsocgpp.c,v 1.8 2021/08/07 16:18:44 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mvsocgpp.c,v 1.9 2023/06/19 08:40:29 msaitoh Exp $");
#include "gpio.h"
@@ -320,7 +320,7 @@ gpio_pic_establish_irq(struct pic_softc *pic, struct intrsource *is)
break;
default:
- panic("unknwon interrupt type %d for pin %d.\n", type, pin);
+ panic("unknown interrupt type %d for pin %d.\n", type, pin);
}
im = MVSOCGPP_READ(sc, MVSOCGPP_GPIOIM(pin));
diff --git a/sys/arch/arm/marvell/mvsocts.c b/sys/arch/arm/marvell/mvsocts.c
index cc312931896..f31b48f4c69 100644
--- a/sys/arch/arm/marvell/mvsocts.c
+++ b/sys/arch/arm/marvell/mvsocts.c
@@ -1,4 +1,4 @@
-/* $NetBSD: mvsocts.c,v 1.2 2015/11/06 12:50:30 kiyohara Exp $ */
+/* $NetBSD: mvsocts.c,v 1.3 2023/06/19 08:40:29 msaitoh Exp $ */
/*
* Copyright (c) 2012, 2015 KIYOHARA Takashi
* All rights reserved.
@@ -25,7 +25,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mvsocts.c,v 1.2 2015/11/06 12:50:30 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mvsocts.c,v 1.3 2023/06/19 08:40:29 msaitoh Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -116,7 +116,7 @@ mvsocts_attach(device_t parent, device_t self, void *aux)
break;
default:
- aprint_error_dev(self, "unknwon model: 0x%x", mva->mva_model);
+ aprint_error_dev(self, "unknown model: 0x%x", mva->mva_model);
return;
}
diff --git a/sys/arch/bebox/bebox/autoconf.c b/sys/arch/bebox/bebox/autoconf.c
index a8bb4e991c4..2862c4315d9 100644
--- a/sys/arch/bebox/bebox/autoconf.c
+++ b/sys/arch/bebox/bebox/autoconf.c
@@ -1,4 +1,4 @@
-/* $NetBSD: autoconf.c,v 1.27 2015/12/13 19:38:09 christos Exp $ */
+/* $NetBSD: autoconf.c,v 1.28 2023/06/19 08:40:29 msaitoh Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -44,7 +44,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.27 2015/12/13 19:38:09 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.28 2023/06/19 08:40:29 msaitoh Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -122,7 +122,7 @@ findroot(void)
return;
p = rdev->rootdevice;
if (strncmp(p, "/dev/disk/", 10) != 0)
- /* unknwon device... */
+ /* unknown device... */
return;
p += 10;
if (strncmp(p, "scsi/", 5) == 0) {
@@ -155,7 +155,7 @@ findroot(void)
} else if (strcmp(p, "floppy") == 0)
return;
else
- /* unknwon disk... */
+ /* unknown disk... */
return;
if (*(p + 0) != '0' || *(p + 1) != '_' || !isdigit(*(p + 2)))
diff --git a/sys/arch/bebox/stand/boot/siop.c b/sys/arch/bebox/stand/boot/siop.c
index 359f9163136..36c7027c6d1 100644
--- a/sys/arch/bebox/stand/boot/siop.c
+++ b/sys/arch/bebox/stand/boot/siop.c
@@ -1,4 +1,4 @@
-/* $NetBSD: siop.c,v 1.13 2023/05/26 06:36:39 andvar Exp $ */
+/* $NetBSD: siop.c,v 1.14 2023/06/19 08:40:29 msaitoh Exp $ */
/*
* Copyright (c) 2010 KIYOHARA Takashi
* All rights reserved.
@@ -406,7 +406,7 @@ reset:
if (target != adp->xs->target ||
lun != adp->xs->lun ||
tag != 0) {
- printf("unknwon resellun:"
+ printf("unknown resellun:"
" target %d lun %d tag %d\n",
target, lun, tag);
goto reset;
diff --git a/sys/arch/powerpc/ibm4xx/dev/mal.c b/sys/arch/powerpc/ibm4xx/dev/mal.c
index a0752c6b340..37ef8229acc 100644
--- a/sys/arch/powerpc/ibm4xx/dev/mal.c
+++ b/sys/arch/powerpc/ibm4xx/dev/mal.c
@@ -1,4 +1,4 @@
-/* $NetBSD: mal.c,v 1.4 2021/02/27 20:43:58 rin Exp $ */
+/* $NetBSD: mal.c,v 1.5 2023/06/19 08:40:30 msaitoh Exp $ */
/*
* Copyright (c) 2010 KIYOHARA Takashi
* All rights reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mal.c,v 1.4 2021/02/27 20:43:58 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mal.c,v 1.5 2023/06/19 08:40:30 msaitoh Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -73,7 +73,7 @@ mal_attach(int pvr)
if (maltbl[i].pvr == pvr)
break;
if (i == __arraycount(maltbl)) {
- aprint_error("%s: unknwon pvr 0x%x\n", __func__, pvr);
+ aprint_error("%s: unknown pvr 0x%x\n", __func__, pvr);
return;
}
diff --git a/sys/arch/prep/stand/boot/siop.c b/sys/arch/prep/stand/boot/siop.c
index 636fa1f8709..58a439daeea 100644
--- a/sys/arch/prep/stand/boot/siop.c
+++ b/sys/arch/prep/stand/boot/siop.c
@@ -1,4 +1,4 @@
-/* $NetBSD: siop.c,v 1.6 2022/06/03 12:10:50 andvar Exp $ */
+/* $NetBSD: siop.c,v 1.7 2023/06/19 08:40:30 msaitoh Exp $ */
/*
* Copyright (c) 2010 KIYOHARA Takashi
* All rights reserved.
@@ -385,7 +385,7 @@ reset:
if (target != adp->xs->target ||
lun != adp->xs->lun ||
tag != 0) {
- printf("unknwon resellun:"
+ printf("unknown resellun:"
" target %d lun %d tag %d\n",
target, lun, tag);
goto reset;
diff --git a/sys/dev/marvell/gtidmac.c b/sys/dev/marvell/gtidmac.c
index 4fec414a862..f0df0dc78c9 100644
--- a/sys/dev/marvell/gtidmac.c
+++ b/sys/dev/marvell/gtidmac.c
@@ -1,4 +1,4 @@
-/* $NetBSD: gtidmac.c,v 1.18 2021/07/24 21:31:37 andvar Exp $ */
+/* $NetBSD: gtidmac.c,v 1.19 2023/06/19 08:40:30 msaitoh Exp $ */
/*
* Copyright (c) 2008, 2012, 2016 KIYOHARA Takashi
* All rights reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gtidmac.c,v 1.18 2021/07/24 21:31:37 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gtidmac.c,v 1.19 2023/06/19 08:40:30 msaitoh Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -1886,14 +1886,14 @@ gtidmac_dump_idmacreg(struct gtidmac_softc *sc, int chan)
(val & GTIDMAC_CCLR_SBL_MASK) == GTIDMAC_CCLR_SBL_32B ? "32" :
(val & GTIDMAC_CCLR_SBL_MASK) == GTIDMAC_CCLR_SBL_16B ? "16" :
(val & GTIDMAC_CCLR_SBL_MASK) == GTIDMAC_CCLR_SBL_8B ? "8" :
- "unknwon");
+ "unknown");
printf(" DstBurstLimit : %s Bytes\n",
(val & GTIDMAC_CCLR_DBL_MASK) == GTIDMAC_CCLR_DBL_128B ? "128" :
(val & GTIDMAC_CCLR_DBL_MASK) == GTIDMAC_CCLR_DBL_64B ? "64" :
(val & GTIDMAC_CCLR_DBL_MASK) == GTIDMAC_CCLR_DBL_32B ? "32" :
(val & GTIDMAC_CCLR_DBL_MASK) == GTIDMAC_CCLR_DBL_16B ? "16" :
(val & GTIDMAC_CCLR_DBL_MASK) == GTIDMAC_CCLR_DBL_8B ? "8" :
- "unknwon");
+ "unknown");
printf(" ChainMode : %sChained\n",
val & GTIDMAC_CCLR_CHAINMODE_NC ? "Non-" : "");
printf(" TransferMode : %s\n",
@@ -1987,12 +1987,12 @@ gtidmac_dump_xorereg(struct gtidmac_softc *sc, int chan)
(val & MVXORE_XEXCR_SBL_MASK) == MVXORE_XEXCR_SBL_128B ? "128" :
(val & MVXORE_XEXCR_SBL_MASK) == MVXORE_XEXCR_SBL_64B ? "64" :
(val & MVXORE_XEXCR_SBL_MASK) == MVXORE_XEXCR_SBL_32B ? "32" :
- "unknwon");
+ "unknown");
printf(" DstBurstLimit : %s Bytes\n",
(val & MVXORE_XEXCR_SBL_MASK) == MVXORE_XEXCR_SBL_128B ? "128" :
(val & MVXORE_XEXCR_SBL_MASK) == MVXORE_XEXCR_SBL_64B ? "64" :
(val & MVXORE_XEXCR_SBL_MASK) == MVXORE_XEXCR_SBL_32B ? "32" :
- "unknwon");
+ "unknown");
val =
bus_space_read_4(sc->sc_iot, sc->sc_ioh, MVXORE_XEXACTR(sc, chan));
printf(" Activation : 0x%08x\n", val);
diff --git a/sys/fs/hfs/libhfs.c b/sys/fs/hfs/libhfs.c
index e8a091ebc9e..b93ecbd1480 100644
--- a/sys/fs/hfs/libhfs.c
+++ b/sys/fs/hfs/libhfs.c
@@ -1,4 +1,4 @@
-/* $NetBSD: libhfs.c,v 1.17 2023/03/01 16:21:26 riastradh Exp $ */
+/* $NetBSD: libhfs.c,v 1.18 2023/06/19 08:40:30 msaitoh Exp $ */
/*-
* Copyright (c) 2005, 2007 The NetBSD Foundation, Inc.
@@ -47,7 +47,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: libhfs.c,v 1.17 2023/03/01 16:21:26 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: libhfs.c,v 1.18 2023/06/19 08:40:30 msaitoh Exp $");
#include "libhfs.h"
@@ -759,7 +759,7 @@ hfslib_find_extent_record_with_key(hfs_volume* in_vol,
else if (nd.kind == HFS_LEAFNODE)
break;
else
- HFS_LIBERR("unknwon node type for extents overflow node #%i",curnode);
+ HFS_LIBERR("unknown node type for extents overflow node #%i",curnode);
} while (nd.kind != HFS_LEAFNODE);
result = 0;