diff options
author | Andrew Thompson <thompsa@FreeBSD.org> | 2010-09-02 04:01:18 +0000 |
---|---|---|
committer | Andrew Thompson <thompsa@FreeBSD.org> | 2010-09-02 04:01:18 +0000 |
commit | 527aa7b226444c9b34752c1becf739381161e408 (patch) | |
tree | 59472d52df3c0546586191427e9e9c4657ac9888 /sys/dev/usb/controller/ehci.c | |
parent | dd5c0f870a813d3122fdc4632553d603fed7ab80 (diff) | |
download | src-527aa7b226444c9b34752c1becf739381161e408.tar.gz src-527aa7b226444c9b34752c1becf739381161e408.zip |
Change argument for usbd_get_dma_delay() from USB bus to USB device, some
embedded hardware needs to know exactly which device is in question before it
exactly can decide the required delay.
Submitted by: Hans Petter Selasky
Notes
Notes:
svn path=/head/; revision=212134
Diffstat (limited to 'sys/dev/usb/controller/ehci.c')
-rw-r--r-- | sys/dev/usb/controller/ehci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/controller/ehci.c b/sys/dev/usb/controller/ehci.c index 40c95241672a..007cbcd51299 100644 --- a/sys/dev/usb/controller/ehci.c +++ b/sys/dev/usb/controller/ehci.c @@ -3804,7 +3804,7 @@ done: } static void -ehci_get_dma_delay(struct usb_bus *bus, uint32_t *pus) +ehci_get_dma_delay(struct usb_device *udev, uint32_t *pus) { /* * Wait until the hardware has finished any possible use of |