diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2020-07-20 14:41:15 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2020-07-20 14:41:15 +0000 |
commit | ad566d2094b0373bebd00ab85e0010d5811c4249 (patch) | |
tree | 46059b2470122630651df70bd0636206b91194c5 /sys/dev/ic/aic6360.c | |
parent | a746810173b252aec797706a98c4166c8c58aa2d (diff) |
Move remaining scsi bus initialization info from "prototype scsi link"
fields to struct scsibus_attach_args. Nuke the struct scsi_link *
(saa_sc_link) in scaibus_attach_args.
Explicitly initialize each field in scsibus_attach_args variables.
Diffstat (limited to 'sys/dev/ic/aic6360.c')
-rw-r--r-- | sys/dev/ic/aic6360.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/ic/aic6360.c b/sys/dev/ic/aic6360.c index a1b60fbc3dc..ed9ace02286 100644 --- a/sys/dev/ic/aic6360.c +++ b/sys/dev/ic/aic6360.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aic6360.c,v 1.36 2020/07/19 18:57:57 krw Exp $ */ +/* $OpenBSD: aic6360.c,v 1.37 2020/07/20 14:41:13 krw Exp $ */ /* $NetBSD: aic6360.c,v 1.52 1996/12/10 21:27:51 thorpej Exp $ */ #ifdef DDB @@ -263,14 +263,14 @@ aicattach(struct aic_softc *sc) aic_init(sc); /* init chip and driver */ - sc->sc_link.openings = 2; - sc->sc_link.pool = &sc->sc_iopool; - - saa.saa_sc_link = &sc->sc_link; saa.saa_adapter_softc = sc; saa.saa_adapter_target = sc->sc_initiator; saa.saa_adapter = &aic_switch; saa.saa_luns = saa.saa_adapter_buswidth = 8; + saa.saa_openings = 2; + saa.saa_pool = &sc->sc_iopool; + saa.saa_quirks = saa.saa_flags = 0; + saa.saa_wwpn = saa.saa_wwnn = 0; config_found(&sc->sc_dev, &saa, scsiprint); } |