summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2005-03-30 14:40:47 +0000
committerdlg <dlg@openbsd.org>2005-03-30 14:40:47 +0000
commita6c8d4f12bbac6af0535a363e0781f12f6b0a121 (patch)
tree738641a189869a5fe6e949e5984fc6bc202b45e0
parentextra gunk to make ohci suspend and resume work on the zaurus (diff)
downloadwireguard-openbsd-a6c8d4f12bbac6af0535a363e0781f12f6b0a121.tar.xz
wireguard-openbsd-a6c8d4f12bbac6af0535a363e0781f12f6b0a121.zip
use the local powerhook, not the generic ohci one. suspend/resume now works
-rw-r--r--sys/arch/arm/xscale/pxa2x0_ohci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/arm/xscale/pxa2x0_ohci.c b/sys/arch/arm/xscale/pxa2x0_ohci.c
index 03f6bce7e78..2dcbccf6d1d 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.15 2005/03/30 14:24:39 dlg Exp $ */
+/* $OpenBSD: pxa2x0_ohci.c,v 1.16 2005/03/30 14:40:47 dlg Exp $ */
/*
* Copyright (c) 2005 David Gwynne <dlg@openbsd.org>
@@ -106,7 +106,7 @@ pxaohci_attach(struct device *parent, struct device *self, void *aux)
return;
}
- sc->sc.sc_powerhook = powerhook_establish(ohci_power, &sc->sc);
+ sc->sc.sc_powerhook = powerhook_establish(pxaohci_power, &sc->sc);
sc->sc_ih = pxa2x0_intr_establish(PXA2X0_INT_USBH1, IPL_USB,
ohci_intr, sc, sc->sc.sc_bus.bdev.dv_xname);