Changeset 5097bed4 in mainline for uspace/drv/usbhub/main.c
- Timestamp:
- 2011-01-07T15:00:31Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade
- Children:
- 44bb20b
- Parents:
- 43c3937
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhub/main.c
r43c3937 r5097bed4 38 38 39 39 usb_general_list_t usb_hub_list; 40 futex_t usb_hub_list_lock; 40 41 41 42 static driver_ops_t hub_driver_ops = { … … 60 61 { 61 62 usb_dprintf_enable(NAME,1); 63 futex_initialize(&usb_hub_list_lock, 0); 62 64 usb_lst_init(&usb_hub_list); 65 futex_up(&usb_hub_list_lock); 63 66 fid_t fid = fibril_create(usb_hub_control_loop, NULL); 64 67 if (fid == 0) {
Note:
See TracChangeset
for help on using the changeset viewer.