Changeset f1d16663 in mainline for uspace/drv/ohci/hc.c


Ignore:
Timestamp:
2011-05-07T08:45:37Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bba0dc20
Parents:
9350e837
Message:

Postpone hw until all structures are initialized and irq handler registered

remove dead code
remove initial 5s wait

File:
1 edited

Legend:

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

    r9350e837 rf1d16663  
    4949static int interrupt_emulator(hc_t *instance);
    5050static void hc_gain_control(hc_t *instance);
    51 static void hc_init_hw(hc_t *instance);
    5251static int hc_init_transfer_lists(hc_t *instance);
    5352static int hc_init_memory(hc_t *instance);
     
    121120        CHECK_RET_RETURN(ret, "Failed to create OHCI memory structures: %s.\n",
    122121            str_error(ret));
    123         hc_init_hw(instance);
     122//      hc_init_hw(instance);
    124123        fibril_mutex_initialize(&instance->guard);
    125124
     
    375374}
    376375/*----------------------------------------------------------------------------*/
    377 void hc_init_hw(hc_t *instance)
     376void hc_start_hw(hc_t *instance)
    378377{
    379378        /* OHCI guide page 42 */
Note: See TracChangeset for help on using the changeset viewer.