diff options
author | kan <kan@FreeBSD.org> | 2007-10-15 20:37:34 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2007-10-15 20:37:34 +0000 |
commit | 33db6d7cd5a5d910a4fc1f0818b62019b7ba8e2e (patch) | |
tree | 645e63d94746a57718e06f88c354d2856fe9e9f6 /contrib/bsnmp | |
parent | 21c6e78ea76156c007b7b36f2ef60b4fffd62f50 (diff) | |
download | FreeBSD-src-33db6d7cd5a5d910a4fc1f0818b62019b7ba8e2e.zip FreeBSD-src-33db6d7cd5a5d910a4fc1f0818b62019b7ba8e2e.tar.gz |
Make ukbd_getc respect non-blocking behavior if one is requested. Change
ukbd_poll to mark this keyboard instance as polling before calling
usbd_set_polling at USB level. usbd_set_polling runs softintr before
returning, stealing our input and making consequent polling getchar
kind of pointless.
This allows USB keyboards to coexist peacefully with serial console in DDB
and other contexts where polling is used.
MFC after: 1 week
Diffstat (limited to 'contrib/bsnmp')
0 files changed, 0 insertions, 0 deletions