fix spelling mistakes, mainly in comments and log messages.
This commit is contained in:
parent
749ce5c9e6
commit
100a3398b8
4
UPDATING
4
UPDATING
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: UPDATING,v 1.344 2023/09/24 16:33:41 gutteridge Exp $
|
||||
$NetBSD: UPDATING,v 1.345 2024/02/09 22:08:30 andvar Exp $
|
||||
|
||||
This file (UPDATING) is intended to be a brief reference to recent
|
||||
changes that might cause problems in the build process, and a guide for
|
||||
|
@ -56,7 +56,7 @@ Recent changes:
|
|||
|
||||
20230515:
|
||||
New openssl build requires removal of the crypto/external/bsd/openssl
|
||||
and tests/crypto/libcrypto subdirectories in the ${OBJDIR} hierachy.
|
||||
and tests/crypto/libcrypto subdirectories in the ${OBJDIR} hierarchy.
|
||||
Otherwise test results may be wrong due to wrong "golden" output
|
||||
files being installed.
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: shell.h,v 1.31 2021/10/26 00:05:38 kre Exp $ */
|
||||
/* $NetBSD: shell.h,v 1.32 2024/02/09 22:08:30 andvar Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1991, 1993
|
||||
|
@ -96,7 +96,7 @@ extern int ShNest;
|
|||
* matters for anything, just makes it easier to assign a different
|
||||
* command letter to each debug option. We currently use only 18
|
||||
* so this could be reduced, but that is of no real benefit. It can also
|
||||
* be increased, but that both limits the maximum value tha can be
|
||||
* be increased, but that both limits the maximum value that can be
|
||||
* used with DBG_EXTRAS(), and causes problems with verbose option naming.
|
||||
*/
|
||||
#define DBG_VBOSE_SHIFT 27
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: README,v 1.5 1999/02/16 17:59:18 kleink Exp $
|
||||
# $NetBSD: README,v 1.6 2024/02/09 22:08:30 andvar Exp $
|
||||
# @(#)README 8.1 (Berkeley) 6/4/93
|
||||
|
||||
This package implements a superset of the hsearch and dbm/ndbm libraries.
|
||||
|
@ -49,7 +49,7 @@ The man page ../man/db.3 explains the interface to the hashing system.
|
|||
The file hash.ps is a postscript copy of a paper explaining
|
||||
the history, implementation, and performance of the hash package.
|
||||
|
||||
"bugs" or idiosyncracies
|
||||
"bugs" or idiosyncrasies
|
||||
|
||||
If you have a lot of overflows, it is possible to run out of overflow
|
||||
pages. Currently, this will cause a message to be printed on stderr.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: usb_hid_usages,v 1.7 2016/01/01 19:14:45 jakllsch Exp $
|
||||
# $NetBSD: usb_hid_usages,v 1.8 2024/02/09 22:08:31 andvar Exp $
|
||||
#
|
||||
# USB HID usage table
|
||||
# Syntax:
|
||||
|
@ -1569,7 +1569,7 @@
|
|||
0x7B Good Read Lamp Duration
|
||||
0x7C Good Read Lamp Intensity
|
||||
0x7D Good Read LED
|
||||
0x7E Good Read Tone Frequence
|
||||
0x7E Good Read Tone Frequency
|
||||
0x7F Good Read Tone Length
|
||||
0x80 Good Read Tone Volume
|
||||
0x82 No Read Message
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: diag.c,v 1.17 2019/01/12 19:08:24 christos Exp $ */
|
||||
/* $NetBSD: diag.c,v 1.18 2024/02/09 22:08:31 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Routines to report various classes of problems. Each report is decorated
|
||||
|
@ -16,7 +16,7 @@
|
|||
#if 0
|
||||
static char sccsid[] = "@(#) diag.c 1.1 94/12/28 17:42:20";
|
||||
#else
|
||||
__RCSID("$NetBSD: diag.c,v 1.17 2019/01/12 19:08:24 christos Exp $");
|
||||
__RCSID("$NetBSD: diag.c,v 1.18 2024/02/09 22:08:31 andvar Exp $");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -52,7 +52,7 @@ tcpd_diag(int severity, const char *tag, const char *fmt, va_list ap)
|
|||
buf = __UNCONST(fmt);
|
||||
free(bufx);
|
||||
|
||||
/* contruct the tag for the log entry */
|
||||
/* construct the tag for the log entry */
|
||||
if (tcpd_context.file)
|
||||
syslog(severity, "%s: %s, line %d: %s",
|
||||
tag, tcpd_context.file, tcpd_context.line, buf);
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
/* dmctl command is used to communicate with device-mapper driver in NetBSD
|
||||
* it uses libdm library to create and send required data to kernel.
|
||||
*
|
||||
* Main purpose of dmctl is to add posibility to use device-mapper driver
|
||||
* Main purpose of dmctl is to add possibility to use device-mapper driver
|
||||
* from outside of LVM scope.
|
||||
*/
|
||||
|
||||
|
@ -123,7 +123,7 @@ static struct command commands[] = {
|
|||
NULL, DMCTL_CMD_REQ_DEVNAME,
|
||||
dmctl_dev_suspend },
|
||||
{ "deps",
|
||||
"Print physical dependiences for dm device [dm device name].",
|
||||
"Print physical dependencies for dm device [dm device name].",
|
||||
NULL, DMCTL_CMD_REQ_DEVNAME,
|
||||
dmctl_dev_deps },
|
||||
{ "reload",
|
||||
|
@ -379,7 +379,7 @@ dmctl_dev_remove(int argc __unused, char *argv[] __unused, libdm_task_t task)
|
|||
|
||||
/*
|
||||
* Resume device which was suspended or created right now.
|
||||
* Replace table in "active slot" witg table in "inactive slot".
|
||||
* Replace table in "active slot" with table in "inactive slot".
|
||||
*/
|
||||
static int
|
||||
dmctl_dev_resume(int argc __unused, char *argv[] __unused, libdm_task_t task)
|
||||
|
@ -413,7 +413,7 @@ dmctl_dev_suspend(int argc __unused, char *argv[] __unused, libdm_task_t task)
|
|||
}
|
||||
|
||||
/*
|
||||
* Get device dependiences from device-mapper. Device dependency is physical
|
||||
* Get device dependencies from device-mapper. Device dependency is physical
|
||||
* device on which dm device depends.
|
||||
*/
|
||||
static int
|
||||
|
@ -433,7 +433,7 @@ dmctl_dev_deps(int argc __unused, char *argv[] __unused, libdm_task_t task)
|
|||
|
||||
iter = libdm_cmd_iter_create(cmd);
|
||||
|
||||
printf("Device %s dependiences \n", dvname);
|
||||
printf("Device %s dependencies \n", dvname);
|
||||
|
||||
while((dev_deps = libdm_cmd_get_deps(iter)) != 0)
|
||||
printf("major: %d minor: %d\n", major(dev_deps), minor(dev_deps));
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: JISX0212%UCS.src,v 1.2 2003/07/12 16:11:10 tshiozak Exp $
|
||||
# $NetBSD: JISX0212%UCS.src,v 1.3 2024/02/09 22:08:31 andvar Exp $
|
||||
|
||||
TYPE ROWCOL
|
||||
NAME JISX0212/UCS
|
||||
|
@ -92,7 +92,7 @@ BEGIN_MAP
|
|||
#
|
||||
# However, JIS X 0212 maintains the distinction between
|
||||
# the lowercase forms of these two elements at 0x2942 and 0x2943.
|
||||
# Given the structre of these JIS encodings, it is clear that
|
||||
# Given the structure of these JIS encodings, it is clear that
|
||||
# 0x2922 and 0x2942 are intended to be a capital/small pair.
|
||||
# Consequently, in the Unicode mapping, 0x2922 is treated as
|
||||
# LATIN CAPITAL LETTER D WITH STROKE.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: UCS%JISX0212.src,v 1.3 2003/07/14 06:03:43 tshiozak Exp $
|
||||
# $NetBSD: UCS%JISX0212.src,v 1.4 2024/02/09 22:08:31 andvar Exp $
|
||||
|
||||
TYPE ROWCOL
|
||||
NAME "UCS/JISX0212"
|
||||
|
@ -92,7 +92,7 @@ BEGIN_MAP
|
|||
#
|
||||
# However, JIS X 0212 maintains the distinction between
|
||||
# the lowercase forms of these two elements at 0x2942 and 0x2943.
|
||||
# Given the structre of these JIS encodings, it is clear that
|
||||
# Given the structure of these JIS encodings, it is clear that
|
||||
# 0x2922 and 0x2942 are intended to be a capital/small pair.
|
||||
# Consequently, in the Unicode mapping, 0x2922 is treated as
|
||||
# LATIN CAPITAL LETTER D WITH STROKE.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: altq_rmclass.c,v 1.29 2021/07/21 07:34:44 ozaki-r Exp $ */
|
||||
/* $NetBSD: altq_rmclass.c,v 1.30 2024/02/09 22:08:31 andvar Exp $ */
|
||||
/* $KAME: altq_rmclass.c,v 1.19 2005/04/13 03:44:25 suz Exp $ */
|
||||
|
||||
/*
|
||||
|
@ -38,7 +38,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: altq_rmclass.c,v 1.29 2021/07/21 07:34:44 ozaki-r Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: altq_rmclass.c,v 1.30 2024/02/09 22:08:31 andvar Exp $");
|
||||
|
||||
/* #ident "@(#)rm_class.c 1.48 97/12/05 SMI" */
|
||||
|
||||
|
@ -1474,7 +1474,7 @@ tvhzto(struct timeval *tv)
|
|||
* void
|
||||
* rmc_delay_action(struct rm_class *cl) - This function is the generic CBQ
|
||||
* delay action routine. It is invoked via rmc_under_limit when the
|
||||
* packet is discoverd to be overlimit.
|
||||
* packet is discovered to be overlimit.
|
||||
*
|
||||
* If the delay action is result of borrow class being overlimit, then
|
||||
* delay for the offtime of the borrowing class that is overlimit.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: cia_dma.c,v 1.37 2021/07/19 01:06:14 thorpej Exp $ */
|
||||
/* $NetBSD: cia_dma.c,v 1.38 2024/02/09 22:08:31 andvar Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -32,7 +32,7 @@
|
|||
|
||||
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
|
||||
|
||||
__KERNEL_RCSID(0, "$NetBSD: cia_dma.c,v 1.37 2021/07/19 01:06:14 thorpej Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: cia_dma.c,v 1.38 2024/02/09 22:08:31 andvar Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -418,7 +418,7 @@ cia_bus_dmamap_create_direct(
|
|||
* is greater than 1. This is because many network
|
||||
* drivers allocate large contiguous blocks of memory
|
||||
* for control data structures, even though they won't
|
||||
* do any single DMA that crosses a page coundary.
|
||||
* do any single DMA that crosses a page boundary.
|
||||
* -- thorpej@NetBSD.org, 2/5/2000
|
||||
*/
|
||||
map->_dm_flags |= DMAMAP_NO_COALESCE;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: aica_arm_locore.S,v 1.6 2024/02/07 04:20:27 msaitoh Exp $ */
|
||||
/* $NetBSD: aica_arm_locore.S,v 1.7 2024/02/09 22:08:32 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2003 Ryo Shimizu
|
||||
|
@ -44,7 +44,7 @@ exp_reset:
|
|||
|
||||
mrs r0,CPSR /* disable interrupt */
|
||||
bic r0,r0,#0x80 /* disable IRQ */
|
||||
bic r0,r0,#0x40 /* disbale FIQ */
|
||||
bic r0,r0,#0x40 /* disable FIQ */
|
||||
msr CPSR_all,r0
|
||||
|
||||
mrc p15,0,r0,c1,c0,0 /* read control register */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: g42xxeb_kmkbd.c,v 1.17 2023/12/20 13:55:17 thorpej Exp $ */
|
||||
/* $NetBSD: g42xxeb_kmkbd.c,v 1.18 2024/02/09 22:08:32 andvar Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2002, 2003, 2005 Genetec corp.
|
||||
|
@ -37,7 +37,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: g42xxeb_kmkbd.c,v 1.17 2023/12/20 13:55:17 thorpej Exp $" );
|
||||
__KERNEL_RCSID(0, "$NetBSD: g42xxeb_kmkbd.c,v 1.18 2024/02/09 22:08:32 andvar Exp $" );
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -156,7 +156,7 @@ const struct wskbd_mapdata kmkbd_keymapdata = {
|
|||
};
|
||||
|
||||
/*
|
||||
* Hackish support for a bell on the PC Keyboard; when a suitable feeper
|
||||
* Hackish support for a bell on the PC Keyboard; when a suitable beeper
|
||||
* is found, it attaches itself into the pckbd driver here.
|
||||
*/
|
||||
void (*kmkbd_bell_fn)(void *, u_int, u_int, u_int, int);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: npwr_fc_machdep.c,v 1.30 2023/10/12 11:33:38 skrll Exp $ */
|
||||
/* $NetBSD: npwr_fc_machdep.c,v 1.31 2024/02/09 22:08:32 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
|
||||
|
@ -73,7 +73,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: npwr_fc_machdep.c,v 1.30 2023/10/12 11:33:38 skrll Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: npwr_fc_machdep.c,v 1.31 2024/02/09 22:08:32 andvar Exp $");
|
||||
|
||||
#include "opt_arm_debug.h"
|
||||
#include "opt_console.h"
|
||||
|
@ -380,7 +380,7 @@ initarm(void *arg)
|
|||
*/
|
||||
|
||||
/*
|
||||
* Fetch the SDRAM start/size from the i80321 SDRAM configration
|
||||
* Fetch the SDRAM start/size from the i80321 SDRAM configuration
|
||||
* registers.
|
||||
*/
|
||||
i80321_sdram_bounds(&obio_bs_tag, VERDE_PMMR_BASE + VERDE_MCU_BASE,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
| $NetBSD: vectors.S,v 1.1 2014/08/27 00:18:25 matt Exp $
|
||||
| $NetBSD: vectors.S,v 1.2 2024/02/09 22:08:32 andvar Exp $
|
||||
|
||||
| Copyright (c) 1997 Jason R. Thorpe. All rights reserved.
|
||||
| Copyright (c) 1988 University of Utah
|
||||
|
@ -37,7 +37,7 @@
|
|||
|
|
||||
|
||||
#include <machine/asm.h>
|
||||
RCSID("$NetBSD: vectors.S,v 1.1 2014/08/27 00:18:25 matt Exp $")
|
||||
RCSID("$NetBSD: vectors.S,v 1.2 2024/02/09 22:08:32 andvar Exp $")
|
||||
|
||||
#define BADTRAP16 \
|
||||
VECTOR(badtrap) ; VECTOR(badtrap) ; \
|
||||
|
@ -130,7 +130,7 @@ GLOBAL(vectab)
|
|||
VECTOR(badtrap) /* 63: unassigned, reserved */
|
||||
|
||||
/*
|
||||
* Vectors are installed from 64-255 by the *intr_extablish() functions.
|
||||
* Vectors are installed from 64-255 by the *intr_establish() functions.
|
||||
*/
|
||||
BADTRAP16 /* 64-255: user interrupt vectors */
|
||||
BADTRAP16 /* 64-255: user interrupt vectors */
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# $NetBSD: std.ews4800mips,v 1.1 2005/12/29 15:20:08 tsutsui Exp $
|
||||
# $NetBSD: std.ews4800mips,v 1.2 2024/02/09 22:08:32 andvar Exp $
|
||||
|
||||
machine ews4800mips mips
|
||||
makeoptions MACHINE_ARCH="mipseb"
|
||||
include "conf/std" # MI standart options
|
||||
include "conf/std" # MI standard options
|
||||
|
||||
options EXEC_ELF32 # exec ELF32 binaries
|
||||
options EXEC_SCRIPT # exec #! scripts
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: mmu_40.h,v 1.2 2024/01/09 04:16:25 thorpej Exp $ */
|
||||
/* $NetBSD: mmu_40.h,v 1.3 2024/02/09 22:08:32 andvar Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2023 The NetBSD Foundation, Inc.
|
||||
|
@ -40,7 +40,7 @@
|
|||
* at the lext level, and the page (L3) tables contain the addresses
|
||||
* of the page descriptors, which may either contain the address of
|
||||
* a physical page (4K or 8K) directly, or point to an indirect
|
||||
* decriptor which points to the physical page.
|
||||
* descriptor which points to the physical page.
|
||||
*
|
||||
* The L1 and L2 tables contain 128 4-byte descriptors, and are thus 512
|
||||
* bytes in size. Each of the 128 L1 descriptors corresponds to a 32MB
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: locore_mips1.S,v 1.98 2022/03/13 22:18:56 andvar Exp $ */
|
||||
/* $NetBSD: locore_mips1.S,v 1.99 2024/02/09 22:08:32 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
|
@ -57,7 +57,7 @@
|
|||
#include <mips/asm.h>
|
||||
#include <mips/cpuregs.h>
|
||||
|
||||
RCSID("$NetBSD: locore_mips1.S,v 1.98 2022/03/13 22:18:56 andvar Exp $")
|
||||
RCSID("$NetBSD: locore_mips1.S,v 1.99 2024/02/09 22:08:32 andvar Exp $")
|
||||
|
||||
#include "assym.h"
|
||||
|
||||
|
@ -1609,7 +1609,7 @@ END(MIPSX(cpu_switch_resume))
|
|||
* is wired to indicate writebuffer condition. This code does busy-loop
|
||||
* while CU0 bit indicates false condition.
|
||||
*
|
||||
* For other hardwares which have the writebuffer logic is implemented
|
||||
* For other hardware which have the writebuffer logic is implemented
|
||||
* in a system controller ASIC chip, wbflush operation would done
|
||||
* differently.
|
||||
*/
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: scsi_1185.c,v 1.25 2023/11/04 18:13:25 tsutsui Exp $ */
|
||||
/* $NetBSD: scsi_1185.c,v 1.26 2024/02/09 22:08:32 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
|
@ -53,7 +53,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: scsi_1185.c,v 1.25 2023/11/04 18:13:25 tsutsui Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: scsi_1185.c,v 1.26 2024/02/09 22:08:32 andvar Exp $");
|
||||
|
||||
#define __INTR_PRIVATE
|
||||
#include <sys/param.h>
|
||||
|
@ -450,7 +450,7 @@ scintr_loop:
|
|||
|
||||
if (sc->int_stat2 & R3_SRST) {
|
||||
/*
|
||||
* RST signal is drived
|
||||
* RST signal is derived
|
||||
*/
|
||||
sc->int_stat2 &= ~R3_SRST;
|
||||
scsi_softreset(sc);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: pq3etsec.c,v 1.58 2022/09/18 13:09:17 thorpej Exp $ */
|
||||
/* $NetBSD: pq3etsec.c,v 1.59 2024/02/09 22:08:33 andvar Exp $ */
|
||||
/*-
|
||||
* Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
|
||||
* All rights reserved.
|
||||
|
@ -35,7 +35,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: pq3etsec.c,v 1.58 2022/09/18 13:09:17 thorpej Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: pq3etsec.c,v 1.59 2024/02/09 22:08:33 andvar Exp $");
|
||||
|
||||
#ifdef _KERNEL_OPT
|
||||
#include "opt_inet.h"
|
||||
|
@ -725,7 +725,7 @@ pq3etsec_attach(device_t parent, device_t self, void *aux)
|
|||
etsec_write(sc, ATTR, ATTR_DEFAULT);
|
||||
etsec_write(sc, ATTRELI, ATTRELI_DEFAULT);
|
||||
|
||||
/* Enable interrupt coalesing */
|
||||
/* Enable interrupt coalescing */
|
||||
sc->sc_ic_rx_time = 768;
|
||||
sc->sc_ic_rx_count = 16;
|
||||
sc->sc_ic_tx_time = 768;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: locore.S,v 1.44 2024/02/02 22:00:34 andvar Exp $ */
|
||||
/* $NetBSD: locore.S,v 1.45 2024/02/09 22:08:33 andvar Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2014, 2022 The NetBSD Foundation, Inc.
|
||||
|
@ -504,7 +504,7 @@ END(cpu_mpstart)
|
|||
|
||||
|
||||
toomanyharts:
|
||||
PRINTS("too many harts, or hart id doens't exist in cpu_hart[]\n")
|
||||
PRINTS("too many harts, or hart id doesn't exist in cpu_hart[]\n")
|
||||
1: wfi
|
||||
j 1b
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: iris_scsi.c,v 1.1 2019/01/12 16:44:47 tsutsui Exp $ */
|
||||
/* $NetBSD: iris_scsi.c,v 1.2 2024/02/09 22:08:33 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2018 Naruaki Etomi
|
||||
|
@ -302,7 +302,7 @@ wd33c93_selectbus(struct wd33c93_softc *sc, uint8_t *cbuf, size_t clen,
|
|||
* We only really need to do anything when the target goes to MSG out
|
||||
* If the device ignored ATN, it's probably old and brain-dead,
|
||||
* but we'll try to support it anyhow.
|
||||
* If it doesn't support message out, it definately doesn't
|
||||
* If it doesn't support message out, it definitely doesn't
|
||||
* support synchronous transfers, so no point in even asking...
|
||||
*/
|
||||
|
||||
|
@ -402,7 +402,7 @@ wd33c93_nextstate(struct wd33c93_softc *sc, uint8_t *cbuf, size_t clen,
|
|||
/*
|
||||
* Should we transfer using PIO or DMA ?
|
||||
*/
|
||||
/* Perfrom transfer using PIO */
|
||||
/* Perform transfer using PIO */
|
||||
if (SBIC_PHASE(csr) == DATA_IN_PHASE){
|
||||
/* data in */
|
||||
resid = wd33c93_xfin(sc, buf, lenp);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: scr.c,v 1.36 2023/06/29 21:01:21 andvar Exp $ */
|
||||
/* $NetBSD: scr.c,v 1.37 2024/02/09 22:08:33 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997
|
||||
|
@ -102,7 +102,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: scr.c,v 1.36 2023/06/29 21:01:21 andvar Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: scr.c,v 1.37 2024/02/09 22:08:33 andvar Exp $");
|
||||
|
||||
#include "opt_ddb.h"
|
||||
|
||||
|
@ -3466,7 +3466,7 @@ static void scrClkStart(struct scr_softc * sc,int countPerTick)
|
|||
**
|
||||
** scrClkAdj
|
||||
**
|
||||
** Adjusts the frequence of the clock
|
||||
** Adjusts the frequency of the clock
|
||||
**
|
||||
** FORMAL PARAMETERS:
|
||||
**
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: pmap.c,v 1.318 2023/12/20 05:33:59 thorpej Exp $ */
|
||||
/* $NetBSD: pmap.c,v 1.319 2024/02/09 22:08:33 andvar Exp $ */
|
||||
/*
|
||||
*
|
||||
* Copyright (C) 1996-1999 Eduardo Horvath.
|
||||
|
@ -26,7 +26,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.318 2023/12/20 05:33:59 thorpej Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.319 2024/02/09 22:08:33 andvar Exp $");
|
||||
|
||||
#undef NO_VCACHE /* Don't forget the locked TLB in dostart */
|
||||
#define HWREF
|
||||
|
@ -81,7 +81,7 @@ __KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.318 2023/12/20 05:33:59 thorpej Exp $");
|
|||
#define MEG (1<<20) /* 1MB */
|
||||
#define KB (1<<10) /* 1KB */
|
||||
|
||||
paddr_t cpu0paddr; /* contigious phys memory preallocated for cpus */
|
||||
paddr_t cpu0paddr; /* contiguous phys memory preallocated for cpus */
|
||||
|
||||
/* These routines are in assembly to allow access thru physical mappings */
|
||||
extern int64_t pseg_get_real(struct pmap *, vaddr_t);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_ie.c,v 1.73 2021/10/24 20:00:11 andvar Exp $ */
|
||||
/* $NetBSD: if_ie.c,v 1.74 2024/02/09 22:08:33 andvar Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1993, 1994, 1995 Charles M. Hannum.
|
||||
|
@ -98,7 +98,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_ie.c,v 1.73 2021/10/24 20:00:11 andvar Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_ie.c,v 1.74 2024/02/09 22:08:33 andvar Exp $");
|
||||
|
||||
#include "opt_inet.h"
|
||||
#include "opt_ns.h"
|
||||
|
@ -1138,7 +1138,7 @@ run_tdr(struct ie_softc *sc, struct ie_tdr_cmd *cmd)
|
|||
* iememinit: set up the buffers
|
||||
*
|
||||
* we have a block of KVA at sc->buf_area which is of size sc->buf_area_sz.
|
||||
* this is to be used for the buffers. the chip indexs its control data
|
||||
* this is to be used for the buffers. the chip indexes its control data
|
||||
* structures with 16 bit offsets, and it indexes actual buffers with
|
||||
* 24 bit addresses. so we should allocate control buffers first so that
|
||||
* we don't overflow the 16 bit offset field. The number of transmit
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: consinit.c,v 1.38 2023/10/17 16:06:36 bouyer Exp $ */
|
||||
/* $NetBSD: consinit.c,v 1.39 2024/02/09 22:08:33 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1998
|
||||
|
@ -27,7 +27,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: consinit.c,v 1.38 2023/10/17 16:06:36 bouyer Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: consinit.c,v 1.39 2024/02/09 22:08:33 andvar Exp $");
|
||||
|
||||
#include "opt_kgdb.h"
|
||||
#include "opt_puc.h"
|
||||
|
@ -176,7 +176,7 @@ consinit(void)
|
|||
if (vm_guest == VM_GUEST_XENPVH) {
|
||||
if (xen_pvh_consinit() != 0)
|
||||
return;
|
||||
/* fallback to native console selection, usefull for dom0 PVH */
|
||||
/* fallback to native console selection, useful for dom0 PVH */
|
||||
}
|
||||
#endif
|
||||
if (initted)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: xpci_xenbus.c,v 1.25 2021/08/07 16:19:08 thorpej Exp $ */
|
||||
/* $NetBSD: xpci_xenbus.c,v 1.26 2024/02/09 22:08:33 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2009 Manuel Bouyer.
|
||||
|
@ -25,7 +25,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: xpci_xenbus.c,v 1.25 2021/08/07 16:19:08 thorpej Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: xpci_xenbus.c,v 1.26 2024/02/09 22:08:33 andvar Exp $");
|
||||
|
||||
#include "opt_xen.h"
|
||||
|
||||
|
@ -565,7 +565,7 @@ endfor:
|
|||
/*
|
||||
* Xen is lacking an important info: the domain:bus:dev:func
|
||||
* present in dev-xx in the store are real PCI bus:dev:func, and
|
||||
* xenback may present us fake ones, and unfortunably it's not
|
||||
* xenback may present us fake ones, and unfortunately it's not
|
||||
* the list of devices is not published in the store with this
|
||||
* information. So we have to scan all dev/func combination :(
|
||||
* the MI scan function isn't enough because it doesn't search
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: xenbus_dev.c,v 1.18 2020/04/25 15:26:18 bouyer Exp $ */
|
||||
/* $NetBSD: xenbus_dev.c,v 1.19 2024/02/09 22:08:34 andvar Exp $ */
|
||||
/*
|
||||
* xenbus_dev.c
|
||||
*
|
||||
|
@ -31,7 +31,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: xenbus_dev.c,v 1.18 2020/04/25 15:26:18 bouyer Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: xenbus_dev.c,v 1.19 2024/02/09 22:08:34 andvar Exp $");
|
||||
|
||||
#include "opt_xen.h"
|
||||
|
||||
|
@ -102,7 +102,7 @@ xenbus_kernfs_init(void)
|
|||
/*
|
||||
* several process may open /kern/xen/xenbus in parallel.
|
||||
* In a transaction one or more write is followed by one or more read.
|
||||
* Unfortunably we don't get a file descriptor identifier down there,
|
||||
* Unfortunately we don't get a file descriptor identifier down there,
|
||||
* which we could use to link a read() to a transaction started in a write().
|
||||
* To work around this we keep a list of lwp that opended the xenbus file.
|
||||
* This assumes that a single lwp won't open /kern/xen/xenbus more
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: coda_namecache.c,v 1.28 2022/05/20 19:34:22 andvar Exp $ */
|
||||
/* $NetBSD: coda_namecache.c,v 1.29 2024/02/09 22:08:34 andvar Exp $ */
|
||||
|
||||
/*
|
||||
*
|
||||
|
@ -77,7 +77,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: coda_namecache.c,v 1.28 2022/05/20 19:34:22 andvar Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: coda_namecache.c,v 1.29 2024/02/09 22:08:34 andvar Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/errno.h>
|
||||
|
@ -554,7 +554,7 @@ coda_nc_flush(enum dc_status dcstat)
|
|||
/*
|
||||
* Go through the whole lru chain and kill everything as we go.
|
||||
* I don't use remove since that would rebuild the lru chain
|
||||
* as it went and that seemed unneccesary.
|
||||
* as it went and that seemed unnecessary.
|
||||
*/
|
||||
struct coda_cache *cncp;
|
||||
int i;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: linux_inotify.c,v 1.5 2023/08/24 19:51:24 christos Exp $ */
|
||||
/* $NetBSD: linux_inotify.c,v 1.6 2024/02/09 22:08:34 andvar Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2023 The NetBSD Foundation, Inc.
|
||||
|
@ -29,7 +29,7 @@
|
|||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: linux_inotify.c,v 1.5 2023/08/24 19:51:24 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: linux_inotify.c,v 1.6 2024/02/09 22:08:34 andvar Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/types.h>
|
||||
|
@ -528,7 +528,7 @@ linux_sys_inotify_add_watch(struct lwp *l,
|
|||
/* Success! */
|
||||
*retval = wd;
|
||||
|
||||
/* Resize ifd_nwds to accomodate wd. */
|
||||
/* Resize ifd_nwds to accommodate wd. */
|
||||
if (wd+1 > ifd->ifd_nwds) {
|
||||
new_wds = kmem_zalloc(
|
||||
(wd+1) * sizeof(*ifd->ifd_wds), KM_SLEEP);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: linux_prctl.h,v 1.3 2006/11/24 22:04:24 wiz Exp $ */
|
||||
/* $NetBSD: linux_prctl.h,v 1.4 2024/02/09 22:08:34 andvar Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2005 Emmanuel Dreyfus, all rights reserved.
|
||||
|
@ -34,7 +34,7 @@
|
|||
#ifndef _LINUX_PRCTL_H
|
||||
#define _LINUX_PRCTL_H
|
||||
|
||||
/* arch independent prctl(2): not yet implemnted */
|
||||
/* arch independent prctl(2): not yet implemented */
|
||||
|
||||
/* arch specific arch_prctl(2): only on amd64 so far */
|
||||
#if defined(__amd64__)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: files,v 1.1310 2023/12/29 23:31:45 thorpej Exp $
|
||||
# $NetBSD: files,v 1.1311 2024/02/09 22:08:34 andvar Exp $
|
||||
# @(#)files.newconf 7.5 (Berkeley) 5/10/93
|
||||
|
||||
version 20171118
|
||||
|
@ -364,7 +364,7 @@ defflag opt_tftproot.h TFTPROOT TFTPROOT_DEBUG
|
|||
|
||||
defflag opt_wlan.h WLAN
|
||||
|
||||
# Machine-independent device majors assignements
|
||||
# Machine-independent device majors assignments
|
||||
include "conf/majors"
|
||||
|
||||
# generic attributes
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_hvn.c,v 1.26 2023/12/20 18:09:18 skrll Exp $ */
|
||||
/* $NetBSD: if_hvn.c,v 1.27 2024/02/09 22:08:34 andvar Exp $ */
|
||||
/* $OpenBSD: if_hvn.c,v 1.39 2018/03/11 14:31:34 mikeb Exp $ */
|
||||
|
||||
/*-
|
||||
|
@ -35,7 +35,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_hvn.c,v 1.26 2023/12/20 18:09:18 skrll Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_hvn.c,v 1.27 2024/02/09 22:08:34 andvar Exp $");
|
||||
|
||||
#ifdef _KERNEL_OPT
|
||||
#include "opt_if_hvn.h"
|
||||
|
@ -773,7 +773,7 @@ hvn_detach(device_t self, int flags)
|
|||
hvn_stop_locked(ifp);
|
||||
/*
|
||||
* NOTE:
|
||||
* hvn_stop() only suspends data, so managment
|
||||
* hvn_stop() only suspends data, so management
|
||||
* stuffs have to be suspended manually here.
|
||||
*/
|
||||
hvn_suspend_mgmt(sc);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_hvnreg.h,v 1.3 2022/05/20 13:55:17 nonaka Exp $ */
|
||||
/* $NetBSD: if_hvnreg.h,v 1.4 2024/02/09 22:08:34 andvar Exp $ */
|
||||
/* $OpenBSD: if_hvnreg.h,v 1.3 2016/09/14 17:48:28 mikeb Exp $ */
|
||||
|
||||
/*-
|
||||
|
@ -44,7 +44,7 @@
|
|||
#define HVN_NVS_RNDIS_MTYPE_CTRL 1
|
||||
|
||||
/*
|
||||
* NVS message transacion status codes.
|
||||
* NVS message transaction status codes.
|
||||
*/
|
||||
#define HVN_NVS_STATUS_OK 1
|
||||
#define HVN_NVS_STATUS_FAILED 2
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ad1848.c,v 1.33 2020/02/29 05:51:11 isaki Exp $ */
|
||||
/* $NetBSD: ad1848.c,v 1.34 2024/02/09 22:08:34 andvar Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1999, 2008 The NetBSD Foundation, Inc.
|
||||
|
@ -95,7 +95,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: ad1848.c,v 1.33 2020/02/29 05:51:11 isaki Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: ad1848.c,v 1.34 2024/02/09 22:08:34 andvar Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -458,7 +458,7 @@ static const struct ad1848_mixerinfo {
|
|||
/*
|
||||
* This function doesn't set the mute flags but does use them.
|
||||
* The mute flags reflect the mutes that have been applied by the user.
|
||||
* However, the driver occasionally wants to mute devices (e.g. when chaing
|
||||
* However, the driver occasionally wants to mute devices (e.g. when changing
|
||||
* sampling rate). These operations should not affect the mute flags.
|
||||
*/
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: cs89x0.c,v 1.52 2022/09/18 17:21:18 thorpej Exp $ */
|
||||
/* $NetBSD: cs89x0.c,v 1.53 2024/02/09 22:08:34 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2004 Christopher Gilbert
|
||||
|
@ -212,7 +212,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: cs89x0.c,v 1.52 2022/09/18 17:21:18 thorpej Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: cs89x0.c,v 1.53 2024/02/09 22:08:34 andvar Exp $");
|
||||
|
||||
#include "opt_inet.h"
|
||||
|
||||
|
@ -881,7 +881,7 @@ cs_reset_chip(struct cs_softc *sc)
|
|||
sc->sc_txbusy = FALSE;
|
||||
|
||||
/*
|
||||
* There was a delay(125); here, but it seems uneccesary 125 usec is
|
||||
* There was a delay(125); here, but it seems unnecessary 125 usec is
|
||||
* 1/8000 of a second, not 1/8 of a second. the data sheet advises
|
||||
* 1/10 of a second here, but the SI_BUSY and INIT_DONE loops below
|
||||
* should be sufficient.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: i82557.c,v 1.160 2022/06/25 02:46:15 tsutsui Exp $ */
|
||||
/* $NetBSD: i82557.c,v 1.161 2024/02/09 22:08:34 andvar Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1997, 1998, 1999, 2001, 2002 The NetBSD Foundation, Inc.
|
||||
|
@ -66,7 +66,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: i82557.c,v 1.160 2022/06/25 02:46:15 tsutsui Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: i82557.c,v 1.161 2024/02/09 22:08:34 andvar Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -114,7 +114,7 @@ __KERNEL_RCSID(0, "$NetBSD: i82557.c,v 1.160 2022/06/25 02:46:15 tsutsui Exp $")
|
|||
* the first thing in the packet is a 14-byte Ethernet header.
|
||||
* This means that the packet is misaligned. To compensate,
|
||||
* we actually offset the RFA 2 bytes into the cluster. This
|
||||
* alignes the packet after the Ethernet header at a 32-bit
|
||||
* aligns the packet after the Ethernet header at a 32-bit
|
||||
* boundary. HOWEVER! This means that the RFA is misaligned!
|
||||
*/
|
||||
#define RFA_ALIGNMENT_FUDGE 2
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: i82586.c,v 1.90 2021/10/24 20:00:11 andvar Exp $ */
|
||||
/* $NetBSD: i82586.c,v 1.91 2024/02/09 22:08:34 andvar Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -137,7 +137,7 @@ Mode of operation:
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: i82586.c,v 1.90 2021/10/24 20:00:11 andvar Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: i82586.c,v 1.91 2024/02/09 22:08:34 andvar Exp $");
|
||||
|
||||
|
||||
#include <sys/param.h>
|
||||
|
@ -1323,7 +1323,7 @@ ie_run_tdr(struct ie_softc *sc, int cmd)
|
|||
* i82586_setup_bufs: set up the buffers
|
||||
*
|
||||
* We have a block of KVA at sc->buf_area which is of size sc->buf_area_sz.
|
||||
* this is to be used for the buffers. The chip indexs its control data
|
||||
* this is to be used for the buffers. The chip indexes its control data
|
||||
* structures with 16 bit offsets, and it indexes actual buffers with
|
||||
* 24 bit addresses. So we should allocate control buffers first so that
|
||||
* we don't overflow the 16 bit offset field. The number of transmit
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: i82586var.h,v 1.23 2011/06/03 16:28:40 tsutsui Exp $ */
|
||||
/* $NetBSD: i82586var.h,v 1.24 2024/02/09 22:08:34 andvar Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -140,7 +140,7 @@
|
|||
* driver in `sc_scb'.
|
||||
*
|
||||
* The following functions provide the glue necessary to deal with
|
||||
* host and bus idiosyncracies:
|
||||
* host and bus idiosyncrasies:
|
||||
*
|
||||
* hwreset - board reset
|
||||
* hwinit - board initialization
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: i8259reg.h,v 1.4 2008/04/28 20:23:50 martin Exp $ */
|
||||
/* $NetBSD: i8259reg.h,v 1.5 2024/02/09 22:08:34 andvar Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2001 The NetBSD Foundation, Inc.
|
||||
|
@ -59,7 +59,7 @@
|
|||
|
||||
#define PIC_ICW3 0x01 /* Initialization Command Word 3 (w) */
|
||||
#define ICW3_CASCADE(x) (1U << (x)) /* cascaded mode enable */
|
||||
#define ICW3_SIC(x) ((x) << 0) /* slave identifcation code */
|
||||
#define ICW3_SIC(x) ((x) << 0) /* slave identification code */
|
||||
|
||||
#define PIC_ICW4 0x01 /* Initialization Command Word 4 (w) */
|
||||
#define ICW4_8086 (1U << 0) /* 8086 mode */
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef INTERWAVEREG_H
|
||||
#define INTERWAVEREG_H
|
||||
|
||||
/* $NetBSD: interwavereg.h,v 1.9 2008/04/28 20:23:50 martin Exp $ */
|
||||
/* $NetBSD: interwavereg.h,v 1.10 2024/02/09 22:08:34 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997 The NetBSD Foundation, Inc.
|
||||
|
@ -169,7 +169,7 @@
|
|||
#define SYNTH_UP 0x90 /* Enables Synthesizer */
|
||||
#define SYNTH_DOWN 0x10 /* Disables Synthesizer */
|
||||
#define LMC_UP 0xA0 /* Enables LM Module */
|
||||
#define LMC_DOWN 0x20 /* Disbales LM Module */
|
||||
#define LMC_DOWN 0x20 /* Disables LM Module */
|
||||
#define XTAL24_UP 0xC0 /* Enables 24MHz Osc */
|
||||
#define XTAL24_DOWN 0x40 /* Disables 24MHz Osc */
|
||||
#define PPWRI 0xF2 /* PPWRI index */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: isp_netbsd.c,v 1.98 2021/08/07 16:19:12 thorpej Exp $ */
|
||||
/* $NetBSD: isp_netbsd.c,v 1.99 2024/02/09 22:08:34 andvar Exp $ */
|
||||
/*
|
||||
* Platform (NetBSD) dependent common attachment code for Qlogic adapters.
|
||||
*/
|
||||
|
@ -33,7 +33,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: isp_netbsd.c,v 1.98 2021/08/07 16:19:12 thorpej Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: isp_netbsd.c,v 1.99 2024/02/09 22:08:34 andvar Exp $");
|
||||
|
||||
#include <dev/ic/isp_netbsd.h>
|
||||
#include <dev/ic/isp_ioctl.h>
|
||||
|
@ -1090,7 +1090,7 @@ isp_fc_worker(void *arg)
|
|||
/*
|
||||
* If we're now past our limit, release
|
||||
* the queues and let them come in and
|
||||
* either get HBA_SELTIMOUT or cause
|
||||
* either get HBA_SELTIMEOUT or cause
|
||||
* another freeze.
|
||||
*/
|
||||
isp->isp_osinfo.blocked = 1;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: mb89352reg.h,v 1.6 2005/12/11 12:21:27 christos Exp $ */
|
||||
/* $NetBSD: mb89352reg.h,v 1.7 2024/02/09 22:08:34 andvar Exp $ */
|
||||
/* NecBSD: mb89352reg.h,v 1.3 1998/03/14 07:04:34 kmatsuda Exp */
|
||||
|
||||
/*-
|
||||
|
@ -52,7 +52,7 @@
|
|||
* FUJITSU MB89352A SCSI Protocol Controller Hardware Description.
|
||||
*/
|
||||
|
||||
/* Definitions, most of them has turned out to be unneccesary, but here they
|
||||
/* Definitions, most of them has turned out to be unnecessary, but here they
|
||||
* are anyway.
|
||||
*/
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: mpt_debug.c,v 1.12 2022/05/31 08:43:15 andvar Exp $ */
|
||||
/* $NetBSD: mpt_debug.c,v 1.13 2024/02/09 22:08:34 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2000, 2001 by Greg Ansley
|
||||
|
@ -35,7 +35,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: mpt_debug.c,v 1.12 2022/05/31 08:43:15 andvar Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: mpt_debug.c,v 1.13 2024/02/09 22:08:34 andvar Exp $");
|
||||
|
||||
#include <dev/ic/mpt.h>
|
||||
|
||||
|
@ -151,7 +151,7 @@ static const struct Error_Map IOC_SCSIState[] = {
|
|||
{ MPI_SCSI_STATE_AUTOSENSE_FAILED, "AutoSense_Failed" },
|
||||
{ MPI_SCSI_STATE_NO_SCSI_STATUS, "No_SCSI_Status" },
|
||||
{ MPI_SCSI_STATE_TERMINATED, "State_Terminated" },
|
||||
{ MPI_SCSI_STATE_RESPONSE_INFO_VALID, "Repsonse_Info_Valid" },
|
||||
{ MPI_SCSI_STATE_RESPONSE_INFO_VALID, "Response_Info_Valid" },
|
||||
{ MPI_SCSI_STATE_QUEUE_TAG_REJECTED, "Queue Tag Rejected" },
|
||||
{ -1, 0},
|
||||
};
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: mpt_netbsd.c,v 1.39 2021/08/07 16:19:12 thorpej Exp $ */
|
||||
/* $NetBSD: mpt_netbsd.c,v 1.40 2024/02/09 22:08:34 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2003 Wasabi Systems, Inc.
|
||||
|
@ -77,7 +77,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: mpt_netbsd.c,v 1.39 2021/08/07 16:19:12 thorpej Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: mpt_netbsd.c,v 1.40 2024/02/09 22:08:34 andvar Exp $");
|
||||
|
||||
#include "bio.h"
|
||||
|
||||
|
@ -1358,7 +1358,7 @@ mpt_event_notify_reply(mpt_softc_t *mpt, MSG_EVENT_NOTIFY_REPLY *msg)
|
|||
|
||||
case MPI_EVENT_RESCAN:
|
||||
/*
|
||||
* In general, thise means a device has been added
|
||||
* In general, this means a device has been added
|
||||
* to the loop.
|
||||
*/
|
||||
mpt_prt(mpt, "Rescan Port %d", (msg->Data[0] >> 8) & 0xff);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: oosiop.c,v 1.18 2021/08/07 16:19:12 thorpej Exp $ */
|
||||
/* $NetBSD: oosiop.c,v 1.19 2024/02/09 22:08:34 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2001 Shuichiro URATA. All rights reserved.
|
||||
|
@ -35,7 +35,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: oosiop.c,v 1.18 2021/08/07 16:19:12 thorpej Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: oosiop.c,v 1.19 2024/02/09 22:08:34 andvar Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -91,7 +91,7 @@ static void oosiop_msgin(struct oosiop_softc *, struct oosiop_cb *);
|
|||
#define DATAIN_TRAP 0xdead0001
|
||||
#define DATAOUT_TRAP 0xdead0002
|
||||
|
||||
/* Possible TP and SCF conbination */
|
||||
/* Possible TP and SCF combination */
|
||||
static const struct {
|
||||
uint8_t tp;
|
||||
uint8_t scf;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: smc83c170reg.h,v 1.13 2008/04/28 20:23:51 martin Exp $ */
|
||||
/* $NetBSD: smc83c170reg.h,v 1.14 2024/02/09 22:08:34 andvar Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -320,7 +320,7 @@ struct epic_fraglist {
|
|||
* LAN2 [3-0] n8
|
||||
*
|
||||
* The LAN address is automatically recalled from the EEPROM after a
|
||||
* hard reseet.
|
||||
* hard reset.
|
||||
*/
|
||||
|
||||
#define EPIC_IDCHK 0x4c /* BOARD ID/CHECKSUM */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: tcic2reg.h,v 1.5 2008/04/28 20:23:51 martin Exp $ */
|
||||
/* $NetBSD: tcic2reg.h,v 1.6 2024/02/09 22:08:34 andvar Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
|
||||
|
@ -761,7 +761,7 @@
|
|||
#define TCIC_MCTL_WSCNT_MASK 0x0f /* wait state counter */
|
||||
|
||||
/* Bits in the ICTL window registers */
|
||||
#define TCIC_ICTL_ENA (1 << 15) /* enable this windo */
|
||||
#define TCIC_ICTL_ENA (1 << 15) /* enable this window */
|
||||
#define TCIC_ICTL_SS_SHIFT 12
|
||||
#define TCIC_ICTL_SS_MASK (7 << TCIC_ICTL_SS_SHIFT) /* which socket does this window map to */
|
||||
#define TCIC_ICTL_AUTOSZ 0 /* auto size 8/16 bit acc. */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: wd33c93.c,v 1.32 2022/02/09 22:30:27 andvar Exp $ */
|
||||
/* $NetBSD: wd33c93.c,v 1.33 2024/02/09 22:08:34 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
|
@ -79,7 +79,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: wd33c93.c,v 1.32 2022/02/09 22:30:27 andvar Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: wd33c93.c,v 1.33 2024/02/09 22:08:34 andvar Exp $");
|
||||
|
||||
#include "opt_ddb.h"
|
||||
|
||||
|
@ -1954,7 +1954,7 @@ wd33c93_nextstate(struct wd33c93_softc *sc, struct wd33c93_acb *acb, u_char csr,
|
|||
*/
|
||||
if (acb->xs->xs_control & XS_CTL_POLL ||
|
||||
sc->sc_flags & SBICF_NODMA) {
|
||||
/* Perfrom transfer using PIO */
|
||||
/* Perform transfer using PIO */
|
||||
int resid;
|
||||
|
||||
SBIC_DEBUG(DMA, ("PIO xfer: %d(%p:%zx)\n", sc->target,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: wd33c93var.h,v 1.12 2019/12/27 09:41:50 msaitoh Exp $ */
|
||||
/* $NetBSD: wd33c93var.h,v 1.13 2024/02/09 22:08:34 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
|
@ -108,7 +108,7 @@ struct wd33c93_tinfo {
|
|||
#define T_NOSYNC 0x10 /* Force ASYNC mode */
|
||||
#define T_NODISC 0x20 /* Don't allow disconnect */
|
||||
#define T_TAG 0x40 /* Turn on TAG QUEUEs */
|
||||
#define T_WANTSYNC 0x80 /* Negotiatious should aim for sync */
|
||||
#define T_WANTSYNC 0x80 /* Negotiations should aim for sync */
|
||||
u_char period; /* Period suggestion */
|
||||
u_char offset; /* Offset suggestion */
|
||||
struct wd33c93_linfo *lun[SBIC_NLUN]; /* LUN list for this target */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: aps.c,v 1.18 2022/06/29 15:56:58 mlelstv Exp $ */
|
||||
/* $NetBSD: aps.c,v 1.19 2024/02/09 22:08:35 andvar Exp $ */
|
||||
/* $OpenBSD: aps.c,v 1.15 2007/05/19 19:14:11 tedu Exp $ */
|
||||
/* $OpenBSD: aps.c,v 1.17 2008/06/27 06:08:43 canacar Exp $ */
|
||||
/*
|
||||
|
@ -24,7 +24,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: aps.c,v 1.18 2022/06/29 15:56:58 mlelstv Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: aps.c,v 1.19 2024/02/09 22:08:35 andvar Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -49,7 +49,7 @@ __KERNEL_RCSID(0, "$NetBSD: aps.c,v 1.18 2022/06/29 15:56:58 mlelstv Exp $");
|
|||
|
||||
/*
|
||||
* EC interface on Thinkpad Laptops, from Linux HDAPS driver notes.
|
||||
* From Renesans H8S/2140B Group Hardware Manual
|
||||
* From Renesas H8S/2140B Group Hardware Manual
|
||||
* http://documentation.renesas.com/eng/products/mpumcu/rej09b0300_2140bhm.pdf
|
||||
*
|
||||
* EC uses LPC Channel 3 registers TWR0..15
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ess.c,v 1.90 2022/12/24 15:23:02 andvar Exp $ */
|
||||
/* $NetBSD: ess.c,v 1.91 2024/02/09 22:08:35 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997
|
||||
|
@ -66,7 +66,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: ess.c,v 1.90 2022/12/24 15:23:02 andvar Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: ess.c,v 1.91 2024/02/09 22:08:35 andvar Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -750,7 +750,7 @@ ess_identify(struct ess_softc *sc)
|
|||
* register 0x69 independently of mixer register
|
||||
* 0x68. This determines which chip we have:
|
||||
*
|
||||
* - can modify idependently indicates ES888
|
||||
* - can modify independently indicates ES888
|
||||
* - register 0x69 is an alias of 0x68 indicates ES1888
|
||||
*/
|
||||
reg1 = ess_read_mix_reg(sc, 0x68);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: essreg.h,v 1.17 2014/08/16 13:01:33 nakayama Exp $ */
|
||||
/* $NetBSD: essreg.h,v 1.18 2024/02/09 22:08:35 andvar Exp $ */
|
||||
/*
|
||||
* Copyright 1997
|
||||
* Digital Equipment Corporation. All rights reserved.
|
||||
|
@ -33,7 +33,7 @@
|
|||
*/
|
||||
|
||||
/*
|
||||
** @(#) $RCSfile: essreg.h,v $ $Revision: 1.17 $ (SHARK) $Date: 2014/08/16 13:01:33 $
|
||||
** @(#) $RCSfile: essreg.h,v $ $Revision: 1.18 $ (SHARK) $Date: 2024/02/09 22:08:35 $
|
||||
**
|
||||
**++
|
||||
**
|
||||
|
@ -69,7 +69,7 @@
|
|||
* input or DMA completion. They seem to have neglected the fact
|
||||
* that it would be nice to have a MIDI transmission complete interrupt.
|
||||
* Worse, the DMA engine is half-duplex. This means you need to do
|
||||
* (timed) programmed I/O to be able to record and play simulataneously.
|
||||
* (timed) programmed I/O to be able to record and play simultaneously.
|
||||
*/
|
||||
#define ESS_ACMD_DAC8WRITE 0x10 /* direct-mode 8-bit DAC write */
|
||||
#define ESS_ACMD_DAC16WRITE 0x11 /* direct-mode 16-bit DAC write */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: gusreg.h,v 1.10 2022/05/24 06:28:01 andvar Exp $ */
|
||||
/* $NetBSD: gusreg.h,v 1.11 2024/02/09 22:08:35 andvar Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
||||
|
@ -184,7 +184,7 @@
|
|||
#define GUSMASK_BOTH_RQ 0x40 /* Combine both RQ lines */
|
||||
|
||||
/*
|
||||
* GUS bitmaks for DMA control
|
||||
* GUS bitmasks for DMA control
|
||||
*/
|
||||
|
||||
#define GUSMASK_DMA_ENABLE 0x01 /* Enable DMA transfer */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: sbreg.h,v 1.32 2022/05/31 08:43:15 andvar Exp $ */
|
||||
/* $NetBSD: sbreg.h,v 1.33 2024/02/09 22:08:35 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1991-1993 Regents of the University of California.
|
||||
|
@ -38,7 +38,7 @@
|
|||
/*
|
||||
* SoundBlaster register definitions.
|
||||
* See "The Developer Kit for Sound Blaster Series, User's Guide" for more
|
||||
* complete information (avialable from Creative Labs, Inc.). We refer
|
||||
* complete information (available from Creative Labs, Inc.). We refer
|
||||
* to this documentation as "SBK".
|
||||
*
|
||||
* We handle two types of cards: the basic SB version 2.0+, and
|
||||
|
@ -183,7 +183,7 @@
|
|||
* input or DMA completion. They seem to have neglected the fact
|
||||
* that it would be nice to have a MIDI transmission complete interrupt.
|
||||
* Worse, the DMA engine is half-duplex. This means you need to do
|
||||
* (timed) programmed I/O to be able to record and play simulataneously.
|
||||
* (timed) programmed I/O to be able to record and play simultaneously.
|
||||
*/
|
||||
#define SB_DSP_DACWRITE 0x10 /* programmed I/O write to DAC */
|
||||
#define SB_DSP_WDMA 0x14 /* begin 8-bit linear DMA output */
|
||||
|
|
|
@ -189,7 +189,7 @@ mvspi_configure(void *cookie, int slave, int mode, int speed)
|
|||
}
|
||||
|
||||
/* Find the best prescale configuration - less or equal:
|
||||
* SPI actual frecuency = core_clk / (SPR * (2 ^ SPPR))
|
||||
* SPI actual frequency = core_clk / (SPR * (2 ^ SPPR))
|
||||
* Try to find the minimal SPR and SPPR values that offer
|
||||
* the best prescale config.
|
||||
*
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: mvxpsec.c,v 1.19 2023/05/28 08:01:46 andvar Exp $ */
|
||||
/* $NetBSD: mvxpsec.c,v 1.20 2024/02/09 22:08:35 andvar Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2015 Internet Initiative Japan Inc.
|
||||
* All rights reserved.
|
||||
|
@ -2432,7 +2432,7 @@ mvxpsec_packet_setcrp(struct mvxpsec_packet *mv_p, struct cryptop *crp)
|
|||
{
|
||||
int err = EINVAL;
|
||||
|
||||
/* regiseter crp to the MVXPSEC packet */
|
||||
/* register crp to the MVXPSEC packet */
|
||||
if (crp->crp_flags & CRYPTO_F_IMBUF) {
|
||||
err = mvxpsec_packet_setmbuf(mv_p,
|
||||
(struct mbuf *)crp->crp_buf);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: aic79xx.reg,v 1.16 2022/05/31 08:43:15 andvar Exp $ */
|
||||
/* $NetBSD: aic79xx.reg,v 1.17 2024/02/09 22:08:35 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Aic79xx register and scratch ram definitions.
|
||||
|
@ -3710,7 +3710,7 @@ scratch_ram {
|
|||
|
||||
/*
|
||||
* The maximum amount of time to wait, when interrupt coalescing
|
||||
* is enabled, before issueing a CMDCMPLT interrupt for a completed
|
||||
* is enabled, before issuing a CMDCMPLT interrupt for a completed
|
||||
* command.
|
||||
*/
|
||||
INT_COALESCING_TIMER {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ciphyreg.h,v 1.6 2019/01/16 08:32:58 msaitoh Exp $ */
|
||||
/* $NetBSD: ciphyreg.h,v 1.7 2024/02/09 22:08:35 andvar Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2004
|
||||
|
@ -66,7 +66,7 @@
|
|||
#define CIPHY_1000STS2_SSDERR 0x0200 /* false carrier error detected */
|
||||
#define CIPHY_1000STS2_ESDERR 0x0100 /* premature end of stream error */
|
||||
#define CIPHY_1000STS2_CARREXT 0x0080 /* carrier extension err detected */
|
||||
#define CIPHY_1000STS2_BCM5400 0x0040 /* non-complient BCM5400 detected */
|
||||
#define CIPHY_1000STS2_BCM5400 0x0040 /* non-compliant BCM5400 detected */
|
||||
|
||||
/* Bypass control register */
|
||||
#define CIPHY_MII_BYPASS 0x12
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ihphyreg.h,v 1.2 2017/07/18 08:22:55 msaitoh Exp $ */
|
||||
/* $NetBSD: ihphyreg.h,v 1.3 2024/02/09 22:08:35 andvar Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2010 The NetBSD Foundation, Inc.
|
||||
|
@ -75,7 +75,7 @@
|
|||
/* PHY Status Register */
|
||||
#define IHPHY_MII_ESR BME1000_REG(0, 26)
|
||||
#define IHPHY_ESR_STANDBY 0x8000 /* PHY in standby */
|
||||
#define IHPHY_ESR_ANEG_FAULT 0x6000 /* Autonegotation fault status */
|
||||
#define IHPHY_ESR_ANEG_FAULT 0x6000 /* Autonegotiation fault status */
|
||||
#define IHPHY_ESR_ANEG_STAT 0x1000 /* Autonegotiation status */
|
||||
#define IHPHY_ESR_PAIR_SWAP 0x0800 /* Pair swap on pairs A and B */
|
||||
#define IHPHY_ESR_POLARITY 0x0400 /* Polarity status */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: lxtphyreg.h,v 1.2 2008/04/28 20:23:53 martin Exp $ */
|
||||
/* $NetBSD: lxtphyreg.h,v 1.3 2024/02/09 22:08:35 andvar Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -41,7 +41,7 @@
|
|||
/* All bits user-defined */
|
||||
|
||||
#define MII_LXTPHY_IER 0x11 /* Interrupt Enable Register */
|
||||
#define IER_MIIDRVLVL 0x0008 /* Rediced MII driver levels */
|
||||
#define IER_MIIDRVLVL 0x0008 /* Reduced MII driver levels */
|
||||
#define IER_LNK_CRITERIA 0x0004 /* Enhanced Link Loss Criteria */
|
||||
#define IER_INTEN 0x0002 /* Interrupt Enable */
|
||||
#define IER_TINT 0x0001 /* Force Interrupt */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: makphy.c,v 1.72 2022/01/06 07:39:10 msaitoh Exp $ */
|
||||
/* $NetBSD: makphy.c,v 1.73 2024/02/09 22:08:35 andvar Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
|
||||
|
@ -59,7 +59,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: makphy.c,v 1.72 2022/01/06 07:39:10 msaitoh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: makphy.c,v 1.73 2024/02/09 22:08:35 andvar Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -408,7 +408,7 @@ makphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
|
|||
mii_phy_setmedia(sc);
|
||||
|
||||
/*
|
||||
* If autonegitation is not enabled, we need a
|
||||
* If autonegotiation is not enabled, we need a
|
||||
* software reset for the settings to take effect.
|
||||
*/
|
||||
if (IFM_SUBTYPE(ife->ifm_media) == IFM_NONE)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: tlphyreg.h,v 1.4 2009/10/19 18:41:14 bouyer Exp $ */
|
||||
/* $NetBSD: tlphyreg.h,v 1.5 2024/02/09 22:08:35 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997 Manuel Bouyer. All rights reserved.
|
||||
|
@ -34,7 +34,7 @@
|
|||
#define MII_TLPHY_ID 0x10 /* ThunderLAN PHY ID */
|
||||
#define ID_10BASETAUI 0x0001 /* 10baseT/AUI PHY */
|
||||
|
||||
#define MII_TLPHY_CTRL 0x11 /* Control regiseter */
|
||||
#define MII_TLPHY_CTRL 0x11 /* Control register */
|
||||
#define CTRL_ILINK 0x8000 /* Ignore link */
|
||||
#define CTRL_SWPOL 0x4000 /* swap polarity */
|
||||
#define CTRL_AUISEL 0x2000 /* Select AUI */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: cfi_0002.h,v 1.2 2011/07/19 20:52:10 cliff Exp $ */
|
||||
/* $NetBSD: cfi_0002.h,v 1.3 2024/02/09 22:08:35 andvar Exp $ */
|
||||
/*-
|
||||
* Copyright (c) 2011 The NetBSD Foundation, Inc.
|
||||
* All rights reserved.
|
||||
|
@ -50,7 +50,7 @@ struct cmdset_0002_query_data {
|
|||
uint8_t acc_min; /* Acc supply min voltage */
|
||||
uint8_t acc_max; /* Acc supply max voltage */
|
||||
uint8_t wp_prot; /* WP# protection */
|
||||
uint8_t prog_susp; /* prpogram suspend */
|
||||
uint8_t prog_susp; /* program suspend */
|
||||
uint8_t unlock_bypass; /* unlock bypass */
|
||||
uint8_t sss_size; /* secured silicon sector size (1<<N) */
|
||||
uint8_t soft_feat; /* software features */
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGES.
|
||||
*
|
||||
* $Id: ahc_pci.c,v 1.74 2019/11/10 21:16:36 chs Exp $
|
||||
* $Id: ahc_pci.c,v 1.75 2024/02/09 22:08:35 andvar Exp $
|
||||
*
|
||||
* //depot/aic7xxx/aic7xxx/aic7xxx_pci.c#57 $
|
||||
*
|
||||
|
@ -50,7 +50,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: ahc_pci.c,v 1.74 2019/11/10 21:16:36 chs Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: ahc_pci.c,v 1.75 2024/02/09 22:08:35 andvar Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -1142,7 +1142,7 @@ ahc_9005_subdevinfo_valid(uint16_t device, uint16_t vendor,
|
|||
|
||||
|
||||
/*
|
||||
* Test for the presense of external sram in an
|
||||
* Test for the presence of external sram in an
|
||||
* "unshared" configuration.
|
||||
*/
|
||||
static int
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: arcmsrvar.h,v 1.15 2016/06/12 02:16:15 christos Exp $ */
|
||||
/* $NetBSD: arcmsrvar.h,v 1.16 2024/02/09 22:08:35 andvar Exp $ */
|
||||
/* Derived from $OpenBSD: arc.c,v 1.68 2007/10/27 03:28:27 dlg Exp $ */
|
||||
|
||||
/*
|
||||
|
@ -402,7 +402,7 @@ struct arc_fw_sysinfo {
|
|||
} __packed;
|
||||
|
||||
/*
|
||||
* autconf(9) glue.
|
||||
* autoconf(9) glue.
|
||||
*/
|
||||
struct arc_ccb;
|
||||
TAILQ_HEAD(arc_ccb_list, arc_ccb);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: cz.c,v 1.65 2022/10/26 23:46:24 riastradh Exp $ */
|
||||
/* $NetBSD: cz.c,v 1.66 2024/02/09 22:08:35 andvar Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2000 Zembu Labs, Inc.
|
||||
|
@ -73,7 +73,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: cz.c,v 1.65 2022/10/26 23:46:24 riastradh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: cz.c,v 1.66 2024/02/09 22:08:35 andvar Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -696,7 +696,7 @@ cz_intr(void *arg)
|
|||
/* XXX - is this needed? */
|
||||
(void)CZ_FWCTL_READ(cz, BRDCTL_FWCMD_PARAM);
|
||||
|
||||
/* now clear this interrupt, posslibly enabling another */
|
||||
/* now clear this interrupt, possibly enabling another */
|
||||
CZ_PLX_WRITE(cz, PLX_LOCAL_PCI_DOORBELL, command);
|
||||
|
||||
if (cz->cz_ports == NULL) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: czreg.h,v 1.3 2015/07/11 10:32:46 kamil Exp $ */
|
||||
/* $NetBSD: czreg.h,v 1.4 2024/02/09 22:08:35 andvar Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2000 Zembu Labs, Inc.
|
||||
|
@ -386,9 +386,9 @@ struct zfirm_block {
|
|||
#define C_CM_TINACT 0x51 /* sets inactivity detection */
|
||||
#define C_CM_IRQ_ENBL 0x52 /* enables generation of interrupts */
|
||||
#define C_CM_IRQ_DSBL 0x53 /* disables generation of interrupts */
|
||||
#define C_CM_ACK_ENBL 0x54 /* enables acknolowdged interrupt
|
||||
#define C_CM_ACK_ENBL 0x54 /* enables acknowledged interrupt
|
||||
mode */
|
||||
#define C_CM_ACK_DSBL 0x55 /* disables acknolowdged intr mode */
|
||||
#define C_CM_ACK_DSBL 0x55 /* disables acknowledged intr mode */
|
||||
#define C_CM_FLUSH_RX 0x56 /* flushes Rx buffer */
|
||||
#define C_CM_FLUSH_TX 0x57 /* flushes Tx buffer */
|
||||
#define C_CM_Q_ENABLE 0x58 /* enables queue access from the
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: esmvar.h,v 1.19 2019/05/08 13:40:18 isaki Exp $ */
|
||||
/* $NetBSD: esmvar.h,v 1.20 2024/02/09 22:08:35 andvar Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2002, 2003 Matt Fredette
|
||||
|
@ -59,7 +59,7 @@
|
|||
* who brought patches based on the Linux driver with some simplification.
|
||||
*/
|
||||
|
||||
/* IRQ timer fequency limits */
|
||||
/* IRQ timer frequency limits */
|
||||
#define MAESTRO_MINFREQ 24
|
||||
#define MAESTRO_MAXFREQ 48000
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_alcreg.h,v 1.9 2020/02/08 07:24:46 maxv Exp $ */
|
||||
/* $NetBSD: if_alcreg.h,v 1.10 2024/02/09 22:08:35 andvar Exp $ */
|
||||
/* $OpenBSD: if_alcreg.h,v 1.1 2009/08/08 09:31:13 kevlo Exp $ */
|
||||
/*-
|
||||
* Copyright (c) 2009, Pyun YongHyeon <yongari@FreeBSD.org>
|
||||
|
@ -1157,7 +1157,7 @@ struct smb {
|
|||
uint32_t updated;
|
||||
};
|
||||
|
||||
/* CMB(Coalesing message block) */
|
||||
/* CMB(Coalescing Message Block) */
|
||||
struct cmb {
|
||||
uint32_t cons;
|
||||
};
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_alereg.h,v 1.3 2019/09/03 14:29:26 msaitoh Exp $ */
|
||||
/* $NetBSD: if_alereg.h,v 1.4 2024/02/09 22:08:35 andvar Exp $ */
|
||||
/* $OpenBSD: if_alereg.h,v 1.2 2011/05/20 08:36:55 kevlo Exp $ */
|
||||
|
||||
/*-
|
||||
|
@ -779,7 +779,7 @@ struct tx_desc {
|
|||
/*
|
||||
* TODO : Should get real jumbo MTU size.
|
||||
* The hardware seems to have trouble in dealing with large
|
||||
* frame length. If you encounter unstability issue, use
|
||||
* frame length. If you encounter instability issue, use
|
||||
* lower MTU size.
|
||||
*/
|
||||
#define ALE_JUMBO_FRAMELEN 8132
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_bce.c,v 1.63 2023/06/27 21:43:58 nisimura Exp $ */
|
||||
/* $NetBSD: if_bce.c,v 1.64 2024/02/09 22:08:35 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2003 Clifford Wright. All rights reserved.
|
||||
|
@ -35,7 +35,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_bce.c,v 1.63 2023/06/27 21:43:58 nisimura Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_bce.c,v 1.64 2024/02/09 22:08:35 andvar Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -346,7 +346,7 @@ bce_attach(device_t parent, device_t self, void *aux)
|
|||
*/
|
||||
/*
|
||||
* XXX PAGE_SIZE is wasteful; we only need 1KB + 1KB, but
|
||||
* due to the limition above. ??
|
||||
* due to the limitation above. ??
|
||||
*/
|
||||
if ((error = bus_dmamem_alloc(sc->bce_dmatag,
|
||||
2 * PAGE_SIZE, PAGE_SIZE, 2 * PAGE_SIZE,
|
||||
|
@ -1032,7 +1032,7 @@ bce_add_mac(struct bce_softc *sc, uint8_t *mac, u_long idx)
|
|||
}
|
||||
}
|
||||
|
||||
/* Add a receive buffer to the indiciated descriptor. */
|
||||
/* Add a receive buffer to the indicated descriptor. */
|
||||
static int
|
||||
bce_add_rxbuf(struct bce_softc *sc, int idx)
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_bge.c,v 1.389 2023/08/01 20:46:01 andvar Exp $ */
|
||||
/* $NetBSD: if_bge.c,v 1.390 2024/02/09 22:08:35 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2001 Wind River Systems
|
||||
|
@ -79,7 +79,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.389 2023/08/01 20:46:01 andvar Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.390 2024/02/09 22:08:35 andvar Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/types.h>
|
||||
|
@ -707,7 +707,7 @@ bge_ape_read_fw_ver(struct bge_softc *sc)
|
|||
|
||||
sc->bge_mfw_flags |= BGE_MFW_ON_APE;
|
||||
|
||||
/* Fetch the APE firwmare type and version. */
|
||||
/* Fetch the APE firmware type and version. */
|
||||
apedata = APE_READ_4(sc, BGE_APE_FW_VERSION);
|
||||
features = APE_READ_4(sc, BGE_APE_FW_FEATURES);
|
||||
if ((features & BGE_APE_FW_FEATURE_NCSI) != 0) {
|
||||
|
@ -2601,7 +2601,7 @@ bge_blockinit(struct bge_softc *sc)
|
|||
* The BD ring replenish thresholds control how often the
|
||||
* hardware fetches new BD's from the producer rings in host
|
||||
* memory. Setting the value too low on a busy system can
|
||||
* starve the hardware and recue the throughpout.
|
||||
* starve the hardware and reduce the throughput.
|
||||
*
|
||||
* Set the BD ring replenish thresholds. The recommended
|
||||
* values are 1/8th the number of descriptors allocated to
|
||||
|
@ -2737,7 +2737,7 @@ bge_blockinit(struct bge_softc *sc)
|
|||
CSR_WRITE_4(sc, BGE_RXLP_CFG, 0x181);
|
||||
|
||||
/* 5718 step 29, 57XX step 58 */
|
||||
/* Inialize RX list placement stats mask. */
|
||||
/* Initialize RX list placement stats mask. */
|
||||
if (BGE_IS_575X_PLUS(sc)) {
|
||||
val = CSR_READ_4(sc, BGE_RXLP_STATS_ENABLE_MASK);
|
||||
val &= ~BGE_RXLPSTATCONTROL_DACK_FIX;
|
||||
|
@ -3508,7 +3508,7 @@ bge_attach(device_t parent, device_t self, void *aux)
|
|||
* known bug which can't handle TSO if ethernet header + IP/TCP
|
||||
* header is greater than 80 bytes. The workaround for the TSO
|
||||
* bug exist but it seems it's too expensive than not using
|
||||
* TSO at all. Some hardwares also have the TSO bug so limit
|
||||
* TSO at all. Some hardware also have the TSO bug so limit
|
||||
* the TSO to the controllers that are not affected TSO issues
|
||||
* (e.g. 5755 or higher).
|
||||
*/
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_bgereg.h,v 1.97 2022/07/02 07:26:53 skrll Exp $ */
|
||||
/* $NetBSD: if_bgereg.h,v 1.98 2024/02/09 22:08:35 andvar Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2001 Wind River Systems
|
||||
* Copyright (c) 1997, 1998, 1999, 2001
|
||||
|
@ -2625,7 +2625,7 @@ struct bge_gib {
|
|||
* The first thing in the packet is a 14-byte Ethernet header.
|
||||
* This means that the packet is misaligned. To compensate,
|
||||
* we actually offset the data 2 bytes into the cluster. This
|
||||
* alignes the packet after the Ethernet header at a 32-bit
|
||||
* aligns the packet after the Ethernet header at a 32-bit
|
||||
* boundary.
|
||||
*/
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_bnx.c,v 1.112 2023/08/01 21:26:28 andvar Exp $ */
|
||||
/* $NetBSD: if_bnx.c,v 1.113 2024/02/09 22:08:35 andvar Exp $ */
|
||||
/* $OpenBSD: if_bnx.c,v 1.101 2013/03/28 17:21:44 brad Exp $ */
|
||||
|
||||
/*-
|
||||
|
@ -35,7 +35,7 @@
|
|||
#if 0
|
||||
__FBSDID("$FreeBSD: src/sys/dev/bce/if_bce.c,v 1.3 2006/04/13 14:12:26 ru Exp $");
|
||||
#endif
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_bnx.c,v 1.112 2023/08/01 21:26:28 andvar Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_bnx.c,v 1.113 2024/02/09 22:08:35 andvar Exp $");
|
||||
|
||||
/*
|
||||
* The following controllers are supported by this driver:
|
||||
|
@ -640,7 +640,7 @@ bnx_attach(device_t parent, device_t self, void *aux)
|
|||
/*
|
||||
* Configure byte swap and enable indirect register access.
|
||||
* Rely on CPU to do target byte swapping on big endian systems.
|
||||
* Access to registers outside of PCI configurtion space are not
|
||||
* Access to registers outside of PCI configuration space are not
|
||||
* valid until this is done.
|
||||
*/
|
||||
pci_conf_write(pa->pa_pc, pa->pa_tag, BNX_PCICFG_MISC_CONFIG,
|
||||
|
@ -1409,7 +1409,7 @@ bnx_release_nvram_lock(struct bnx_softc *sc)
|
|||
}
|
||||
|
||||
if (j >= NVRAM_TIMEOUT_COUNT) {
|
||||
DBPRINT(sc, BNX_WARN, "Timeout reeasing NVRAM lock!\n");
|
||||
DBPRINT(sc, BNX_WARN, "Timeout releasing NVRAM lock!\n");
|
||||
return EBUSY;
|
||||
}
|
||||
|
||||
|
@ -5094,13 +5094,13 @@ bnx_mgmt_init_exit:
|
|||
DBPRINT(sc, BNX_VERBOSE_RESET, "Exiting %s()\n", __func__);
|
||||
}
|
||||
|
||||
/****************************************************************************/
|
||||
/* Encapsultes an mbuf cluster into the tx_bd chain structure and makes the */
|
||||
/* memory visible to the controller. */
|
||||
/* */
|
||||
/* Returns: */
|
||||
/* 0 for success, positive value for failure. */
|
||||
/****************************************************************************/
|
||||
/*****************************************************************************/
|
||||
/* Encapsulates an mbuf cluster into the tx_bd chain structure and makes the */
|
||||
/* memory visible to the controller. */
|
||||
/* */
|
||||
/* Returns: */
|
||||
/* 0 for success, positive value for failure. */
|
||||
/*****************************************************************************/
|
||||
int
|
||||
bnx_tx_encap(struct bnx_softc *sc, struct mbuf *m)
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_bnxreg.h,v 1.29 2024/02/05 22:08:05 andvar Exp $ */
|
||||
/* $NetBSD: if_bnxreg.h,v 1.30 2024/02/09 22:08:35 andvar Exp $ */
|
||||
/* $OpenBSD: if_bnxreg.h,v 1.33 2009/09/05 16:02:28 claudio Exp $ */
|
||||
|
||||
/*-
|
||||
|
@ -318,7 +318,7 @@ struct flash_spec {
|
|||
|
||||
/****************************************************************************/
|
||||
/* Shared Memory layout */
|
||||
/* The BNX bootcode will initialize this data area with port configurtion */
|
||||
/* The BNX bootcode will initialize this data area with port configuration */
|
||||
/* information which can be accessed by the driver. */
|
||||
/****************************************************************************/
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_casvar.h,v 1.8 2020/01/29 02:16:02 msaitoh Exp $ */
|
||||
/* $NetBSD: if_casvar.h,v 1.9 2024/02/09 22:08:35 andvar Exp $ */
|
||||
/* $OpenBSD: if_casvar.h,v 1.6 2009/06/13 12:18:58 kettenis Exp $ */
|
||||
|
||||
/*
|
||||
|
@ -213,7 +213,7 @@ struct cas_softc {
|
|||
};
|
||||
|
||||
/*
|
||||
* This maccro determines whether we have a Cassini+.
|
||||
* This macro determines whether we have a Cassini+.
|
||||
*/
|
||||
#define CAS_PLUS(sc) (sc->sc_rev > 0x10)
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_dge.c,v 1.63 2021/12/31 14:25:23 riastradh Exp $ */
|
||||
/* $NetBSD: if_dge.c,v 1.64 2024/02/09 22:08:35 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2004, SUNET, Swedish University Computer Network.
|
||||
|
@ -80,7 +80,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_dge.c,v 1.63 2021/12/31 14:25:23 riastradh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_dge.c,v 1.64 2024/02/09 22:08:35 andvar Exp $");
|
||||
|
||||
|
||||
|
||||
|
@ -2120,7 +2120,7 @@ dge_stop(struct ifnet *ifp, int disable)
|
|||
/*
|
||||
* dge_add_rxbuf:
|
||||
*
|
||||
* Add a receive buffer to the indiciated descriptor.
|
||||
* Add a receive buffer to the indicated descriptor.
|
||||
*/
|
||||
static int
|
||||
dge_add_rxbuf(struct dge_softc *sc, int idx)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_enavar.h,v 1.9 2023/11/05 18:17:41 jdolecek Exp $ */
|
||||
/* $NetBSD: if_enavar.h,v 1.10 2024/02/09 22:08:35 andvar Exp $ */
|
||||
|
||||
/*-
|
||||
* BSD LICENSE
|
||||
|
@ -294,8 +294,8 @@ struct ena_ring {
|
|||
uint16_t next_to_clean;
|
||||
|
||||
union {
|
||||
struct ena_tx_buffer *tx_buffer_info; /* contex of tx packet */
|
||||
struct ena_rx_buffer *rx_buffer_info; /* contex of rx packet */
|
||||
struct ena_tx_buffer *tx_buffer_info; /* context of tx packet */
|
||||
struct ena_rx_buffer *rx_buffer_info; /* context of rx packet */
|
||||
};
|
||||
int ring_size; /* number of tx/rx_buffer_info's entries */
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_etreg.h,v 1.4 2019/09/13 07:55:07 msaitoh Exp $ */
|
||||
/* $NetBSD: if_etreg.h,v 1.5 2024/02/09 22:08:35 andvar Exp $ */
|
||||
/* $OpenBSD: if_etreg.h,v 1.3 2008/06/08 06:18:07 jsg Exp $ */
|
||||
|
||||
/*
|
||||
|
@ -75,7 +75,7 @@
|
|||
#define ET_PCIV_ACK_LATENCY_256 416
|
||||
|
||||
#define ET_PCIR_REPLAY_TIMER 0xc2
|
||||
#define ET_REPLAY_TIMER_RX_L0S_ADJ 250 /* XXX infered from default */
|
||||
#define ET_REPLAY_TIMER_RX_L0S_ADJ 250 /* XXX inferred from default */
|
||||
#define ET_PCIV_REPLAY_TIMER_128 (711 + ET_REPLAY_TIMER_RX_L0S_ADJ)
|
||||
#define ET_PCIV_REPLAY_TIMER_256 (1248 + ET_REPLAY_TIMER_RX_L0S_ADJ)
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_ixl.c,v 1.97 2024/02/05 21:46:06 andvar Exp $ */
|
||||
/* $NetBSD: if_ixl.c,v 1.98 2024/02/09 22:08:35 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2013-2015, Intel Corporation
|
||||
|
@ -74,7 +74,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_ixl.c,v 1.97 2024/02/05 21:46:06 andvar Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_ixl.c,v 1.98 2024/02/09 22:08:35 andvar Exp $");
|
||||
|
||||
#ifdef _KERNEL_OPT
|
||||
#include "opt_if_ixl.h"
|
||||
|
@ -4415,7 +4415,7 @@ ixl_get_phy_info(struct ixl_softc *sc)
|
|||
goto done;
|
||||
default:
|
||||
aprint_error_dev(sc->sc_dev,
|
||||
"GET PHY ABILITIIES error %u\n", rv);
|
||||
"GET PHY ABILITIES error %u\n", rv);
|
||||
goto done;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_jmereg.h,v 1.7 2021/12/05 03:43:50 msaitoh Exp $ */
|
||||
/* $NetBSD: if_jmereg.h,v 1.8 2024/02/09 22:08:36 andvar Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2008, Pyun YongHyeon <yongari@FreeBSD.org>
|
||||
|
@ -79,7 +79,7 @@
|
|||
/* PCIe link error/status. */
|
||||
#define JME_PCI_LES 0xD8
|
||||
|
||||
/* propeietary register 0. */
|
||||
/* proprietary register 0. */
|
||||
#define JME_PCI_PE0 0xE0
|
||||
#define PE0_SPI_EXIST 0x00200000
|
||||
#define PE0_PME_D0 0x00100000
|
||||
|
@ -786,7 +786,7 @@
|
|||
#define APMC_DIS_CLKPM 0x00000002
|
||||
#define APMC_DIS_CLKTX 0x00000001
|
||||
|
||||
/* Packet completion coalesing status of Rx queue 0, 1, 2 and 3. */
|
||||
/* Packet completion coalescing status of Rx queue 0, 1, 2 and 3. */
|
||||
#define JME_PCCSRX_BASE 0x80
|
||||
#define JME_PCCSRX_END 0x8F
|
||||
#define PCCSRX_REG(x) (JME_PCCSRX_BASE + ((x) * 4))
|
||||
|
@ -795,7 +795,7 @@
|
|||
#define PCCSRX_PKT_CNT_MASK 0x0000FF00
|
||||
#define PCCSRX_PKT_CNT_SHIFT 8
|
||||
|
||||
/* Packet completion coalesing status of Tx queue. */
|
||||
/* Packet completion coalescing status of Tx queue. */
|
||||
#define JME_PCCSTX 0x90
|
||||
#define PCCSTX_TO_MASK 0xFFFF0000
|
||||
#define PCCSTX_TO_SHIFT 16
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_lii.c,v 1.29 2022/09/16 20:43:17 andvar Exp $ */
|
||||
/* $NetBSD: if_lii.c,v 1.30 2024/02/09 22:08:36 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2008 The NetBSD Foundation.
|
||||
|
@ -31,7 +31,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_lii.c,v 1.29 2022/09/16 20:43:17 andvar Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_lii.c,v 1.30 2024/02/09 22:08:36 andvar Exp $");
|
||||
|
||||
|
||||
#include <sys/param.h>
|
||||
|
@ -1005,7 +1005,7 @@ lii_rxintr(struct lii_softc *sc)
|
|||
}
|
||||
|
||||
m_set_rcvif(m, ifp);
|
||||
/* Copy the packet withhout the FCS */
|
||||
/* Copy the packet without the FCS */
|
||||
m->m_pkthdr.len = m->m_len = size;
|
||||
memcpy(mtod(m, void *), &rxp->rxp_data[0], size);
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_skreg.h,v 1.32 2024/02/02 22:39:10 andvar Exp $ */
|
||||
/* $NetBSD: if_skreg.h,v 1.33 2024/02/09 22:08:36 andvar Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2003 The NetBSD Foundation, Inc.
|
||||
|
@ -479,7 +479,7 @@
|
|||
* fiber-based cards or BCOM for 1000baseT cards with a Broadcom
|
||||
* PHY.
|
||||
*/
|
||||
#define SK_PHYTYPE_XMAC 0 /* integeated XMAC II PHY */
|
||||
#define SK_PHYTYPE_XMAC 0 /* integrated XMAC II PHY */
|
||||
#define SK_PHYTYPE_BCOM 1 /* Broadcom BCM5400 */
|
||||
#define SK_PHYTYPE_LONE 2 /* Level One LXT1000 */
|
||||
#define SK_PHYTYPE_NAT 3 /* National DP83891 */
|
||||
|
@ -2238,12 +2238,12 @@ struct msk_status_desc {
|
|||
#define XM_PHY_BMSR 0x0001 /* status */
|
||||
#define XM_PHY_VENID 0x0002 /* vendor id */
|
||||
#define XM_PHY_DEVID 0x0003 /* device id */
|
||||
#define XM_PHY_ANAR 0x0004 /* autoneg advertisenemt */
|
||||
#define XM_PHY_ANAR 0x0004 /* autoneg advertisement */
|
||||
#define XM_PHY_LPAR 0x0005 /* link partner ability */
|
||||
#define XM_PHY_ANEXP 0x0006 /* autoneg expansion */
|
||||
#define XM_PHY_NEXTP 0x0007 /* nextpage */
|
||||
#define XM_PHY_LPNEXTP 0x0008 /* link partner's nextpage */
|
||||
#define XM_PHY_EXTSTS 0x000F /* extented status */
|
||||
#define XM_PHY_EXTSTS 0x000F /* extended status */
|
||||
#define XM_PHY_RESAB 0x0010 /* resolved ability */
|
||||
|
||||
#define XM_BMCR_DUPLEX 0x0100
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_tlregs.h,v 1.12 2020/07/07 06:27:37 msaitoh Exp $ */
|
||||
/* $NetBSD: if_tlregs.h,v 1.13 2024/02/09 22:08:36 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997 Manuel Bouyer. All rights reserved.
|
||||
|
@ -28,7 +28,7 @@
|
|||
#define _DEV_PCI_IF_TLREGS_H_
|
||||
|
||||
#define PCI_CFID 0x00 /* Configuration ID */
|
||||
#define PCI_CFCS 0x04 /* Configurtion Command/Status */
|
||||
#define PCI_CFCS 0x04 /* Configuration Command/Status */
|
||||
#define PCI_CFRV 0x08 /* Configuration Revision */
|
||||
#define PCI_CFLT 0x0c /* Configuration Latency Timer */
|
||||
#define PCI_CBIO 0x10 /* Configuration Base IO Address */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_vge.c,v 1.86 2022/09/24 18:12:43 thorpej Exp $ */
|
||||
/* $NetBSD: if_vge.c,v 1.87 2024/02/09 22:08:36 andvar Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2004
|
||||
|
@ -35,7 +35,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_vge.c,v 1.86 2022/09/24 18:12:43 thorpej Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_vge.c,v 1.87 2024/02/09 22:08:36 andvar Exp $");
|
||||
|
||||
/*
|
||||
* VIA Networking Technologies VT612x PCI gigabit ethernet NIC driver.
|
||||
|
@ -1855,7 +1855,7 @@ vge_init(struct ifnet *ifp)
|
|||
|
||||
/*
|
||||
* Configure one-shot timer for microsecond
|
||||
* resulution and load it for 500 usecs.
|
||||
* resolution and load it for 500 usecs.
|
||||
*/
|
||||
CSR_SETBIT_1(sc, VGE_DIAGCTL, VGE_DIAGCTL_TIMER0_RES);
|
||||
CSR_WRITE_2(sc, VGE_SSTIMER, 400);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_vgereg.h,v 1.7 2021/08/26 21:33:36 andvar Exp $ */
|
||||
/* $NetBSD: if_vgereg.h,v 1.8 2024/02/09 22:08:36 andvar Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2004
|
||||
|
@ -443,7 +443,7 @@
|
|||
#define VGE_MIICMD_MOUT 0x08 /* data out pin enable */
|
||||
#define VGE_MIICMD_MDP 0x10 /* enable direct programming mode */
|
||||
#define VGE_MIICMD_WCMD 0x20 /* embedded mode write */
|
||||
#define VGE_MIICMD_RCMD 0x40 /* embadded mode read */
|
||||
#define VGE_MIICMD_RCMD 0x40 /* embedded mode read */
|
||||
#define VGE_MIICMD_MAUTO 0x80 /* enable autopolling */
|
||||
|
||||
/* MII address register */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_vioif.c,v 1.109 2023/05/13 11:19:19 andvar Exp $ */
|
||||
/* $NetBSD: if_vioif.c,v 1.110 2024/02/09 22:08:36 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2020 The NetBSD Foundation, Inc.
|
||||
|
@ -27,7 +27,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_vioif.c,v 1.109 2023/05/13 11:19:19 andvar Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_vioif.c,v 1.110 2024/02/09 22:08:36 andvar Exp $");
|
||||
|
||||
#ifdef _KERNEL_OPT
|
||||
#include "opt_net_mpsafe.h"
|
||||
|
@ -1964,7 +1964,7 @@ done:
|
|||
}
|
||||
|
||||
/*
|
||||
* Transmition implementation
|
||||
* Transmission implementation
|
||||
*/
|
||||
/* enqueue mbufs to send */
|
||||
static void
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: pciide_cy693_reg.h,v 1.11 2009/10/19 18:41:15 bouyer Exp $ */
|
||||
/* $NetBSD: pciide_cy693_reg.h,v 1.12 2024/02/09 22:08:36 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1998 Manuel Bouyer.
|
||||
|
@ -29,7 +29,7 @@
|
|||
* Registers definitions for Contaq/Cypress's CY82693U PCI IDE controller.
|
||||
* Available from http://www.cypress.com/japan/prodgate/chip/cy82c693.html
|
||||
* This chip has 2 PCI IDE functions, each of them has only one channel
|
||||
* So there's no primary/secodary distinction in the registers defs.
|
||||
* So there's no primary/secondary distinction in the registers defs.
|
||||
*/
|
||||
|
||||
/* IDE control register */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: pciide_pdc202xx_reg.h,v 1.16 2022/10/15 14:03:16 rin Exp $ */
|
||||
/* $NetBSD: pciide_pdc202xx_reg.h,v 1.17 2024/02/09 22:08:36 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1999 Manuel Bouyer.
|
||||
|
@ -27,7 +27,7 @@
|
|||
|
||||
/*
|
||||
* Registers definitions for PROMISE PDC20246/PDC20262 PCI IDE controller.
|
||||
* Unfortunably the HW docs are not publically available. I've been able
|
||||
* Unfortunately the HW docs are not publicly available. I've been able
|
||||
* to get a partial one for the PDC20246, and a better one for the PDC20262
|
||||
* from Promise.
|
||||
*/
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: pciide_piix_reg.h,v 1.15 2018/07/04 03:00:46 kamil Exp $ */
|
||||
/* $NetBSD: pciide_piix_reg.h,v 1.16 2024/02/09 22:08:36 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1998 Manuel Bouyer.
|
||||
|
@ -104,7 +104,7 @@
|
|||
#define PIIX_CONFIG_UDMA100(channel, drive) (0x1000 << ((channel) * 2 + (drive)))
|
||||
|
||||
/*
|
||||
* these tables define the differents values to upload to the
|
||||
* these tables define the different values to upload to the
|
||||
* ISP and RTC registers for the various PIO and DMA mode
|
||||
* (from the PIIX4 doc).
|
||||
*/
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: pucdata.c,v 1.114 2023/01/29 15:17:51 thorpej Exp $ */
|
||||
/* $NetBSD: pucdata.c,v 1.115 2024/02/09 22:08:36 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1998, 1999 Christopher G. Demetriou. All rights reserved.
|
||||
|
@ -36,7 +36,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: pucdata.c,v 1.114 2023/01/29 15:17:51 thorpej Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: pucdata.c,v 1.115 2024/02/09 22:08:36 andvar Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -3034,7 +3034,7 @@ const struct puc_device_description puc_devices[] = {
|
|||
/*
|
||||
* VScom PCI 100L
|
||||
* one com
|
||||
* The one I have defaults to a fequency of 14.7456 MHz which is
|
||||
* The one I have defaults to a frequency of 14.7456 MHz which is
|
||||
* jumper J1 set to 2-3.
|
||||
*/
|
||||
{ "VScom PCI-100L",
|
||||
|
@ -3149,7 +3149,7 @@ const struct puc_device_description puc_devices[] = {
|
|||
/*
|
||||
* VScom PCI 100H, little sister of 800H, 1 com.
|
||||
* also com part of VScom 110H
|
||||
* The one I have defaults to a fequency of 14.7456 MHz which is
|
||||
* The one I have defaults to a frequency of 14.7456 MHz which is
|
||||
* jumper J1 set to 2-3.
|
||||
*/
|
||||
{ "VScom PCI-100H",
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: sv.c,v 1.62 2024/01/08 18:37:24 chs Exp $ */
|
||||
/* $NetBSD: sv.c,v 1.63 2024/02/09 22:08:36 andvar Exp $ */
|
||||
/* $OpenBSD: sv.c,v 1.2 1998/07/13 01:50:15 csapuntz Exp $ */
|
||||
|
||||
/*
|
||||
|
@ -67,7 +67,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: sv.c,v 1.62 2024/01/08 18:37:24 chs Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: sv.c,v 1.63 2024/02/09 22:08:36 andvar Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -614,7 +614,7 @@ sv_set_format(void *addr, int setmode,
|
|||
if (setmode & AUMODE_RECORD) {
|
||||
/* The ADC reference frequency (f_out) is 512 * sample rate */
|
||||
|
||||
/* f_out is dervied from the 24.576MHz crystal by three values:
|
||||
/* f_out is derived from the 24.576MHz crystal by three values:
|
||||
M & N & R. The equation is as follows:
|
||||
|
||||
f_out = (m + 2) * f_ref / ((n + 2) * (2 ^ a))
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: tga.c,v 1.92 2022/10/16 15:16:12 tsutsui Exp $ */
|
||||
/* $NetBSD: tga.c,v 1.93 2024/02/09 22:08:36 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995, 1996 Carnegie-Mellon University.
|
||||
|
@ -28,7 +28,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: tga.c,v 1.92 2022/10/16 15:16:12 tsutsui Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: tga.c,v 1.93 2024/02/09 22:08:36 andvar Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -1408,7 +1408,7 @@ tga_bt463_rd(void *v, u_int btreg)
|
|||
|
||||
/*
|
||||
* Strobe CE# (high->low->high) since status and data are latched on
|
||||
* the falling and rising edges (repsectively) of this active-low
|
||||
* the falling and rising edges (respectively) of this active-low
|
||||
* signal.
|
||||
*/
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: trm.c,v 1.43 2021/08/07 16:19:14 thorpej Exp $ */
|
||||
/* $NetBSD: trm.c,v 1.44 2024/02/09 22:08:36 andvar Exp $ */
|
||||
/*-
|
||||
* Copyright (c) 2002 Izumi Tsutsui. All rights reserved.
|
||||
*
|
||||
|
@ -65,7 +65,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: trm.c,v 1.43 2021/08/07 16:19:14 thorpej Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: trm.c,v 1.44 2024/02/09 22:08:36 andvar Exp $");
|
||||
|
||||
/* #define TRM_DEBUG */
|
||||
#ifdef TRM_DEBUG
|
||||
|
@ -1771,7 +1771,7 @@ trm_msgin_phase0(struct trm_softc *sc)
|
|||
} else {
|
||||
/*
|
||||
* when extend message in: sc->sc_state = TRM_EXTEND_MSGIN
|
||||
* Parsing incoming extented messages
|
||||
* Parsing incoming extended messages
|
||||
*/
|
||||
*sc->sc_msg++ = msgin_code;
|
||||
sc->sc_msgcnt++;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: virtio.c,v 1.79 2023/11/07 13:38:01 rin Exp $ */
|
||||
/* $NetBSD: virtio.c,v 1.80 2024/02/09 22:08:36 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2020 The NetBSD Foundation, Inc.
|
||||
|
@ -28,7 +28,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: virtio.c,v 1.79 2023/11/07 13:38:01 rin Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: virtio.c,v 1.80 2024/02/09 22:08:36 andvar Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -85,7 +85,7 @@ virtio_set_status(struct virtio_softc *sc, int status)
|
|||
* virtio_reset(sc); // this will stop the device activity
|
||||
* <dequeue finished requests>; // virtio_dequeue() still can be called
|
||||
* <revoke pending requests in the vqs if any>;
|
||||
* virtio_reinit_start(sc); // dequeue prohibitted
|
||||
* virtio_reinit_start(sc); // dequeue prohibited
|
||||
* newfeatures = virtio_negotiate_features(sc, requestedfeatures);
|
||||
* <some other initialization>;
|
||||
* virtio_reinit_end(sc); // device activated; enqueue allowed
|
||||
|
@ -670,7 +670,7 @@ virtio_stop_vq_intr(struct virtio_softc *sc, struct virtqueue *vq)
|
|||
* No way to disable the interrupt completely with
|
||||
* RingEventIdx. Instead advance used_event by half the
|
||||
* possible value. This won't happen soon and is far enough in
|
||||
* the past to not trigger a spurios interrupt.
|
||||
* the past to not trigger a spurious interrupt.
|
||||
*/
|
||||
*vq->vq_used_event = virtio_rw16(sc, vq->vq_used_idx + 0x8000);
|
||||
vq_sync_aring_used(sc, vq, BUS_DMASYNC_PREWRITE);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: yds.c,v 1.69 2024/01/08 18:37:24 chs Exp $ */
|
||||
/* $NetBSD: yds.c,v 1.70 2024/02/09 22:08:36 andvar Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2000, 2001 Kazuki Sakamoto and Minoura Makoto.
|
||||
|
@ -39,7 +39,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: yds.c,v 1.69 2024/01/08 18:37:24 chs Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: yds.c,v 1.70 2024/02/09 22:08:36 andvar Exp $");
|
||||
|
||||
#include "mpu.h"
|
||||
|
||||
|
@ -1008,7 +1008,7 @@ yds_write_codec(void *sc_, uint8_t reg, uint16_t data)
|
|||
}
|
||||
|
||||
/*
|
||||
* XXX: Must handle the secondary differntly!!
|
||||
* XXX: Must handle the secondary differently!!
|
||||
*/
|
||||
static int
|
||||
yds_reset_codec(void *sc_)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: pckbd.c,v 1.38 2023/07/16 19:09:07 christos Exp $ */
|
||||
/* $NetBSD: pckbd.c,v 1.39 2024/02/09 22:08:36 andvar Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 2009 The NetBSD Foundation, Inc.
|
||||
|
@ -68,7 +68,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: pckbd.c,v 1.38 2023/07/16 19:09:07 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: pckbd.c,v 1.39 2024/02/09 22:08:36 andvar Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -160,7 +160,7 @@ const struct wskbd_mapdata pckbd_keymapdata = {
|
|||
};
|
||||
|
||||
/*
|
||||
* Hackish support for a bell on the PC Keyboard; when a suitable feeper
|
||||
* Hackish support for a bell on the PC Keyboard; when a suitable beeper
|
||||
* is found, it attaches itself into the pckbd driver here.
|
||||
*/
|
||||
void (*pckbd_bell_fn)(void *, u_int, u_int, u_int, int);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_malo_pcmcia.c,v 1.27 2021/11/10 17:19:30 msaitoh Exp $ */
|
||||
/* $NetBSD: if_malo_pcmcia.c,v 1.28 2024/02/09 22:08:36 andvar Exp $ */
|
||||
/* $OpenBSD: if_malo.c,v 1.65 2009/03/29 21:53:53 sthen Exp $ */
|
||||
|
||||
/*
|
||||
|
@ -18,7 +18,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_malo_pcmcia.c,v 1.27 2021/11/10 17:19:30 msaitoh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_malo_pcmcia.c,v 1.28 2024/02/09 22:08:36 andvar Exp $");
|
||||
|
||||
#ifdef _MODULE
|
||||
#include <sys/module.h>
|
||||
|
@ -422,7 +422,7 @@ cmalo_detach(void *arg)
|
|||
/* free firmware */
|
||||
cmalo_fw_free(sc);
|
||||
|
||||
/* detach inferface */
|
||||
/* detach interface */
|
||||
ieee80211_ifdetach(ic);
|
||||
if_detach(ifp);
|
||||
|
||||
|
@ -1287,7 +1287,7 @@ cmalo_cmd_get_hwspec(struct malo_softc *sc)
|
|||
if (cmalo_cmd_request(sc, psize, 0) != 0)
|
||||
return EIO;
|
||||
|
||||
/* process command repsonse */
|
||||
/* process command response */
|
||||
cmalo_cmd_response(sc);
|
||||
|
||||
return 0;
|
||||
|
@ -1385,7 +1385,7 @@ cmalo_cmd_set_scan(struct malo_softc *sc)
|
|||
if (cmalo_cmd_request(sc, psize, 0) != 0)
|
||||
return EIO;
|
||||
|
||||
/* process command repsonse */
|
||||
/* process command response */
|
||||
cmalo_cmd_response(sc);
|
||||
|
||||
return 0;
|
||||
|
@ -1498,7 +1498,7 @@ cmalo_cmd_set_auth(struct malo_softc *sc)
|
|||
if (cmalo_cmd_request(sc, psize, 0) != 0)
|
||||
return EIO;
|
||||
|
||||
/* process command repsonse */
|
||||
/* process command response */
|
||||
cmalo_cmd_response(sc);
|
||||
|
||||
return 0;
|
||||
|
@ -1556,7 +1556,7 @@ cmalo_cmd_set_wep(struct malo_softc *sc, uint16_t index,
|
|||
if (cmalo_cmd_request(sc, psize, 0) != 0)
|
||||
return EIO;
|
||||
|
||||
/* process command repsonse */
|
||||
/* process command response */
|
||||
cmalo_cmd_response(sc);
|
||||
|
||||
return 0;
|
||||
|
@ -1608,7 +1608,7 @@ cmalo_cmd_set_snmp(struct malo_softc *sc, uint16_t oid)
|
|||
if (cmalo_cmd_request(sc, psize, 0) != 0)
|
||||
return EIO;
|
||||
|
||||
/* process command repsonse */
|
||||
/* process command response */
|
||||
cmalo_cmd_response(sc);
|
||||
|
||||
return 0;
|
||||
|
@ -1639,7 +1639,7 @@ cmalo_cmd_set_radio(struct malo_softc *sc, uint16_t control)
|
|||
if (cmalo_cmd_request(sc, psize, 0) != 0)
|
||||
return EIO;
|
||||
|
||||
/* process command repsonse */
|
||||
/* process command response */
|
||||
cmalo_cmd_response(sc);
|
||||
|
||||
return 0;
|
||||
|
@ -1667,7 +1667,7 @@ cmalo_cmd_set_channel(struct malo_softc *sc, uint16_t channel)
|
|||
if (cmalo_cmd_request(sc, psize, 0) != 0)
|
||||
return EIO;
|
||||
|
||||
/* process command repsonse */
|
||||
/* process command response */
|
||||
cmalo_cmd_response(sc);
|
||||
|
||||
return 0;
|
||||
|
@ -1695,7 +1695,7 @@ cmalo_cmd_set_txpower(struct malo_softc *sc, int16_t txpower)
|
|||
if (cmalo_cmd_request(sc, psize, 0) != 0)
|
||||
return EIO;
|
||||
|
||||
/* process command repsonse */
|
||||
/* process command response */
|
||||
cmalo_cmd_response(sc);
|
||||
|
||||
return 0;
|
||||
|
@ -1738,7 +1738,7 @@ cmalo_cmd_set_antenna(struct malo_softc *sc, uint16_t action)
|
|||
if (cmalo_cmd_request(sc, psize, 0) != 0)
|
||||
return EIO;
|
||||
|
||||
/* process command repsonse */
|
||||
/* process command response */
|
||||
cmalo_cmd_response(sc);
|
||||
|
||||
return 0;
|
||||
|
@ -1770,7 +1770,7 @@ cmalo_cmd_set_macctrl(struct malo_softc *sc)
|
|||
if (cmalo_cmd_request(sc, psize, 0) != 0)
|
||||
return EIO;
|
||||
|
||||
/* process command repsonse */
|
||||
/* process command response */
|
||||
cmalo_cmd_response(sc);
|
||||
|
||||
return 0;
|
||||
|
@ -1797,7 +1797,7 @@ cmalo_cmd_set_macaddr(struct malo_softc *sc, uint8_t *macaddr)
|
|||
if (cmalo_cmd_request(sc, psize, 0) != 0)
|
||||
return EIO;
|
||||
|
||||
/* process command repsonse */
|
||||
/* process command response */
|
||||
cmalo_cmd_response(sc);
|
||||
|
||||
return 0;
|
||||
|
@ -1874,7 +1874,7 @@ cmalo_cmd_set_assoc(struct malo_softc *sc)
|
|||
if (cmalo_cmd_request(sc, psize, 0) != 0)
|
||||
return EIO;
|
||||
|
||||
/* process command repsonse */
|
||||
/* process command response */
|
||||
cmalo_cmd_response(sc);
|
||||
|
||||
return 0;
|
||||
|
@ -1926,7 +1926,7 @@ cmalo_cmd_set_rate(struct malo_softc *sc, int rate)
|
|||
if (cmalo_cmd_request(sc, psize, 0) != 0)
|
||||
return EIO;
|
||||
|
||||
/* process command repsonse */
|
||||
/* process command response */
|
||||
cmalo_cmd_response(sc);
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rf_evenodd_dagfuncs.h,v 1.6 2019/10/10 03:43:59 christos Exp $ */
|
||||
/* $NetBSD: rf_evenodd_dagfuncs.h,v 1.7 2024/02/09 22:08:36 andvar Exp $ */
|
||||
/*
|
||||
* rf_evenodd_dagfuncs.h
|
||||
*/
|
||||
|
@ -72,7 +72,7 @@ void rf_EOWriteDoubleRecoveryFunc(RF_DagNode_t * node);
|
|||
/*
|
||||
* RF_EO_MATRIX_DIM should be a prime number: and "bytesPerSector" should be
|
||||
* dividable by ( RF_EO_MATRIX_DIM - 1) to fully encode and use the space
|
||||
* in a sector, this number could also be 17. Tha later case doesn't apply
|
||||
* in a sector, this number could also be 17. The later case doesn't apply
|
||||
* for disk array larger than 17 columns totally.
|
||||
*/
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: scsi_spc.h,v 1.7 2022/01/27 18:37:02 jakllsch Exp $ */
|
||||
/* $NetBSD: scsi_spc.h,v 1.8 2024/02/09 22:08:36 andvar Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2005 The NetBSD Foundation, Inc.
|
||||
|
@ -443,7 +443,7 @@ struct scsi_repsuppopcode {
|
|||
#define RSOC_ALL 0x00 /* report all */
|
||||
#define RSOC_ONE 0x01 /* report one */
|
||||
#define RSOC_ONESACD 0x02 /* report one or CHECK CONDITION */
|
||||
#define RSOC_ONESA 0x03 /* report one mark presense in data */
|
||||
#define RSOC_ONESA 0x03 /* report one mark presence in data */
|
||||
#define RSOC_RCTD 0x80 /* report timeouts */
|
||||
|
||||
u_int8_t reqopcode;
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue