summaryrefslogtreecommitdiff
path: root/sys/dev/pci/mpii.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/mpii.c')
-rw-r--r--sys/dev/pci/mpii.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/mpii.c b/sys/dev/pci/mpii.c
index 1e227a6ae65..e103676120d 100644
--- a/sys/dev/pci/mpii.c
+++ b/sys/dev/pci/mpii.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpii.c,v 1.44 2011/07/08 22:09:27 matthew Exp $ */
+/* $OpenBSD: mpii.c,v 1.45 2011/07/17 22:46:48 matthew Exp $ */
/*
* Copyright (c) 2010 Mike Belopuhov <mkb@crypt.org.ru>
* Copyright (c) 2009 James Giannoules
@@ -2246,13 +2246,13 @@ mpii_attach(struct device *parent, struct device *self, void *aux)
sc->sc_link.adapter = &mpii_switch;
sc->sc_link.adapter_softc = sc;
sc->sc_link.adapter_target = -1;
+ sc->sc_link.adapter_buswidth = sc->sc_max_devices;
+ sc->sc_link.luns = 1;
sc->sc_link.openings = sc->sc_request_depth - 1;
sc->sc_link.pool = &sc->sc_iopool;
bzero(&saa, sizeof(saa));
saa.saa_sc_link = &sc->sc_link;
- saa.saa_targets = sc->sc_max_devices;
- saa.saa_luns = 1;
/* config_found() returns the scsibus attached to us */
sc->sc_scsibus = (struct scsibus_softc *) config_found(&sc->sc_dev,