Changeset 7a51d75 in mainline for uspace/drv/usbhub/main.c
- Timestamp:
- 2011-01-28T15:30:42Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ea991e84
- Parents:
- c5c003c (diff), 2b96463 (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/usbhub/main.c
rc5c003c r7a51d75 42 42 43 43 usb_general_list_t usb_hub_list; 44 f utex_t usb_hub_list_lock;44 fibril_mutex_t usb_hub_list_lock; 45 45 46 46 static driver_ops_t hub_driver_ops = { … … 65 65 { 66 66 usb_dprintf_enable(NAME, 0); 67 68 futex_initialize(&usb_hub_list_lock, 0); 67 68 fibril_mutex_initialize(&usb_hub_list_lock); 69 fibril_mutex_lock(&usb_hub_list_lock); 69 70 usb_lst_init(&usb_hub_list); 70 f utex_up(&usb_hub_list_lock);71 fibril_mutex_unlock(&usb_hub_list_lock); 71 72 72 73 fid_t fid = fibril_create(usb_hub_control_loop, NULL);
Note:
See TracChangeset
for help on using the changeset viewer.