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/atw.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/atw.c')
-rw-r--r-- | sys/dev/ic/atw.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/ic/atw.c b/sys/dev/ic/atw.c index 8eed8498ac4..71a1e00e994 100644 --- a/sys/dev/ic/atw.c +++ b/sys/dev/ic/atw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: atw.c,v 1.69 2009/08/16 18:03:48 jsg Exp $ */ +/* $OpenBSD: atw.c,v 1.70 2010/08/27 04:09:18 deraadt Exp $ */ /* $NetBSD: atw.c,v 1.69 2004/07/23 07:07:55 dyoung Exp $ */ /*- @@ -3994,9 +3994,6 @@ atw_power(int why, void *arg) s = splnet(); switch (why) { - case PWR_STANDBY: - /* XXX do nothing. */ - break; case PWR_SUSPEND: atw_stop(ifp, 1); if (sc->sc_power != NULL) |