summaryrefslogtreecommitdiff
path: root/sys/arch/beagle/dev/omehci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/beagle/dev/omehci.c')
-rw-r--r--sys/arch/beagle/dev/omehci.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/beagle/dev/omehci.c b/sys/arch/beagle/dev/omehci.c
index ed602089a22..ccb99848d3a 100644
--- a/sys/arch/beagle/dev/omehci.c
+++ b/sys/arch/beagle/dev/omehci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: omehci.c,v 1.6 2011/10/21 22:55:01 drahn Exp $ */
+/* $OpenBSD: omehci.c,v 1.7 2011/10/24 22:49:07 drahn Exp $ */
/*
* Copyright (c) 2005 David Gwynne <dlg@openbsd.org>
@@ -111,7 +111,7 @@ omehci_attach(struct device *parent, struct device *self, void *aux)
sc->sc.sc_offs = EREAD1(&sc->sc, EHCI_CAPLENGTH);
EOWRITE2(&sc->sc, EHCI_USBINTR, 0);
- sc->sc_ih = intc_intr_establish(aa->aa_intr, IPL_USB,
+ sc->sc_ih = arm_intr_establish(aa->aa_intr, IPL_USB,
ehci_intr, &sc->sc, devname);
if (sc->sc_ih == NULL) {
printf(": unable to establish interrupt\n");
@@ -133,7 +133,7 @@ omehci_attach(struct device *parent, struct device *self, void *aux)
if (r != USBD_NORMAL_COMPLETION) {
printf("%s: init failed, error=%d\n", devname);
- intc_intr_disestablish(sc->sc_ih);
+ arm_intr_disestablish(sc->sc_ih);
sc->sc_ih = NULL;
bus_space_unmap(sc->sc.iot, sc->sc.ioh, sc->sc.sc_size);
@@ -162,7 +162,7 @@ omehci_detach(struct device *self, int flags)
return (rv);
if (sc->sc_ih != NULL) {
- intc_intr_disestablish(sc->sc_ih);
+ arm_intr_disestablish(sc->sc_ih);
sc->sc_ih = NULL;
}