diff options
| author | msaitoh <msaitoh@NetBSD.org> | 2021-11-06 06:52:48 +0000 |
|---|---|---|
| committer | msaitoh <msaitoh@NetBSD.org> | 2021-11-06 06:52:48 +0000 |
| commit | d56923f375075d0792873fb403b9c6ec1065aeb5 (patch) | |
| tree | 52a370b6b203572c1c3c8fdceb7eca141130a95a /sys/dev | |
| parent | 0d558e480e7edf067a900233a3b9b9cbc1becff7 (diff) | |
s/allign/align/
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/ic/mfi.c | 6 | ||||
| -rw-r--r-- | sys/dev/ic/mfireg.h | 4 | ||||
| -rw-r--r-- | sys/dev/pci/qat/qat.c | 6 | ||||
| -rw-r--r-- | sys/dev/tc/tcdsreg.h | 6 |
4 files changed, 11 insertions, 11 deletions
diff --git a/sys/dev/ic/mfi.c b/sys/dev/ic/mfi.c index 49a805571f2..d9f5c408d1e 100644 --- a/sys/dev/ic/mfi.c +++ b/sys/dev/ic/mfi.c @@ -1,4 +1,4 @@ -/* $NetBSD: mfi.c,v 1.65 2021/08/07 16:19:12 thorpej Exp $ */ +/* $NetBSD: mfi.c,v 1.66 2021/11/06 06:52:48 msaitoh Exp $ */ /* $OpenBSD: mfi.c,v 1.66 2006/11/28 23:59:45 dlg Exp $ */ /* @@ -73,7 +73,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: mfi.c,v 1.65 2021/08/07 16:19:12 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mfi.c,v 1.66 2021/11/06 06:52:48 msaitoh Exp $"); #include "bio.h" @@ -1065,7 +1065,7 @@ mfi_attach(struct mfi_softc *sc, enum mfi_iop iop) if (sc->sc_ioptype == MFI_IOP_TBOLT) { uint32_t tb_mem_size; /* for Alignment */ - tb_mem_size = MEGASAS_THUNDERBOLT_MSG_ALLIGNMENT; + tb_mem_size = MEGASAS_THUNDERBOLT_MSG_ALIGNMENT; tb_mem_size += MEGASAS_THUNDERBOLT_NEW_MSG_SIZE * (sc->sc_max_cmds + 1); diff --git a/sys/dev/ic/mfireg.h b/sys/dev/ic/mfireg.h index af4f81c9688..ff01b4c4e66 100644 --- a/sys/dev/ic/mfireg.h +++ b/sys/dev/ic/mfireg.h @@ -1,4 +1,4 @@ -/* $NetBSD: mfireg.h,v 1.11 2021/07/24 21:31:37 andvar Exp $ */ +/* $NetBSD: mfireg.h,v 1.12 2021/11/06 06:52:48 msaitoh Exp $ */ /* $OpenBSD: mfireg.h,v 1.24 2006/06/19 19:05:45 marco Exp $ */ /* * Copyright (c) 2006 Marco Peereboom <marco@peereboom.us> @@ -159,7 +159,7 @@ */ #define MR_COMMAND_SIZE (MFI_FRAME_SIZE*20) /* 1280 bytes */ -#define MEGASAS_THUNDERBOLT_MSG_ALLIGNMENT 256 +#define MEGASAS_THUNDERBOLT_MSG_ALIGNMENT 256 /* * We are defining only 128 byte message to reduce memory move over head * and also it will reduce the SRB extension size by 128byte compared with diff --git a/sys/dev/pci/qat/qat.c b/sys/dev/pci/qat/qat.c index 421605d9d6f..a33b6255c56 100644 --- a/sys/dev/pci/qat/qat.c +++ b/sys/dev/pci/qat/qat.c @@ -1,4 +1,4 @@ -/* $NetBSD: qat.c,v 1.6 2020/06/14 23:23:12 riastradh Exp $ */ +/* $NetBSD: qat.c,v 1.7 2021/11/06 06:52:48 msaitoh Exp $ */ /* * Copyright (c) 2019 Internet Initiative Japan, Inc. @@ -57,7 +57,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: qat.c,v 1.6 2020/06/14 23:23:12 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: qat.c,v 1.7 2021/11/06 06:52:48 msaitoh Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -1051,7 +1051,7 @@ qat_etr_setup_ring(struct qat_softc *sc, int bank, uint32_t ring, qr->qr_ring_size = qat_etr_verify_ring_size(msg_size, num_msgs); /* - * To make sure that ring is alligned to ring size allocate + * To make sure that ring is aligned to ring size allocate * at least 4k and then tell the user it is smaller. */ ring_size_bytes = QAT_SIZE_TO_RING_SIZE_IN_BYTES(qr->qr_ring_size); diff --git a/sys/dev/tc/tcdsreg.h b/sys/dev/tc/tcdsreg.h index 42c51dbc29d..0ee52a127f6 100644 --- a/sys/dev/tc/tcdsreg.h +++ b/sys/dev/tc/tcdsreg.h @@ -1,4 +1,4 @@ -/* $NetBSD: tcdsreg.h,v 1.7 2005/12/11 12:24:00 christos Exp $ */ +/* $NetBSD: tcdsreg.h,v 1.8 2021/11/06 06:52:48 msaitoh Exp $ */ /* * Copyright (c) 1994, 1995 Carnegie-Mellon University. @@ -197,14 +197,14 @@ void tcds_scsi_reset(int); #define KN15AA_REG_SCSI_IMER (KN15AA_SYS_SCSI + 0x80008) -/* these are the bits that were unalligned at the beginning of the DMA */ +/* these are the bits that were unaligned at the beginning of the DMA */ #define KN15AA_REG_SCSI_DUDB0 (KN15AA_SYS_SCSI + 0x82010) #define KN15AA_REG_SCSI_DUDB1 (KN15AA_SYS_SCSI + 0x82210) # define SCSI_DUDB_MASK01 0x00000001 /* Mask bit for byte[01] */ # define SCSI_DUDB_MASK10 0x00000002 /* Mask bit for byte[10] */ # define SCSI_DUDB_MASK11 0x00000004 /* Mask bit for byte[11] */ -/* these are the bits that were unalligned at the end of the DMA */ +/* these are the bits that were unaligned at the end of the DMA */ #define KN15AA_REG_SCSI_DUDE0 (KN15AA_SYS_SCSI + 0x82018) #define KN15AA_REG_SCSI_DUDE1 (KN15AA_SYS_SCSI + 0x82218) # define SCSI_DUDE_MASK00 0x1000000 /* Mask bit for byte[00] */ |
