Changeset 355f7c2 in mainline for uspace/srv/hw/bus/usb/hcd/virtual/hcd.c
- Timestamp:
- 2010-10-25T07:44:02Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ca07cd3
- Parents:
- 7a7bfeb3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/bus/usb/hcd/virtual/hcd.c
r7a7bfeb3 r355f7c2 57 57 58 58 ipc_answer_0(iid, EOK); 59 printf("%s: new client connected (phone %#x).\n", NAME, phone_hash);60 59 61 60 while (true) { … … 112 111 * No other methods could be served now. 113 112 */ 113 dprintf_inval_call(1, call, phone_hash); 114 114 ipc_answer_0(callid, ENOTSUP); 115 115 } … … 117 117 118 118 int main(int argc, char * argv[]) 119 { 120 printf("%s: Virtual USB host controller driver.\n", NAME); 119 { 120 printf("%s: virtual USB host controller driver.\n", NAME); 121 122 int i; 123 for (i = 1; i < argc; i++) { 124 if (str_cmp(argv[i], "-d") == 0) { 125 debug_level++; 126 } 127 } 121 128 122 129 int rc; … … 138 145 hub_init(); 139 146 140 printf("%s: accepting connections.\n", NAME); 147 printf("%s: accepting connections [devmap=%s, debug=%d].\n", NAME, 148 DEVMAP_PATH, debug_level); 141 149 hc_manager(); 142 150
Note:
See TracChangeset
for help on using the changeset viewer.