Changeset 9a2923d in mainline for uspace/drv/usbmid/usbmid.h
- Timestamp:
- 2011-03-25T17:29:10Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d70765d, ea696998
- Parents:
- b8d453ec (diff), 889e8e3 (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/usbmid/usbmid.h
rb8d453ec r9a2923d 41 41 #include <usb/pipes.h> 42 42 #include <usb/debug.h> 43 #include <usb/devdrv.h> 43 44 44 45 #define NAME "usbmid" 45 46 /** USB MID device container. */47 typedef struct {48 /** Device container. */49 ddf_dev_t *dev;50 51 /** Representation of USB wire. */52 usb_device_connection_t wire;53 /** Default control pipe. */54 usb_pipe_t ctrl_pipe;55 } usbmid_device_t;56 57 46 58 47 /** Container for single interface in a MID device. */ … … 65 54 } usbmid_interface_t; 66 55 67 usbmid_device_t *usbmid_device_create(ddf_dev_t *);68 56 usbmid_interface_t *usbmid_interface_create(ddf_fun_t *, int); 69 bool usbmid_explore_device(usb mid_device_t *);70 int usbmid_spawn_interface_child(usb mid_device_t *,57 bool usbmid_explore_device(usb_device_t *); 58 int usbmid_spawn_interface_child(usb_device_t *, 71 59 const usb_standard_device_descriptor_t *, 72 60 const usb_standard_interface_descriptor_t *);
Note:
See TracChangeset
for help on using the changeset viewer.