Changes in uspace/drv/bus/usb/uhci/main.c [920d0fc:0c0f823b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhci/main.c
r920d0fc r0c0f823b 44 44 45 45 static int uhci_dev_add(ddf_dev_t *device); 46 46 /*----------------------------------------------------------------------------*/ 47 47 static driver_ops_t uhci_driver_ops = { 48 48 .dev_add = uhci_dev_add, 49 49 }; 50 50 /*----------------------------------------------------------------------------*/ 51 51 static driver_t uhci_driver = { 52 52 .name = NAME, 53 53 .driver_ops = &uhci_driver_ops 54 54 }; 55 55 /*----------------------------------------------------------------------------*/ 56 56 /** Initialize a new ddf driver instance for uhci hc and hub. 57 57 * … … 70 70 } else { 71 71 usb_log_info("Controlling new UHCI device '%s'.\n", 72 d df_dev_get_name(device));72 device->name); 73 73 } 74 74 75 75 return ret; 76 76 } 77 77 /*----------------------------------------------------------------------------*/ 78 78 /** Initialize global driver structures (NONE). 79 79 * … … 87 87 { 88 88 printf(NAME ": HelenOS UHCI driver.\n"); 89 log_init(NAME);89 usb_log_enable(USB_LOG_LEVEL_DEFAULT, NAME); 90 90 91 91 return ddf_driver_main(&uhci_driver);
Note:
See TracChangeset
for help on using the changeset viewer.