Date: Mon, 15 Oct 2007 20:37:35 +0000 (UTC) From: Alexander Kabaev <kan@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/usb ukbd.c Message-ID: <200710152037.l9FKbaCf001094@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kan 2007-10-15 20:37:35 UTC FreeBSD src repository Modified files: sys/dev/usb ukbd.c Log: 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 Revision Changes Path 1.74 +10 -7 src/sys/dev/usb/ukbd.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710152037.l9FKbaCf001094>