summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorniklas <niklas@openbsd.org>1997-05-28 23:35:51 +0000
committerniklas <niklas@openbsd.org>1997-05-28 23:35:51 +0000
commit9ba61e03b138e5f2575f74bcc2e08024c1a5f020 (patch)
tree93ff23d8b53bbf18392fe788a7162ba3b5b01e49
parentuse exec_setup_stack instead (diff)
downloadwireguard-openbsd-9ba61e03b138e5f2575f74bcc2e08024c1a5f020.tar.xz
wireguard-openbsd-9ba61e03b138e5f2575f74bcc2e08024c1a5f020.zip
We do not have sc_link.channel
-rw-r--r--sys/arch/vax/vsa/ncr.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/arch/vax/vsa/ncr.c b/sys/arch/vax/vsa/ncr.c
index 69e74118c1d..f283ea8e680 100644
--- a/sys/arch/vax/vsa/ncr.c
+++ b/sys/arch/vax/vsa/ncr.c
@@ -1,3 +1,4 @@
+/* $OpenBSD: ncr.c,v 1.2 1997/05/28 23:35:51 niklas Exp $ */
/* $NetBSD: ncr.c,v 1.5 1996/10/13 03:36:14 christos Exp $ */
/* #define DEBUG /* */
@@ -385,7 +386,9 @@ si_attach(parent, self, aux)
/*
* Fill in the prototype scsi_link.
*/
+#ifndef __OpenBSD__
ncr_sc->sc_link.channel = SCSI_CHANNEL_ONLY_ONE;
+#endif
ncr_sc->sc_link.adapter_softc = sc;
ncr_sc->sc_link.adapter_target = ca->ca_idval;
ncr_sc->sc_link.adapter = &si_ops;