diff options
author | Michael Knudsen <mk@cvs.openbsd.org> | 2010-07-18 12:49:11 +0000 |
---|---|---|
committer | Michael Knudsen <mk@cvs.openbsd.org> | 2010-07-18 12:49:11 +0000 |
commit | d5107650f41ea119c4864ed4fe4981bf536a7be2 (patch) | |
tree | b6d65aad2f9c5598f0ccb3c7d749a9ea2f425b63 /sys/dev | |
parent | 1bb9eba13242338087985b6a7b8da0709f083302 (diff) |
Give each device on the bus full openings.
Tested by me on an ARC-1210 on both single and multi volume
configurations.
ok dlg
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/arc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/arc.c b/sys/dev/pci/arc.c index c6723892e97..c9b120d0a40 100644 --- a/sys/dev/pci/arc.c +++ b/sys/dev/pci/arc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: arc.c,v 1.89 2010/07/02 20:54:36 mk Exp $ */ +/* $OpenBSD: arc.c,v 1.90 2010/07/18 12:49:10 mk Exp $ */ /* * Copyright (c) 2006 David Gwynne <dlg@openbsd.org> @@ -598,7 +598,7 @@ arc_attach(struct device *parent, struct device *self, void *aux) sc->sc_link.adapter_softc = sc; sc->sc_link.adapter_target = ARC_MAX_TARGET; sc->sc_link.adapter_buswidth = ARC_MAX_TARGET; - sc->sc_link.openings = sc->sc_req_count / ARC_MAX_TARGET; + sc->sc_link.openings = sc->sc_req_count; sc->sc_link.pool = &sc->sc_iopool; bzero(&saa, sizeof(saa)); |