fix mainly same typos as in my previous commit but outside sys/dev/dm.
This commit is contained in:
parent
a70f355bc2
commit
c69f42d323
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# $NetBSD: lvm,v 1.7 2021/08/03 05:15:20 mlelstv Exp $
|
||||
# $NetBSD: lvm,v 1.8 2021/08/21 23:00:30 andvar Exp $
|
||||
#
|
||||
|
||||
# PROVIDE: lvm
|
||||
|
@ -32,7 +32,7 @@ lvm_start()
|
|||
# Scan for all available VG's
|
||||
/sbin/lvm vgscan --mknodes --ignorelockingfailure >/dev/null
|
||||
|
||||
# Activate all LV's and create apropriate nodes in /dev
|
||||
# Activate all LV's and create appropriate nodes in /dev
|
||||
/sbin/lvm vgchange --ignorelockingfailure -a y >/dev/null
|
||||
LV_LIST=$(/sbin/lvm vgdisplay -C -o vg_name --noheadings 2>/dev/null)
|
||||
echo " Activated Volume Groups:" $LV_LIST
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: clnt_dg.c,v 1.29 2013/05/07 21:08:44 christos Exp $ */
|
||||
/* $NetBSD: clnt_dg.c,v 1.30 2021/08/21 23:00:30 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2010, Oracle America, Inc.
|
||||
|
@ -41,7 +41,7 @@
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)clnt_dg.c 1.19 89/03/16 Copyr 1988 Sun Micro";
|
||||
#else
|
||||
__RCSID("$NetBSD: clnt_dg.c,v 1.29 2013/05/07 21:08:44 christos Exp $");
|
||||
__RCSID("$NetBSD: clnt_dg.c,v 1.30 2021/08/21 23:00:30 andvar Exp $");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -92,9 +92,9 @@ static void clnt_dg_destroy(CLIENT *);
|
|||
* This machinery implements per-fd locks for MT-safety. It is not
|
||||
* sufficient to do per-CLIENT handle locks for MT-safety because a
|
||||
* user may create more than one CLIENT handle with the same fd behind
|
||||
* it. Therfore, we allocate an array of flags (dg_fd_locks), protected
|
||||
* it. Therefore, we allocate an array of flags (dg_fd_locks), protected
|
||||
* by the clnt_fd_lock mutex, and an array (dg_cv) of condition variables
|
||||
* similarly protected. Dg_fd_lock[fd] == 1 => a call is activte on some
|
||||
* similarly protected. Dg_fd_lock[fd] == 1 => a call is active on some
|
||||
* CLIENT handle created for that fd.
|
||||
* The current implementation holds locks across the entire RPC and reply,
|
||||
* including retransmissions. Yes, this is silly, and as soon as this
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: clnt_vc.c,v 1.26 2015/01/20 18:31:25 christos Exp $ */
|
||||
/* $NetBSD: clnt_vc.c,v 1.27 2021/08/21 23:00:30 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2010, Oracle America, Inc.
|
||||
|
@ -38,7 +38,7 @@ static char *sccsid = "@(#)clnt_tcp.c 1.37 87/10/05 Copyr 1984 Sun Micro";
|
|||
static char *sccsid = "@(#)clnt_tcp.c 2.2 88/08/01 4.0 RPCSRC";
|
||||
static char sccsid[] = "@(#)clnt_vc.c 1.19 89/03/16 Copyr 1988 Sun Micro";
|
||||
#else
|
||||
__RCSID("$NetBSD: clnt_vc.c,v 1.26 2015/01/20 18:31:25 christos Exp $");
|
||||
__RCSID("$NetBSD: clnt_vc.c,v 1.27 2021/08/21 23:00:30 andvar Exp $");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -119,9 +119,9 @@ struct ct_data {
|
|||
* This machinery implements per-fd locks for MT-safety. It is not
|
||||
* sufficient to do per-CLIENT handle locks for MT-safety because a
|
||||
* user may create more than one CLIENT handle with the same fd behind
|
||||
* it. Therfore, we allocate an array of flags (vc_fd_locks), protected
|
||||
* it. Therefore, we allocate an array of flags (vc_fd_locks), protected
|
||||
* by the clnt_fd_lock mutex, and an array (vc_cv) of condition variables
|
||||
* similarly protected. Vc_fd_lock[fd] == 1 => a call is activte on some
|
||||
* similarly protected. Vc_fd_lock[fd] == 1 => a call is active on some
|
||||
* CLIENT handle created for that fd.
|
||||
* The current implementation holds locks across the entire RPC and reply.
|
||||
* Yes, this is silly, and as soon as this code is proven to work, this
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: svc.c,v 1.39 2015/11/13 15:22:12 christos Exp $ */
|
||||
/* $NetBSD: svc.c,v 1.40 2021/08/21 23:00:30 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2010, Oracle America, Inc.
|
||||
|
@ -37,7 +37,7 @@
|
|||
static char *sccsid = "@(#)svc.c 1.44 88/02/08 Copyr 1984 Sun Micro";
|
||||
static char *sccsid = "@(#)svc.c 2.4 88/08/11 4.0 RPCSRC";
|
||||
#else
|
||||
__RCSID("$NetBSD: svc.c,v 1.39 2015/11/13 15:22:12 christos Exp $");
|
||||
__RCSID("$NetBSD: svc.c,v 1.40 2021/08/21 23:00:30 andvar Exp $");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -106,7 +106,7 @@ int __svc_maxrec;
|
|||
* The services list
|
||||
* Each entry represents a set of procedures (an rpc program).
|
||||
* The dispatch routine takes request structs and runs the
|
||||
* apropriate procedure.
|
||||
* appropriate procedure.
|
||||
*/
|
||||
static struct svc_callout {
|
||||
struct svc_callout *sc_next;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: xdr_rec.c,v 1.37 2018/07/25 23:59:08 kamil Exp $ */
|
||||
/* $NetBSD: xdr_rec.c,v 1.38 2021/08/21 23:00:30 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2010, Oracle America, Inc.
|
||||
|
@ -37,7 +37,7 @@
|
|||
static char *sccsid = "@(#)xdr_rec.c 1.21 87/08/11 Copyr 1984 Sun Micro";
|
||||
static char *sccsid = "@(#)xdr_rec.c 2.2 88/08/01 4.0 RPCSRC";
|
||||
#else
|
||||
__RCSID("$NetBSD: xdr_rec.c,v 1.37 2018/07/25 23:59:08 kamil Exp $");
|
||||
__RCSID("$NetBSD: xdr_rec.c,v 1.38 2021/08/21 23:00:30 andvar Exp $");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -479,7 +479,7 @@ xdrrec_skiprecord(XDR *xdrs)
|
|||
}
|
||||
|
||||
/*
|
||||
* Look ahead fuction.
|
||||
* Look ahead function.
|
||||
* Returns TRUE iff there is no more input in the buffer
|
||||
* after consuming the rest of the current record.
|
||||
*/
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: isns_pdu.c,v 1.4 2018/02/08 09:05:17 dholland Exp $ */
|
||||
/* $NetBSD: isns_pdu.c,v 1.5 2021/08/21 23:00:30 andvar Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2004,2009 The NetBSD Foundation, Inc.
|
||||
|
@ -35,7 +35,7 @@
|
|||
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__RCSID("$NetBSD: isns_pdu.c,v 1.4 2018/02/08 09:05:17 dholland Exp $");
|
||||
__RCSID("$NetBSD: isns_pdu.c,v 1.5 2021/08/21 23:00:30 andvar Exp $");
|
||||
|
||||
|
||||
#include <sys/types.h>
|
||||
|
@ -768,7 +768,7 @@ isns_get_pdu_request_tail(struct isns_trans_s *trans_p)
|
|||
|
||||
|
||||
/*
|
||||
* isns_new_pdu - allocates a new PDU and assigns funtion ID and flags
|
||||
* isns_new_pdu - allocates a new PDU and assigns function ID and flags
|
||||
*/
|
||||
struct isns_pdu_s *
|
||||
isns_new_pdu(struct isns_config_s *cfg_p, uint16_t trans_id, uint16_t func_id,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: amidisplaycc.c,v 1.37 2021/08/07 16:18:41 thorpej Exp $ */
|
||||
/* $NetBSD: amidisplaycc.c,v 1.38 2021/08/21 23:00:31 andvar Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2000 Jukka Andberg.
|
||||
|
@ -28,7 +28,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: amidisplaycc.c,v 1.37 2021/08/07 16:18:41 thorpej Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: amidisplaycc.c,v 1.38 2021/08/21 23:00:31 andvar Exp $");
|
||||
|
||||
/*
|
||||
* wscons interface to amiga custom chips. Contains the necessary functions
|
||||
|
@ -1930,7 +1930,7 @@ amidisplaycc_pollc(void *cookie, int on)
|
|||
* These dummy functions are here just so that we can compete of
|
||||
* the console at init.
|
||||
* If we win the console then the wscons system will provide the
|
||||
* real ones which in turn will call the apropriate wskbd device.
|
||||
* real ones which in turn will call the appropriate wskbd device.
|
||||
* These should never be called.
|
||||
*/
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: bcm2835_gpio.c,v 1.22 2021/08/07 16:18:43 thorpej Exp $ */
|
||||
/* $NetBSD: bcm2835_gpio.c,v 1.23 2021/08/21 23:00:31 andvar Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2013, 2014, 2017 The NetBSD Foundation, Inc.
|
||||
|
@ -30,7 +30,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: bcm2835_gpio.c,v 1.22 2021/08/07 16:18:43 thorpej Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: bcm2835_gpio.c,v 1.23 2021/08/21 23:00:31 andvar Exp $");
|
||||
|
||||
/*
|
||||
* Driver for BCM2835 GPIO
|
||||
|
@ -196,7 +196,7 @@ bcm283x_pinctrl_set_config(device_t dev, const void *data, size_t len)
|
|||
const u_int *func = fdtbus_get_prop(phandle, "brcm,function", &func_len);
|
||||
|
||||
if (!pull && !func) {
|
||||
aprint_error_dev(dev, "one of brcm,pull or brcm,funcion must "
|
||||
aprint_error_dev(dev, "one of brcm,pull or brcm,function must "
|
||||
"be specified");
|
||||
return -1;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
* $NetBSD: README,v 1.6 2013/04/20 03:26:11 isaki Exp $
|
||||
* $NetBSD: README,v 1.7 2021/08/21 23:00:31 andvar Exp $
|
||||
* NetBSD/m68k FPE (floating point emulation) README file
|
||||
* Created Oct/??/95 by kenn@remus.rutgers.edu (Ken Nakata)
|
||||
* Last updated Oct/15/2011 by tsutsui
|
||||
|
@ -116,7 +116,7 @@ type 0 arithmetic instruction follows this prototype:
|
|||
|
||||
Where fe is a pointer to a struct fpemu in which frame, fpframe, and
|
||||
fetched operands are accessible. That's right, you don't have to
|
||||
fetch the operands by yourself in your emulation funtion. For
|
||||
fetch the operands by yourself in your emulation function. For
|
||||
instance, the parts calling FSQRT, FSUB, FADD and FTST look like:
|
||||
|
||||
switch(word1 & 0x3F) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
* $NetBSD: ssin.sa,v 1.4 2000/03/13 23:52:32 soren Exp $
|
||||
* $NetBSD: ssin.sa,v 1.5 2021/08/21 23:00:31 andvar Exp $
|
||||
|
||||
* MOTOROLA MICROPROCESSOR & MEMORY TECHNOLOGY GROUP
|
||||
* M68000 Hi-Performance Microprocessor Division
|
||||
|
@ -41,7 +41,7 @@
|
|||
* Input: Double-extended number X in location pointed to
|
||||
* by address register a0.
|
||||
*
|
||||
* Output: The funtion value sin(X) or cos(X) returned in Fp0 if SIN or
|
||||
* Output: The function value sin(X) or cos(X) returned in Fp0 if SIN or
|
||||
* COS is requested. Otherwise, for SINCOS, sin(X) is returned
|
||||
* in Fp0, and cos(X) is returned in Fp1.
|
||||
*
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: siop.c,v 1.4 2021/07/24 21:31:35 andvar Exp $ */
|
||||
/* $NetBSD: siop.c,v 1.5 2021/08/21 23:00:31 andvar Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2010 KIYOHARA Takashi
|
||||
* All rights reserved.
|
||||
|
@ -180,7 +180,7 @@ siop_sdp(struct siop_adapter *adp, struct siop_xfer *xfer, struct scsi_xfer *xs,
|
|||
|
||||
siop_cmd->flags &= ~CMDFL_RESID;
|
||||
table = &xfer->siop_tables.data[offset];
|
||||
/* "cut" already transfered data from this table */
|
||||
/* "cut" already transferred data from this table */
|
||||
table->addr =
|
||||
htoc32(ctoh32(table->addr) + ctoh32(table->count) -
|
||||
siop_cmd->resid);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: db_command.c,v 1.177 2021/08/13 20:47:55 andvar Exp $ */
|
||||
/* $NetBSD: db_command.c,v 1.178 2021/08/21 23:00:31 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996, 1997, 1998, 1999, 2002, 2009, 2019
|
||||
|
@ -61,7 +61,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: db_command.c,v 1.177 2021/08/13 20:47:55 andvar Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: db_command.c,v 1.178 2021/08/21 23:00:31 andvar Exp $");
|
||||
|
||||
#ifdef _KERNEL_OPT
|
||||
#include "opt_aio.h"
|
||||
|
@ -837,7 +837,7 @@ db_read_command(void)
|
|||
}
|
||||
|
||||
/*
|
||||
* Parse command line and execute apropriate function.
|
||||
* Parse command line and execute appropriate function.
|
||||
*/
|
||||
static void
|
||||
db_command(const struct db_command **last_cmdp)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: OsdEnvironment.c,v 1.6 2011/06/12 11:31:31 jruoho Exp $ */
|
||||
/* $NetBSD: OsdEnvironment.c,v 1.7 2021/08/21 23:00:31 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2001 Wasabi Systems, Inc.
|
||||
|
@ -42,7 +42,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: OsdEnvironment.c,v 1.6 2011/06/12 11:31:31 jruoho Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: OsdEnvironment.c,v 1.7 2021/08/21 23:00:31 andvar Exp $");
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
|
@ -83,7 +83,7 @@ AcpiOsTerminate(void)
|
|||
/*
|
||||
* AcpiOsGetRootPointer:
|
||||
*
|
||||
* Obtain the Root ACPI talbe pointer (RSDP)
|
||||
* Obtain the Root ACPI table pointer (RSDP)
|
||||
*/
|
||||
ACPI_PHYSICAL_ADDRESS
|
||||
AcpiOsGetRootPointer(void)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ibm82660reg.h,v 1.3 2008/06/14 12:01:28 mjf Exp $ */
|
||||
/* $NetBSD: ibm82660reg.h,v 1.4 2021/08/21 23:00:31 andvar Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2007 The NetBSD Foundation, Inc.
|
||||
|
@ -36,7 +36,7 @@
|
|||
* Also known as a Lanai/Kauai.
|
||||
*/
|
||||
|
||||
/* Memmory Bank Starting Addresses */
|
||||
/* Memory Bank Starting Addresses */
|
||||
#define IBM_82660_MEM_BANK0_START 0x80
|
||||
#define IBM_82660_MEM_BANK1_START 0x81
|
||||
#define IBM_82660_MEM_BANK2_START 0x82
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: cd.c,v 1.351 2021/04/16 12:58:54 reinoud Exp $ */
|
||||
/* $NetBSD: cd.c,v 1.352 2021/08/21 23:00:32 andvar Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 2001, 2003, 2004, 2005, 2008 The NetBSD Foundation,
|
||||
|
@ -50,7 +50,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: cd.c,v 1.351 2021/04/16 12:58:54 reinoud Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: cd.c,v 1.352 2021/08/21 23:00:32 andvar Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -3376,7 +3376,7 @@ mmc_do_close_or_finalise(struct scsipi_periph *periph, struct mmc_op *mmc_op)
|
|||
(void *)blob, sizeof(blob), flags, CDRETRIES, 20000);
|
||||
if (error)
|
||||
return error;
|
||||
/* and use funtion 2 */
|
||||
/* and use function 2 */
|
||||
func = 2;
|
||||
break;
|
||||
case 0x11 : /* DVD-R (DL) */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: subr_kobj.c,v 1.68 2021/06/09 15:15:35 christos Exp $ */
|
||||
/* $NetBSD: subr_kobj.c,v 1.69 2021/08/21 23:00:32 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2008 The NetBSD Foundation, Inc.
|
||||
|
@ -63,7 +63,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: subr_kobj.c,v 1.68 2021/06/09 15:15:35 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: subr_kobj.c,v 1.69 2021/08/21 23:00:32 andvar Exp $");
|
||||
|
||||
#ifdef _KERNEL_OPT
|
||||
#include "opt_modular.h"
|
||||
|
@ -961,7 +961,7 @@ kobj_findbase(kobj_t ko, int sec)
|
|||
* kobj_checksyms:
|
||||
*
|
||||
* Scan symbol table for duplicates or resolve references to
|
||||
* exernal symbols.
|
||||
* external symbols.
|
||||
*/
|
||||
static int
|
||||
kobj_checksyms(kobj_t ko, bool undefined)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: h_spawnattr.c,v 1.1 2012/02/13 21:03:08 martin Exp $ */
|
||||
/* $NetBSD: h_spawnattr.c,v 1.2 2021/08/21 23:00:32 andvar Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2012 The NetBSD Foundation, Inc.
|
||||
|
@ -38,7 +38,7 @@
|
|||
|
||||
/*
|
||||
* Helper to test the hardcoded assumptions from t_spawnattr.c
|
||||
* Exit with apropriate exit status and print diagnostics to
|
||||
* Exit with appropriate exit status and print diagnostics to
|
||||
* stderr explaining what is wrong.
|
||||
*/
|
||||
int
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: print.c,v 1.9 2021/08/02 12:56:25 andvar Exp $ */
|
||||
/* $NetBSD: print.c,v 1.10 2021/08/21 23:00:32 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1993-96 Mats O Jansson. All rights reserved.
|
||||
|
@ -26,7 +26,7 @@
|
|||
|
||||
#include "port.h"
|
||||
#ifndef lint
|
||||
__RCSID("$NetBSD: print.c,v 1.9 2021/08/02 12:56:25 andvar Exp $");
|
||||
__RCSID("$NetBSD: print.c,v 1.10 2021/08/21 23:00:32 andvar Exp $");
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
|
@ -470,7 +470,7 @@ mopPrintInfo(FILE *fd, const u_char *pkt, int *idx,
|
|||
break;
|
||||
case MOP_K_INFO_MFCT:
|
||||
tmps = mopGetShort(pkt,idx);
|
||||
(void)fprintf(fd,"Maint Funcion: %04x ( ",tmps);
|
||||
(void)fprintf(fd,"Maint Function: %04x ( ",tmps);
|
||||
if (tmps & 1) (void)fprintf(fd, "Loop ");
|
||||
if (tmps & 2) (void)fprintf(fd, "Dump ");
|
||||
if (tmps & 4) (void)fprintf(fd, "Pldr ");
|
||||
|
|
Loading…
Reference in New Issue