summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/dev
diff options
context:
space:
mode:
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