diff options
Diffstat (limited to 'sys/arch/vax')
-rw-r--r-- | sys/arch/vax/vsa/ncr.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/arch/vax/vsa/ncr.c b/sys/arch/vax/vsa/ncr.c index 7d450101a8c..b5a24c1481b 100644 --- a/sys/arch/vax/vsa/ncr.c +++ b/sys/arch/vax/vsa/ncr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ncr.c,v 1.19 2006/11/05 14:40:33 miod Exp $ */ +/* $OpenBSD: ncr.c,v 1.20 2006/11/28 23:59:45 dlg Exp $ */ /* $NetBSD: ncr.c,v 1.32 2000/06/25 16:00:43 ragge Exp $ */ /*- @@ -178,6 +178,7 @@ si_attach(parent, self, aux) struct vsbus_attach_args *va = aux; struct si_softc *sc = (struct si_softc *) self; struct ncr5380_softc *ncr_sc = &sc->ncr_sc; + struct scsibus_attach_args saa; int tweak, target; /* enable interrupts on vsbus too */ @@ -262,13 +263,16 @@ si_attach(parent, self, aux) sc->sc_vd.vd_go = si_dma_go; sc->sc_vd.vd_arg = sc; + bzero(&saa, sizeof(saa)); + saa.saa_sc_link = &(ncr_sc->sc_link); + /* * Initialize si board itself. */ ncr5380_init(ncr_sc); ncr5380_reset_scsibus(ncr_sc); DELAY(2000000); - config_found(&(ncr_sc->sc_dev), &(ncr_sc->sc_link), scsiprint); + config_found(&(ncr_sc->sc_dev), &saa, scsiprint); } |