Changeset 27270db in mainline
- Timestamp:
- 2011-03-01T15:26:57Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1c6c4092
- Parents:
- 0b5644c
- Location:
- uspace/drv/usbhid
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhid/hiddev.c
r0b5644c r27270db 214 214 usb_log_warning("Not accepting device.\n"); 215 215 free(descriptors); 216 return EREFUSED; 216 return EREFUSED; // probably not very good return value 217 217 } 218 218 -
uspace/drv/usbhid/kbddev.c
r0b5644c r27270db 121 121 sysarg_t method = IPC_GET_IMETHOD(*icall); 122 122 123 usb_log_debug("default_connection_handler()\n");124 usb_log_debug("kbd_dev: %p\n", fun->driver_data);125 126 123 usbhid_kbd_t *kbd_dev = (usbhid_kbd_t *)fun->driver_data; 127 assert(kbd_dev != NULL); 124 assert(kbd_dev != NULL); 128 125 129 126 if (method == IPC_M_CONNECT_TO_ME) { … … 139 136 return; 140 137 } 141 138 142 139 async_answer_0(icallid, EINVAL); 143 140 } … … 474 471 } 475 472 473 kbd_dev->console_phone = -1; 476 474 kbd_dev->initialized = 0; 477 475
Note:
See TracChangeset
for help on using the changeset viewer.