Initialize max_target in the SCSI link.

This commit is contained in:
thorpej 1997-01-21 05:44:41 +00:00
parent ad79a66933
commit 3074220dfa
3 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: bzsc.c,v 1.14 1996/12/23 09:09:53 veego Exp $ */
/* $NetBSD: bzsc.c,v 1.15 1997/01/21 05:44:41 thorpej Exp $ */
/*
* Copyright (c) 1995 Daniel Widenfalk
@ -184,6 +184,7 @@ bzscattach(pdp, dp, auxp)
sc->sc_softc.sc_link.adapter = &bzsc_scsiswitch;
sc->sc_softc.sc_link.device = &bzsc_scsidev;
sc->sc_softc.sc_link.openings = 1;
sc->sc_softc.sc_link.max_target = 7;
printf("\n");

View File

@ -1,4 +1,4 @@
/* $NetBSD: bztzsc.c,v 1.2 1996/12/23 09:09:54 veego Exp $ */
/* $NetBSD: bztzsc.c,v 1.3 1997/01/21 05:44:42 thorpej Exp $ */
/*
* Copyright (c) 1996 Ignatios Souvatzis
@ -188,6 +188,7 @@ bztzscattach(pdp, dp, auxp)
sc->sc_softc.sc_link.adapter = &bztzsc_scsiswitch;
sc->sc_softc.sc_link.device = &bztzsc_scsidev;
sc->sc_softc.sc_link.openings = 1;
sc->sc_softc.sc_link.max_target = 7;
sc->sc_softc.sc_isr.isr_intr = bztzsc_intr;
sc->sc_softc.sc_isr.isr_arg = &sc->sc_softc;

View File

@ -1,4 +1,4 @@
/* $NetBSD: gtsc.c,v 1.20 1996/12/23 09:10:11 veego Exp $ */
/* $NetBSD: gtsc.c,v 1.21 1997/01/21 05:44:43 thorpej Exp $ */
/*
* Copyright (c) 1994 Christian E. Hopps
@ -193,6 +193,7 @@ gtscattach(pdp, dp, auxp)
sc->sc_link.adapter = &gtsc_scsiswitch;
sc->sc_link.device = &gtsc_scsidev;
sc->sc_link.openings = 2;
sc->sc_link.max_target = 7;
sbicinit(sc);