add '#ifdef VR41X1' for TX3900.

This commit is contained in:
shin 2000-02-02 03:14:31 +00:00
parent 04553a3a98
commit 62bc319e2c
1 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.c,v 1.2 2000/01/28 15:08:38 takemura Exp $ */
/* $NetBSD: cpu.c,v 1.3 2000/02/02 03:14:31 shin Exp $ */
/*
* Copyright (c) 1994, 1995 Carnegie-Mellon University.
@ -38,6 +38,8 @@
#include <machine/platid.h>
#include <machine/platid_mask.h>
#include "opt_vr41x1.h"
/* Definition of the driver for autoconfig. */
static int cpumatch(struct device *, struct cfdata *, void *);
static void cpuattach(struct device *, struct device *, void *);
@ -79,8 +81,10 @@ cpuattach(parent, dev, aux)
cpu_identify();
#ifdef VR41X1
if (platid_match(&platid, &platid_mask_CPU_MIPS_VR_41XX)) {
printf("cpu0: install VR specific idle routine\n");
mips_locore_jumpvec.cpu_idle = vr_idle;
}
#endif
}