summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/arm/xscale/pxa27x_udc.c3
-rw-r--r--sys/arch/arm/xscale/pxa2x0_com.c3
-rw-r--r--sys/arch/arm/xscale/pxa2x0_lcd.c3
-rw-r--r--sys/arch/arm/xscale/pxa2x0_ohci.c3
-rw-r--r--sys/arch/beagle/dev/omap_com.c3
-rw-r--r--sys/arch/beagle/dev/omdisplay.c3
-rw-r--r--sys/arch/beagle/dev/omehci.c3
-rw-r--r--sys/arch/beagle/dev/ommmc.c3
-rw-r--r--sys/arch/beagle/dev/omohci.c3
-rw-r--r--sys/arch/zaurus/dev/zaurus_audio.c3
-rw-r--r--sys/arch/zaurus/dev/zaurus_scoop.c3
-rw-r--r--sys/arch/zaurus/dev/zts.c3
-rw-r--r--sys/arch/zaurus/zaurus/zaurus_lcd.c3
-rw-r--r--sys/dev/pci/auixp.c3
-rw-r--r--sys/dev/pcmcia/if_ray.c3
15 files changed, 15 insertions, 30 deletions
diff --git a/sys/arch/arm/xscale/pxa27x_udc.c b/sys/arch/arm/xscale/pxa27x_udc.c
index ba268659abc..ab417857403 100644
--- a/sys/arch/arm/xscale/pxa27x_udc.c
+++ b/sys/arch/arm/xscale/pxa27x_udc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pxa27x_udc.c,v 1.24 2010/06/07 16:34:20 drahn Exp $ */
+/* $OpenBSD: pxa27x_udc.c,v 1.25 2010/08/27 05:04:06 deraadt Exp $ */
/*
* Copyright (c) 2007 Dale Rahn <drahn@openbsd.org>
@@ -252,7 +252,6 @@ pxaudc_power(int why, void *arg)
switch (why) {
case PWR_SUSPEND:
- case PWR_STANDBY:
pxaudc_disable(sc);
break;
diff --git a/sys/arch/arm/xscale/pxa2x0_com.c b/sys/arch/arm/xscale/pxa2x0_com.c
index fd9a8b634ef..ac3adc38da3 100644
--- a/sys/arch/arm/xscale/pxa2x0_com.c
+++ b/sys/arch/arm/xscale/pxa2x0_com.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pxa2x0_com.c,v 1.9 2008/11/22 17:05:35 drahn Exp $ */
+/* $OpenBSD: pxa2x0_com.c,v 1.10 2010/08/27 05:04:06 deraadt Exp $ */
/* $NetBSD: pxa2x0_com.c,v 1.4 2003/07/15 00:24:55 lukem Exp $ */
/*
@@ -157,7 +157,6 @@ pxauart_power(int why, void *arg)
switch (why) {
case PWR_SUSPEND:
- case PWR_STANDBY:
#ifdef __zaurus__
if (sc->enabled && ISSET(sc->sc_hwflags, COM_HW_SIR))
scoop_set_irled(0);
diff --git a/sys/arch/arm/xscale/pxa2x0_lcd.c b/sys/arch/arm/xscale/pxa2x0_lcd.c
index f38d5d9b4a2..835425f37bc 100644
--- a/sys/arch/arm/xscale/pxa2x0_lcd.c
+++ b/sys/arch/arm/xscale/pxa2x0_lcd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pxa2x0_lcd.c,v 1.22 2007/05/27 16:12:11 matthieu Exp $ */
+/* $OpenBSD: pxa2x0_lcd.c,v 1.23 2010/08/27 05:04:06 deraadt Exp $ */
/* $NetBSD: pxa2x0_lcd.c,v 1.8 2003/10/03 07:24:05 bsh Exp $ */
/*
@@ -851,7 +851,6 @@ pxa2x0_lcd_power(int why, void *v)
switch (why) {
case PWR_SUSPEND:
- case PWR_STANDBY:
pxa2x0_lcd_suspend(sc);
break;
diff --git a/sys/arch/arm/xscale/pxa2x0_ohci.c b/sys/arch/arm/xscale/pxa2x0_ohci.c
index 5f58930b33e..94b05953f83 100644
--- a/sys/arch/arm/xscale/pxa2x0_ohci.c
+++ b/sys/arch/arm/xscale/pxa2x0_ohci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pxa2x0_ohci.c,v 1.21 2007/06/14 19:18:49 deraadt Exp $ */
+/* $OpenBSD: pxa2x0_ohci.c,v 1.22 2010/08/27 05:04:06 deraadt Exp $ */
/*
* Copyright (c) 2005 David Gwynne <dlg@openbsd.org>
@@ -178,7 +178,6 @@ pxaohci_power(int why, void *arg)
s = splhardusb();
sc->sc.sc_bus.use_polling++;
switch (why) {
- case PWR_STANDBY:
case PWR_SUSPEND:
ohci_power(why, &sc->sc);
pxa2x0_clkman_config(CKEN_USBHC, 0);
diff --git a/sys/arch/beagle/dev/omap_com.c b/sys/arch/beagle/dev/omap_com.c
index b1181496516..4bc45855173 100644
--- a/sys/arch/beagle/dev/omap_com.c
+++ b/sys/arch/beagle/dev/omap_com.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: omap_com.c,v 1.1 2009/05/08 03:13:26 drahn Exp $ */
+/* $OpenBSD: omap_com.c,v 1.2 2010/08/27 05:04:08 deraadt Exp $ */
/*
* Copyright 2003 Wasabi Systems, Inc.
* All rights reserved.
@@ -131,7 +131,6 @@ omapuart_power(int why, void *arg)
switch (why) {
case PWR_SUSPEND:
- case PWR_STANDBY:
break;
case PWR_RESUME:
if (sc->enabled) {
diff --git a/sys/arch/beagle/dev/omdisplay.c b/sys/arch/beagle/dev/omdisplay.c
index 30c509dd7d1..89dc48bf8f6 100644
--- a/sys/arch/beagle/dev/omdisplay.c
+++ b/sys/arch/beagle/dev/omdisplay.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: omdisplay.c,v 1.2 2010/08/07 03:50:01 krw Exp $ */
+/* $OpenBSD: omdisplay.c,v 1.3 2010/08/27 05:04:08 deraadt Exp $ */
/*
* Copyright (c) 2007 Dale Rahn <drahn@openbsd.org>
*
@@ -870,7 +870,6 @@ omdisplay_power(int why, void *v)
switch (why) {
case PWR_SUSPEND:
- case PWR_STANDBY:
omdisplay_set_brightness(0);
omdisplay_suspend(sc);
break;
diff --git a/sys/arch/beagle/dev/omehci.c b/sys/arch/beagle/dev/omehci.c
index fea8b20e6b1..028aa6dc710 100644
--- a/sys/arch/beagle/dev/omehci.c
+++ b/sys/arch/beagle/dev/omehci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: omehci.c,v 1.1 2010/02/12 05:31:51 drahn Exp $ */
+/* $OpenBSD: omehci.c,v 1.2 2010/08/27 05:04:08 deraadt Exp $ */
/*
* Copyright (c) 2005 David Gwynne <dlg@openbsd.org>
@@ -193,7 +193,6 @@ omehci_power(int why, void *arg)
s = splhardusb();
sc->sc.sc_bus.use_polling++;
switch (why) {
- case PWR_STANDBY:
case PWR_SUSPEND:
ohci_power(why, &sc->sc);
#if 0
diff --git a/sys/arch/beagle/dev/ommmc.c b/sys/arch/beagle/dev/ommmc.c
index 39f8c4740cb..311a184cb05 100644
--- a/sys/arch/beagle/dev/ommmc.c
+++ b/sys/arch/beagle/dev/ommmc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ommmc.c,v 1.6 2010/06/01 03:09:41 drahn Exp $ */
+/* $OpenBSD: ommmc.c,v 1.7 2010/08/27 05:04:08 deraadt Exp $ */
/*
* Copyright (c) 2009 Dale Rahn <drahn@openbsd.org>
@@ -516,7 +516,6 @@ ommmc_power(int why, void *arg)
#endif
switch(why) {
- case PWR_STANDBY:
case PWR_SUSPEND:
/* XXX poll for command completion or suspend command
* in progress */
diff --git a/sys/arch/beagle/dev/omohci.c b/sys/arch/beagle/dev/omohci.c
index f4a88950a3c..b01f4d18f3a 100644
--- a/sys/arch/beagle/dev/omohci.c
+++ b/sys/arch/beagle/dev/omohci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: omohci.c,v 1.1 2009/05/08 03:13:26 drahn Exp $ */
+/* $OpenBSD: omohci.c,v 1.2 2010/08/27 05:04:08 deraadt Exp $ */
/*
* Copyright (c) 2005 David Gwynne <dlg@openbsd.org>
@@ -288,7 +288,6 @@ omohci_power(int why, void *arg)
s = splhardusb();
sc->sc.sc_bus.use_polling++;
switch (why) {
- case PWR_STANDBY:
case PWR_SUSPEND:
ohci_power(why, &sc->sc);
#if 0
diff --git a/sys/arch/zaurus/dev/zaurus_audio.c b/sys/arch/zaurus/dev/zaurus_audio.c
index 5c21453d590..22799cfb682 100644
--- a/sys/arch/zaurus/dev/zaurus_audio.c
+++ b/sys/arch/zaurus/dev/zaurus_audio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: zaurus_audio.c,v 1.11 2010/07/15 03:43:11 jakemsr Exp $ */
+/* $OpenBSD: zaurus_audio.c,v 1.12 2010/08/27 05:04:11 deraadt Exp $ */
/*
* Copyright (c) 2005 Christopher Pascoe <pascoe@openbsd.org>
@@ -282,7 +282,6 @@ zaudio_power(int why, void *arg)
struct zaudio_softc *sc = arg;
switch (why) {
- case PWR_STANDBY:
case PWR_SUSPEND:
timeout_del(&sc->sc_to);
zaudio_standby(sc);
diff --git a/sys/arch/zaurus/dev/zaurus_scoop.c b/sys/arch/zaurus/dev/zaurus_scoop.c
index 78e057bb022..6629bfa9b0d 100644
--- a/sys/arch/zaurus/dev/zaurus_scoop.c
+++ b/sys/arch/zaurus/dev/zaurus_scoop.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: zaurus_scoop.c,v 1.18 2008/11/25 14:55:44 drahn Exp $ */
+/* $OpenBSD: zaurus_scoop.c,v 1.19 2010/08/27 05:04:11 deraadt Exp $ */
/*
* Copyright (c) 2005 Uwe Stuehler <uwe@bsdx.de>
@@ -454,7 +454,6 @@ scoop_power(int why, void *arg)
struct scoop_softc *sc = arg;
switch (why) {
- case PWR_STANDBY:
case PWR_SUSPEND:
/*
* Nothing should use the scoop from this point on.
diff --git a/sys/arch/zaurus/dev/zts.c b/sys/arch/zaurus/dev/zts.c
index af22ee16537..54bf415cbb0 100644
--- a/sys/arch/zaurus/dev/zts.c
+++ b/sys/arch/zaurus/dev/zts.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: zts.c,v 1.11 2007/05/29 21:09:43 robert Exp $ */
+/* $OpenBSD: zts.c,v 1.12 2010/08/27 05:04:11 deraadt Exp $ */
/*
* Copyright (c) 2005 Dale Rahn <drahn@openbsd.org>
*
@@ -207,7 +207,6 @@ zts_power(int why, void *v)
struct zts_softc *sc = v;
switch (why) {
- case PWR_STANDBY:
case PWR_SUSPEND:
sc->sc_enabled = 0;
#if 0
diff --git a/sys/arch/zaurus/zaurus/zaurus_lcd.c b/sys/arch/zaurus/zaurus/zaurus_lcd.c
index 058ba10dc92..d239787f3a9 100644
--- a/sys/arch/zaurus/zaurus/zaurus_lcd.c
+++ b/sys/arch/zaurus/zaurus/zaurus_lcd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: zaurus_lcd.c,v 1.21 2006/11/29 12:13:54 miod Exp $ */
+/* $OpenBSD: zaurus_lcd.c,v 1.22 2010/08/27 05:04:11 deraadt Exp $ */
/* $NetBSD: lubbock_lcd.c,v 1.1 2003/08/09 19:38:53 bsh Exp $ */
/*
@@ -402,7 +402,6 @@ lcd_power(int why, void *v)
switch (why) {
case PWR_SUSPEND:
- case PWR_STANDBY:
lcd_set_brightness(0);
pxa2x0_lcd_power(why, v);
break;
diff --git a/sys/dev/pci/auixp.c b/sys/dev/pci/auixp.c
index 9b7782986d8..151c37ece71 100644
--- a/sys/dev/pci/auixp.c
+++ b/sys/dev/pci/auixp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auixp.c,v 1.25 2010/07/15 03:43:11 jakemsr Exp $ */
+/* $OpenBSD: auixp.c,v 1.26 2010/08/27 05:04:12 deraadt Exp $ */
/* $NetBSD: auixp.c,v 1.9 2005/06/27 21:13:09 thorpej Exp $ */
/*
@@ -1854,7 +1854,6 @@ auixp_powerhook(int why, void *hdl)
sc = (struct auixp_softc *)hdl;
switch (why) {
case PWR_SUSPEND:
- case PWR_STANDBY:
auixp_suspend(sc);
break;
case PWR_RESUME:
diff --git a/sys/dev/pcmcia/if_ray.c b/sys/dev/pcmcia/if_ray.c
index 73cbb309b5f..595d481f261 100644
--- a/sys/dev/pcmcia/if_ray.c
+++ b/sys/dev/pcmcia/if_ray.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ray.c,v 1.41 2010/07/02 03:13:42 tedu Exp $ */
+/* $OpenBSD: if_ray.c,v 1.42 2010/08/27 05:04:12 deraadt Exp $ */
/* $NetBSD: if_ray.c,v 1.21 2000/07/05 02:35:54 onoe Exp $ */
/*
@@ -916,7 +916,6 @@ ray_power(int why, void *arg)
sc->sc_flags |= RAY_FLAGS_RESUMEINIT;
}
break;
- case PWR_STANDBY:
default:
break;
}