From f07c0e414a8e92958f9b4f5d54c47d30b63ac77c Mon Sep 17 00:00:00 2001 From: kettenis Date: Sun, 29 Aug 2021 12:02:52 +0000 Subject: [PATCH] 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@ --- sys/dev/ic/nvmevar.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 @@ -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; -- 2.20.1