diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-01-02 23:38:38 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-01-02 23:38:38 +0000 |
commit | c5c95fe6e1cc766826deb62c01fab01349035b43 (patch) | |
tree | c4dcdb94535b081b7828f367ed7ad1188c8bb88f /sys/arch | |
parent | 9f86983ae5a8ce1ce702b2a899887f3382bc49fe (diff) |
Better openings value computation.
For now, the result is the same as the hard-coded constant it used to be, due
to a pessimistic NUM_IOPB value. This will change.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/mvme88k/dev/vs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mvme88k/dev/vs.c b/sys/arch/mvme88k/dev/vs.c index 629358a621b..c7db92bcbf8 100644 --- a/sys/arch/mvme88k/dev/vs.c +++ b/sys/arch/mvme88k/dev/vs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vs.c,v 1.24 2003/12/26 10:41:43 miod Exp $ */ +/* $OpenBSD: vs.c,v 1.25 2004/01/02 23:38:37 miod Exp $ */ /* * Copyright (c) 1999 Steve Murphree, Jr. @@ -136,7 +136,7 @@ vsattach(parent, self, auxp) sc->sc_link.adapter_target = 7; sc->sc_link.adapter = &vs_scsiswitch; sc->sc_link.device = &vs_scsidev; - sc->sc_link.openings = 1; + sc->sc_link.openings = roundup(NUM_IOPB, 8) / 8; sc->sc_ih_n.ih_fn = vs_nintr; sc->sc_ih_n.ih_arg = sc; |