summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2000-09-21 17:45:13 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2000-09-21 17:45:13 +0000
commitfbb19069b9f02390d0e9b39874621fed31e5443e (patch)
tree4b8408a524d24ff8cd40d01bcc164dc11464e4d8 /sys
parent21b924c04c186890fc5a060134661e1aa7216184 (diff)
initialize sc_link.openings to it's (currently) default value of 4
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/arm32/podulebus/oak.c1
-rw-r--r--sys/arch/mac68k/dev/sbc_obio.c1
-rw-r--r--sys/arch/sparc/dev/si.c3
-rw-r--r--sys/arch/sun3/dev/si.c3
-rw-r--r--sys/arch/vax/vsa/ncr.c1
5 files changed, 7 insertions, 2 deletions
diff --git a/sys/arch/arm32/podulebus/oak.c b/sys/arch/arm32/podulebus/oak.c
index 43ef995bb90..2564aa994a3 100644
--- a/sys/arch/arm32/podulebus/oak.c
+++ b/sys/arch/arm32/podulebus/oak.c
@@ -149,6 +149,7 @@ oakattach(parent, self, aux)
ncr_sc->sc_link.adapter_target = 7;
ncr_sc->sc_link.adapter = &oak_adapter;
ncr_sc->sc_link.device = &oak_device;
+ ncr_sc->sc_link.openings = 4;
ncr_sc->sci_r0 = (volatile u_char *)sc->sc_base + 0x00;
ncr_sc->sci_r1 = (volatile u_char *)sc->sc_base + 0x04;
diff --git a/sys/arch/mac68k/dev/sbc_obio.c b/sys/arch/mac68k/dev/sbc_obio.c
index 4d944bd3dc6..91d3ea0d11a 100644
--- a/sys/arch/mac68k/dev/sbc_obio.c
+++ b/sys/arch/mac68k/dev/sbc_obio.c
@@ -166,6 +166,7 @@ sbc_obio_attach(parent, self, args)
ncr_sc->sc_link.adapter_target = 7;
ncr_sc->sc_link.adapter = &sbc_ops;
ncr_sc->sc_link.device = &sbc_dev;
+ ncr_sc->sc_link.openings = 4;
/*
* Initialize fields used by the MI code
diff --git a/sys/arch/sparc/dev/si.c b/sys/arch/sparc/dev/si.c
index b66b07333a0..032fc2aaf8b 100644
--- a/sys/arch/sparc/dev/si.c
+++ b/sys/arch/sparc/dev/si.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: si.c,v 1.13 1999/07/09 21:34:45 art Exp $ */
+/* $OpenBSD: si.c,v 1.14 2000/09/21 17:45:12 mickey Exp $ */
/* $NetBSD: si.c,v 1.38 1997/08/27 11:24:20 bouyer Exp $ */
/*-
@@ -359,6 +359,7 @@ si_attach(parent, self, args)
ncr_sc->sc_link.adapter_target = 7;
ncr_sc->sc_link.adapter = &si_ops;
ncr_sc->sc_link.device = &si_dev;
+ ncr_sc->sc_link.openings = 4;
/*
* Initialize fields used by the MI code
diff --git a/sys/arch/sun3/dev/si.c b/sys/arch/sun3/dev/si.c
index 5c7358166f9..02305f34b50 100644
--- a/sys/arch/sun3/dev/si.c
+++ b/sys/arch/sun3/dev/si.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: si.c,v 1.11 2000/08/28 22:01:40 miod Exp $ */
+/* $OpenBSD: si.c,v 1.12 2000/09/21 17:45:12 mickey Exp $ */
/* $NetBSD: si.c,v 1.31 1996/11/20 18:56:59 gwr Exp $ */
/*-
@@ -177,6 +177,7 @@ si_attach(sc)
ncr_sc->sc_link.adapter_target = 7;
ncr_sc->sc_link.adapter = &si_ops;
ncr_sc->sc_link.device = &si_dev;
+ ncr_sc->sc_link.device = 4;
#ifdef DEBUG
if (si_debug)
diff --git a/sys/arch/vax/vsa/ncr.c b/sys/arch/vax/vsa/ncr.c
index 075c37f9648..dd37716e7a0 100644
--- a/sys/arch/vax/vsa/ncr.c
+++ b/sys/arch/vax/vsa/ncr.c
@@ -239,6 +239,7 @@ si_attach(parent, self, aux)
ncr_sc->sc_link.adapter_target = 7;
ncr_sc->sc_link.adapter = &si_ops;
ncr_sc->sc_link.device = &si_dev;
+ ncr_sc->sc_link.openings = 4;
/*
* Initialize si board itself.