Changeset 91173333 in mainline for uspace/drv/bus/usb/usbhub/usbhub.h
- Timestamp:
- 2018-01-13T21:36:13Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- edc51615
- Parents:
- 8a0c52a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbhub/usbhub.h
r8a0c52a r91173333 39 39 40 40 #include <ddf/driver.h> 41 #include <fibril_synch.h> 41 42 42 43 #include <usb/classes/hub.h> … … 45 46 #include <usb/dev/driver.h> 46 47 #include <usb/dev/poll.h> 47 48 #include <fibril_synch.h>49 48 50 49 #define NAME "usbhub" … … 81 80 /** Each port is switched individually. */ 82 81 bool per_port_power; 83 /** True if the device should stop running as soon as possible. */84 volatile bool poll_stop;85 fibril_mutex_t poll_guard;86 fibril_condvar_t poll_cv;87 82 }; 88 83 … … 91 86 extern int usb_hub_device_add(usb_device_t *); 92 87 extern int usb_hub_device_remove(usb_device_t *); 93 extern int usb_hub_device_removed(usb_device_t *);94 88 extern int usb_hub_device_gone(usb_device_t *); 95 89
Note:
See TracChangeset
for help on using the changeset viewer.