diff options
| author | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-11-24 16:37:39 +0100 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-11-24 16:37:39 +0100 |
| commit | aadc58104016170b61b62a31daa295895a640b60 (patch) | |
| tree | 09da353a45280447fc6254914cfb9b2cc29e5cee /lib/cmap | |
| parent | f37d68003dc452fb9bd157de7d5b2a329cddd42a (diff) | |
| download | plan9front-aadc58104016170b61b62a31daa295895a640b60.tar.xz | |
nusb/kb: zero reads, error handling, priority, cleanup
handle short reads as errors and retry. this can happen
on ohci and some ps2 to usb converter. it might'v deen caused
by a recent change on sources handling td overrun differently.
fix error handling. have to check f->ep == nil after recovery
and check packet size. also, use f->ep->dfd instead of ptrfd
and kbdfd as it might be different after recovery. make a
setleds() error non fatal.
boost process priority for keyboard and mouse worker processes.
cleanup: use single write() in putmod(), improve error reporting.
Diffstat (limited to 'lib/cmap')
0 files changed, 0 insertions, 0 deletions
