Changes in uspace/lib/usbdev/include/usb/dev/driver.h [96fde65:70452dd4] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/include/usb/dev/driver.h
r96fde65 r70452dd4 96 96 usb_device_descriptors_t descriptors; 97 97 98 /** Generic DDF device backing this one. RO: DO NOT TOUCH!*/98 /** Generic DDF device backing this one. */ 99 99 ddf_dev_t *ddf_dev; 100 100 /** Custom driver data. … … 112 112 /** USB driver ops. */ 113 113 typedef struct { 114 /** Callback when a new device was added to the system. */ 115 int (*device_add)(usb_device_t *); 116 /** Callback when a device is about to be removed from the system. */ 117 int (*device_rem)(usb_device_t *); 118 /** Callback when a device was removed from the system. */ 119 int (*device_gone)(usb_device_t *); 114 /** Callback when new device is about to be controlled by the driver. */ 115 int (*add_device)(usb_device_t *); 120 116 } usb_driver_ops_t; 121 117 … … 167 163 168 164 int usb_device_retrieve_descriptors(usb_pipe_t *, usb_device_descriptors_t *); 169 int usb_device_create_pipes( constddf_dev_t *, usb_device_connection_t *,165 int usb_device_create_pipes(ddf_dev_t *, usb_device_connection_t *, 170 166 usb_endpoint_description_t **, uint8_t *, size_t, int, int, 171 167 usb_endpoint_mapping_t **, size_t *); 172 int usb_device_destroy_pipes( constddf_dev_t *, usb_endpoint_mapping_t *, size_t);168 int usb_device_destroy_pipes(ddf_dev_t *, usb_endpoint_mapping_t *, size_t); 173 169 int usb_device_create(ddf_dev_t *, usb_endpoint_description_t **, usb_device_t **, const char **); 174 170 void usb_device_destroy(usb_device_t *);
Note:
See TracChangeset
for help on using the changeset viewer.