diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-09-15 21:13:29 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-09-15 21:13:29 +0000 |
commit | c7944dc0d2be35242202bdad3b511d6b6e60cf3a (patch) | |
tree | 49728a73374c694c8937e8c1903dabf1e19ec820 /sys/arch/pmax/tc/sccvar.h | |
parent | 9923345416a4c9f9c668f0ca1c8b259113aac9e7 (diff) |
sync to netbsd; for graichen
Diffstat (limited to 'sys/arch/pmax/tc/sccvar.h')
-rw-r--r-- | sys/arch/pmax/tc/sccvar.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/sys/arch/pmax/tc/sccvar.h b/sys/arch/pmax/tc/sccvar.h new file mode 100644 index 00000000000..7b9c948ed66 --- /dev/null +++ b/sys/arch/pmax/tc/sccvar.h @@ -0,0 +1,26 @@ +/* $NetBSD: sccvar.h,v 1.2 1996/05/19 18:24:33 jonathan Exp $ */ + +/* + * + */ +extern int sccGetc __P((dev_t)); +extern void sccPutc __P((dev_t, int)); +extern int sccparam __P((struct tty *, struct termios *)); + +/* + * Minor device numbers for scc. Weird because B channel comes + * first and the A channels are wired for keyboard/mouse and the + * B channels for the comm port(s). + * + * XXX + * + * Even that is not true on the Personal Decstation, which has + * a "desktop bus" for keyboard/mouse, and brings A and B channels + * out to the bulkhead. XXX more thought. + */ + +#define SCCCOMM2_PORT 0x0 +#define SCCMOUSE_PORT 0x1 +#define SCCCOMM3_PORT 0x2 +#define SCCKBD_PORT 0x3 + |