|
|
1.1 root 1: /* slu.h */
2:
3: /* standard serial line unit device constants */
4:
5: #define SLUENABLE 0100 /* device interrupt enable bit */
6: #define SLUREADY 0200 /* device ready bit */
7: #define SLUDISABLE 0000 /* device interrupt disable mask*/
8: #define SLUTBREAK 0001 /* transmitter break-mode bit */
9: #define SLUERMASK 0170000 /* mask for error flags on input*/
10: #define SLUCHMASK 0377 /* mask for input character */
11:
12: /* SLU device register layout and correspondence to vendor's names */
13:
14: struct csr {
15: int crstat; /* receiver control and status (RCSR) */
16: int crbuf; /* receiver data buffer (RBUF) */
17: int ctstat; /* transmitter control & status (XCSR) */
18: int ctbuf; /* transmitter data buffer (XBUF) */
19: };
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.