-/* $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 $ */
/*
/*
* 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.
-/* $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 $ */
/*
}
/*
- * 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
-/* $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 $ */
/*
#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
#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 */
-/* $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 $ */
/*
/* 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];
-/* $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 $ */
/*
};
#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 {
-/* $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 $ */
/*
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);
}
/*
- * 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