Changeset a9f91cd in mainline for uspace/drv/uhci-hcd/uhci_hc.h


Ignore:
Timestamp:
2011-03-13T18:09:16Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
335382d, f123909
Parents:
9351353
Message:

Refactoring final touches

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci-hcd/uhci_hc.h

    r9351353 ra9f91cd  
    11/*
    2  * Copyright (c) 2010 Jan Vesely
     2 * Copyright (c) 2011 Jan Vesely
    33 * All rights reserved.
    44 *
     
    106106int uhci_hc_init(uhci_hc_t *instance, ddf_fun_t *fun, void *regs, size_t reg_size);
    107107
    108 static inline void uhci_fini(uhci_hc_t *instance) {};
     108static inline void uhci_hc_fini(uhci_hc_t *instance) { /* TODO: implement*/ };
    109109
    110 int uhci_schedule(uhci_hc_t *instance, batch_t *batch);
     110int uhci_hc_schedule(uhci_hc_t *instance, batch_t *batch);
    111111
    112 void uhci_interrupt(uhci_hc_t *instance, uint16_t status);
     112void uhci_hc_interrupt(uhci_hc_t *instance, uint16_t status);
    113113
    114 static inline uhci_hc_t * dev_to_uhci(ddf_dev_t *dev)
    115         { return (uhci_hc_t*)dev->driver_data; }
    116 
    117 static inline uhci_hc_t * fun_to_uhci(ddf_fun_t *fun)
     114static inline uhci_hc_t * fun_to_uhci_hc(ddf_fun_t *fun)
    118115        { return (uhci_hc_t*)fun->driver_data; }
    119 
    120 
    121116#endif
    122117/**
Note: See TracChangeset for help on using the changeset viewer.