diff options
author | Andrew Thompson <thompsa@FreeBSD.org> | 2009-06-07 19:41:11 +0000 |
---|---|---|
committer | Andrew Thompson <thompsa@FreeBSD.org> | 2009-06-07 19:41:11 +0000 |
commit | ae60fdfba263901c34490262054e1dd39878b8f8 (patch) | |
tree | c74029825164c1a63bb75e5f673438c24b743f22 /sys/dev/usb/usb_controller.h | |
parent | 0a2e596a936e3841a8fd0f59940ee1f74777b404 (diff) | |
download | src-ae60fdfba263901c34490262054e1dd39878b8f8.tar.gz src-ae60fdfba263901c34490262054e1dd39878b8f8.zip |
Rename usb pipes to endpoints as it better represents what they are, and struct
usb_pipe may be used for a different purpose later on.
Notes
Notes:
svn path=/head/; revision=193644
Diffstat (limited to 'sys/dev/usb/usb_controller.h')
-rw-r--r-- | sys/dev/usb/usb_controller.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/dev/usb/usb_controller.h b/sys/dev/usb/usb_controller.h index d9e6ef15e71c..dbf86a6ab9d5 100644 --- a/sys/dev/usb/usb_controller.h +++ b/sys/dev/usb/usb_controller.h @@ -35,7 +35,7 @@ struct usb_bus; struct usb_page; -struct usb_pipe; +struct usb_endpoint; struct usb_page_cache; struct usb_setup_params; struct usb_hw_ep_profile; @@ -58,7 +58,8 @@ struct usb_bus_methods { usb_handle_req_t *roothub_exec; - void (*pipe_init) (struct usb_device *, struct usb_endpoint_descriptor *, struct usb_pipe *); + void (*endpoint_init) (struct usb_device *, + struct usb_endpoint_descriptor *, struct usb_endpoint *); void (*xfer_setup) (struct usb_setup_params *); void (*xfer_unsetup) (struct usb_xfer *); void (*get_dma_delay) (struct usb_bus *, uint32_t *); @@ -95,8 +96,8 @@ struct usb_bus_methods { /* USB Device mode only - Mandatory */ void (*get_hw_ep_profile) (struct usb_device *udev, const struct usb_hw_ep_profile **ppf, uint8_t ep_addr); - void (*set_stall) (struct usb_device *udev, struct usb_xfer *xfer, struct usb_pipe *pipe); - void (*clear_stall) (struct usb_device *udev, struct usb_pipe *pipe); + void (*set_stall) (struct usb_device *udev, struct usb_xfer *xfer, struct usb_endpoint *ep); + void (*clear_stall) (struct usb_device *udev, struct usb_endpoint *ep); }; |