NetBSD/sys/arch/pmax/tc/sccvar.h
jonathan 03b30a046d * make scc_tty_init() callable when very cold: call scc_coldparam() directly.
Use scc_tty_init() in scc_consinit().  Declare scc_consinit() in sccvar.h.

* Remove last vestige of special-case console handling in sccparam() code.

* Call scc_consinit() from findcons scc_serial() console-setup.
  Dont PROM for scc serial console at all.
1998-11-15 11:21:52 +00:00

29 lines
755 B
C

/* $NetBSD: sccvar.h,v 1.3 1998/11/15 11:21:53 jonathan Exp $ */
/*
*
*/
extern int sccGetc __P((dev_t));
extern void sccPutc __P((dev_t, int));
extern int sccparam __P((struct tty *, struct termios *));
struct scc_regmap;
void scc_consinit __P((dev_t dev, struct scc_regmap *sccaddr));
/*
* 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