summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2007-10-15 20:37:34 +0000
committerkan <kan@FreeBSD.org>2007-10-15 20:37:34 +0000
commit33db6d7cd5a5d910a4fc1f0818b62019b7ba8e2e (patch)
tree645e63d94746a57718e06f88c354d2856fe9e9f6 /contrib
parent21c6e78ea76156c007b7b36f2ef60b4fffd62f50 (diff)
downloadFreeBSD-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')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud