summaryrefslogtreecommitdiffstats
path: root/sys/scsi/scsi_base.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2020-08-30 19:41:25 +0000
committerkrw <krw@openbsd.org>2020-08-30 19:41:25 +0000
commit626e0bda83bb704a34439666eb81bb3d12895cf3 (patch)
tree6400f59b8f064ce3e4d48cfa6a27c29f92f4f0c1 /sys/scsi/scsi_base.c
parentReorganize the interrupt handler code to avoid a potential bogus KASSERT, (diff)
downloadwireguard-openbsd-626e0bda83bb704a34439666eb81bb3d12895cf3.tar.xz
wireguard-openbsd-626e0bda83bb704a34439666eb81bb3d12895cf3.zip
Compactify SDEV_/ADEV_ flags & quirks to eliminate the gaps in bit use and thus
allow shrinking the names arrays.
Diffstat (limited to 'sys/scsi/scsi_base.c')
-rw-r--r--sys/scsi/scsi_base.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/scsi/scsi_base.c b/sys/scsi/scsi_base.c
index a1111132a87..26d1269a47a 100644
--- a/sys/scsi/scsi_base.c
+++ b/sys/scsi/scsi_base.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsi_base.c,v 1.271 2020/08/28 15:18:14 krw Exp $ */
+/* $OpenBSD: scsi_base.c,v 1.272 2020/08/30 19:41:25 krw Exp $ */
/* $NetBSD: scsi_base.c,v 1.43 1997/04/02 02:29:36 mycroft Exp $ */
/*
@@ -2655,7 +2655,6 @@ const char *flagnames[] = {
"DB4",
"EJECTING",
"ATAPI",
- "",
"UMASS",
"VIRTUAL",
"OWN_IOPL",
@@ -2667,17 +2666,11 @@ const char *quirknames[] = {
"NOSYNC",
"NOWIDE",
"NOTAGS",
- "",
- "",
- "",
- "",
"NOSYNCCACHE",
"NOSENSE",
"LITTLETOC",
"NOCAPACITY",
- "",
"NODOORLOCK",
- "",
NULL
};