diff options
Diffstat (limited to 'sys/arch/hp300/dev/mb89352.c')
-rw-r--r-- | sys/arch/hp300/dev/mb89352.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/arch/hp300/dev/mb89352.c b/sys/arch/hp300/dev/mb89352.c index 55edb4612d9..f6ccf0d97ba 100644 --- a/sys/arch/hp300/dev/mb89352.c +++ b/sys/arch/hp300/dev/mb89352.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mb89352.c,v 1.14 2005/12/03 18:09:36 krw Exp $ */ +/* $OpenBSD: mb89352.c,v 1.15 2006/11/28 23:59:45 dlg Exp $ */ /* $NetBSD: mb89352.c,v 1.5 2000/03/23 07:01:31 thorpej Exp $ */ /* NecBSD: mb89352.c,v 1.4 1998/03/14 07:31:20 kmatsuda Exp */ @@ -185,6 +185,8 @@ struct scsi_adapter spc_switch = { void spc_attach(struct spc_softc *sc) { + struct scsibus_attach_args saa; + SPC_TRACE(("spc_attach ")); sc->sc_state = SPC_INIT; @@ -215,10 +217,13 @@ spc_attach(struct spc_softc *sc) sc->sc_link.device = &spc_dev; sc->sc_link.openings = 2; + bzero(&saa, sizeof(saa)); + saa.saa_sc_link = &sc->sc_link; + /* * ask the adapter what subunits are present */ - config_found(&sc->sc_dev, &sc->sc_link, scsiprint); + config_found(&sc->sc_dev, &saa, scsiprint); } /* |