Changeset fccf289 in mainline for uspace/drv/bus/usb/ohci/hc.c


Ignore:
Timestamp:
2014-01-18T22:36:24Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c9e954c
Parents:
9f6cb910
Message:

ohci: Add ohci_ prefix to driver interface functions.

File:
1 edited

Legend:

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

    r9f6cb910 rfccf289  
    103103 * @return Error code.
    104104 */
    105 int hc_gen_irq_code(irq_code_t *code, const hw_res_list_parsed_t *hw_res)
     105int ohci_hc_gen_irq_code(irq_code_t *code, const hw_res_list_parsed_t *hw_res)
    106106{
    107107        assert(code);
     
    267267}
    268268
    269 int hc_status(hcd_t *hcd, uint32_t *status)
     269int ohci_hc_status(hcd_t *hcd, uint32_t *status)
    270270{
    271271        assert(hcd);
     
    283283/** Add USB transfer to the schedule.
    284284 *
    285  * @param[in] instance OHCI hc driver structure.
     285 * @param[in] hcd HCD driver structure.
    286286 * @param[in] batch Batch representing the transfer.
    287287 * @return Error code.
    288288 */
    289 int hc_schedule(hcd_t *hcd, usb_transfer_batch_t *batch)
     289int ohci_hc_schedule(hcd_t *hcd, usb_transfer_batch_t *batch)
    290290{
    291291        assert(hcd);
     
    324324/** Interrupt handling routine
    325325 *
    326  * @param[in] instance OHCI hc driver structure.
     326 * @param[in] hcd HCD driver structure.
    327327 * @param[in] status Value of the status register at the time of interrupt.
    328328 */
    329 void hc_interrupt(hcd_t *hcd, uint32_t status)
     329void ohci_hc_interrupt(hcd_t *hcd, uint32_t status)
    330330{
    331331        assert(hcd);
Note: See TracChangeset for help on using the changeset viewer.