-/* $OpenBSD: acpi_machdep.c,v 1.110 2024/05/29 12:21:33 kettenis Exp $ */
+/* $OpenBSD: acpi_machdep.c,v 1.111 2024/09/01 03:08:56 jsg Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
*
/*
* First repair the interrupt hardware so that any events which occur
* will cause the least number of unexpected side effects. We re-start
- * the clocks early because we will soon run AML whigh might do DELAY.
+ * the clocks early because we will soon run AML which might do DELAY.
* Then PM, and then further system/CPU work for the BSP cpu.
*/
void
-/* $OpenBSD: pxe.h,v 1.7 2016/06/10 18:36:06 jcs Exp $ */
+/* $OpenBSD: pxe.h,v 1.8 2024/09/01 03:08:56 jsg Exp $ */
/* $NetBSD: pxe.h,v 1.1 2002/02/16 03:37:40 thorpej Exp $ */
/*
#define PXENV_UNDI_GET_MCAST_ADDRESS 0x0011
typedef struct {
PXENV_STATUS_t Status;
- IP4_t InetAddr; /* IP mulicast address */
+ IP4_t InetAddr; /* IP multicast address */
MAC_ADDR MediaAddr; /* MAC multicast address */
} __packed t_PXENV_UNDI_GET_MCAST_ADDR;
-/* $OpenBSD: acpi_machdep.c,v 1.87 2023/01/30 10:49:04 jsg Exp $ */
+/* $OpenBSD: acpi_machdep.c,v 1.88 2024/09/01 03:08:56 jsg Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
*
/*
* First repair the interrupt hardware so that any events which occur
* will cause the least number of unexpected side effects. We re-start
- * the clocks early because we will soon run AML whigh might do DELAY.
+ * the clocks early because we will soon run AML which might do DELAY.
* Then PM, and then further system/CPU work for the BSP cpu.
*/
void
-/* $OpenBSD: pxe.h,v 1.7 2016/06/10 18:36:06 jcs Exp $ */
+/* $OpenBSD: pxe.h,v 1.8 2024/09/01 03:08:56 jsg Exp $ */
/* $NetBSD: pxe.h,v 1.1 2002/02/16 03:37:40 thorpej Exp $ */
/*
#define PXENV_UNDI_GET_MCAST_ADDRESS 0x0011
typedef struct {
PXENV_STATUS_t Status;
- IP4_t InetAddr; /* IP mulicast address */
+ IP4_t InetAddr; /* IP multicast address */
MAC_ADDR MediaAddr; /* MAC multicast address */
} __packed t_PXENV_UNDI_GET_MCAST_ADDR;
-/* $OpenBSD: dwpcie.c,v 1.56 2024/07/09 08:47:10 kettenis Exp $ */
+/* $OpenBSD: dwpcie.c,v 1.57 2024/09/01 03:08:56 jsg Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
*
pba.pba_flags |= PCI_FLAGS_MSI_ENABLED;
/*
- * Only support mutiple MSI vectors if we have enough MSI
+ * Only support multiple MSI vectors if we have enough MSI
* interrupts (or are using an external interrupt controller
- * that hopefully suppors plenty of MSI interripts).
+ * that hopefully supports plenty of MSI interrupts).
*/
if (OF_getproplen(sc->sc_node, "msi-map") > 0 ||
sc->sc_num_msi > 32)
-/* $OpenBSD: imxehci.c,v 1.6 2022/04/06 18:59:28 naddy Exp $ */
+/* $OpenBSD: imxehci.c,v 1.7 2024/09/01 03:08:56 jsg Exp $ */
/*
* Copyright (c) 2012-2013 Patrick Wildt <patrick@blueri.se>
*
anatop, sizeof(anatop)) == sizeof(anatop))
rm = regmap_byphandle(anatop[0]);
- /* Disable the carger detection, else signal on DP will be poor */
+ /* Disable the charger detection, else signal on DP will be poor */
switch (sc->sc_unit) {
case 0:
if (rm != NULL)
-/* $OpenBSD: hidkbd.c,v 1.13 2024/07/02 05:50:02 gkoehler Exp $ */
+/* $OpenBSD: hidkbd.c,v 1.14 2024/09/01 03:08:56 jsg Exp $ */
/* $NetBSD: ukbd.c,v 1.85 2003/03/11 16:44:00 augustss Exp $ */
/*
{ 67, 235 }, /* F10 -> backlight raise */
{ 39, 84 }, /* keypad divide */
{ 19, 85 }, /* keypad multiply */
- { 51, 86 }, /* keypad substract */
+ { 51, 86 }, /* keypad subtract */
{ 56, 87 }, /* keypad add */
{ 13, 89 }, /* keypad 1 */
{ 14, 90 }, /* keypad 2 */
-/* $OpenBSD: aac.c,v 1.96 2023/09/11 12:10:47 mvs Exp $ */
+/* $OpenBSD: aac.c,v 1.97 2024/09/01 03:08:56 jsg Exp $ */
/*-
* Copyright (c) 2000 Michael Smith
break;
case AifJobFsVerify:
/* File System Verify operation */
- printf("\t(FsVerivy)\n");
+ printf("\t(FsVerify)\n");
break;
case AifJobFsExtend:
/* File System Extend operation */
-/* $OpenBSD: acx111.c,v 1.24 2022/01/09 05:42:38 jsg Exp $ */
+/* $OpenBSD: acx111.c,v 1.25 2024/09/01 03:08:56 jsg Exp $ */
/*
* Copyright (c) 2006 Jonathan Gray <jsg@openbsd.org>
#define ACX111_INTR_ENABLE (ACXRV_INTR_TX_FINI | ACXRV_INTR_RX_FINI)
/*
- * XXX do we really care about fowlling interrupts?
+ * XXX do we really care about the following interrupts?
*
* ACXRV_INTR_IV_ICV_FAILURE | ACXRV_INTR_INFO |
* ACXRV_INTR_SCAN_FINI | ACXRV_INTR_FCS_THRESHOLD
-/* $OpenBSD: aic79xx.c,v 1.67 2022/01/09 05:42:38 jsg Exp $ */
+/* $OpenBSD: aic79xx.c,v 1.68 2024/09/01 03:08:56 jsg Exp $ */
/*
* Copyright (c) 2004 Milos Urbanek, Kenneth R. Westerback & Marco Peereboom
* SCB that encountered the failure. Clean
* up the queue, clear SELDO and LQOBUSFREE,
* and allow the sequencer to restart the select
- * out at its lesure.
+ * out at its leisure.
*/
ahd_set_modes(ahd, AHD_MODE_SCSI, AHD_MODE_SCSI);
scbid = ahd_inw(ahd, CURRSCB);
-/* $OpenBSD: aic79xx.h,v 1.31 2024/05/29 00:48:15 jsg Exp $ */
+/* $OpenBSD: aic79xx.h,v 1.32 2024/09/01 03:08:56 jsg Exp $ */
/*
* Copyright (c) 2004 Milos Urbanek, Kenneth R. Westerback & Marco Peereboom
*/
/*
- * Status information embedded in the shared poriton of
+ * Status information embedded in the shared portion of
* an SCB after passing the cdb to the target. The kernel
* driver will only read this data for transactions that
* complete abnormally.
-/* $OpenBSD: aic7xxx_seeprom.c,v 1.9 2021/03/07 06:21:38 jsg Exp $ */
+/* $OpenBSD: aic7xxx_seeprom.c,v 1.10 2024/09/01 03:08:56 jsg Exp $ */
/* $NetBSD: aic7xxx_seeprom.c,v 1.8 2003/05/02 19:12:19 dyoung Exp $ */
/*
* from the FreeBSD source file aic7xxx_pci.c by Frank van der Linden
* <fvdl@netbsd.org>
*
- * $Id: aic7xxx_seeprom.c,v 1.9 2021/03/07 06:21:38 jsg Exp $
+ * $Id: aic7xxx_seeprom.c,v 1.10 2024/09/01 03:08:56 jsg Exp $
*
* $FreeBSD: src/sys/dev/aic7xxx/aic7xxx_pci.c,v 1.22 2003/01/20 20:44:55 gibbs Exp $
*/
/*
* Check the external port logic for a serial eeprom
- * and termination/cable detection contrls.
+ * and termination/cable detection controls.
*/
void
ahc_check_extport(struct ahc_softc *ahc, u_int *sxfrctl1)
-/* $OpenBSD: am79900reg.h,v 1.2 2008/06/26 05:42:15 ray Exp $ */
+/* $OpenBSD: am79900reg.h,v 1.3 2024/09/01 03:08:56 jsg Exp $ */
/* $NetBSD: am79900reg.h,v 1.7 2005/02/27 00:27:00 perry Exp $ */
/*-
/* Transmit message descriptor 3 (tmd3) */
#define LE_T2_BUFF (1<<31) /* buffer error */
#define LE_T2_UFLO (1<<30) /* underflow error */
-#define LE_T2_EXDEF (1<<29) /* excessive defferral */
+#define LE_T2_EXDEF (1<<29) /* excessive deferral */
#define LE_T2_LCOL (1<<28) /* late collision */
#define LE_T2_LCAR (1<<27) /* loss of carrier */
#define LE_T2_RTRY (1<<26) /* retry error */
-/* $OpenBSD: bt485.c,v 1.14 2014/07/08 17:19:25 deraadt Exp $ */
+/* $OpenBSD: bt485.c,v 1.15 2024/09/01 03:08:56 jsg Exp $ */
/* $NetBSD: bt485.c,v 1.2 2000/04/02 18:55:01 nathanw Exp $ */
/*
regval |= 0x02;
data->ramdac_wr(data->cookie, BT485_REG_COMMAND_0, regval);
- /* Set the RAMDAC to 8BPP (no interestion options). */
+ /* Set the RAMDAC to 8BPP (no interesting options). */
data->ramdac_wr(data->cookie, BT485_REG_COMMAND_1, 0x40);
/* Disable the cursor (for now) */
-/* $OpenBSD: ccp.c,v 1.6 2024/08/13 20:48:00 bluhm Exp $ */
+/* $OpenBSD: ccp.c,v 1.7 2024/09/01 03:08:56 jsg Exp $ */
/*
* Copyright (c) 2018 David Gwynne <dlg@openbsd.org>
/*
* create and map Trusted Memory Region (TMR); size 1 Mbyte,
- * needs to be aligend to 1 Mbyte.
+ * needs to be aligned to 1 Mbyte.
*/
sc->sc_tmr_size = size = PSP_TMR_SIZE;
if (bus_dmamap_create(sc->sc_dmat, size, 1, size, 0,
psp_snp_get_pstatus((struct psp_snp_platform_status *)data);
break;
default:
- printf("%s: unkown ioctl code 0x%lx\n", __func__, cmd);
+ printf("%s: unknown ioctl code 0x%lx\n", __func__, cmd);
ret = ENOTTY;
}
-/* $OpenBSD: cyreg.h,v 1.8 2002/09/14 15:00:02 art Exp $ */
+/* $OpenBSD: cyreg.h,v 1.9 2024/09/01 03:08:56 jsg Exp $ */
/* $FreeBSD: cyreg.h,v 1.1 1995/07/05 12:15:51 bde Exp $ */
/*-
#define CY8_SVCACKT 0x200
#define CY8_SVCACKM 0x300
-/* twice this in PCI mode (shifed BUSTYPE bits left) */
+/* twice this in PCI mode (shifted BUSTYPE bits left) */
#define CY_CD1400_MEMSPACING 0x400
/* adjustment value for accessing the last 4 cd1400s on Cyclom-32 */
-/* $OpenBSD: gdtvar.h,v 1.26 2021/08/30 14:44:39 jasper Exp $ */
+/* $OpenBSD: gdtvar.h,v 1.27 2024/09/01 03:08:56 jsg Exp $ */
/*
* Copyright (c) 1999, 2000 Niklas Hallqvist. All rights reserved.
};
/*
- * A command contol block, one for each corresponding command index of the
+ * A command control block, one for each corresponding command index of the
* controller.
*/
struct gdt_ccb {
-/* $OpenBSD: ics2101reg.h,v 1.3 2008/06/26 05:42:15 ray Exp $ */
+/* $OpenBSD: ics2101reg.h,v 1.4 2024/09/01 03:08:56 jsg Exp $ */
/* $NetBSD: ics2101reg.h,v 1.3 1996/02/05 02:18:52 jtc Exp $ */
/*-
#define ICSMIX_CTRL_LEFT 0x00 /* Control left channel */
#define ICSMIX_CTRL_RIGHT 0x01 /* Control right channel */
#define ICSMIX_ATTN_LEFT 0x02 /* Attenuate left channel */
-#define ICSMIX_ATTN_RIGHT 0x03 /* Attenutate right channel */
+#define ICSMIX_ATTN_RIGHT 0x03 /* Attenuate right channel */
#define ICSMIX_PAEN 0x04 /* Panning control */
#define ICSMIX_CHAN_0 0 /* Values for mixer channels */
#define ICSMIX_CHAN_1 1
-/* $OpenBSD: mtd8xxreg.h,v 1.2 2003/10/21 18:58:49 jmc Exp $ */
+/* $OpenBSD: mtd8xxreg.h,v 1.3 2024/09/01 03:08:56 jsg Exp $ */
/*
* Copyright (c) 2003 Oleg Safiullin <form@pdp11.org.ru>
#define TCR_BACKOPT 0x10000000U /* Optional back-off */
#define TCR_FBACK 0x08000000U /* Fast back-off */
#define TCR_ENHANCED 0x02000000U /* Enhanced transmit mode */
-#define TCR_TFCEN 0x01000000U /* Ttansmit flow control enable */
+#define TCR_TFCEN 0x01000000U /* Transmit flow control enable */
#define TCR_TFT64 0x00000000U /* 64 bytes */
#define TCR_TFT32 0x00200000U /* 32 bytes */
#define TCR_TFT128 0x00400000U /* 128 bytes */
#define ISR_ROVF 0x00000200U /* Receive overflow */
#define ISR_ETI 0x00000100U /* Early transfer interrupt */
#define ISR_ERI 0x00000080U /* Early receive interrupt */
-#define ISR_CNTOVF 0x00000040U /* CRC or MPA tally ounter overflow */
+#define ISR_CNTOVF 0x00000040U /* CRC or MPA tally counter overflow */
#define ISR_RBU 0x00000020U /* Receive buffer unavailable */
#define ISR_TBU 0x00000010U /* Transmit buffer unavailable */
#define ISR_TI 0x00000008U /* Transmit interrupt */
#define IMR_MROVF 0x00000200U /* Receive overflow */
#define IMR_METI 0x00000100U /* Early transfer interrupt */
#define IMR_MERI 0x00000080U /* Early receive interrupt */
-#define IMR_MCNTOVF 0x00000040U /* CRC or MPA tally ounter overflow */
+#define IMR_MCNTOVF 0x00000040U /* CRC or MPA tally counter overflow */
#define IMR_MRBU 0x00000020U /* Receive buffer unavailable */
#define IMR_MTBU 0x00000010U /* Transmit buffer unavailable */
#define IMR_MTI 0x00000008U /* Transmit interrupt */
-/* $OpenBSD: nvme.c,v 1.121 2024/07/13 08:59:41 dv Exp $ */
+/* $OpenBSD: nvme.c,v 1.122 2024/09/01 03:08:56 jsg Exp $ */
/*
* Copyright (c) 2014 David Gwynne <dlg@openbsd.org>
nvme_bio_status(bs, "Max i/o %zu bytes%s%s%s, Sanitize 0x%b",
sc->sc_mdts,
ISSET(idctrl->lpa, NVM_ID_CTRL_LPA_PE) ?
- ", Persisent Event Log" : "",
+ ", Persistent Event Log" : "",
ISSET(idctrl->fna, NVM_ID_CTRL_FNA_CRYPTOFORMAT) ?
", CryptoFormat" : "",
ISSET(idctrl->vwc, NVM_ID_CTRL_VWC_PRESENT) ?
-/* $OpenBSD: qwx.c,v 1.66 2024/08/19 08:22:30 jsg Exp $ */
+/* $OpenBSD: qwx.c,v 1.67 2024/09/01 03:08:56 jsg Exp $ */
/*
* Copyright 2023 Stefan Sperling <stsp@openbsd.org>
/* Related EIs must have the same type. */
if (ei->tlv_type != elem_type) {
- printf("%s: unexepected element type 0x%x; "
+ printf("%s: unexpected element type 0x%x; "
"expected 0x%x\n", __func__,
ei->tlv_type, elem_type);
return -1;
qwx_qrtr_resume_tx(sc);
}
-// Not needed because we don't implenent QMI as a network service.
+// Not needed because we don't implement QMI as a network service.
#define qwx_qmi_init_service(sc) (0)
#define qwx_qmi_deinit_service(sc) (0)
static inline void
qwx_dp_get_mac_addr(uint32_t addr_l32, uint16_t addr_h16, uint8_t *addr)
{
-#if 0 /* Not needed on OpenBSD? We do swapping in sofware... */
+#if 0 /* Not needed on OpenBSD? We do swapping in software... */
if (IS_ENABLED(CONFIG_CPU_BIG_ENDIAN)) {
addr_l32 = swab32(addr_l32);
addr_h16 = swab16(addr_h16);
memset(srng->ring_base_vaddr, 0,
(srng->entry_size * srng->num_entries) << 2);
-#if 0 /* Not needed on OpenBSD? We do swapping in sofware... */
+#if 0 /* Not needed on OpenBSD? We do swapping in software... */
/* TODO: Add comments on these swap configurations */
if (IS_ENABLED(CONFIG_CPU_BIG_ENDIAN))
srng->flags |= HAL_SRNG_FLAGS_MSI_SWAP | HAL_SRNG_FLAGS_DATA_TLV_SWAP |
ch->antennamax, ch->phy_mode);
ch++;
- /* TODO: use quarrter/half rate, cfreq12, dfs_cfreq2
+ /* TODO: use quarter/half rate, cfreq12, dfs_cfreq2
* set_agile, reg_class_idx
*/
}
-/* $OpenBSD: qwxreg.h,v 1.7 2024/02/21 14:40:50 kevlo Exp $ */
+/* $OpenBSD: qwxreg.h,v 1.8 2024/09/01 03:08:56 jsg Exp $ */
/*
* Copyright (c) 2021-2022, Qualcomm Innovation Center, Inc.
* to be communicated separately.
* @WMI_HOST_HW_MODE_DBS_SBS: 3 PHYs, with 2 on the same band doing SBS
* as in WMI_HW_MODE_SBS, and 3rd on the other band
- * @WMI_HOST_HW_MODE_DBS_OR_SBS: Two PHY with one PHY capabale of both 2G and
+ * @WMI_HOST_HW_MODE_DBS_OR_SBS: Two PHY with one PHY capable of both 2G and
* 5G. It can support SBS (5G + 5G) OR DBS (5G + 2G).
* @WMI_HOST_HW_MODE_MAX: Max hw_mode_id. Used to indicate invalid mode.
*/
#define WMI_VDEV_SLOT_TIME_LONG 0x1
/* slot time short */
#define WMI_VDEV_SLOT_TIME_SHORT 0x2
-/* preablbe long */
+/* preamble long */
#define WMI_VDEV_PREAMBLE_LONG 0x1
-/* preablbe short */
+/* preamble short */
#define WMI_VDEV_PREAMBLE_SHORT 0x2
enum wmi_peer_smps_state {
WMI_VDEV_START_RESPONSE_INVALID_REGDOMAIN = 4,
};
-/* Regaulatory Rule Flags Passed by FW */
+/* Regulatory Rule Flags Passed by FW */
#define REGULATORY_CHAN_DISABLED BIT(0)
#define REGULATORY_CHAN_NO_IR BIT(1)
#define REGULATORY_CHAN_RADAR BIT(3)
#define HAL_REO_CMD_FLG_UNBLK_RESOURCE BIT(7)
#define HAL_REO_CMD_FLG_UNBLK_CACHE BIT(8)
-/* Should be matching with HAL_REO_UPD_RX_QUEUE_INFO0_UPD_* feilds */
+/* Should be matching with HAL_REO_UPD_RX_QUEUE_INFO0_UPD_* fields */
#define HAL_REO_CMD_UPD0_RX_QUEUE_NUM BIT(8)
#define HAL_REO_CMD_UPD0_VLD BIT(9)
#define HAL_REO_CMD_UPD0_ALDC BIT(10)
#define HAL_REO_CMD_UPD0_PN_VALID BIT(29)
#define HAL_REO_CMD_UPD0_PN BIT(30)
-/* Should be matching with HAL_REO_UPD_RX_QUEUE_INFO1_* feilds */
+/* Should be matching with HAL_REO_UPD_RX_QUEUE_INFO1_* fields */
#define HAL_REO_CMD_UPD1_VLD BIT(16)
#define HAL_REO_CMD_UPD1_ALDC GENMASK(18, 17)
#define HAL_REO_CMD_UPD1_DIS_DUP_DETECTION BIT(19)
#define HAL_REO_CMD_UPD1_PN_HANDLE_ENABLE BIT(30)
#define HAL_REO_CMD_UPD1_IGNORE_AMPDU_FLG BIT(31)
-/* Should be matching with HAL_REO_UPD_RX_QUEUE_INFO2_* feilds */
+/* Should be matching with HAL_REO_UPD_RX_QUEUE_INFO2_* fields */
#define HAL_REO_CMD_UPD2_SVLD BIT(10)
#define HAL_REO_CMD_UPD2_SSN GENMASK(22, 11)
#define HAL_REO_CMD_UPD2_SEQ_2K_ERR BIT(23)
* msdu_limit_error
* Indicates that the MSDU threshold was exceeded and thus
* all the rest of the MSDUs will not be scattered and will not
- * be decasulated but will be DMA'ed in RAW format as a single
+ * be decapsulated but will be DMA'ed in RAW format as a single
* MSDU buffer.
*
* da_is_valid
-/* $OpenBSD: qwz.c,v 1.7 2024/08/20 21:24:15 patrick Exp $ */
+/* $OpenBSD: qwz.c,v 1.8 2024/09/01 03:08:56 jsg Exp $ */
/*
* Copyright 2023 Stefan Sperling <stsp@openbsd.org>
/* Related EIs must have the same type. */
if (ei->tlv_type != elem_type) {
- printf("%s: unexepected element type 0x%x; "
+ printf("%s: unexpected element type 0x%x; "
"expected 0x%x\n", __func__,
ei->tlv_type, elem_type);
return -1;
qwz_qrtr_resume_tx(sc);
}
-// Not needed because we don't implenent QMI as a network service.
+// Not needed because we don't implement QMI as a network service.
#define qwz_qmi_init_service(sc) (0)
#define qwz_qmi_deinit_service(sc) (0)
static inline void
qwz_dp_get_mac_addr(uint32_t addr_l32, uint16_t addr_h16, uint8_t *addr)
{
-#if 0 /* Not needed on OpenBSD? We do swapping in sofware... */
+#if 0 /* Not needed on OpenBSD? We do swapping in software... */
if (IS_ENABLED(CONFIG_CPU_BIG_ENDIAN)) {
addr_l32 = swab32(addr_l32);
addr_h16 = swab16(addr_h16);
memset(srng->ring_base_vaddr, 0,
(srng->entry_size * srng->num_entries) << 2);
-#if 0 /* Not needed on OpenBSD? We do swapping in sofware... */
+#if 0 /* Not needed on OpenBSD? We do swapping in software... */
/* TODO: Add comments on these swap configurations */
if (IS_ENABLED(CONFIG_CPU_BIG_ENDIAN))
srng->flags |= HAL_SRNG_FLAGS_MSI_SWAP | HAL_SRNG_FLAGS_DATA_TLV_SWAP |
ch->antennamax, ch->phy_mode);
ch++;
- /* TODO: use quarrter/half rate, cfreq12, dfs_cfreq2
+ /* TODO: use quarter/half rate, cfreq12, dfs_cfreq2
* set_agile, reg_class_idx
*/
}
-/* $OpenBSD: qwzreg.h,v 1.4 2024/08/16 00:26:54 patrick Exp $ */
+/* $OpenBSD: qwzreg.h,v 1.5 2024/09/01 03:08:56 jsg Exp $ */
/*
* Copyright (c) 2021-2022, Qualcomm Innovation Center, Inc.
* to be communicated separately.
* @WMI_HOST_HW_MODE_DBS_SBS: 3 PHYs, with 2 on the same band doing SBS
* as in WMI_HW_MODE_SBS, and 3rd on the other band
- * @WMI_HOST_HW_MODE_DBS_OR_SBS: Two PHY with one PHY capabale of both 2G and
+ * @WMI_HOST_HW_MODE_DBS_OR_SBS: Two PHY with one PHY capable of both 2G and
* 5G. It can support SBS (5G + 5G) OR DBS (5G + 2G).
* @WMI_HOST_HW_MODE_MAX: Max hw_mode_id. Used to indicate invalid mode.
*/
#define WMI_VDEV_SLOT_TIME_LONG 0x1
/* slot time short */
#define WMI_VDEV_SLOT_TIME_SHORT 0x2
-/* preablbe long */
+/* preamble long */
#define WMI_VDEV_PREAMBLE_LONG 0x1
-/* preablbe short */
+/* preamble short */
#define WMI_VDEV_PREAMBLE_SHORT 0x2
enum wmi_peer_smps_state {
WMI_VDEV_START_RESPONSE_INVALID_REGDOMAIN = 4,
};
-/* Regaulatory Rule Flags Passed by FW */
+/* Regulatory Rule Flags Passed by FW */
#define REGULATORY_CHAN_DISABLED BIT(0)
#define REGULATORY_CHAN_NO_IR BIT(1)
#define REGULATORY_CHAN_RADAR BIT(3)
* and the MPDU was processed in the following way:
* - NO re-order function is needed.
* - MPDU delinking is determined by the setting of Entrance
- * ring field: SW_excection_mpdu_delink
+ * ring field: SW_exception_mpdu_delink
* - Destination ring selection is based on the setting of
* the Entrance ring field SW_exception_destination _ring_valid
*
#define HAL_REO_CMD_FLG_UNBLK_RESOURCE BIT(7)
#define HAL_REO_CMD_FLG_UNBLK_CACHE BIT(8)
-/* Should be matching with HAL_REO_UPD_RX_QUEUE_INFO0_UPD_* feilds */
+/* Should be matching with HAL_REO_UPD_RX_QUEUE_INFO0_UPD_* fields */
#define HAL_REO_CMD_UPD0_RX_QUEUE_NUM BIT(8)
#define HAL_REO_CMD_UPD0_VLD BIT(9)
#define HAL_REO_CMD_UPD0_ALDC BIT(10)
#define HAL_REO_CMD_UPD0_PN_VALID BIT(29)
#define HAL_REO_CMD_UPD0_PN BIT(30)
-/* Should be matching with HAL_REO_UPD_RX_QUEUE_INFO1_* feilds */
+/* Should be matching with HAL_REO_UPD_RX_QUEUE_INFO1_* fields */
#define HAL_REO_CMD_UPD1_VLD BIT(16)
#define HAL_REO_CMD_UPD1_ALDC GENMASK(18, 17)
#define HAL_REO_CMD_UPD1_DIS_DUP_DETECTION BIT(19)
#define HAL_REO_CMD_UPD1_PN_HANDLE_ENABLE BIT(30)
#define HAL_REO_CMD_UPD1_IGNORE_AMPDU_FLG BIT(31)
-/* Should be matching with HAL_REO_UPD_RX_QUEUE_INFO2_* feilds */
+/* Should be matching with HAL_REO_UPD_RX_QUEUE_INFO2_* fields */
#define HAL_REO_CMD_UPD2_SVLD BIT(10)
#define HAL_REO_CMD_UPD2_SSN GENMASK(22, 11)
#define HAL_REO_CMD_UPD2_SEQ_2K_ERR BIT(23)
* msdu_limit_error
* Indicates that the MSDU threshold was exceeded and thus
* all the rest of the MSDUs will not be scattered and will not
- * be decasulated but will be DMA'ed in RAW format as a single
+ * be decapsulated but will be DMA'ed in RAW format as a single
* MSDU buffer.
*
* da_is_valid
-/* $OpenBSD: siop_common.c,v 1.45 2024/04/13 23:44:11 jsg Exp $ */
+/* $OpenBSD: siop_common.c,v 1.46 2024/09/01 03:08:56 jsg Exp $ */
/* $NetBSD: siop_common.c,v 1.37 2005/02/27 00:27:02 perry Exp $ */
/*
/*
* First let see if we have a resid from a phase mismatch. If so,
- * we have to adjst the table at offset to remove transferred data.
+ * we have to adjust the table at offset to remove transferred data.
*/
if (siop_cmd->flags & CMDFL_RESID) {
siop_cmd->flags &= ~CMDFL_RESID;
-/* $OpenBSD: w83l518d_sdmmc.c,v 1.5 2020/01/22 03:26:02 cheloha Exp $ */
+/* $OpenBSD: w83l518d_sdmmc.c,v 1.6 2024/09/01 03:08:56 jsg Exp $ */
/* $NetBSD: w83l518d_sdmmc.c,v 1.1 2009/09/30 20:44:50 jmcneill Exp $ */
/*
struct sdmmc_chip_functions wb_sdmmc_chip_functions = {
/* host controller reset */
wb_sdmmc_host_reset,
- /* host controlle capabilities */
+ /* host controller capabilities */
wb_sdmmc_host_ocr,
wb_sdmmc_host_maxblklen,
/* card detection */
-/* $OpenBSD: ahd_pci.c,v 1.29 2022/10/21 17:45:40 kn Exp $ */
+/* $OpenBSD: ahd_pci.c,v 1.30 2024/09/01 03:08:56 jsg Exp $ */
/*
* Copyright (c) 2004 Milos Urbanek, Kenneth R. Westerback & Marco Peereboom
/*
* Check the external port logic for a serial eeprom
- * and termination/cable detection contrls.
+ * and termination/cable detection controls.
*/
int
ahd_check_extport(struct ahd_softc *ahd)
-/* $OpenBSD: cs4280.c,v 1.62 2024/08/18 14:42:56 deraadt Exp $ */
+/* $OpenBSD: cs4280.c,v 1.63 2024/09/01 03:08:56 jsg Exp $ */
/* $NetBSD: cs4280.c,v 1.5 2000/06/26 04:56:23 simonb Exp $ */
/*
* playback rate may range from 8000Hz to 48000Hz
*
* play_phase_increment = floor(rate*65536*1024/48000)
- * px = round(rate*65536*1024 - play_phase_incremnt*48000)
+ * px = round(rate*65536*1024 - play_phase_increment*48000)
* py=floor(px/200)
* play_sample_rate_correction = px - 200*py
*
-/* $OpenBSD: eap.c,v 1.65 2024/05/24 06:02:53 jsg Exp $ */
+/* $OpenBSD: eap.c,v 1.66 2024/09/01 03:08:56 jsg Exp $ */
/* $NetBSD: eap.c,v 1.46 2001/09/03 15:07:37 reinoud Exp $ */
/*
* or it locks up.
*
* We don't know how to program it (no documentation),
- * and the linux/oss magic receipe doesn't work (breaks
+ * and the linux/oss magic recipe doesn't work (breaks
* full-duplex, by selecting different play and record
* rates). On the other hand, the sample rate converter
* can't be disabled (disabling it would disable DMA),
-/* $OpenBSD: gdt_pci.c,v 1.28 2024/05/24 06:02:53 jsg Exp $ */
+/* $OpenBSD: gdt_pci.c,v 1.29 2024/09/01 03:08:56 jsg Exp $ */
/*
* Copyright (c) 1999, 2000 Niklas Hallqvist. All rights reserved.
goto bail_out;
}
- /* special commnd to controller BIOS */
+ /* special command to controller BIOS */
bus_space_write_4(dpmemt, dpmemh, GDT_MPR_IC + GDT_S_INFO, 0);
bus_space_write_4(dpmemt, dpmemh,
GDT_MPR_IC + GDT_S_INFO + sizeof (u_int32_t), 0);
-/* $OpenBSD: if_bnxtreg.h,v 1.5 2022/01/28 07:11:14 guenther Exp $ */
+/* $OpenBSD: if_bnxtreg.h,v 1.6 2024/09/01 03:08:56 jsg Exp $ */
/*-
* BSD LICENSE
*
uint32_t tx_lpi_timer;
uint32_t unused_4;
/*
- * Reuested setting of TX LPI timer in microseconds. This field is valid
+ * Requested setting of TX LPI timer in microseconds. This field is valid
* only when EEE is enabled and TX LPI is enabled.
*/
#define HWRM_PORT_PHY_CFG_INPUT_TX_LPI_TIMER_MASK UINT32_C(0xffffff)
*/
uint64_t host_src_addr;
/*
- * 64-bit Host Source Address. This is the loation of the source data to
+ * 64-bit Host Source Address. This is the location of the source data to
* be written.
*/
uint32_t dest_addr;
uint16_t cq_arm_lvl;
/*
* CQ ARM Level: 0 ? Not Armed 1 ? Arm SE Only, Generate CNQE only for
- * incoming Solicted Events 2 ? Arm all, Generate CNQE for Rx and Tx
+ * incoming Solicited Events 2 ? Arm all, Generate CNQE for Rx and Tx
*/
#define CREQ_DESTROY_CQ_RESP_CQ_ARM_LVL_MASK UINT32_C(0x3)
#define CREQ_DESTROY_CQ_RESP_CQ_ARM_LVL_SFT 0
*******************************************************************************/
-/* $OpenBSD: if_em_hw.h,v 1.95 2024/06/09 05:18:12 jsg Exp $ */
+/* $OpenBSD: if_em_hw.h,v 1.96 2024/09/01 03:08:56 jsg Exp $ */
/* $FreeBSD: if_em_hw.h,v 1.15 2005/05/26 23:32:02 tackerman Exp $ */
/* if_em_hw.h
#define EEPROM_WRITE_OPCODE_MICROWIRE 0x5 /* EEPROM write opcode */
#define EEPROM_ERASE_OPCODE_MICROWIRE 0x7 /* EEPROM erase opcode */
#define EEPROM_EWEN_OPCODE_MICROWIRE 0x13 /* EEPROM erase/write enable */
-#define EEPROM_EWDS_OPCODE_MICROWIRE 0x10 /* EEPROM erast/write disable */
+#define EEPROM_EWDS_OPCODE_MICROWIRE 0x10 /* EEPROM erase/write disable */
/* EEPROM Commands - SPI */
#define EEPROM_MAX_RETRY_SPI 5000 /* Max wait of 5ms, for RDY signal */
-/* $OpenBSD: if_iwm.c,v 1.416 2024/05/24 06:02:53 jsg Exp $ */
+/* $OpenBSD: if_iwm.c,v 1.417 2024/09/01 03:08:59 jsg Exp $ */
/*
* Copyright (c) 2014, 2016 genua gmbh <info@genua.de>
ieee80211_amrr_choose(&sc->sc_amrr, &in->in_ni, &in->in_amn);
/*
* If AMRR has chosen a new TX rate we must update
- * the firwmare's LQ rate table.
+ * the firmware's LQ rate table.
* ni_txrate may change again before the task runs so
* cache the chosen rate in the iwm_node structure.
*/
-/* $OpenBSD: if_iwmreg.h,v 1.69 2024/01/16 12:21:02 kevlo Exp $ */
+/* $OpenBSD: if_iwmreg.h,v 1.70 2024/09/01 03:08:59 jsg Exp $ */
/******************************************************************************
*
#define IWM_RX_LOW_WATERMARK 8
/**
- * struct iwm_rb_status - reseve buffer status
+ * struct iwm_rb_status - reserve buffer status
* host memory mapped FH registers
* @closed_rb_num [0:11] - Indicates the index of the RB which was closed
* @closed_fr_num [0:11] - Indicates the index of the RX Frame which was closed
-/* $OpenBSD: if_ngbereg.h,v 1.1 2023/03/31 08:19:41 kevlo Exp $ */
+/* $OpenBSD: if_ngbereg.h,v 1.2 2024/09/01 03:08:59 jsg Exp $ */
/*
* Copyright (c) 2015-2017 Beijing WangXun Technology Co., Ltd.
#define NGBE_PSR_MAX_SZ 0x15020
#define NGBE_PSR_VLAN_CTL 0x15088
-/* mcasst/ucast overflow tbl */
+/* mcast/ucast overflow tbl */
#define NGBE_PSR_MC_TBL(_i) (0x15200 + ((_i) * 4))
#define NGBE_PSR_UC_TBL(_i) (0x15400 + ((_i) * 4))
-/* $OpenBSD: if_skreg.h,v 1.64 2022/02/21 07:15:42 jsg Exp $ */
+/* $OpenBSD: if_skreg.h,v 1.65 2024/09/01 03:08:59 jsg Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
/* Source Address High #2 (SAH2) */
#define YUKON_SAH2 0x0030 /* SA2[47:32] */
-/* Multicatst Address Hash Register 1 (MCAH1) */
+/* Multicast Address Hash Register 1 (MCAH1) */
#define YUKON_MCAH1 0x0034
-/* Multicatst Address Hash Register 2 (MCAH2) */
+/* Multicast Address Hash Register 2 (MCAH2) */
#define YUKON_MCAH2 0x0038
-/* Multicatst Address Hash Register 3 (MCAH3) */
+/* Multicast Address Hash Register 3 (MCAH3) */
#define YUKON_MCAH3 0x003c
-/* Multicatst Address Hash Register 4 (MCAH4) */
+/* Multicast Address Hash Register 4 (MCAH4) */
#define YUKON_MCAH4 0x0040
/* Transmit Interrupt Register (TIR) */
-/* $OpenBSD: if_vmx.c,v 1.88 2024/06/17 11:13:43 bluhm Exp $ */
+/* $OpenBSD: if_vmx.c,v 1.89 2024/09/01 03:08:59 jsg Exp $ */
/*
* Copyright (c) 2013 Tsubai Masanari
done[rid]++;
/*
- * A receive descriptor of type 4 which is flaged as start of
+ * A receive descriptor of type 4 which is flagged as start of
* packet, contains the number of TCP segment of an LRO packet.
*/
if (letoh32((rxcd->rxc_word3 & VMXNET3_RXC_TYPE_M) >>
-/* $OpenBSD: igc_i225.c,v 1.4 2023/02/03 11:31:52 mbuhl Exp $ */
+/* $OpenBSD: igc_i225.c,v 1.5 2024/09/01 03:08:59 jsg Exp $ */
/*-
* Copyright 2021 Intel Corp
* Copyright 2021 Rubicon Communications, LLC (Netgate)
/* igc_update_flash_i225 - Commit EEPROM to the flash
* if fw_valid_bit is set, FW is active. setting FLUPD bit in EEC
* register makes the FW load the internal shadow RAM into the flash.
- * Otherwise, fw_valid_bit is 0. if FL_SECU.block_prtotected_sw = 0
+ * Otherwise, fw_valid_bit is 0. if FL_SECU.block_protected_sw = 0
* then FW is not active so the SW is responsible shadow RAM dump.
*
* @hw: pointer to the HW structure
*******************************************************************************/
-/* $OpenBSD: ixgb_ee.c,v 1.9 2024/05/24 06:02:57 jsg Exp $ */
+/* $OpenBSD: ixgb_ee.c,v 1.10 2024/09/01 03:08:59 jsg Exp $ */
#include <sys/param.h>
#include <sys/systm.h>
eecd_reg = IXGB_READ_REG(hw, EECD);
- /* Deselct EEPROM */
+ /* Deselect EEPROM */
eecd_reg &= ~(IXGB_EECD_CS | IXGB_EECD_SK);
IXGB_WRITE_REG(hw, EECD, eecd_reg);
usec_delay(50);
-/* $OpenBSD: ixgbe_x550.c,v 1.9 2024/05/13 01:15:51 jsg Exp $ */
+/* $OpenBSD: ixgbe_x550.c,v 1.10 2024/09/01 03:09:00 jsg Exp $ */
/******************************************************************************
}
/**
- * ixgbe_get_lasi_ext_t_x550em - Determime external Base T PHY interrupt cause
+ * ixgbe_get_lasi_ext_t_x550em - Determine external Base T PHY interrupt cause
* @hw: pointer to hardware structure
* @lsc: pointer to boolean flag which indicates whether external Base T
* PHY interrupt is lsc
*
- * Determime if external Base T PHY interrupt cause is high temperature
+ * Determine if external Base T PHY interrupt cause is high temperature
* failure alarm or link status change.
*
* Return IXGBE_ERR_OVERTEMP if interrupt is high temperature
-$OpenBSD: pcidevs,v 1.2085 2024/08/20 12:17:48 jsg Exp $
+$OpenBSD: pcidevs,v 1.2086 2024/09/01 03:09:00 jsg Exp $
/* $NetBSD: pcidevs,v 1.30 1997/06/24 06:20:24 thorpej Exp $ */
/*
product ATI RADEON_HD3600 0x9590 Radeon HD 3600
product ATI RADEON_HD3650_M 0x9591 Mobility Radeon HD 3650
product ATI RADEON_HD3670_M 0x9593 Mobility Radeon HD 3670
-product ATI FIREGL_V5700_M 0x9595 Mobilty FireGL V5700
+product ATI FIREGL_V5700_M 0x9595 Mobility FireGL V5700
product ATI RADEON_HD3650_AGP 0x9596 Radeon HD 3650 AGP
product ATI RV635_1 0x9597 RV635
product ATI RADEON_HD3650 0x9598 Radeon HD 3650
product CMI HSP56 0x0211 HSP56 AMR
product CMI CMI8788 0x8788 CMI8788 HD Audio
-/* CNet produts */
+/* CNet products */
product CNET GIGACARD 0x434e GigaCard
/* Cogent Data Technologies products */
-/* $OpenBSD: pciide_pdc202xx_reg.h,v 1.16 2022/01/09 05:42:58 jsg Exp $ */
+/* $OpenBSD: pciide_pdc202xx_reg.h,v 1.17 2024/09/01 03:09:00 jsg Exp $ */
/* $NetBSD: pciide_pdc202xx_reg.h,v 1.5 2001/07/05 08:38:27 toshii Exp $ */
/*
#define PDC262_ATAPI_LBA48_WRITE 0x06000000
/*
- * The timings provided here cmoes from the PDC20262 docs. I hope they are
+ * The timings provided here comes from the PDC20262 docs. I hope they are
* right for the PDC20246 too ...
*/
-/* $OpenBSD: if_cuereg.h,v 1.12 2013/04/15 09:23:01 mglocker Exp $ */
+/* $OpenBSD: if_cuereg.h,v 1.13 2024/09/01 03:09:00 jsg Exp $ */
/* $NetBSD: if_cuereg.h,v 1.14 2001/01/21 22:09:24 augustss Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
#define CUE_LEDCTL 0x81
-/* Advenced operating mode register */
+/* Advanced operating mode register */
#define CUE_AOP_SRAMWAITS 0x03
#define CUE_AOP_EMBED_RXLEN 0x08
#define CUE_AOP_RXCOMBINE 0x10
-/* $OpenBSD: if_urtw.c,v 1.73 2024/05/23 03:21:09 jsg Exp $ */
+/* $OpenBSD: if_urtw.c,v 1.74 2024/09/01 03:09:00 jsg Exp $ */
/*-
* Copyright (c) 2009 Martynas Venckus <martynas@openbsd.org>
fail:
if (error != 0)
- DPRINTF(("%s: error duing processing RUN state.",
+ DPRINTF(("%s: error processing RUN state.",
sc->sc_dev.dv_xname));
}
-/* $OpenBSD: if_urtwn.c,v 1.110 2024/05/23 03:21:09 jsg Exp $ */
+/* $OpenBSD: if_urtwn.c,v 1.111 2024/09/01 03:09:00 jsg Exp $ */
/*-
* Copyright (c) 2010 Damien Bergamini <damien.bergamini@free.fr>
urtwn_write_1(sc, R92C_USTIME_TSF, 0x28);
urtwn_write_1(sc, R88F_USTIME_EDCA, 0x28);
- /* To prevent mac is reseted by bus. */
+ /* To prevent bus resetting the mac. */
urtwn_write_1(sc, R92C_RSV_CTRL,
urtwn_read_1(sc, R92C_RSV_CTRL) |
R92C_RSV_CTRL_R_DIS_PRST_0 | R92C_RSV_CTRL_R_DIS_PRST_1);
-/* $OpenBSD: uaudio.c,v 1.175 2024/07/23 08:59:21 ratchov Exp $ */
+/* $OpenBSD: uaudio.c,v 1.176 2024/09/01 03:09:00 jsg Exp $ */
/*
* Copyright (c) 2018 Alexandre Ratchov <alex@caoua.org>
*
/*
* Process AC interrupt endpoint descriptor, this is mainly to skip
* the descriptor as we use neither of its properties. Our mixer
- * interface doesn't support unsolicitated state changes, so we've no
+ * interface doesn't support unsolicited state changes, so we've no
* use of it yet.
*/
int
* to adapt to software's desired rate
*
*
- * For usb1.1 ival is cardcoded to 1 for isochronous
+ * For usb1.1 ival is hardcoded to 1 for isochronous
* transfers, which means one transfer every ms. I.e one
* transfer every frame period.
*
-/* $OpenBSD: uvideo.c,v 1.221 2024/07/20 12:34:52 jsg Exp $ */
+/* $OpenBSD: uvideo.c,v 1.222 2024/09/01 03:09:00 jsg Exp $ */
/*
* Copyright (c) 2008 Robert Nagy <robert@openbsd.org>
/*
* The iSight first generation device will first attach as
- * 0x8300 non-UVC. After the firmware gots uploaded, the device
+ * 0x8300 non-UVC. After the firmware is uploaded, the device
* will reset and come back as 0x8501 UVC compatible.
*/
usbd_status
-/* $OpenBSD: if_bridge.c,v 1.371 2024/08/05 17:47:29 bluhm Exp $ */
+/* $OpenBSD: if_bridge.c,v 1.372 2024/09/01 03:09:00 jsg Exp $ */
/*
* Copyright (c) 1999, 2000 Jason L. Wright (jason@thought.net)
/*
* bridge(4) data structure aren't protected by the NET_LOCK().
- * Idealy it shouldn't be taken before calling `ifp->if_ioctl'
+ * Ideally it shouldn't be taken before calling `ifp->if_ioctl'
* but we aren't there yet. Media ioctl run without netlock.
*/
switch (cmd) {
-/* $OpenBSD: ieee80211_output.c,v 1.139 2024/05/08 14:02:59 stsp Exp $ */
+/* $OpenBSD: ieee80211_output.c,v 1.140 2024/09/01 03:09:00 jsg Exp $ */
/* $NetBSD: ieee80211_output.c,v 1.13 2004/05/31 11:02:55 dyoung Exp $ */
/*-
/*
* Send a management frame. The node is for the destination (or ic_bss
* when in station mode). Nodes other than ic_bss have their reference
- * count bumped to reflect our use for an indeterminant time.
+ * count bumped to reflect our use for an indeterminate time.
*/
int
ieee80211_send_mgmt(struct ieee80211com *ic, struct ieee80211_node *ni,
-/* $OpenBSD: in6.h,v 1.118 2024/05/13 01:15:53 jsg Exp $ */
+/* $OpenBSD: in6.h,v 1.119 2024/09/01 03:09:00 jsg Exp $ */
/* $KAME: in6.h,v 1.83 2001/03/29 02:55:07 jinmei Exp $ */
/*
#define IPV6CTL_MRTPROTO 8 /* multicast routing protocol */
#define IPV6CTL_MAXFRAGPACKETS 9 /* max packets reassembly queue */
#define IPV6CTL_SOURCECHECK 10 /* verify source route and intf */
-#define IPV6CTL_SOURCECHECK_LOGINT 11 /* minimume logging interval */
+#define IPV6CTL_SOURCECHECK_LOGINT 11 /* minimum logging interval */
#define IPV6CTL_ACCEPT_RTADV 12
#define IPV6CTL_LOG_INTERVAL 14
#define IPV6CTL_HDRNESTLIMIT 15
-/* $OpenBSD: ip6_id.c,v 1.17 2024/02/13 12:22:09 bluhm Exp $ */
+/* $OpenBSD: ip6_id.c,v 1.18 2024/09/01 03:09:00 jsg Exp $ */
/* $NetBSD: ip6_id.c,v 1.7 2003/09/13 21:32:59 itojun Exp $ */
/* $KAME: ip6_id.c,v 1.8 2003/09/06 13:41:06 itojun Exp $ */
* The transaction id is determined by:
* id[n] = seed xor (g^X[n] mod n)
*
- * Effectivly the id is restricted to the lower (bits - 1) bits, thus
+ * Effectively the id is restricted to the lower (bits - 1) bits, thus
* yielding two different cycles by toggling the msb on and off.
* This avoids reuse issues caused by reseeding.
*/
-/* $OpenBSD: proc.h,v 1.370 2024/08/21 03:07:45 deraadt Exp $ */
+/* $OpenBSD: proc.h,v 1.371 2024/09/01 03:09:00 jsg Exp $ */
/* $NetBSD: proc.h,v 1.44 1996/04/22 01:23:21 christos Exp $ */
/*-
/*
* time usage: accumulated times in ticks
- * Each thread is immediatly accumulated here. For processes only the
+ * Each thread is immediately accumulated here. For processes only the
* time of exited threads is accumulated and to get the proper process
* time usage tuagg_get_process() needs to be called.
* Accounting of threads is done lockless by curproc using the tu_gen
-/* $OpenBSD: syscall_mi.h,v 1.34 2024/06/02 15:31:57 deraadt Exp $ */
+/* $OpenBSD: syscall_mi.h,v 1.35 2024/09/01 03:09:01 jsg Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993
* by most common case:
* 1) dynamic binary: syscalls in libc.so (in the ps_libcpin region)
* 2a) static binary: syscalls in main program (in the ps_pin region)
- * 2b) dynamic binary: sysalls in ld.so (in the ps_pin region)
+ * 2b) dynamic binary: syscalls in ld.so (in the ps_pin region)
* 3) sigtramp, containing only sigreturn(2)
*/
if (plibcpin->pn_pins &&
-/* $OpenBSD: vnode.h,v 1.173 2024/07/13 14:37:55 beck Exp $ */
+/* $OpenBSD: vnode.h,v 1.174 2024/09/01 03:09:01 jsg Exp $ */
/* $NetBSD: vnode.h,v 1.38 1996/02/29 20:59:05 cgd Exp $ */
/*
* Flags to various vnode functions.
*/
#define SKIPSYSTEM 0x0001 /* vflush: skip vnodes marked VSYSTEM */
-#define FORCECLOSE 0x0002 /* vflush: force file closeure */
+#define FORCECLOSE 0x0002 /* vflush: force file closure */
#define WRITECLOSE 0x0004 /* vflush: only close writeable files */
#define DOCLOSE 0x0008 /* vclean: close active files */
#define IGNORECLEAN 0x0010 /* vflush: ignore clean vnodes */