summaryrefslogtreecommitdiff
path: root/sys/dev/ic/mfi.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/ic/mfi.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/ic/mfi.c')
-rw-r--r--sys/dev/ic/mfi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/mfi.c b/sys/dev/ic/mfi.c
index b65534d939c..ef68f444187 100644
--- a/sys/dev/ic/mfi.c
+++ b/sys/dev/ic/mfi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mfi.c,v 1.120 2011/07/08 22:09:27 matthew Exp $ */
+/* $OpenBSD: mfi.c,v 1.121 2011/07/17 22:46:48 matthew Exp $ */
/*
* Copyright (c) 2006 Marco Peereboom <marco@peereboom.us>
*
@@ -746,11 +746,11 @@ mfi_attach(struct mfi_softc *sc, enum mfi_iop iop)
sc->sc_link.adapter_softc = sc;
sc->sc_link.adapter = &mfi_switch;
sc->sc_link.adapter_target = MFI_MAX_LD;
+ sc->sc_link.adapter_buswidth = sc->sc_max_ld;
sc->sc_link.pool = &sc->sc_iopool;
bzero(&saa, sizeof(saa));
saa.saa_sc_link = &sc->sc_link;
- saa.saa_targets = sc->sc_max_ld;
config_found(&sc->sc_dev, &saa, scsiprint);