Changeset 14426a0 in mainline


Ignore:
Timestamp:
2011-07-11T17:12:59Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
735236a
Parents:
f20bc82
Message:

OHCI: Root hub: Rename function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ohci/root_hub.c

    rf20bc82 r14426a0  
    134134static void create_serialized_hub_descriptor(rh_t *instance);
    135135static void rh_init_descriptors(rh_t *instance);
    136 static uint16_t create_interrupt_mask_in_instance(rh_t *instance);
     136static uint16_t create_interrupt_mask(rh_t *instance);
    137137static int get_status_request(rh_t *instance, usb_transfer_batch_t *request);
    138138static int get_descriptor_request(
     
    204204        case USB_TRANSFER_INTERRUPT:
    205205                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);
    208207                if (mask == 0) {
    209208                        usb_log_debug("No changes..\n");
     
    238237
    239238        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);
    241240        memcpy(instance->unfinished_interrupt_transfer->data_buffer,
    242241            &mask, instance->interrupt_mask_size);
     
    386385 * @param instance root hub instance
    387386 */
    388 uint16_t create_interrupt_mask_in_instance(rh_t *instance)
     387uint16_t create_interrupt_mask(rh_t *instance)
    389388{
    390389        assert(instance);
Note: See TracChangeset for help on using the changeset viewer.