summaryrefslogtreecommitdiffstats
path: root/sys/dev/isa
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2012-02-02 21:40:19 +0000
committerderaadt <deraadt@openbsd.org>2012-02-02 21:40:19 +0000
commit2cc6431b7e89a65580fedb8ee1cf94d7d82cb70b (patch)
tree3ad26b9328668af28eec41192041871b46179af7 /sys/dev/isa
parentOnly use mime/line-split if the input message actually contains a very (diff)
downloadwireguard-openbsd-2cc6431b7e89a65580fedb8ee1cf94d7d82cb70b.tar.xz
wireguard-openbsd-2cc6431b7e89a65580fedb8ee1cf94d7d82cb70b.zip
disable the polling timeout when we suspend; discovered by some code
guenther is working on ok miod
Diffstat (limited to 'sys/dev/isa')
-rw-r--r--sys/dev/isa/pckbc_isa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/isa/pckbc_isa.c b/sys/dev/isa/pckbc_isa.c
index 9e59902dbdc..e9323500302 100644
--- a/sys/dev/isa/pckbc_isa.c
+++ b/sys/dev/isa/pckbc_isa.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pckbc_isa.c,v 1.10 2010/08/31 17:15:04 deraadt Exp $ */
+/* $OpenBSD: pckbc_isa.c,v 1.11 2012/02/02 21:40:19 deraadt Exp $ */
/* $NetBSD: pckbc_isa.c,v 1.2 2000/03/23 07:01:35 thorpej Exp $ */
/*
@@ -119,6 +119,7 @@ pckbc_isa_activate(struct device *self, int act)
break;
case DVACT_SUSPEND:
rv = config_activate_children(self, act);
+ pckbc_stop(&isc->sc_pckbc);
break;
case DVACT_RESUME:
pckbc_reset(&isc->sc_pckbc);