From 36046b20174a6dcf508e82be0091b29cc5553563 Mon Sep 17 00:00:00 2001 From: mk Date: Sun, 18 Jul 2010 12:49:10 +0000 Subject: [PATCH] Give each device on the bus full openings. Tested by me on an ARC-1210 on both single and multi volume configurations. ok dlg --- sys/dev/pci/arc.c | 4 ++-- 1 file 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 @@ -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)); -- 2.20.1