Changes in uspace/drv/uhci-hcd/hc.h [23f40280:563ead9] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-hcd/hc.h
r23f40280 r563ead9 37 37 38 38 #include <fibril.h> 39 #include <fibril_synch.h>40 #include <adt/list.h>41 39 #include <ddi.h> 42 40 43 #include <usbhc_iface.h>44 41 #include <usb/host/device_keeper.h> 45 42 #include <usb/host/usb_endpoint_manager.h> 43 #include <usb/host/batch.h> 46 44 47 #include "batch.h"48 45 #include "transfer_list.h" 49 46 … … 95 92 #define UHCI_NEEDED_IRQ_COMMANDS 5 96 93 97 /* Main HCdriver structure */94 /** Main UHCI driver structure */ 98 95 typedef struct hc { 99 96 /** USB bus driver, devices and addresses */ … … 154 151 */ 155 152 static inline hc_t * fun_to_hc(ddf_fun_t *fun) 156 { return (hc_t*)fun->driver_data; } 153 { 154 assert(fun); 155 return fun->driver_data; 156 } 157 157 #endif 158 158 /**
Note:
See TracChangeset
for help on using the changeset viewer.