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


Ignore:
Timestamp:
2011-07-10T23:06:20Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a00768c
Parents:
4d62aa0
Message:

OHCI: Start hw during driver initialization. Do not expose start function.

File:
1 edited

Legend:

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

    r4d62aa0 r1ef93fa  
    5656};
    5757
     58static void hc_start(hc_t *instance);
    5859static int interrupt_emulator(hc_t *instance);
    5960static void hc_gain_control(hc_t *instance);
     
    157158
    158159        rh_init(&instance->rh, instance->registers);
     160        hc_start(instance);
    159161
    160162        return EOK;
     
    433435
    434436        if (status & I_UE) {
    435                 hc_start_hw(instance);
     437                hc_start(instance);
    436438        }
    437439
     
    524526 * @param[in] instance OHCI hc driver structure.
    525527 */
    526 void hc_start_hw(hc_t *instance)
     528void hc_start(hc_t *instance)
    527529{
    528530        /* OHCI guide page 42 */
Note: See TracChangeset for help on using the changeset viewer.