diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 2001-04-17 04:30:52 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 2001-04-17 04:30:52 +0000 |
commit | d471bc85066a41148d5a902c01901d37503aef8e (patch) | |
tree | 5aad893f43fec1ffb45e2e7732cf5e2bbdd7e3fd /sys/arch/alpha | |
parent | b63233435dd37169d9c0b9e875ca311a1e4bfd59 (diff) |
Implement cnbell(), an optional entrypoint that rings the console bell; from
NetBSD. deraadt@ ok
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r-- | sys/arch/alpha/alpha/prom.c | 4 | ||||
-rw-r--r-- | sys/arch/alpha/tc/scc.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/alpha/alpha/prom.c b/sys/arch/alpha/alpha/prom.c index 026598b97f9..d91487ee7c1 100644 --- a/sys/arch/alpha/alpha/prom.c +++ b/sys/arch/alpha/alpha/prom.c @@ -1,4 +1,4 @@ -/* $OpenBSD: prom.c,v 1.10 2001/04/06 04:42:05 csapuntz Exp $ */ +/* $OpenBSD: prom.c,v 1.11 2001/04/17 04:30:45 aaron Exp $ */ /* $NetBSD: prom.c,v 1.39 2000/03/06 21:36:05 thorpej Exp $ */ /* @@ -42,7 +42,7 @@ /* XXX this is to fake out the console routines, while booting. */ struct consdev promcons = { NULL, NULL, promcngetc, promcnputc, - nullcnpollc, makedev(23,0), 1 }; + nullcnpollc, NULL, makedev(23,0), 1 }; struct rpb *hwrpb; int alpha_console; diff --git a/sys/arch/alpha/tc/scc.c b/sys/arch/alpha/tc/scc.c index c3058f6911a..25ef5b983a4 100644 --- a/sys/arch/alpha/tc/scc.c +++ b/sys/arch/alpha/tc/scc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: scc.c,v 1.7 1997/01/24 19:58:15 niklas Exp $ */ +/* $OpenBSD: scc.c,v 1.8 2001/04/17 04:30:46 aaron Exp $ */ /* $NetBSD: scc.c,v 1.28 1996/12/05 01:39:43 cgd Exp $ */ /* @@ -236,7 +236,7 @@ extern int cold; scc_regmap_t *scc_cons_addr = 0; static struct scc_softc coldcons_softc; static struct consdev scccons = { - NULL, NULL, sccGetc, sccPutc, sccPollc, NODEV, 0 + NULL, NULL, sccGetc, sccPutc, sccPollc, NULL, NODEV, 0 }; void scc_consinit __P((dev_t dev, scc_regmap_t *sccaddr)); void scc_oconsinit __P((struct scc_softc *, dev_t)); |