summaryrefslogtreecommitdiff
path: root/sys/dev/isa
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2012-02-02 21:40:21 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2012-02-02 21:40:21 +0000
commit9ba91696aad979f35872eff01abeb2c7dd2e10e1 (patch)
treee691d03f7f9aa325dc7d9c77d83ab54f7f4a10cf /sys/dev/isa
parentbcd13d2225e39795487411c72b679b8be2bcf286 (diff)
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);