summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2016-04-14 09:07:31 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2016-04-14 09:07:31 +0000
commit69ead91c2c63bf223f6d48c6a4d72e749a9368c2 (patch)
tree8da41dc71ef44210c4526c1fc7e2a3b81e2ecbb1 /sys
parent4e812c23f1adbf6ec614ba000334efa7978d50bd (diff)
bump openings to 64 to match the number of ccbs.
still a bit magical, but good enough for now.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/nvme.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/nvme.c b/sys/dev/ic/nvme.c
index 2b13fdf47dc..b25b3843c75 100644
--- a/sys/dev/ic/nvme.c
+++ b/sys/dev/ic/nvme.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nvme.c,v 1.43 2016/04/14 06:23:20 dlg Exp $ */
+/* $OpenBSD: nvme.c,v 1.44 2016/04/14 09:07:30 dlg Exp $ */
/*
* Copyright (c) 2014 David Gwynne <dlg@openbsd.org>
@@ -376,7 +376,7 @@ nvme_attach(struct nvme_softc *sc)
sc->sc_link.adapter_buswidth = sc->sc_nn;
sc->sc_link.luns = 1;
sc->sc_link.adapter_target = sc->sc_nn;
- sc->sc_link.openings = 1; /* XXX */
+ sc->sc_link.openings = 64;
sc->sc_link.pool = &sc->sc_iopool;
memset(&saa, 0, sizeof(saa));