Changeset 03362fbd in mainline for uspace/drv/bus/usb/uhci/main.c
- Timestamp:
- 2013-02-09T23:14:45Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 22dfd38
- Parents:
- b5d2e57 (diff), 005b765 (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
 
 - 
          
  uspace/drv/bus/usb/uhci/main.c (modified) (3 diffs)
 
Legend:
- Unmodified
- Added
- Removed
- 
      uspace/drv/bus/usb/uhci/main.crb5d2e57 r03362fbd 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 evice->name);72 ddf_dev_get_name(device)); 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 usb_log_enable(USB_LOG_LEVEL_DEFAULT,NAME);89 log_init(NAME); 90 90 91 91 return ddf_driver_main(&uhci_driver); 
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  
