Changeset e27595b in mainline for uspace/drv/vhc/hcd.c
- Timestamp:
- 2010-11-20T13:04:15Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0e126be7
- Parents:
- 7034be15
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/vhc/hcd.c
r7034be15 re27595b 52 52 #include "conn.h" 53 53 54 54 55 static int vhc_count = 0; 55 56 static int vhc_add_device(usb_hc_device_t *dev) 56 57 { 57 printf("%s: new device registered.\n", NAME);58 58 /* 59 59 * Currently, we know how to simulate only single HC. … … 66 66 67 67 dev->transfer_ops = &vhc_transfer_ops; 68 dev->generic->ops->default_handler = default_connection_handler; 68 69 69 70 /* … … 71 72 */ 72 73 usb_hcd_add_root_hub(dev); 74 75 printf("%s: virtual USB host controller ready.\n", NAME); 73 76 74 77 return EOK; … … 84 87 printf("%s: virtual USB host controller driver.\n", NAME); 85 88 89 debug_level = 5; 90 86 91 return usb_hcd_main(&vhc_driver); 87 92 }
Note:
See TracChangeset
for help on using the changeset viewer.