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


Ignore:
Timestamp:
2011-02-01T23:25:48Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1f5c1e61
Parents:
c56dbe0
Message:

Refactoring uhci_ functions are called on uhci_t not device_t

File:
1 edited

Legend:

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

    rc56dbe0 r5944244  
    8585
    8686/* init uhci specifics in device.driver_data */
    87 int uhci_init(device_t *device, void *regs, size_t reg_size);
     87int uhci_init(uhci_t *instance, void *regs, size_t reg_size);
    8888
    89 int uhci_destroy(device_t *device);
     89int uhci_fini(uhci_t *device);
    9090
    9191int uhci_transfer(
     92  uhci_t *instance,
    9293  device_t *dev,
    9394  usb_target_t target,
     
    100101  void *arg );
    101102
     103static inline uhci_t * dev_to_uhci(device_t *dev)
     104        { return (uhci_t*)dev->driver_data; }
     105
    102106#endif
    103107/**
Note: See TracChangeset for help on using the changeset viewer.