summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpascoe <pascoe@openbsd.org>2006-08-14 00:28:07 +0000
committerpascoe <pascoe@openbsd.org>2006-08-14 00:28:07 +0000
commitb5e499fb22481b89e96525f165844b6bb5983a1f (patch)
tree1fd2da4a89d74d1ff628e7bd255255ba8e273e69
parentenable arc since it works here (diff)
downloadwireguard-openbsd-b5e499fb22481b89e96525f165844b6bb5983a1f.tar.xz
wireguard-openbsd-b5e499fb22481b89e96525f165844b6bb5983a1f.zip
Fix mismerge in PWR_RESUME path.
ok dlg@
-rw-r--r--sys/dev/usb/ehci.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/usb/ehci.c b/sys/dev/usb/ehci.c
index 4b0add95798..1b348656298 100644
--- a/sys/dev/usb/ehci.c
+++ b/sys/dev/usb/ehci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ehci.c,v 1.62 2006/08/06 12:12:44 pascoe Exp $ */
+/* $OpenBSD: ehci.c,v 1.63 2006/08/14 00:28:07 pascoe Exp $ */
/* $NetBSD: ehci.c,v 1.66 2004/06/30 03:11:56 mycroft Exp $ */
/*
@@ -1012,10 +1012,11 @@ ehci_power(int why, void *v)
hcr = 0;
for (i = 1; i <= sc->sc_noport; i++) {
cmd = EOREAD4(sc, EHCI_PORTSC(i));
- if ((cmd & (EHCI_PS_PO|EHCI_PS_SUSP)) == EHCI_PS_SUSP)
+ if ((cmd & (EHCI_PS_PO|EHCI_PS_SUSP)) == EHCI_PS_SUSP) {
EOWRITE4(sc, EHCI_PORTSC(i),
cmd | EHCI_PS_FPR);
- hcr = 1;
+ hcr = 1;
+ }
}
if (hcr) {