Changeset 56e9fb0 in mainline for uspace/lib/usb
- Timestamp:
 - 2011-09-14T18:52:40Z (14 years ago)
 - Branches:
 - lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
 - Children:
 - 365e29e2
 - Parents:
 - 8e3d17f
 - Location:
 - uspace/lib/usb/include/usb
 - Files:
 - 
      
- 2 edited
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
uspace/lib/usb/include/usb/hc.h
r8e3d17f r56e9fb0 62 62 devman_handle_t *); 63 63 64 int usb_hc_get_address_by_handle(devman_handle_t);64 usb_address_t usb_hc_get_address_by_handle(devman_handle_t); 65 65 66 66 int usb_hc_find(devman_handle_t, devman_handle_t *);  - 
      
uspace/lib/usb/include/usb/usb.h
r8e3d17f r56e9fb0 106 106 * Negative values could be used to indicate error. 107 107 */ 108 typedef int usb_address_t;108 typedef int16_t usb_address_t; 109 109 110 110 /** Default USB address. */ … … 116 116 * Negative values could be used to indicate error. 117 117 */ 118 typedef int usb_endpoint_t;118 typedef int16_t usb_endpoint_t; 119 119 120 120 /** Maximum endpoint number in USB 1.1. … … 126 126 * Pair address + endpoint is identification of transaction recipient. 127 127 */ 128 typedef struct { 129 usb_address_t address; 130 usb_endpoint_t endpoint; 128 typedef union { 129 struct { 130 usb_address_t address; 131 usb_endpoint_t endpoint; 132 } __attribute__((packed)); 133 uint32_t packed; 131 134 } usb_target_t; 132 135  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  