summaryrefslogtreecommitdiff
path: root/sys/dev/ic/pgt.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-08-27 04:09:22 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-08-27 04:09:22 +0000
commitd387be6d508d997d7cd2ffeac58f75c47618216d (patch)
treec5f66108585edf04cc43414ac9632c803e34db11 /sys/dev/ic/pgt.c
parent787f4bab8db19e23ffad9ba4a801d990bf04121a (diff)
kill PWR_STANDBY (apm can use PWR_SUSPEND instead). While here, renumber
PWR_{SUSPEND,RESUME} so that they match the values of DAVCT_{SUSPEND,RESUME} so that we can eventually (many more steps...) kill the powerhook garbage and use the activate mechanism. no objections
Diffstat (limited to 'sys/dev/ic/pgt.c')
-rw-r--r--sys/dev/ic/pgt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ic/pgt.c b/sys/dev/ic/pgt.c
index 99c0a35f4c2..6c1026b25c3 100644
--- a/sys/dev/ic/pgt.c
+++ b/sys/dev/ic/pgt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pgt.c,v 1.61 2010/08/07 16:16:18 kettenis Exp $ */
+/* $OpenBSD: pgt.c,v 1.62 2010/08/27 04:09:18 deraadt Exp $ */
/*
* Copyright (c) 2006 Claudio Jeker <claudio@openbsd.org>
@@ -3325,7 +3325,6 @@ pgt_power(int why, void *arg)
s = splnet();
switch (why) {
- case PWR_STANDBY:
case PWR_SUSPEND:
pgt_stop(sc, SC_NEEDS_RESET);
pgt_update_hw_from_sw(sc, 0, 0);