diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-08-27 04:09:22 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-08-27 04:09:22 +0000 |
commit | d387be6d508d997d7cd2ffeac58f75c47618216d (patch) | |
tree | c5f66108585edf04cc43414ac9632c803e34db11 /sys/arch | |
parent | 787f4bab8db19e23ffad9ba4a801d990bf04121a (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/arch')
-rw-r--r-- | sys/arch/i386/i386/apm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/apm.c b/sys/arch/i386/i386/apm.c index 830e998196f..7fcb28810c8 100644 --- a/sys/arch/i386/i386/apm.c +++ b/sys/arch/i386/i386/apm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: apm.c,v 1.88 2010/07/25 21:43:35 deraadt Exp $ */ +/* $OpenBSD: apm.c,v 1.89 2010/08/27 04:09:11 deraadt Exp $ */ /*- * Copyright (c) 1998-2001 Michael Shalayeff. All rights reserved. @@ -341,7 +341,7 @@ apm_standby() #endif /* NWSDISPLAY > 0 */ bufq_quiesce(); - dopowerhooks(PWR_STANDBY); + dopowerhooks(PWR_SUSPEND); if (cold) vfs_syncwait(0); |