Changes in uspace/drv/bus/usb/usbhub/usbhub.h [a1cb170:54d1ad9] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbhub/usbhub.h
ra1cb170 r54d1ad9 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; 79 /** Hub supports port power switching. */ 80 bool power_switched; 81 /** Each port is switched individually. */ 82 bool per_port_power; 78 83 }; 79 84 80 int usb_hub_add_device(usb_device_t *usb_dev); 85 int usb_hub_device_add(usb_device_t *usb_dev); 86 int usb_hub_device_remove(usb_device_t *usb_dev); 87 int usb_hub_device_gone(usb_device_t *usb_dev); 81 88 82 89 bool hub_port_changes_callback(usb_device_t *dev,
Note:
See TracChangeset
for help on using the changeset viewer.