Changeset d70765d in mainline for uspace/drv/usbmid/usbmid.h
- Timestamp:
- 2011-03-26T00:15:35Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cd1e6b62, ea696998
- Parents:
- b3f655f (diff), 9a2923d (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
rb3f655f rd70765d 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.