freebsd-skq/sys/dev
peter fa43b0934f 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
..
aic7xxx Detect and report dataphase overruns. Put the adapter into 'Bit Bucket' 1996-06-09 17:33:18 +00:00
ar Remove devconf, it never grew up to be of any use. 1996-09-06 23:09:20 +00:00
bktr A trailing patch Jim left out of the last commit. 1996-06-07 22:55:14 +00:00
ccd Remove devconf, it never grew up to be of any use. 1996-09-06 23:09:20 +00:00
cy Remove devconf, it never grew up to be of any use. 1996-09-06 23:09:20 +00:00
de Remove devconf, it never grew up to be of any use. 1996-09-06 23:09:20 +00:00
dgb Remove devconf, it never grew up to be of any use. 1996-09-06 23:09:20 +00:00
ed Remove devconf, it never grew up to be of any use. 1996-09-06 23:09:20 +00:00
eisa Various cleanups for remanents of devconf. 1996-09-08 10:44:18 +00:00
ep Various cleanups for remanents of devconf. 1996-09-08 10:44:18 +00:00
fdc Remove devconf, it never grew up to be of any use. 1996-09-06 23:09:20 +00:00
fe Various cleanups for remanents of devconf. 1996-09-08 10:44:18 +00:00
fxp Remove devconf, it never grew up to be of any use. 1996-09-06 23:09:20 +00:00
ic Changes to the Digi/Arnet SYNC driver: 1996-03-17 00:29:35 +00:00
ie Remove devconf, it never grew up to be of any use. 1996-09-06 23:09:20 +00:00
joy Updated #includes to 4.4Lite style. 1996-09-10 08:32:01 +00:00
kbd
lnc Updated #includes to 4.4Lite style. 1996-09-10 08:32:01 +00:00
mcd Remove devconf, it never grew up to be of any use. 1996-09-06 23:09:20 +00:00
mse Remove devconf, it never grew up to be of any use. 1996-09-06 23:09:20 +00:00
pci Various cleanups for remanents of devconf. 1996-09-08 10:44:18 +00:00
ppbus
rc Remove devconf, it never grew up to be of any use. 1996-09-06 23:09:20 +00:00
scd Remove devconf, it never grew up to be of any use. 1996-09-06 23:09:20 +00:00
si Remove devconf, it never grew up to be of any use. 1996-09-06 23:09:20 +00:00
sio Remove devconf, it never grew up to be of any use. 1996-09-06 23:09:20 +00:00
snp Switched from using devfs_add_devsw() to devfs_add_devswf() 1996-03-28 14:31:42 +00:00
speaker Unconditionally null-terminate string read into spkr driver. 1996-08-24 03:24:39 +00:00
sr Remove devconf, it never grew up to be of any use. 1996-09-06 23:09:20 +00:00
syscons Hack workaround XFree86 switching failure when used with /dev/sysmouse 1996-09-10 19:14:49 +00:00
vn Call bdevsw_add_generic() later so that there is no chance of returning 1996-08-28 17:45:08 +00:00