aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-07-24 20:03:38 -0400
committerIan Moffett <ian@osmora.org>2024-07-24 20:03:38 -0400
commit5841f047441c21de3d0ff45d90822514977f499e (patch)
tree8ea8bebe200a7ba78664129effdfefe8fd9076f4 /sys/dev/ic
parent5b55fd174ae878567846cc14af1bb9c35b668dd0 (diff)
kernel: nvme: Set write op to nowrite
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/nvme.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/nvme.c b/sys/dev/ic/nvme.c
index f3a16ce..ac6fb74 100644
--- a/sys/dev/ic/nvme.c
+++ b/sys/dev/ic/nvme.c
@@ -654,7 +654,8 @@ nvme_init(void)
}
static struct bdevsw nvme_bdevsw = {
- .read = nvme_dev_read
+ .read = nvme_dev_read,
+ .write = nowrite
};
DRIVER_EXPORT(nvme_init);