Changeset f2d88f3 in mainline for uspace/drv/hid/atkbd/atkbd.c
- Timestamp:
- 2019-01-04T21:22:17Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- af7b85b
- Parents:
- 06412ba
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/hid/atkbd/atkbd.c
r06412ba rf2d88f3 211 211 while (true) { 212 212 uint8_t code = 0; 213 rc = chardev_read(kbd->chardev, &code, 1, &nwr );213 rc = chardev_read(kbd->chardev, &code, 1, &nwr, chardev_f_none); 214 214 if (rc != EOK) 215 215 return EIO; … … 222 222 map_size = sizeof(scanmap_e0) / sizeof(unsigned int); 223 223 224 rc = chardev_read(kbd->chardev, &code, 1, &nwr); 224 rc = chardev_read(kbd->chardev, &code, 1, &nwr, 225 chardev_f_none); 225 226 if (rc != EOK) 226 227 return EIO; 227 228 } else if (code == KBD_SCANCODE_SET_EXTENDED_SPECIAL) { 228 rc = chardev_read(kbd->chardev, &code, 1, &nwr); 229 rc = chardev_read(kbd->chardev, &code, 1, &nwr, 230 chardev_f_none); 229 231 if (rc != EOK) 230 232 return EIO; … … 232 234 continue; 233 235 234 rc = chardev_read(kbd->chardev, &code, 1, &nwr); 236 rc = chardev_read(kbd->chardev, &code, 1, &nwr, 237 chardev_f_none); 235 238 if (rc != EOK) 236 239 return EIO; … … 238 241 continue; 239 242 240 rc = chardev_read(kbd->chardev, &code, 1, &nwr); 243 rc = chardev_read(kbd->chardev, &code, 1, &nwr, 244 chardev_f_none); 241 245 if (rc != EOK) 242 246 return EIO; … … 244 248 continue; 245 249 246 rc = chardev_read(kbd->chardev, &code, 1, &nwr); 250 rc = chardev_read(kbd->chardev, &code, 1, &nwr, 251 chardev_f_none); 247 252 if (rc != EOK) 248 253 return EIO; … … 250 255 continue; 251 256 252 rc = chardev_read(kbd->chardev, &code, 1, &nwr); 257 rc = chardev_read(kbd->chardev, &code, 1, &nwr, 258 chardev_f_none); 253 259 if (rc != EOK) 254 260 return EIO; … … 256 262 continue; 257 263 258 rc = chardev_read(kbd->chardev, &code, 1, &nwr); 264 rc = chardev_read(kbd->chardev, &code, 1, &nwr, 265 chardev_f_none); 259 266 if (rc != EOK) 260 267 return EIO; … … 262 269 continue; 263 270 264 rc = chardev_read(kbd->chardev, &code, 1, &nwr); 271 rc = chardev_read(kbd->chardev, &code, 1, &nwr, 272 chardev_f_none); 265 273 if (rc != EOK) 266 274 return EIO; … … 277 285 if (code == KBD_SCANCODE_KEY_RELEASE) { 278 286 type = KEY_RELEASE; 279 rc = chardev_read(kbd->chardev, &code, 1, &nwr); 287 rc = chardev_read(kbd->chardev, &code, 1, &nwr, 288 chardev_f_none); 280 289 if (rc != EOK) 281 290 return EIO; … … 418 427 return EIO; 419 428 } 420 rc = chardev_read(kbd->chardev, &code, 1, &bytes); 429 rc = chardev_read(kbd->chardev, &code, 1, &bytes, 430 chardev_f_none); 421 431 if (rc != EOK || code != AT_KBD_ACK) { 422 432 ddf_msg(LVL_ERROR, "Failed to confirm keyboard enable: %hhx.",
Note:
See TracChangeset
for help on using the changeset viewer.