summaryrefslogtreecommitdiff
path: root/sys/scsi/sdvar.h
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2020-08-20 01:47:46 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2020-08-20 01:47:46 +0000
commitf35fc0fd5d584bdb2686191162e06504de3f603c (patch)
tree658f70f1c333374c04beeb83c976845978c8b386 /sys/scsi/sdvar.h
parent17a9a1d25d0ec85876e911c41308bb153881eeb8 (diff)
Revert DYING. At least some USB memory sticks get very upset.
Diffstat (limited to 'sys/scsi/sdvar.h')
-rw-r--r--sys/scsi/sdvar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/scsi/sdvar.h b/sys/scsi/sdvar.h
index 69a2aab05fb..c8c22737f54 100644
--- a/sys/scsi/sdvar.h
+++ b/sys/scsi/sdvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sdvar.h,v 1.48 2020/08/19 14:53:39 krw Exp $ */
+/* $OpenBSD: sdvar.h,v 1.49 2020/08/20 01:47:45 krw Exp $ */
/* $NetBSD: sdvar.h,v 1.7 1998/08/17 00:49:03 mycroft Exp $ */
/*-
@@ -59,6 +59,7 @@ struct sd_softc {
int flags;
#define SDF_ANCIENT 0x10 /* disk is ancient; for sdminphys */
#define SDF_DIRTY 0x20 /* disk is dirty; needs cache flush */
+#define SDF_DYING 0x40 /* dying, when deactivated */
#define SDF_THIN 0x01 /* disk is thin provisioned */
struct scsi_link *sc_link; /* contains our targ, lun, etc. */
struct disk_parms {