Changeset 14426a0 in mainline
- Timestamp:
- 2011-07-11T17:12:59Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 735236a
- Parents:
- f20bc82
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/root_hub.c
rf20bc82 r14426a0 134 134 static void create_serialized_hub_descriptor(rh_t *instance); 135 135 static void rh_init_descriptors(rh_t *instance); 136 static uint16_t create_interrupt_mask _in_instance(rh_t *instance);136 static uint16_t create_interrupt_mask(rh_t *instance); 137 137 static int get_status_request(rh_t *instance, usb_transfer_batch_t *request); 138 138 static int get_descriptor_request( … … 204 204 case USB_TRANSFER_INTERRUPT: 205 205 usb_log_debug("Root hub got INTERRUPT packet\n"); 206 const uint16_t mask = 207 create_interrupt_mask_in_instance(instance); 206 const uint16_t mask = create_interrupt_mask(instance); 208 207 if (mask == 0) { 209 208 usb_log_debug("No changes..\n"); … … 238 237 239 238 usb_log_debug("Finalizing interrupt transfer\n"); 240 const uint16_t mask = create_interrupt_mask _in_instance(instance);239 const uint16_t mask = create_interrupt_mask(instance); 241 240 memcpy(instance->unfinished_interrupt_transfer->data_buffer, 242 241 &mask, instance->interrupt_mask_size); … … 386 385 * @param instance root hub instance 387 386 */ 388 uint16_t create_interrupt_mask _in_instance(rh_t *instance)387 uint16_t create_interrupt_mask(rh_t *instance) 389 388 { 390 389 assert(instance);
Note:
See TracChangeset
for help on using the changeset viewer.