summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2021-08-29 12:02:53 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2021-08-29 12:02:53 +0000
commit128c9c1575567f5f5bc628518175e313bf6c0cb5 (patch)
tree99ff1e3d1911012e3d177a64432d4e3a77bccbed /sys/dev
parent80fd848cd0a246d72450f886c3767aa42a7a3619 (diff)
Reduce the number of openings for aplns(4) to 1. This isn't correct but
make NVMe on the Apple M1 stable. Hopefully we can figure out the real issue in the future. ok jmatthew@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/nvmevar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/nvmevar.h b/sys/dev/ic/nvmevar.h
index 262e203973c..2a7b59a1d24 100644
--- a/sys/dev/ic/nvmevar.h
+++ b/sys/dev/ic/nvmevar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: nvmevar.h,v 1.27 2021/05/28 04:39:54 dlg Exp $ */
+/* $OpenBSD: nvmevar.h,v 1.28 2021/08/29 12:02:52 kettenis Exp $ */
/*
* Copyright (c) 2014 David Gwynne <dlg@openbsd.org>
@@ -95,6 +95,7 @@ struct nvme_softc {
struct device sc_dev;
const struct nvme_ops *sc_ops;
+ u_int sc_openings;
bus_space_tag_t sc_iot;
bus_space_handle_t sc_ioh;