freebsd-dev/sys/isa
Peter Wemm 9545a0eaa4 Hack workaround XFree86 switching failure when used with /dev/sysmouse
and xdm, possibly in general.

What was happening was that the server was doing a tcsetattr(.. TCSADRAIN)
on the mouse fd after a write.  Since /dev/sysmouse had a null t_oproc,
the drain failed with EIO.  Somehow this spammed XFree86 (!@&^#%*& binary
release!!), and the driver was left in a bogus state (ie: switch_in_progress
permanently TRUE).

The simplest way out was to implement a dummy scmousestart() routine to
accept any characters from the tty system and toss them into the void.

It would probably be more correct to intercept scwrite()'s to the mouse
device, but that's executed for every single write to the screen.
Supplying a start routine to eat the characters is only executed for the
mouse port during startup/shutdown, so it should be faster.
1996-09-10 19:14:49 +00:00
..
ic
atrtc.c Eliminated i586_ctr_rate. Use i586_ctr_freq instead. 1996-08-02 21:16:27 +00:00
fd.c Remove devconf, it never grew up to be of any use. 1996-09-06 23:09:20 +00:00
fdc.h Move from the old buf.b_actf to the new TAILQ(buf.b_act). 1996-05-03 14:57:27 +00:00
fdreg.h
joy.c Updated #includes to 4.4Lite style. 1996-09-10 08:32:01 +00:00
kbdtables.h
rtc.h
sio.c Remove devconf, it never grew up to be of any use. 1996-09-06 23:09:20 +00:00
sioreg.h
syscons.c Hack workaround XFree86 switching failure when used with /dev/sysmouse 1996-09-10 19:14:49 +00:00
syscons.h Fixed a couple of bugs in the mousepointer code. 1996-09-01 18:16:06 +00:00
timerreg.h