Changeset eb1a2f4 in mainline for uspace/drv/uhci-hcd/uhci.h
- Timestamp:
- 2011-02-22T23:30:56Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3b5d1535, a9c674e0
- Parents:
- dbe25f1 (diff), 664af708 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-hcd/uhci.h
rdbe25f1 reb1a2f4 39 39 #include <fibril_synch.h> 40 40 #include <adt/list.h> 41 #include <ddi.h> 41 42 42 43 #include <usb/addrkeep.h> … … 97 98 fid_t cleaner; 98 99 fid_t debug_checker; 100 101 ddf_fun_t *ddf_instance; 99 102 } uhci_t; 100 103 101 104 /* init uhci specifics in device.driver_data */ 102 int uhci_init(uhci_t *instance, void *regs, size_t reg_size);105 int uhci_init(uhci_t *instance, ddf_dev_t *dev, void *regs, size_t reg_size); 103 106 104 107 static inline void uhci_fini(uhci_t *instance) {}; … … 108 111 void uhci_interrupt(uhci_t *instance, uint16_t status); 109 112 110 static inline uhci_t * dev_to_uhci(d evice_t *dev)113 static inline uhci_t * dev_to_uhci(ddf_dev_t *dev) 111 114 { return (uhci_t*)dev->driver_data; } 115 116 static inline uhci_t * fun_to_uhci(ddf_fun_t *fun) 117 { return (uhci_t*)fun->driver_data; } 112 118 113 119
Note:
See TracChangeset
for help on using the changeset viewer.