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/dev/ic/rt2860.c | |
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/dev/ic/rt2860.c')
-rw-r--r-- | sys/dev/ic/rt2860.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ic/rt2860.c b/sys/dev/ic/rt2860.c index 3dc0d81a66c..0eebcaa095d 100644 --- a/sys/dev/ic/rt2860.c +++ b/sys/dev/ic/rt2860.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rt2860.c,v 1.58 2010/08/25 21:37:59 kettenis Exp $ */ +/* $OpenBSD: rt2860.c,v 1.59 2010/08/27 04:09:18 deraadt Exp $ */ /*- * Copyright (c) 2007-2010 Damien Bergamini <damien.bergamini@free.fr> @@ -3873,7 +3873,6 @@ rt2860_power(int why, void *arg) s = splnet(); switch (why) { case PWR_SUSPEND: - case PWR_STANDBY: rt2860_stop(ifp, 0); if (sc->sc_power != NULL) (*sc->sc_power)(sc, why); |