Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/arm32 Sprinkle cnpollc for correct (usb) keyboa...
details: https://anonhg.NetBSD.org/src/rev/b846d8e2e32a
branches: trunk
changeset: 786645:b846d8e2e32a
user: skrll <skrll%NetBSD.org@localhost>
date: Sun May 05 10:30:21 2013 +0000
description:
Sprinkle cnpollc for correct (usb) keyboard handling.
diffstat:
sys/arch/arm/arm32/arm32_reboot.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 2a05b629fa39 -r b846d8e2e32a sys/arch/arm/arm32/arm32_reboot.c
--- a/sys/arch/arm/arm32/arm32_reboot.c Sun May 05 10:26:57 2013 +0000
+++ b/sys/arch/arm/arm32/arm32_reboot.c Sun May 05 10:30:21 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: arm32_reboot.c,v 1.3 2013/01/19 10:22:25 skrll Exp $ */
+/* $NetBSD: arm32_reboot.c,v 1.4 2013/05/05 10:30:21 skrll Exp $ */
/*
* Copyright (c) 2002, 2003, 2005 Genetec Corporation. All rights reserved.
@@ -122,7 +122,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: arm32_reboot.c,v 1.3 2013/01/19 10:22:25 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: arm32_reboot.c,v 1.4 2013/05/05 10:30:21 skrll Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -184,7 +184,9 @@
if (howto & RB_HALT) {
printf("The operating system has halted.\r\n");
printf("Please press any key to reboot.\r\n");
+ cnpollc(true); /* for proper keyboard command handling */
cngetc();
+ cnpollc(false);
}
printf("rebooting...\r\n");
Home |
Main Index |
Thread Index |
Old Index