1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-29 16:44:03 +00:00

Add usbd_clear_endpoint_toggle(pipe) function.

This is needed to implement a asynchronous callback for clear endpoint
stall, needed for the umass driver.
This commit is contained in:
Nick Hibma 2000-01-25 18:40:39 +00:00
parent ad705781e1
commit f68d3a9c5c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=56603
2 changed files with 9 additions and 0 deletions

View File

@ -609,6 +609,14 @@ usbd_clear_endpoint_stall_async(pipe)
return (err);
}
void
usbd_clear_endpoint_toggle(pipe)
usbd_pipe_handle pipe;
{
pipe->methods->cleartoggle(pipe);
}
usbd_status
usbd_endpoint_count(iface, count)
usbd_interface_handle iface;

View File

@ -124,6 +124,7 @@ usb_endpoint_descriptor_t *usbd_interface2endpoint_descriptor
usbd_status usbd_abort_pipe __P((usbd_pipe_handle pipe));
usbd_status usbd_clear_endpoint_stall __P((usbd_pipe_handle pipe));
usbd_status usbd_clear_endpoint_stall_async __P((usbd_pipe_handle pipe));
void usbd_clear_endpoint_toggle __P((usbd_pipe_handle pipe));
usbd_status usbd_endpoint_count
__P((usbd_interface_handle dev, u_int8_t *count));
usbd_status usbd_interface_count