Changes in uspace/drv/ohci/pci.c [dc5f2fb:3da17644] in mainline


Ignore:
File:
1 edited

Legend:

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

    rdc5f2fb r3da17644  
    5858    uintptr_t *mem_reg_address, size_t *mem_reg_size, int *irq_no)
    5959{
    60         assert(dev);
    61         assert(mem_reg_address);
    62         assert(mem_reg_size);
    63         assert(irq_no);
     60        assert(dev != NULL);
    6461
    6562        int parent_phone = devman_parent_device_connect(dev->handle,
     
    139136        return enabled ? EOK : EIO;
    140137}
     138/*----------------------------------------------------------------------------*/
     139/** Implements BIOS handoff routine as decribed in OHCI spec
     140 *
     141 * @param[in] device Device asking for interrupts
     142 * @return Error code.
     143 */
     144int pci_disable_legacy(ddf_dev_t *device)
     145{
     146        /* TODO: implement */
     147        return EOK;
     148}
     149/*----------------------------------------------------------------------------*/
    141150/**
    142151 * @}
Note: See TracChangeset for help on using the changeset viewer.