diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-06-27 21:23:30 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-06-27 21:23:30 +0000 |
commit | ff880be8b902c41ec399c05ac1f85bf74c0fa6ad (patch) | |
tree | ac244c5834e146ddb6b188a14c852ced0d303298 /sys/dev/usb/usb_device.c | |
parent | 6a523f03ea03e31b66264afaf4a531790162a406 (diff) | |
download | FreeBSD-src-ff880be8b902c41ec399c05ac1f85bf74c0fa6ad.zip FreeBSD-src-ff880be8b902c41ec399c05ac1f85bf74c0fa6ad.tar.gz |
Sync to p4
- Add support for devices that handle set and clear stall in hardware.
- Add missing get timestamp function
- Add more xfer flags
Submitted by: Hans Petter Selasky
Approved by: re (kib)
Diffstat (limited to 'sys/dev/usb/usb_device.c')
-rw-r--r-- | sys/dev/usb/usb_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/usb_device.c b/sys/dev/usb/usb_device.c index 8439c69..6617297 100644 --- a/sys/dev/usb/usb_device.c +++ b/sys/dev/usb/usb_device.c @@ -936,7 +936,7 @@ usbd_set_endpoint_stall(struct usb_device *udev, struct usb_endpoint *ep, * complete the USB transfer like in case of a timeout * setting the error code "USB_ERR_STALLED". */ - (udev->bus->methods->set_stall) (udev, xfer, ep); + (udev->bus->methods->set_stall) (udev, xfer, ep, &do_stall); } if (!do_stall) { ep->toggle_next = 0; /* reset data toggle */ |