Changeset bf5a3be in mainline for uspace/drv/uhci/main.c
- Timestamp:
- 2010-12-19T14:40:29Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2972e21
- Parents:
- f088c00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci/main.c
rf088c00 rbf5a3be 27 27 */ 28 28 #include <usb/hcdhubd.h> 29 #include <usb/debug.h>30 29 #include <errno.h> 31 30 31 #include "debug.h" 32 32 #include "iface.h" 33 33 #include "name.h" … … 41 41 static int uhci_add_device(device_t *device) 42 42 { 43 usb_dprintf(NAME, 1, "uhci_add_device() called\n"); 43 // usb_dprintf(NAME, DEBUG, "uhci_add_device() called\n"); 44 uhci_print_info( "uhci_add_device() called\n" ); 44 45 device->ops = &uhci_ops; 45 46 46 47 uhci_init( device, (void*)0xc020 ); 47 48 /*49 * We need to announce the presence of our root hub.50 */51 // usb_dprintf(NAME, 2, "adding root hub\n");52 // usb_hcd_add_root_hub(device);53 48 54 49 return EOK; … … 69 64 * Do some global initializations. 70 65 */ 71 sleep( 5 );72 usb_dprintf_enable(NAME, 5);66 sleep( 5 ); 67 usb_dprintf_enable(NAME, DEBUG_LEVEL_INFO); 73 68 74 69 return driver_main(&uhci_driver);
Note:
See TracChangeset
for help on using the changeset viewer.