From 574994daaf116a5f993b9c41ef293de7d66d71d6 Mon Sep 17 00:00:00 2001 From: mhitch Date: Fri, 11 Oct 1996 21:32:56 +0000 Subject: [PATCH] Fix compile errors when not configured for the Draco. --- sys/arch/amiga/dev/clock.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sys/arch/amiga/dev/clock.c b/sys/arch/amiga/dev/clock.c index b843ed08129d..7312a4466111 100644 --- a/sys/arch/amiga/dev/clock.c +++ b/sys/arch/amiga/dev/clock.c @@ -1,4 +1,4 @@ -/* $NetBSD: clock.c,v 1.19 1996/10/10 23:55:32 christos Exp $ */ +/* $NetBSD: clock.c,v 1.20 1996/10/11 21:32:56 mhitch Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -143,7 +143,11 @@ clockattach(pdp, dp, auxp) } kprintf(": %s system hz %d hardware hz %d\n", clockchip, hz, +#ifdef DRACO dracorev >= 4 ? eclockfreq / 7 : eclockfreq); +#else + eclockfreq); +#endif #ifdef DRACO if (dracorev >= 4) { @@ -241,9 +245,9 @@ void calibrate_delay() void cpu_initclocks() { +#ifdef DRACO unsigned char dracorev; dracorev = is_draco(); -#ifdef DRACO if (dracorev >= 4) { draco_ioct->io_timerlo = CLK_INTERVAL & 0xFF; draco_ioct->io_timerhi = CLK_INTERVAL >> 8;