Changeset 3515533 in mainline for uspace/drv/uhci/main.c
- Timestamp:
- 2010-12-17T22:07:41Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 18e35a7
- Parents:
- 6b5f3b0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci/main.c
r6b5f3b0 r3515533 1 1 /* 2 * Copyright (c) 2010 Vojtech Horky 2 * Copyright (c) 2010 Vojtech Horky, Jan Vesely 3 3 * All rights reserved. 4 4 * … … 29 29 #include <usb/debug.h> 30 30 #include <errno.h> 31 #include <driver.h> 31 32 #include "iface.h" 33 #include "name.h" 32 34 #include "uhci.h" 35 33 36 34 37 static device_ops_t uhci_ops = { … … 41 44 device->ops = &uhci_ops; 42 45 46 uhci_init( device, (void*)0xc020 ); 47 43 48 /* 44 49 * We need to announce the presence of our root hub. 45 50 */ 46 usb_dprintf(NAME, 2, "adding root hub\n");47 usb_hcd_add_root_hub(device);51 // usb_dprintf(NAME, 2, "adding root hub\n"); 52 // usb_hcd_add_root_hub(device); 48 53 49 54 return EOK; … … 64 69 * Do some global initializations. 65 70 */ 66 sleep( 5);71 sleep( 5); 67 72 usb_dprintf_enable(NAME, 5); 68 73
Note:
See TracChangeset
for help on using the changeset viewer.