diff options
Diffstat (limited to 'sys/dev/usb/controller/atmegadci_atmelarm.c')
-rw-r--r-- | sys/dev/usb/controller/atmegadci_atmelarm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/controller/atmegadci_atmelarm.c b/sys/dev/usb/controller/atmegadci_atmelarm.c index 6412851..3a85b50 100644 --- a/sys/dev/usb/controller/atmegadci_atmelarm.c +++ b/sys/dev/usb/controller/atmegadci_atmelarm.c @@ -84,7 +84,7 @@ atmegadci_attach(device_t dev) sc->sc_otg.sc_bus.devices_max = ATMEGA_MAX_DEVICES; /* get all DMA memory */ - if (usb2_bus_mem_alloc_all(&sc->sc_otg.sc_bus, + if (usb_bus_mem_alloc_all(&sc->sc_otg.sc_bus, USB_GET_DMA_TAG(dev), NULL)) { return (ENOMEM); } @@ -168,7 +168,7 @@ atmegadci_detach(device_t dev) sc->sc_otg.sc_io_res); sc->sc_otg.sc_io_res = NULL; } - usb2_bus_mem_free_all(&sc->sc_otg.sc_bus, NULL); + usb_bus_mem_free_all(&sc->sc_otg.sc_bus, NULL); return (0); } |