Expand PMF_FN_* macros.
[netbsd-mini2440.git] / sys / arch / mmeye / include / mmeye.h
blobc3ee6641a9d9614861f2a43ac438818a17b5330c
1 /* $NetBSD: mmeye.h,v 1.3 1999/09/17 12:16:37 tsubai Exp $ */
3 /*
4 * Brains mmEye specific register definition
5 */
7 #ifndef _MMEYE_MMEYE_H_
8 #define _MMEYE_MMEYE_H_
10 /* IRQ mask register */
11 #ifdef MMEYE_NEW_INT /* for new mmEye */
12 #define MMTA_IMASK (*(volatile unsigned short *)0xb000000e)
13 #else /* for old mmEye */
14 #define MMTA_IMASK (*(volatile unsigned short *)0xb0000010)
15 #endif
17 #define MMEYE_LED (*(volatile unsigned short *)0xb0000008)
19 #ifndef _LOCORE
20 void *mmeye_intr_establish(int, int, int, int (*func)(void *), void *);
21 void mmeye_intr_disestablish(void *);
22 #endif /* !_LOCORE */
23 #endif /* !_MMEYE_MMEYE_H_ */