From: jsg Date: Tue, 11 Jan 2022 23:10:11 +0000 (+0000) Subject: spelling X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e471ee1c3dc2f7a641cea4a943d9faa30deaf24b;p=openbsd spelling --- diff --git a/sys/scsi/cd.c b/sys/scsi/cd.c index 943ad86b196..6761f2ba9d8 100644 --- a/sys/scsi/cd.c +++ b/sys/scsi/cd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cd.c,v 1.264 2021/10/24 16:57:30 mpi Exp $ */ +/* $OpenBSD: cd.c,v 1.265 2022/01/11 23:10:11 jsg Exp $ */ /* $NetBSD: cd.c,v 1.100 1997/04/02 02:29:30 mycroft Exp $ */ /* @@ -527,7 +527,7 @@ cd_cmd_rw12(struct scsi_generic *generic, int read, u_int64_t secno, /* * cdstart looks to see if there is a buf waiting for the device * and that the device is not already busy. If both are true, - * It deques the buf and creates a scsi command to perform the + * It dequeues the buf and creates a scsi command to perform the * transfer in the buf. The transfer request will call scsi_done * on completion, which will in turn call this routine again * so that the next queued transfer is performed. diff --git a/sys/scsi/ch.c b/sys/scsi/ch.c index 27b9505aa9d..093b5128d58 100644 --- a/sys/scsi/ch.c +++ b/sys/scsi/ch.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ch.c,v 1.70 2021/10/24 16:57:30 mpi Exp $ */ +/* $OpenBSD: ch.c,v 1.71 2022/01/11 23:10:11 jsg Exp $ */ /* $NetBSD: ch.c,v 1.26 1997/02/21 22:06:52 thorpej Exp $ */ /* @@ -788,8 +788,8 @@ ch_get_quirks(struct ch_softc *sc, struct scsi_inquiry_data *inqbuf) } /* - * Look at the returned sense and act on the error and detirmine - * The unix error number to pass back... (0 = report no error) + * Look at the returned sense and act on the error to determine + * the unix error number to pass back... (0 = report no error) * (-1 = continue processing) */ int diff --git a/sys/scsi/scsi_all.h b/sys/scsi/scsi_all.h index e2fab59f368..75ad743f414 100644 --- a/sys/scsi/scsi_all.h +++ b/sys/scsi/scsi_all.h @@ -1,4 +1,4 @@ -/* $OpenBSD: scsi_all.h,v 1.64 2020/09/08 12:36:42 krw Exp $ */ +/* $OpenBSD: scsi_all.h,v 1.65 2022/01/11 23:10:11 jsg Exp $ */ /* $NetBSD: scsi_all.h,v 1.10 1996/09/12 01:57:17 thorpej Exp $ */ /* @@ -223,7 +223,7 @@ struct scsi_report_luns { #define T_OSD 0x11 /* Object-based Storage device (OSD) */ #define T_ADC 0x12 /* Automation/Drive Interface (ADC-2) */ /* 0x13 - 0x1d RESERVED */ -#define T_WELL_KNOWN_LU 0x1e /* Well known logial unut */ +#define T_WELL_KNOWN_LU 0x1e /* Well known logical unit */ #define T_NODEVICE 0x1F /* Unknown or no device type */ #define T_REMOV 1 @@ -272,7 +272,7 @@ struct scsi_inquiry_data { #define SPC2_SID_BQueue 0x80 /* obsolete */ u_int8_t flags; #define SID_VS 0x01 /* ??? */ -#define SID_CmdQue 0x02 /* Task manageent mode supported */ +#define SID_CmdQue 0x02 /* Task management mode supported */ #define SID_Linked 0x08 /* obsolete */ #define SID_Sync 0x10 /* obsolete */ #define SID_WBus16 0x20 /* obsolete */ diff --git a/sys/scsi/scsi_changer.h b/sys/scsi/scsi_changer.h index 2db9c974718..7713aa514af 100644 --- a/sys/scsi/scsi_changer.h +++ b/sys/scsi/scsi_changer.h @@ -1,4 +1,4 @@ -/* $OpenBSD: scsi_changer.h,v 1.9 2021/03/12 10:22:46 jsg Exp $ */ +/* $OpenBSD: scsi_changer.h,v 1.10 2022/01/11 23:10:11 jsg Exp $ */ /* $NetBSD: scsi_changer.h,v 1.7 1996/04/03 00:25:48 thorpej Exp $ */ /* @@ -386,7 +386,7 @@ struct page_element_address_assignment { /* First data transfer element address */ u_int8_t fdtea[2]; - /* Number of data trafer elements */ + /* Number of data transfer elements */ u_int8_t ndte[2]; u_int8_t reserved[2]; diff --git a/sys/scsi/scsi_disk.h b/sys/scsi/scsi_disk.h index 52e7f019894..c9987a7abe5 100644 --- a/sys/scsi/scsi_disk.h +++ b/sys/scsi/scsi_disk.h @@ -1,4 +1,4 @@ -/* $OpenBSD: scsi_disk.h,v 1.42 2021/03/12 10:22:46 jsg Exp $ */ +/* $OpenBSD: scsi_disk.h,v 1.43 2022/01/11 23:10:11 jsg Exp $ */ /* $NetBSD: scsi_disk.h,v 1.10 1996/07/05 16:19:05 christos Exp $ */ /* @@ -430,7 +430,7 @@ struct page_caching_mode { }; #define SI_PG_DISK_LIMITS 0xb0 /* block limits */ -#define SI_PG_DISK_INFO 0xb1 /* device charateristics */ +#define SI_PG_DISK_INFO 0xb1 /* device characteristics */ #define SI_PG_DISK_THIN 0xb2 /* thin provisioning */ struct scsi_vpd_disk_limits { diff --git a/sys/scsi/st.c b/sys/scsi/st.c index 104269ef3c9..7cee3848fa9 100644 --- a/sys/scsi/st.c +++ b/sys/scsi/st.c @@ -1,4 +1,4 @@ -/* $OpenBSD: st.c,v 1.187 2021/10/24 16:57:30 mpi Exp $ */ +/* $OpenBSD: st.c,v 1.188 2022/01/11 23:10:11 jsg Exp $ */ /* $NetBSD: st.c,v 1.71 1997/02/21 23:03:49 thorpej Exp $ */ /* @@ -394,7 +394,7 @@ stopen(dev_t dev, int flags, int fmt, struct proc *p) SCSI_IGNORE_ILLEGAL_REQUEST); /* - * Terminate any exising mount session if there is no media. + * Terminate any existing mount session if there is no media. */ if (!ISSET(link->flags, SDEV_MEDIA_LOADED)) st_unmount(st, NOEJECT, DOREWIND); @@ -1834,8 +1834,8 @@ st_rewind(struct st_softc *st, u_int immediate, int flags) } /* - * Look at the returned sense and act on the error and detirmine - * The unix error number to pass back... (0 = report no error) + * Look at the returned sense and act on the error to determine + * the unix error number to pass back... (0 = report no error) * (-1 = continue processing) */ int