From d5f7434c940ecdadd5bbc5489df76803102a67e8 Mon Sep 17 00:00:00 2001 From: uwe Date: Thu, 28 Mar 2002 20:04:27 +0000 Subject: [PATCH] Oops, timermatch_msiiep() body now needs to be protected with #ifdef MSIIEP. --- sys/arch/sparc/sparc/timer.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys/arch/sparc/sparc/timer.c b/sys/arch/sparc/sparc/timer.c index a0eb26ee2ea3..0fc32b2171d7 100644 --- a/sys/arch/sparc/sparc/timer.c +++ b/sys/arch/sparc/sparc/timer.c @@ -1,4 +1,4 @@ -/* $NetBSD: timer.c,v 1.2 2002/03/28 19:50:21 uwe Exp $ */ +/* $NetBSD: timer.c,v 1.3 2002/03/28 20:04:27 uwe Exp $ */ /* * Copyright (c) 1992, 1993 @@ -210,9 +210,13 @@ timermatch_msiiep(parent, cf, aux) struct cfdata *cf; void *aux; { +#if defined(MSIIEP) struct msiiep_attach_args *msa = aux; return (strcmp(msa->msa_name, "timer") == 0); +#else + return (0); +#endif } /* ARGSUSED */