diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2010-04-19 09:51:10 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2010-04-19 09:51:10 +0000 |
commit | 787f10a3deccb19b7f172aba71e305126945d4ab (patch) | |
tree | 99717cd93fe581b176a97b6e144bfa36e0dadb01 /sys | |
parent | dc3a57651fdfd7cf25e9e9c162861d4cfaa814a9 (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.c | 4 |
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)); |