CVSROOT: /cvs Module name: src Changes by: [email protected] 2019/12/19 05:04:38
Modified files:
sys/dev : vscsi.c
sys/dev/usb : uhid.c
sys/net : switchctl.c
sys/arch/sparc64/dev: vldcp.c
Log message:
poll handlers must return a poll(2) revents value, not errno(2) values.
Some drivers have returned ENXIO (6) if the device is not available
which incorrectly translates into POLLPRI|POLLOUT (2|4) in userland.
Change it to POLLERR for now, but it might as well be POLLHUP.
OK mpi@
