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/rtw.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/rtw.c')
-rw-r--r-- | sys/dev/ic/rtw.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/ic/rtw.c b/sys/dev/ic/rtw.c index c8cb26389d5..6b4961366c0 100644 --- a/sys/dev/ic/rtw.c +++ b/sys/dev/ic/rtw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtw.c,v 1.78 2009/11/24 00:28:22 deraadt Exp $ */ +/* $OpenBSD: rtw.c,v 1.79 2010/08/27 04:09:19 deraadt Exp $ */ /* $NetBSD: rtw.c,v 1.29 2004/12/27 19:49:16 dyoung Exp $ */ /*- @@ -3605,9 +3605,6 @@ rtw_power(int why, void *arg) s = splnet(); switch (why) { - case PWR_STANDBY: - /* XXX do nothing. */ - break; case PWR_SUSPEND: rtw_stop(ifp, 1); if (sc->sc_power != NULL) |