Changes in uspace/drv/usbhub/main.c [281ebae:f40a1e2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhub/main.c
r281ebae rf40a1e2 25 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 */28 29 /** @addtogroup drvusbhub30 * @{31 27 */ 32 28 … … 64 60 int main(int argc, char *argv[]) 65 61 { 66 usb_dprintf_enable(NAME, 0); 67 62 usb_dprintf_enable(NAME,1); 68 63 futex_initialize(&usb_hub_list_lock, 0); 69 64 usb_lst_init(&usb_hub_list); 70 65 futex_up(&usb_hub_list_lock); 71 72 66 fid_t fid = fibril_create(usb_hub_control_loop, NULL); 73 67 if (fid == 0) { 74 fprintf(stderr, NAME ": failed to start monitoring fibril," \75 " driver aborting.\n");68 dprintf(1, "failed to start fibril for HUB devices"); 69 //printf("%s: failed to start fibril for HUB devices\n", NAME); 76 70 return ENOMEM; 77 71 } … … 80 74 return driver_main(&hub_driver); 81 75 } 82 83 /**84 * @}85 */86
Note:
See TracChangeset
for help on using the changeset viewer.