Changeset b828907 in mainline for uspace/drv/bus/usb/uhci/hc.c


Ignore:
Timestamp:
2012-07-20T20:29:54Z (12 years ago)
Author:
Frantisek Princ <frantisek.princ@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
34bc2fe
Parents:
4cdac68 (diff), 6de2d766 (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.
Message:

Merge with mainline

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/uhci/hc.c

    r4cdac68 rb828907  
    7272static int hc_debug_checker(void *arg);
    7373
    74 /*----------------------------------------------------------------------------*/
     74
    7575/** Get number of PIO ranges used in IRQ code.
    7676 * @return Number of ranges.
     
    8080        return sizeof(uhci_irq_pio_ranges) / sizeof(irq_pio_range_t);
    8181}
    82 /*----------------------------------------------------------------------------*/
     82
    8383/** Get number of commands used in IRQ code.
    8484 * @return Number of commands.
     
    8888        return sizeof(uhci_irq_commands) / sizeof(irq_cmd_t);
    8989}
    90 /*----------------------------------------------------------------------------*/
     90
    9191/** Generate IRQ code.
    9292 * @param[out] ranges PIO ranges buffer.
     
    118118        return EOK;
    119119}
    120 /*----------------------------------------------------------------------------*/
     120
    121121/** Take action based on the interrupt cause.
    122122 *
     
    175175        }
    176176}
    177 /*----------------------------------------------------------------------------*/
     177
    178178/** Initialize UHCI hc driver structure
    179179 *
     
    235235        return EOK;
    236236}
    237 /*----------------------------------------------------------------------------*/
     237
    238238/** Initialize UHCI hc hw resources.
    239239 *
     
    277277            UHCI_CMD_RUN_STOP | UHCI_CMD_MAX_PACKET | UHCI_CMD_CONFIGURE);
    278278}
    279 /*----------------------------------------------------------------------------*/
     279
    280280/** Initialize UHCI hc memory structures.
    281281 *
     
    319319        return EOK;
    320320}
    321 /*----------------------------------------------------------------------------*/
     321
    322322/** Initialize UHCI hc transfer lists.
    323323 *
     
    381381#undef CHECK_RET_CLEAR_RETURN
    382382}
    383 /*----------------------------------------------------------------------------*/
     383
    384384/** Schedule batch for execution.
    385385 *
     
    409409        return EOK;
    410410}
    411 /*----------------------------------------------------------------------------*/
     411
    412412/** Polling function, emulates interrupts.
    413413 *
     
    432432        return EOK;
    433433}
    434 /*----------------------------------------------------------------------------*/
     434
    435435/** Debug function, checks consistency of memory structures.
    436436 *
Note: See TracChangeset for help on using the changeset viewer.