Jordan Crouse schrieb:
How does poll differ from havechar? Should we add a poll method to the console drivers that is just null on most systems?
The usb poll code handles all usb related issues (eg. attach/detach of devices, handling interrupt queues like with usb hid). It should end up in all tight loops that take a while. If anything, an "idle handler" would be the right place, I think.
I'll handle all your other suggestions and post another patch.
Regards, Patrick