NetBSD/sys/arch/cobalt/include/cpu.h
tsutsui 7309391544 Identify cobalt models at boot and store it to a variable cobalt_id.
Tested on and Qube2 by several people on port-cobalt and my RaQ2.
2006-04-15 11:28:52 +00:00

21 lines
371 B
C

/* $NetBSD: cpu.h,v 1.11 2006/04/15 11:28:52 tsutsui Exp $ */
#ifndef _COBALT_CPU_H_
#define _COBALT_CPU_H_
#include <mips/cpu.h>
#ifdef _KERNEL
#ifndef _LOCORE
extern u_int cobalt_id;
#define COBALT_ID_QUBE2700 3
#define COBALT_ID_RAQ 4
#define COBALT_ID_QUBE2 5
#define COBALT_ID_RAQ2 6
#endif /* !_LOCORE */
#endif /* _KERNEL */
#endif /* !_COBALT_CPU_H_ */