Changes in uspace/drv/uhci/main.c [71ed4849:b00163f] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci/main.c
r71ed4849 rb00163f 1 1 /* 2 * Copyright (c) 2010 Vojtech Horky 2 * Copyright (c) 2010 Vojtech Horky, Jan Vesely 3 3 * All rights reserved. 4 4 * … … 28 28 #include <usb/hcdhubd.h> 29 29 #include <usb_iface.h> 30 #include <usb/debug.h>31 30 #include <errno.h> 32 #include <driver.h> 31 32 #include "debug.h" 33 #include "iface.h" 34 #include "name.h" 33 35 #include "uhci.h" 34 36 … … 53 55 static int uhci_add_device(device_t *device) 54 56 { 55 u sb_dprintf(NAME, 1, "uhci_add_device() called\n");57 uhci_print_info( "uhci_add_device() called\n" ); 56 58 device->ops = &uhci_ops; 57 59 58 /* 59 * We need to announce the presence of our root hub. 60 */ 61 usb_dprintf(NAME, 2, "adding root hub\n"); 62 usb_hcd_add_root_hub(device); 60 // TODO: get this value out of pci driver 61 uhci_init(device, (void*)0xc020); 63 62 64 63 return EOK; … … 80 79 */ 81 80 sleep(5); 82 usb_dprintf_enable(NAME, 5);81 usb_dprintf_enable(NAME, DEBUG_LEVEL_MAX); 83 82 84 83 return driver_main(&uhci_driver);
Note:
See TracChangeset
for help on using the changeset viewer.