diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-02-05 16:49:41 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-02-05 16:49:41 +0000 |
commit | bfb1b6126bcfdf842489313cd93b5e5a43512f3e (patch) | |
tree | 2a75a348bbc797d52960b5f52b7354f90cec7753 /sys/arch/alpha/isa/pckbd.c | |
parent | fe9553578b983f487fcb86562db0ab1434df2949 (diff) |
rename ddb.panic_ddb, and add ddb.console. Now you can stop console ddb entry
with a sysctl. There will be architectures and drivers that lack function,
and I trust the maintainers of those will forget to add the code..
Diffstat (limited to 'sys/arch/alpha/isa/pckbd.c')
-rw-r--r-- | sys/arch/alpha/isa/pckbd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/alpha/isa/pckbd.c b/sys/arch/alpha/isa/pckbd.c index 8a6770235fb..49e337acae7 100644 --- a/sys/arch/alpha/isa/pckbd.c +++ b/sys/arch/alpha/isa/pckbd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pckbd.c,v 1.12 1997/11/06 12:27:02 niklas Exp $ */ +/* $OpenBSD: pckbd.c,v 1.13 1998/02/05 16:47:59 deraadt Exp $ */ /* $NetBSD: pckbd.c,v 1.14 1996/12/05 01:39:30 cgd Exp $ */ /*- @@ -757,9 +757,9 @@ pckbd_translate(dev, c) /* * Check for cntl-alt-esc. */ - if ((dt == 1) - && (shift_state & (CTL | ALT)) == (CTL | ALT)) { - Debugger(); + if ((dt == 1) && (shift_state & (CTL | ALT)) == (CTL | ALT)) { + if (db_console) + Debugger(); return (NULL); } #endif |