summaryrefslogtreecommitdiff
path: root/sys/scsi/mpath.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/scsi/mpath.c')
-rw-r--r--sys/scsi/mpath.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/scsi/mpath.c b/sys/scsi/mpath.c
index 9e50a970fe6..3e5939ebaf8 100644
--- a/sys/scsi/mpath.c
+++ b/sys/scsi/mpath.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpath.c,v 1.24 2011/07/11 01:02:48 dlg Exp $ */
+/* $OpenBSD: mpath.c,v 1.25 2011/07/17 22:46:48 matthew Exp $ */
/*
* Copyright (c) 2009 David Gwynne <dlg@openbsd.org>
@@ -129,13 +129,13 @@ mpath_attach(struct device *parent, struct device *self, void *aux)
sc->sc_link.adapter = &mpath_switch;
sc->sc_link.adapter_softc = sc;
sc->sc_link.adapter_target = MPATH_BUSWIDTH;
+ sc->sc_link.adapter_buswidth = MPATH_BUSWIDTH;
+ sc->sc_link.luns = 1;
sc->sc_link.openings = 1024; /* XXX magical */
sc->sc_link.pool = &sc->sc_iopool;
bzero(&saa, sizeof(saa));
saa.saa_sc_link = &sc->sc_link;
- saa.saa_targets = MPATH_BUSWIDTH;
- saa.saa_luns = 1;
sc->sc_scsibus = (struct scsibus_softc *)config_found(&sc->sc_dev,
&saa, scsiprint);