1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00
freebsd/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 Oops, this should have been committed with the other Hayes ESP changes. 1995-12-29 13:18:58 +00:00
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 Change RUKEYMAP sligtly 1996-01-25 16:37:20 +00:00
rtc.h BIOS manufacturers don't seem to have a unique idea about 2.88 MB 1995-10-09 15:00:39 +00:00
sio.c Remove devconf, it never grew up to be of any use. 1996-09-06 23:09:20 +00:00
sioreg.h Staticize and cleanup. 1995-12-10 13:40:44 +00:00
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