summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k
diff options
context:
space:
mode:
authorMatthew Dempsky <matthew@cvs.openbsd.org>2011-07-08 22:09:28 +0000
committerMatthew Dempsky <matthew@cvs.openbsd.org>2011-07-08 22:09:28 +0000
commit5f812b489da947a1e9ee4db1f2150a5376ae40f8 (patch)
treec0fb5195bc2167b8616c28c256db90a8f00ff991 /sys/arch/mvme88k
parentb5ce742f51f1ca4111dcbb133e602d1ecd8adf30 (diff)
First batch of converting SCSI HBAs from setting saa_targets and
saa_luns instead of adapter_buswidth and luns in the prototype link. ok dlg@, miod@
Diffstat (limited to 'sys/arch/mvme88k')
-rw-r--r--sys/arch/mvme88k/dev/vsbic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mvme88k/dev/vsbic.c b/sys/arch/mvme88k/dev/vsbic.c
index d90d2702e9f..985ca0ff60a 100644
--- a/sys/arch/mvme88k/dev/vsbic.c
+++ b/sys/arch/mvme88k/dev/vsbic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vsbic.c,v 1.7 2010/06/28 18:31:01 krw Exp $ */
+/* $OpenBSD: vsbic.c,v 1.8 2011/07/08 22:09:27 matthew Exp $ */
/*
* Copyright (c) 2008, 2009 Miodrag Vallat.
@@ -537,13 +537,13 @@ vsbic_attach(struct device *parent, struct device *self, void *args)
vmeintr_establish(sc->sc_vec, &sc->sc_ih, DEVNAME(sc));
sc->sc_link.adapter = &vsbic_swtch;
- sc->sc_link.adapter_buswidth = 8;
sc->sc_link.adapter_softc = sc;
sc->sc_link.adapter_target = sc->sc_id;
sc->sc_link.openings = VSBIC_NUMOPENINGS;
bzero(&saa, sizeof saa);
saa.saa_sc_link = &sc->sc_link;
+ saa.saa_targets = 8;
tmp = bootpart;
if (ca->ca_paddr != bootaddr)