freebsd-skq/sys
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
..
alpha Change the way moused talk to syscons, now its only delivering mouseevents 1996-06-25 08:54:57 +00:00
amd64 Updated #includes to 4.4Lite style. 1996-09-10 08:32:01 +00:00
compat/linux Changed type of ni_dirp in struct namei' from caddr_t to const char *' 1996-09-03 23:17:15 +00:00
compile
conf More merge. Change "pc98" to "isa" in a few places. Misc. cleanup. 1996-09-10 09:39:22 +00:00
ddb Allow the user to switch into gdb mode from ddb 1996-08-27 19:46:28 +00:00
dev Hack workaround XFree86 switching failure when used with /dev/sysmouse 1996-09-10 19:14:49 +00:00
fs Eliminated nested include of <sys/unistd.h> in <sys/file.h> in the kernel. 1996-09-03 14:25:27 +00:00
geom Remove devconf, it never grew up to be of any use. 1996-09-06 23:09:20 +00:00
gnu Updated #includes to 4.4Lite style. 1996-09-10 08:32:01 +00:00
i386 Hack workaround XFree86 switching failure when used with /dev/sysmouse 1996-09-10 19:14:49 +00:00
isa Hack workaround XFree86 switching failure when used with /dev/sysmouse 1996-09-10 19:14:49 +00:00
isofs/cd9660 Moved the fsnode MALLOC to before the call to getnewvnode() so that the 1996-06-12 03:36:23 +00:00
kern Updated #includes to 4.4Lite style. 1996-09-10 08:32:01 +00:00
libkern Updated #includes to 4.4Lite style. 1996-09-10 08:32:01 +00:00
miscfs Updated #includes to 4.4Lite style. 1996-09-10 08:32:01 +00:00
modules Bannish ATAPI and ATAPI_STATIC #defines to opt_atapi.h. 1996-09-06 23:32:55 +00:00
msdosfs Eliminated nested include of <sys/unistd.h> in <sys/file.h> in the kernel. 1996-09-03 14:25:27 +00:00
net No code changes what so ever, but added about 150 lines of comments 1996-09-10 07:10:05 +00:00
netatalk Updated #includes to 4.4Lite style. 1996-09-10 08:32:01 +00:00
netinet Set subnetsarelocal to false. In a classless world, the other case 1996-09-09 20:17:24 +00:00
netipx Accept odd length ipx packets. (Win95 and some dialup servers use it.) 1996-08-18 08:38:15 +00:00
netkey This is the `netkey' kernel key-management service (the PF_KEY analogue 1996-06-14 17:22:18 +00:00
netns finish killing off netns. (For some reason, CVS `undeleted' these 1996-02-13 18:19:17 +00:00
nfs Release an unneeded reference to a vnode that was gained in a VFS_VGET(). 1996-09-05 07:58:04 +00:00
nfsclient Even though this looks like it, this is not a complex code change. 1996-08-21 21:56:23 +00:00
nfsserver Release an unneeded reference to a vnode that was gained in a VFS_VGET(). 1996-09-05 07:58:04 +00:00
pc98 More merge. Change "pc98" to "isa" in a few places. Misc. cleanup. 1996-09-10 09:39:22 +00:00
pccard - Don't include <machine/laptops.h>. It was a kludge I should never 1996-09-07 17:50:47 +00:00
pci Updated #includes to 4.4Lite style. 1996-09-10 08:32:01 +00:00
powerpc/include Add commands for ptrace get/set registers.. (Same numbers as NetBSD) 1996-01-24 18:51:48 +00:00
rpc Fix a bunch of spelling errors in the comment fields 1996-01-30 23:33:04 +00:00
scsi Various cleanups for remanents of devconf. 1996-09-08 10:44:18 +00:00
sys Updated #includes to 4.4Lite style. 1996-09-10 08:32:01 +00:00
tools Another mega commit to staticize things. 1995-12-14 09:55:16 +00:00
ufs Fix a VOP_UNLOCK panic when using options DIAGNOSTIC during dismount. 1996-09-07 17:34:57 +00:00
vm The whole issue of not support VOP_LOCK for VBLK devices should be 1996-09-10 05:28:23 +00:00
Makefile The Great PC98 Merge. 1996-06-14 11:02:28 +00:00