diff options
author | Christopher Pascoe <pascoe@cvs.openbsd.org> | 2006-05-31 06:18:10 +0000 |
---|---|---|
committer | Christopher Pascoe <pascoe@cvs.openbsd.org> | 2006-05-31 06:18:10 +0000 |
commit | be8822770de6bb641c77d3f517bbf21f1367b51e (patch) | |
tree | 268c3490529fc55fcbbb9ca2f3484d673d4cd896 /games/battlestar/com3.c | |
parent | da51c4853286e94d057b950343040e002f1f24e4 (diff) |
Save and restore the data toggle value when a pipe to an endpoint
is closed and then reopened. This may be necessary now that
we no longer clear endpoint stalls every time a pipe is opened.
Previously we could assume an initial toggle value of zero because
a clear-stall operation resets the device's toggle state.
Derived from work in FreeBSD.
This is most likely to affect devices like printers, which open
pipes for short periods of time and close them again.
ok dlg@
Diffstat (limited to 'games/battlestar/com3.c')
0 files changed, 0 insertions, 0 deletions