1 1.3 tsubai /* $NetBSD: mmeye.h,v 1.3 1999/09/17 12:16:37 tsubai Exp $ */ 2 1.1 itojun 3 1.2 msaitoh /* 4 1.2 msaitoh * Brains mmEye specific register definition 5 1.2 msaitoh */ 6 1.2 msaitoh 7 1.2 msaitoh #ifndef _MMEYE_MMEYE_H_ 8 1.3 tsubai #define _MMEYE_MMEYE_H_ 9 1.2 msaitoh 10 1.2 msaitoh /* IRQ mask register */ 11 1.2 msaitoh #ifdef MMEYE_NEW_INT /* for new mmEye */ 12 1.3 tsubai #define MMTA_IMASK (*(volatile unsigned short *)0xb000000e) 13 1.2 msaitoh #else /* for old mmEye */ 14 1.2 msaitoh #define MMTA_IMASK (*(volatile unsigned short *)0xb0000010) 15 1.2 msaitoh #endif 16 1.2 msaitoh 17 1.2 msaitoh #define MMEYE_LED (*(volatile unsigned short *)0xb0000008) 18 1.2 msaitoh 19 1.2 msaitoh /* 20 1.2 msaitoh * SCI bitrate 21 1.2 msaitoh * 9600bps, 11 = 3750000/(32*9600) -1, Pcyc = 3.75MHz 22 1.2 msaitoh */ 23 1.2 msaitoh 24 1.2 msaitoh #define SCI_BITRATE 11 25 1.2 msaitoh 26 1.2 msaitoh #endif /* !_MMEYE_MMEYE_H_ */ 27