diff options
author | Matthew Dempsky <matthew@cvs.openbsd.org> | 2011-07-08 22:09:28 +0000 |
---|---|---|
committer | Matthew Dempsky <matthew@cvs.openbsd.org> | 2011-07-08 22:09:28 +0000 |
commit | 5f812b489da947a1e9ee4db1f2150a5376ae40f8 (patch) | |
tree | c0fb5195bc2167b8616c28c256db90a8f00ff991 /sys/arch/mvme68k/dev | |
parent | b5ce742f51f1ca4111dcbb133e602d1ecd8adf30 (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/mvme68k/dev')
-rw-r--r-- | sys/arch/mvme68k/dev/vsbic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mvme68k/dev/vsbic.c b/sys/arch/mvme68k/dev/vsbic.c index a20fbff178b..f1387d69e8d 100644 --- a/sys/arch/mvme68k/dev/vsbic.c +++ b/sys/arch/mvme68k/dev/vsbic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vsbic.c,v 1.6 2010/06/28 18:31:01 krw Exp $ */ +/* $OpenBSD: vsbic.c,v 1.7 2011/07/08 22:09:26 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) |