summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/dev
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2007-11-17 05:33:41 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2007-11-17 05:33:41 +0000
commit1e1c2f1bdb1296512db1f03495b1df91e1a3ad1b (patch)
tree623bfcdc924f17c7b32fe342196a58e3e838bbb7 /sys/arch/mvme88k/dev
parent088a1d86789be63e62c960ee2267e30b468853ea (diff)
Add some preprocessor magic to let M187 and M188 kernels compile again.
Diffstat (limited to 'sys/arch/mvme88k/dev')
-rw-r--r--sys/arch/mvme88k/dev/vme.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/mvme88k/dev/vme.c b/sys/arch/mvme88k/dev/vme.c
index b50ba20db04..59a5d7e6b04 100644
--- a/sys/arch/mvme88k/dev/vme.c
+++ b/sys/arch/mvme88k/dev/vme.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vme.c,v 1.46 2007/03/22 18:52:38 miod Exp $ */
+/* $OpenBSD: vme.c,v 1.47 2007/11/17 05:33:38 miod Exp $ */
/*
* Copyright (c) 2004, Miodrag Vallat.
* Copyright (c) 1999 Steve Murphree, Jr.
@@ -459,7 +459,9 @@ u_int vmevec_hints[8] = {
int
vmeintr_establish(int vec, struct intrhand *ih, const char *name)
{
+#if NPCCTWO > 0
struct vmesoftc *sc = (struct vmesoftc *) vme_cd.cd_devs[0];
+#endif
int rc;
#ifdef DIAGNOSTIC