Changeset 361e61b in mainline for uspace/lib/usb/include/usb/host/device_keeper.h
- Timestamp:
- 2011-03-21T14:23:15Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 55e388a1
- Parents:
- c32688d (diff), 48fe0c9 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/include/usb/host/device_keeper.h
rc32688d r361e61b 27 27 */ 28 28 29 /** @addtogroup drvusbuhci29 /** @addtogroup libusb 30 30 * @{ 31 31 */ … … 33 33 * @brief UHCI driver 34 34 */ 35 #ifndef UTILS_DEVICE_KEEPER_H36 #define UTILS_DEVICE_KEEPER_H35 #ifndef LIBUSB_HOST_DEVICE_KEEPER_H 36 #define LIBUSB_HOST_DEVICE_KEEPER_H 37 37 #include <devman.h> 38 38 #include <fibril_synch.h> … … 44 44 usb_speed_t speed; 45 45 bool occupied; 46 uint16_t toggle_status ;46 uint16_t toggle_status[2]; 47 47 devman_handle_t handle; 48 48 }; … … 63 63 64 64 void device_keeper_reset_if_need( 65 device_keeper_t *instance, usb_target_t target, const unsigned char *setup_data); 65 device_keeper_t *instance, usb_target_t target, 66 const unsigned char *setup_data); 66 67 67 int device_keeper_get_toggle(device_keeper_t *instance, usb_target_t target); 68 int device_keeper_get_toggle( 69 device_keeper_t *instance, usb_target_t target, usb_direction_t direction); 68 70 69 int device_keeper_set_toggle( 70 device_keeper_t *instance, usb_target_t target, bool toggle);71 int device_keeper_set_toggle(device_keeper_t *instance, 72 usb_target_t target, usb_direction_t direction, bool toggle); 71 73 72 74 usb_address_t device_keeper_request(
Note:
See TracChangeset
for help on using the changeset viewer.