summaryrefslogtreecommitdiff
path: root/sys/dev/vscsi.c
diff options
context:
space:
mode:
authorMatthew Dempsky <matthew@cvs.openbsd.org>2011-07-17 22:46:49 +0000
committerMatthew Dempsky <matthew@cvs.openbsd.org>2011-07-17 22:46:49 +0000
commit45908bcfad1d066ecbb07b0eeadb930912bd0696 (patch)
tree47024f3c9b6743f3e1c411175046dcd9f8e21030 /sys/dev/vscsi.c
parentd923b4b88f795933bd6165856e848abc5bbcd161 (diff)
Backout a bunch of my SCSI commits from c2k11. At least one of these
is causing problems when trying to boot sparc64 from an isp(4). Verified to fix the sparc64/isp(4) regression by krw@; ok deraadt@
Diffstat (limited to 'sys/dev/vscsi.c')
-rw-r--r--sys/dev/vscsi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/vscsi.c b/sys/dev/vscsi.c
index 369d7a9e3e7..3da371c1636 100644
--- a/sys/dev/vscsi.c
+++ b/sys/dev/vscsi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vscsi.c,v 1.25 2011/07/08 22:09:27 matthew Exp $ */
+/* $OpenBSD: vscsi.c,v 1.26 2011/07/17 22:46:48 matthew Exp $ */
/*
* Copyright (c) 2008 David Gwynne <dlg@openbsd.org>
@@ -150,12 +150,12 @@ vscsi_attach(struct device *parent, struct device *self, void *aux)
sc->sc_link.adapter = &vscsi_switch;
sc->sc_link.adapter_softc = sc;
sc->sc_link.adapter_target = 256;
+ sc->sc_link.adapter_buswidth = 256;
sc->sc_link.openings = 1;
sc->sc_link.pool = &sc->sc_iopool;
bzero(&saa, sizeof(saa));
saa.saa_sc_link = &sc->sc_link;
- saa.saa_targets = 256;
sc->sc_scsibus = (struct scsibus_softc *)config_found(&sc->sc_dev,
&saa, scsiprint);