summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2010-02-11 20:15:29 +0000
committerotto <otto@openbsd.org>2010-02-11 20:15:29 +0000
commit1edd45e09872527fb677ef05adf78f5e18a8b131 (patch)
treefe931026bec2bb2402cadae674940c9f1eeb240c
parentalign comments; ok miod@ (diff)
downloadwireguard-openbsd-1edd45e09872527fb677ef05adf78f5e18a8b131.tar.xz
wireguard-openbsd-1edd45e09872527fb677ef05adf78f5e18a8b131.zip
default to no pckbc and no legacy hardware; ok miod@
-rw-r--r--sys/arch/loongson/loongson/wscons_machdep.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/arch/loongson/loongson/wscons_machdep.c b/sys/arch/loongson/loongson/wscons_machdep.c
index ca6e707492f..50b3a613748 100644
--- a/sys/arch/loongson/loongson/wscons_machdep.c
+++ b/sys/arch/loongson/loongson/wscons_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wscons_machdep.c,v 1.2 2010/02/05 20:53:28 miod Exp $ */
+/* $OpenBSD: wscons_machdep.c,v 1.3 2010/02/11 20:15:29 otto Exp $ */
/*
* Copyright (c) 2010 Miodrag Vallat.
@@ -158,10 +158,9 @@ setup_kbd:
#if NPCKBC > 0
switch (sys_config.system_type) {
- case LOONGSON_GDIUM:
- /* no legacy hardware */
- break;
default:
+ /* no pckbc or no legacy hardware */
+ break;
case LOONGSON_YEELOONG:
if (rc != 0)
rc = pckbc_cnattach(&bonito_pci_io_space_tag, IO_KBD,