Changeset 81608b5 in mainline
- Timestamp:
- 2011-03-19T17:47:28Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a763eb4
- Parents:
- f51594fa
- Location:
- uspace/drv/ehci-hcd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/ehci-hcd/ehci.h
rf51594fa r81608b5 38 38 #include <usbhc_iface.h> 39 39 40 #define NAME "ehci-hcd" 41 40 42 extern usbhc_iface_t ehci_hc_iface; 41 43 -
uspace/drv/ehci-hcd/main.c
rf51594fa r81608b5 46 46 #include "ehci.h" 47 47 48 #define NAME "ehci-hcd"49 50 48 static int ehci_add_device(ddf_dev_t *device); 51 49 /*----------------------------------------------------------------------------*/ … … 77 75 } 78 76 79 usb_log_info("uhci_add_device() called\n");80 81 77 uintptr_t mem_reg_base = 0; 82 78 size_t mem_reg_size = 0; … … 106 102 str_error(ret)); 107 103 104 usb_log_info("Controlling new EHCI device `%s' (handle %llu).\n", 105 device->name, device->handle); 106 108 107 return EOK; 109 108 #undef CHECK_RET_RETURN … … 120 119 int main(int argc, char *argv[]) 121 120 { 122 usb_log_enable(USB_LOG_LEVEL_ ERROR, NAME);121 usb_log_enable(USB_LOG_LEVEL_DEBUG, NAME); 123 122 return ddf_driver_main(&ehci_driver); 124 123 }
Note:
See TracChangeset
for help on using the changeset viewer.