Changeset 8013637 in mainline for uspace/lib/usbdev/include/usb
- Timestamp:
- 2012-07-20T13:51:28Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8fccd42
- Parents:
- c5bff3c (diff), 7030bc9 (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. - Location:
- uspace/lib/usbdev/include/usb/dev
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/include/usb/dev/driver.h
rc5bff3c r8013637 33 33 * USB device driver framework. 34 34 */ 35 35 36 #ifndef LIBUSBDEV_DRIVER_H_ 36 37 #define LIBUSBDEV_DRIVER_H_ -
uspace/lib/usbdev/include/usb/dev/hub.h
rc5bff3c r8013637 35 35 * For class specific requests, see usb/classes/hub.h. 36 36 */ 37 37 38 #ifndef LIBUSBDEV_HUB_H_ 38 39 #define LIBUSBDEV_HUB_H_ … … 43 44 #include <usb/hc.h> 44 45 45 int usb_hc_new_device_wrapper(ddf_dev_t *, usb_hc_connection_t *, usb_speed_t,46 extern int usb_hc_new_device_wrapper(ddf_dev_t *, usb_hc_connection_t *, usb_speed_t, 46 47 int (*)(void *), void *, usb_address_t *, ddf_dev_ops_t *, void *, 47 48 ddf_fun_t **); … … 60 61 } usb_hub_attached_device_t; 61 62 62 int usb_hub_register_device(usb_hc_connection_t *,63 extern int usb_hub_register_device(usb_hc_connection_t *, 63 64 const usb_hub_attached_device_t *); 64 65 … … 69 70 if (attached_device == NULL) 70 71 return EBADMEM; 72 71 73 return usb_hc_release_address(conn, attached_device->address); 72 74 } 73 75 74 76 #endif 77 75 78 /** 76 79 * @} -
uspace/lib/usbdev/include/usb/dev/recognise.h
rc5bff3c r8013637 33 33 * USB device recognition. 34 34 */ 35 35 36 #ifndef LIBUSBDEV_RECOGNISE_H_ 36 37 #define LIBUSBDEV_RECOGNISE_H_ … … 41 42 #include <ipc/devman.h> 42 43 43 int usb_device_create_match_ids_from_device_descriptor(44 extern int usb_device_create_match_ids_from_device_descriptor( 44 45 const usb_standard_device_descriptor_t *, match_id_list_t *); 45 46 46 int usb_device_create_match_ids_from_interface(47 extern int usb_device_create_match_ids_from_interface( 47 48 const usb_standard_device_descriptor_t *, 48 49 const usb_standard_interface_descriptor_t *, match_id_list_t *); 49 50 50 int usb_device_create_match_ids(usb_pipe_t *, match_id_list_t *);51 extern int usb_device_create_match_ids(usb_pipe_t *, match_id_list_t *); 51 52 52 int usb_device_register_child_in_devman(usb_pipe_t *ctrl_pipe,53 extern int usb_device_register_child_in_devman(usb_pipe_t *ctrl_pipe, 53 54 ddf_dev_t *, ddf_dev_ops_t *, void *, ddf_fun_t **); 54 55 55 56 #endif 57 56 58 /** 57 59 * @}
Note:
See TracChangeset
for help on using the changeset viewer.