summaryrefslogtreecommitdiff
path: root/sys/arch/landisk/include/cpu.h
blob: 47e51585e47bdb96d573bba9615559b8947ec84a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*	$OpenBSD: cpu.h,v 1.2 2007/04/29 17:53:37 miod Exp $	*/
/*	$NetBSD: cpu.h,v 1.1 2006/09/01 21:26:18 uwe Exp $	*/

#ifndef	_LANDISK_CPU_H_
#define	_LANDISK_CPU_H_

void machine_reset(void);

#include <sh/cpu.h>

/*
 * CTL_MACHDEP definitions.
 */
#define	CPU_CONSDEV		1	/* dev_t: console terminal device */
#define	CPU_KBDRESET		2	/* keyboard reset */
#define	CPU_LED_BLINK		3	/* keyboard reset */
#define	CPU_MAXID		4	/* number of valid machdep ids */

#define	CTL_MACHDEP_NAMES {						\
	{ 0, 0 },							\
	{ "console_device",	CTLTYPE_STRUCT },			\
	{ "kbdreset",		CTLTYPE_INT },				\
	{ "led_blink",		CTLTYPE_INT }				\
}

#endif	/* _LANDISK_CPU_H_ */