diff options
author | 1995-12-01 19:10:47 +0000 | |
---|---|---|
committer | 1995-12-01 19:10:47 +0000 | |
commit | 9e450da7c2a4f7468bcbfa823d061493e68b4ac6 (patch) | |
tree | 9193e9dc1f15824faac1b2c9c4079dcd2a1f7eb5 | |
parent | Oops, forgot to declare emul_sunos (diff) | |
download | wireguard-openbsd-9e450da7c2a4f7468bcbfa823d061493e68b4ac6.tar.xz wireguard-openbsd-9e450da7c2a4f7468bcbfa823d061493e68b4ac6.zip |
add CONSOLEBREAKDDB support. also be less verbose at boot..
-rw-r--r-- | sys/arch/mvme68k/dev/cl.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/mvme68k/dev/cl.c b/sys/arch/mvme68k/dev/cl.c index 12b1184965d..0939ee28b3e 100644 --- a/sys/arch/mvme68k/dev/cl.c +++ b/sys/arch/mvme68k/dev/cl.c @@ -1,4 +1,4 @@ -/* $Id: cl.c,v 1.5 1995/12/01 18:13:15 deraadt Exp $ */ +/* $Id: cl.c,v 1.6 1995/12/01 19:10:47 deraadt Exp $ */ /* * Copyright (c) 1995 Dale Rahn. All rights reserved. @@ -294,6 +294,7 @@ clattach(parent, self, aux) sc->sc_cl[2].tx[1] = (void *)(((int)sc->sc_cl[2].tx[0]) + CL_BUFSIZE); sc->sc_cl[3].tx[0] = (void *)(((int)sc->sc_cl[2].tx[1]) + CL_BUFSIZE); sc->sc_cl[3].tx[1] = (void *)(((int)sc->sc_cl[3].tx[0]) + CL_BUFSIZE); +#if 0 for (i = 0; i < CLCD_PORTS_PER_CHIP; i++) { int j; for (j = 0; j < 2 ; j++) { @@ -314,6 +315,7 @@ printf("cl[%d].txbuf[%d] %x p %x\n", #endif cl_initchannel(sc, i); } +#endif /* enable interrupts */ sc->sc_ih_e.ih_fn = cl_rxintr; sc->sc_ih_e.ih_arg = sc; @@ -1781,6 +1783,10 @@ cl_break (sc, channel) struct clsoftc *sc; int channel; { +#ifdef CONSOLEBREAKDDB + if (sc->sc_cl[channel].cl_consio) + Debugger(); +#endif log(LOG_WARNING, "%s%d[%d]: break detected\n", clcd.cd_name, 0, channel); return; } |