summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/controller/ehci_ixp4xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/controller/ehci_ixp4xx.c')
-rw-r--r--sys/dev/usb/controller/ehci_ixp4xx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/controller/ehci_ixp4xx.c b/sys/dev/usb/controller/ehci_ixp4xx.c
index 672a6ee..a29375f 100644
--- a/sys/dev/usb/controller/ehci_ixp4xx.c
+++ b/sys/dev/usb/controller/ehci_ixp4xx.c
@@ -131,7 +131,7 @@ ehci_ixp_attach(device_t self)
sc->sc_bus.devices_max = EHCI_MAX_DEVICES;
/* get all DMA memory */
- if (usb2_bus_mem_alloc_all(&sc->sc_bus,
+ if (usb_bus_mem_alloc_all(&sc->sc_bus,
USB_GET_DMA_TAG(self), &ehci_iterate_hw_softc)) {
return (ENOMEM);
}
@@ -273,7 +273,7 @@ ehci_ixp_detach(device_t self)
sc->sc_io_res);
sc->sc_io_res = NULL;
}
- usb2_bus_mem_free_all(&sc->sc_bus, &ehci_iterate_hw_softc);
+ usb_bus_mem_free_all(&sc->sc_bus, &ehci_iterate_hw_softc);
return (0);
}
OpenPOWER on IntegriCloud