mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-14 20:30:52 +08:00
USB: Update to FreeBSD trunk 2015-11-10
This commit is contained in:
@@ -107,7 +107,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_endpoint *ep, uint8_t *did_stall);
|
||||
void (*xfer_stall) (struct usb_xfer *xfer);
|
||||
void (*set_stall) (struct usb_device *udev, struct usb_endpoint *ep, uint8_t *did_stall);
|
||||
|
||||
/* USB Device mode mandatory. USB Host mode optional. */
|
||||
|
||||
@@ -142,6 +143,10 @@ struct usb_bus_methods {
|
||||
/* Optional for host mode */
|
||||
|
||||
usb_error_t (*set_address) (struct usb_device *, struct mtx *, uint16_t);
|
||||
|
||||
/* Optional for device and host mode */
|
||||
|
||||
usb_error_t (*set_endpoint_mode) (struct usb_device *, struct usb_endpoint *, uint8_t);
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user