Attempt to approximate what should happen on a suspend/resume cycle.
authorderaadt <deraadt@openbsd.org>
Sat, 28 Dec 2013 03:39:16 +0000 (03:39 +0000)
committerderaadt <deraadt@openbsd.org>
Sat, 28 Dec 2013 03:39:16 +0000 (03:39 +0000)
commit6d8f2501407063c52a950c01a2722447d0fb9a56
tree51c26a66cff4b8d5ba8bbc5a785bad0de0620921
parent3917203ebb23ce550e5305b6a7cac9dcdcf05907
Attempt to approximate what should happen on a suspend/resume cycle.
If the driver was doing some IO, we remove the timeouts, and force the
fdc state machine into IOTIMEDOUT state with the final timeout count
before a clean retry.  In theory upon resume it should freak out quietly,
and try the operation again.
Noone has stepped forward to test this yet.
sys/dev/isa/fd.c