summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorBrandon Mercer <bmercer@cvs.openbsd.org>2012-11-03 19:16:58 +0000
committerBrandon Mercer <bmercer@cvs.openbsd.org>2012-11-03 19:16:58 +0000
commit8de4d6d2571a50f879d61bc0b8f6e6f3a4b6f474 (patch)
tree7bcd82f766e5f9629c71252d9227a897a28c2760 /sys/arch
parent8be1b4dc0f7cc07181a7f15d8063b4e4da0e2140 (diff)
Let this build again. diff from deraadt "Sure you can commit that" deraadt@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/beagle/dev/omehci.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/beagle/dev/omehci.c b/sys/arch/beagle/dev/omehci.c
index 107d82a8570..25c118d171f 100644
--- a/sys/arch/beagle/dev/omehci.c
+++ b/sys/arch/beagle/dev/omehci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: omehci.c,v 1.10 2011/11/10 19:37:01 uwe Exp $ */
+/* $OpenBSD: omehci.c,v 1.11 2012/11/03 19:16:57 bmercer Exp $ */
/*
* Copyright (c) 2005 David Gwynne <dlg@openbsd.org>
@@ -123,8 +123,6 @@ omehci_attach(struct device *parent, struct device *self, void *aux)
return;
}
- sc->sc.sc_shutdownhook = shutdownhook_establish(ehci_shutdown, &sc->sc);
-
sc->sc.sc_child = config_found((void *)sc, &sc->sc.sc_bus,
usbctlprint);
}
@@ -180,6 +178,9 @@ omehci_activate(struct device *self, int act)
#endif
sc->sc.sc_bus.use_polling--;
break;
+ case DVACT_POWERDOWN:
+ ehci_shutdown(sc);
+ break;
}
return 0;
}