diff options
| author | Satoshi Asami <asami@FreeBSD.org> | 1996-09-12 11:12:18 +0000 |
|---|---|---|
| committer | Satoshi Asami <asami@FreeBSD.org> | 1996-09-12 11:12:18 +0000 |
| commit | 0e408c25a1cc3552a7ccb76e840da35625001d11 (patch) | |
| tree | 7a5dd9f80c049a86290c39b23a26fb62a527daa9 /sys/dev/ic | |
| parent | 3fa11fe3b5c1b4a5c5dc9e7b66866149494a261d (diff) | |
Notes
Diffstat (limited to 'sys/dev/ic')
| -rw-r--r-- | sys/dev/ic/ns16550.h | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/sys/dev/ic/ns16550.h b/sys/dev/ic/ns16550.h index ff59757a5f73..dae85bcaf583 100644 --- a/sys/dev/ic/ns16550.h +++ b/sys/dev/ic/ns16550.h @@ -31,13 +31,25 @@ * SUCH DAMAGE. * * from: @(#)ns16550.h 7.1 (Berkeley) 5/9/91 - * $Id$ + * $Id: ns16550.h,v 1.2 1993/10/16 13:48:52 rgrimes Exp $ */ /* * NS16550 UART registers */ - +#ifdef PC98 +#define com_data 0x000 /* data register (R/W) */ +#define com_dlbl 0x000 /* divisor latch low (W) */ +#define com_dlbh 0x100 /* divisor latch high (W) */ +#define com_ier 0x100 /* interrupt enable (W) */ +#define com_iir 0x200 /* interrupt identification (R) */ +#define com_fifo 0x200 /* FIFO control (W) */ +#define com_lctl 0x300 /* line control register (R/W) */ +#define com_cfcr 0x300 /* line control register (R/W) */ +#define com_mcr 0x400 /* modem control register (R/W) */ +#define com_lsr 0x500 /* line status register (R/W) */ +#define com_msr 0x600 /* modem status register (R/W) */ +#else /* IBM-PC */ #define com_data 0 /* data register (R/W) */ #define com_dlbl 0 /* divisor latch low (W) */ #define com_dlbh 1 /* divisor latch high (W) */ @@ -49,3 +61,4 @@ #define com_mcr 4 /* modem control register (R/W) */ #define com_lsr 5 /* line status register (R/W) */ #define com_msr 6 /* modem status register (R/W) */ +#endif /* PC98 */ |
