totaly rewritten.

This commit is contained in:
uch 1999-12-26 17:05:28 +00:00
parent 2b643fda30
commit 124aa3ecd0
2 changed files with 609 additions and 202 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: tx39icureg.h,v 1.1 1999/11/20 19:56:34 uch Exp $ */
/* $NetBSD: tx39icureg.h,v 1.2 1999/12/26 17:05:28 uch Exp $ */
/*
* Copyright (c) 1999, by UCHIYAMA Yasushi
@ -154,6 +154,7 @@
#define TX39_INTRSTATUS2_UARTAEMPTYINT 0x01000000
#define TX39_INTRSTATUS2_UARTADMAFULLINT 0x00800000
#define TX39_INTRSTATUS2_UARTADMAHALFINT 0x00400000
#define TX39_INTRSTATUS2_UARTBRXINT 0x00200000
#define TX39_INTRSTATUS2_UARTBRXOVERRUNINT 0x00100000
#define TX39_INTRSTATUS2_UARTBFRAMEERRINT 0x00080000
@ -164,6 +165,38 @@
#define TX39_INTRSTATUS2_UARTBEMPTYINT 0x00004000
#define TX39_INTRSTATUS2_UARTBDMAFULLINT 0x00002000
#define TX39_INTRSTATUS2_UARTBDMAHALFINT 0x00001000
#define TX39_INTRSTATUS2_UARTRXINT(x) \
((x) ? TX39_INTRSTATUS2_UARTBRXINT : \
TX39_INTRSTATUS2_UARTARXINT)
#define TX39_INTRSTATUS2_UARTRXOVERRUNINT(x) \
((x) ? TX39_INTRSTATUS2_UARTBRXOVERRUNINT : \
TX39_INTRSTATUS2_UARTARXOVERRUNINT)
#define TX39_INTRSTATUS2_UARTFRAMEERRINT(x) \
((x) ? TX39_INTRSTATUS2_UARTBFRAMEERRINT : \
TX39_INTRSTATUS2_UARTAFRAMEERRINT)
#define TX39_INTRSTATUS2_UARTBREAKINT(x) \
((x) ? TX39_INTRSTATUS2_UARTBBREAKINT : \
TX39_INTRSTATUS2_UARTABREAKINT)
#define TX39_INTRSTATUS2_UARTPARITYERRINT(x) \
((x) ? TX39_INTRSTATUS2_UARTBPARITYERRINT : \
TX39_INTRSTATUS2_UARTAPARITYERRINT)
#define TX39_INTRSTATUS2_UARTTXINT(x) \
((x) ? TX39_INTRSTATUS2_UARTBTXINT : \
TX39_INTRSTATUS2_UARTATXINT)
#define TX39_INTRSTATUS2_UARTTXOVERRUNINT(x) \
((x) ? TX39_INTRSTATUS2_UARTBTXOVERRUNINT : \
TX39_INTRSTATUS2_UARTATXOVERRUNINT)
#define TX39_INTRSTATUS2_UARTEMPTYINT(x) \
((x) ? TX39_INTRSTATUS2_UARTBEMPTYINT : \
TX39_INTRSTATUS2_UARTEMPTYINT)
#define TX39_INTRSTATUS2_UARTDMAFULLINT(x) \
((x) ? TX39_INTRSTATUS2_UARTBDMAFULLINT : \
TX39_INTRSTATUS2_UARTADMAFULLINT)
#define TX39_INTRSTATUS2_UARTDMAHALFINT(x) \
((x) ? TX39_INTRSTATUS2_UARTBDMAHALFINT : \
TX39_INTRSTATUS2_UARTADMAHALFINT)
#ifdef TX391X
#define TX39_INTRSTATUS2_MBUSTXBUFAVAILINT 0x00000800
#define TX39_INTRSTATUS2_MBUSTXERRINT 0x00000400

File diff suppressed because it is too large Load Diff