summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2010-04-19 09:51:10 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2010-04-19 09:51:10 +0000
commit787f10a3deccb19b7f172aba71e305126945d4ab (patch)
tree99717cd93fe581b176a97b6e144bfa36e0dadb01 /sys
parentdc3a57651fdfd7cf25e9e9c162861d4cfaa814a9 (diff)
i thought mpi gave each device all the openings on the bus, which was a
big motivation to implementing iopools. while looking at another issue i noticed that openings were cut up for each disk. this cranks openings to maxcmds.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/mpi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/mpi.c b/sys/dev/ic/mpi.c
index e1115661f91..8b77737f609 100644
--- a/sys/dev/ic/mpi.c
+++ b/sys/dev/ic/mpi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpi.c,v 1.142 2010/04/16 12:19:07 dlg Exp $ */
+/* $OpenBSD: mpi.c,v 1.143 2010/04/19 09:51:09 dlg Exp $ */
/*
* Copyright (c) 2005, 2006, 2009 David Gwynne <dlg@openbsd.org>
@@ -293,7 +293,7 @@ mpi_attach(struct mpi_softc *sc)
sc->sc_link.adapter_softc = sc;
sc->sc_link.adapter_target = sc->sc_target;
sc->sc_link.adapter_buswidth = sc->sc_buswidth;
- sc->sc_link.openings = sc->sc_maxcmds / sc->sc_buswidth;
+ sc->sc_link.openings = sc->sc_maxcmds;
sc->sc_link.pool = &sc->sc_iopool;
bzero(&saa, sizeof(saa));