Changeset 2ac7af3 in mainline for uspace/drv/bus/usb/usbhub/usbhub.h
- Timestamp:
- 2011-10-14T19:40:28Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- df3caec5
- Parents:
- 6d4d883 (diff), 3a5506a (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/bus/usb/usbhub/usbhub.h
r6d4d883 r2ac7af3 52 52 53 53 /** Information about attached hub. */ 54 struct usb_hub_ info_t{54 struct usb_hub_dev { 55 55 /** Number of ports. */ 56 56 size_t port_count; 57 58 /** Attached device handles, for each port one */ 57 /** Port structures, one for each port */ 59 58 usb_hub_port_t *ports; 60 61 59 /** Connection to hcd */ 62 60 usb_hc_connection_t connection; 63 64 61 /** Generic usb device data*/ 65 62 usb_device_t *usb_device; … … 76 73 /** Condition variable for pending_ops_count. */ 77 74 fibril_condvar_t pending_ops_cv; 75 /** Pointer to devman usbhub function. */ 76 ddf_fun_t *hub_fun; 77 /** Status indicator */ 78 bool running; 78 79 }; 79 80 80 int usb_hub_add_device(usb_device_t *usb_dev); 81 int usb_hub_device_add(usb_device_t *usb_dev); 82 int usb_hub_device_gone(usb_device_t *usb_dev); 81 83 82 84 bool hub_port_changes_callback(usb_device_t *dev,
Note:
See TracChangeset
for help on using the changeset viewer.