From 01dd4d92c1431d6f9b14664a59766154f161f178 Mon Sep 17 00:00:00 2001 From: dlg Date: Fri, 28 May 2021 04:56:07 +0000 Subject: [PATCH] kettenis@ pointed out that i forgot to fill in the op_cq_done nvme_op. --- sys/arch/arm64/dev/aplns.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sys/arch/arm64/dev/aplns.c b/sys/arch/arm64/dev/aplns.c index 4051e79cc81..f2d74651924 100644 --- a/sys/arch/arm64/dev/aplns.c +++ b/sys/arch/arm64/dev/aplns.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aplns.c,v 1.1 2021/05/28 04:36:33 dlg Exp $ */ +/* $OpenBSD: aplns.c,v 1.2 2021/05/28 04:56:07 dlg Exp $ */ /* * Copyright (c) 2014, 2021 David Gwynne * @@ -124,6 +124,9 @@ uint32_t nvme_ans_sq_enter(struct nvme_softc *, void nvme_ans_sq_leave(struct nvme_softc *, struct nvme_queue *, struct nvme_ccb *); +void nvme_ans_cq_done(struct nvme_softc *, + struct nvme_queue *, struct nvme_ccb *); + static const struct nvme_ops nvme_ans_ops = { .op_enable = nvme_ans_enable, @@ -134,6 +137,8 @@ static const struct nvme_ops nvme_ans_ops = { .op_sq_leave = nvme_ans_sq_leave, .op_sq_enter_locked = nvme_ans_sq_enter, .op_sq_leave_locked = nvme_ans_sq_leave, + + .op_cq_done = nvme_ans_cq_done, }; int -- 2.20.1