From d7a6b8c340e0bceaa7fa258d11aae4f20faf1184 Mon Sep 17 00:00:00 2001 From: dlg Date: Fri, 28 May 2021 04:39:54 +0000 Subject: [PATCH] aplns needs some dmamem per queue for it's iommu. --- 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 dae2b07d1e7..262e203973c 100644 --- a/sys/dev/ic/nvmevar.h +++ b/sys/dev/ic/nvmevar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: nvmevar.h,v 1.26 2021/05/28 02:34:38 dlg Exp $ */ +/* $OpenBSD: nvmevar.h,v 1.27 2021/05/28 04:39:54 dlg Exp $ */ /* * Copyright (c) 2014 David Gwynne @@ -56,6 +56,7 @@ struct nvme_queue { struct mutex q_cq_mtx; struct nvme_dmamem *q_sq_dmamem; struct nvme_dmamem *q_cq_dmamem; + struct nvme_dmamem *q_nvmmu_dmamem; /* for aplns(4) */ bus_size_t q_sqtdbl; /* submission queue tail doorbell */ bus_size_t q_cqhdbl; /* completion queue head doorbell */ u_int16_t q_id; -- 2.20.1