diff options
| author | Andrew Thompson <thompsa@FreeBSD.org> | 2009-06-15 01:02:43 +0000 |
|---|---|---|
| committer | Andrew Thompson <thompsa@FreeBSD.org> | 2009-06-15 01:02:43 +0000 |
| commit | a593f6b8de8b956bd0dd22f74805ede942e3d6a9 (patch) | |
| tree | b384d18397090617ec2f5b76c9e0ba67f45456c3 /sys/dev/usb/controller/uhci_pci.c | |
| parent | 8437751d864a6b02bef3a914b6dac1bcfb968794 (diff) | |
Notes
Diffstat (limited to 'sys/dev/usb/controller/uhci_pci.c')
| -rw-r--r-- | sys/dev/usb/controller/uhci_pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/controller/uhci_pci.c b/sys/dev/usb/controller/uhci_pci.c index 061a178f70fe..ed7819e65b13 100644 --- a/sys/dev/usb/controller/uhci_pci.c +++ b/sys/dev/usb/controller/uhci_pci.c @@ -250,7 +250,7 @@ uhci_pci_attach(device_t self) sc->sc_bus.devices_max = UHCI_MAX_DEVICES; /* get all DMA memory */ - if (usb2_bus_mem_alloc_all(&sc->sc_bus, USB_GET_DMA_TAG(self), + if (usb_bus_mem_alloc_all(&sc->sc_bus, USB_GET_DMA_TAG(self), &uhci_iterate_hw_softc)) { return ENOMEM; } @@ -409,7 +409,7 @@ uhci_pci_detach(device_t self) sc->sc_io_res); sc->sc_io_res = NULL; } - usb2_bus_mem_free_all(&sc->sc_bus, &uhci_iterate_hw_softc); + usb_bus_mem_free_all(&sc->sc_bus, &uhci_iterate_hw_softc); return (0); } |
