summaryrefslogtreecommitdiffstats
path: root/sys/dev/sdmmc
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2010-08-27 04:09:11 +0000
committerderaadt <deraadt@openbsd.org>2010-08-27 04:09:11 +0000
commit02fa8af4e502fa0f5e3f5223f95c42a6db29a0cc (patch)
tree001b33c238013fe991d89832e1738711a40fb2d1 /sys/dev/sdmmc
parentIf hppa doesn't need a fakecdrom disktab entry, neither does hppa64. (diff)
downloadwireguard-openbsd-02fa8af4e502fa0f5e3f5223f95c42a6db29a0cc.tar.xz
wireguard-openbsd-02fa8af4e502fa0f5e3f5223f95c42a6db29a0cc.zip
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/sdmmc')
-rw-r--r--sys/dev/sdmmc/sdhc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/sdmmc/sdhc.c b/sys/dev/sdmmc/sdhc.c
index e7177c16cd0..0f90fdf4eae 100644
--- a/sys/dev/sdmmc/sdhc.c
+++ b/sys/dev/sdmmc/sdhc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sdhc.c,v 1.28 2010/08/19 17:54:12 jasper Exp $ */
+/* $OpenBSD: sdhc.c,v 1.29 2010/08/27 04:09:20 deraadt Exp $ */
/*
* Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org>
@@ -259,7 +259,6 @@ sdhc_power(int why, void *arg)
int n, i;
switch(why) {
- case PWR_STANDBY:
case PWR_SUSPEND:
/* XXX poll for command completion or suspend command
* in progress */