From d387be6d508d997d7cd2ffeac58f75c47618216d Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Fri, 27 Aug 2010 04:09:22 +0000 Subject: 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 --- sys/dev/ic/rt2661.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/dev/ic/rt2661.c') diff --git a/sys/dev/ic/rt2661.c b/sys/dev/ic/rt2661.c index 541d2941719..2296fab42a5 100644 --- a/sys/dev/ic/rt2661.c +++ b/sys/dev/ic/rt2661.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rt2661.c,v 1.56 2010/08/25 21:37:59 kettenis Exp $ */ +/* $OpenBSD: rt2661.c,v 1.57 2010/08/27 04:09:18 deraadt Exp $ */ /*- * Copyright (c) 2006 @@ -2933,7 +2933,6 @@ rt2661_power(int why, void *arg) s = splnet(); switch (why) { case PWR_SUSPEND: - case PWR_STANDBY: rt2661_stop(ifp, 0); if (sc->sc_power != NULL) (*sc->sc_power)(sc, why); -- cgit v1.2.3