summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorStefan Fritsch <sf@cvs.openbsd.org>2017-05-27 19:27:46 +0000
committerStefan Fritsch <sf@cvs.openbsd.org>2017-05-27 19:27:46 +0000
commit7d69a7b02e270d3bc4c92a557edfec4c06e1f02c (patch)
tree01058d60830c96a0845aee9434f3f8315e7db3a1 /sys/dev
parent857cdd9f63fbdb1ce850502c65d898bf204e0225 (diff)
nvme: Don't set prp1 for DEL_IOCQ
NVM_ADMIN_DEL_IOCQ does not need prp1 (just as NVM_ADMIN_DEL_IOSQ). Remove what is likely a cut'n'paste error from the *_ADD_* code. tested by claudio@ ok jmatthew@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/nvme.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ic/nvme.c b/sys/dev/ic/nvme.c
index cc40b229853..8c925af59a2 100644
--- a/sys/dev/ic/nvme.c
+++ b/sys/dev/ic/nvme.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nvme.c,v 1.56 2017/05/27 12:40:51 sf Exp $ */
+/* $OpenBSD: nvme.c,v 1.57 2017/05/27 19:27:45 sf Exp $ */
/*
* Copyright (c) 2014 David Gwynne <dlg@openbsd.org>
@@ -1120,7 +1120,6 @@ nvme_q_delete(struct nvme_softc *sc, struct nvme_queue *q)
memset(&sqe, 0, sizeof(sqe));
sqe.opcode = NVM_ADMIN_DEL_IOCQ;
- htolem64(&sqe.prp1, NVME_DMA_DVA(q->q_sq_dmamem));
htolem16(&sqe.qid, q->q_id);
rv = nvme_poll(sc, sc->sc_admin_q, ccb, nvme_sqe_fill);