freebsd-skq/sys
Søren Schmidt 1f9d9075e4 Alot of fixes from kazu:
1. All the suggestions earlier made by Bruce: renaming some symbols,
stricter error checking, removing redundant code, etc.

2. The `psm' driver preserves the default counter resolution and
report rate, whatever they are after reset. (Based on reports and
suggestion from Nate and Rob Bolin).

3. The `psm' driver now does not check the so-called sync. bit in the
first byte of the data packet by default, so that the tapping feature
of ALPUS GlidePoint works (based on reports from Louis Mamakos). I
tested the code with ALPUS Desktop GlidePoint (M/N GP101) and found
no problem; tapping worked. It appears ALPUS produces several models
of GlidePoint. I hope the other models are OK too.

The check code can still be activated by defining the PSM_CHECKSYNC
option in the config file. (The bit checking slightly reduces, if not
completely eliminates, weird mouse behavior cased by unsynchronized
mouse data packets. It also helps us to detect if the mouse interrupt
can ever be lost. But, well, if there are devices which cannot be
supported this way...)

4. The `psm' driver does not include the protocol emulation code by
default. The code can still be compiled in if the PSM_EMULATION option
is specified in the config file. Louis Mamakos suggests the emulation
code is putting too much in the kernel, and `moused' works well.
I will think about this later and decide if the entire emulation
code should be removed.

5. And, of course, the fix in `scprobe()' from Bruce to cure the
UserConfig problem. My code in `kbdio.c' is slightly different from
his patch, but has the same effect. There still is a possibility that
`scprobe()' gets confused, if, for whatever reasons, the user holds
down a key for very long time during the boot process. But we cannot
cope with everything, can we?

Submitted by:	Kazutaka YOKOTA (yokota@zodiac.mech.utsunomiya-u.ac.jp)
1996-12-01 19:05:50 +00:00
..
alpha Alot of fixes from kazu: 1996-12-01 19:05:50 +00:00
amd64 Removed all references to b_cylinder (aka b_cylin). It was evil and 1996-12-01 16:34:41 +00:00
compat/linux Add audio mixer ioctls. 1996-11-05 02:04:37 +00:00
compile
conf Clarified the comment about removing other CPU defs. Specifically, 1996-11-29 07:08:48 +00:00
ddb if there is no console, cngetc should act like getc and return -1 1996-10-30 21:40:25 +00:00
dev Alot of fixes from kazu: 1996-12-01 19:05:50 +00:00
fs Fix a potential deadlock from the previous commit. 1996-10-30 03:52:57 +00:00
geom Remove devconf, it never grew up to be of any use. 1996-09-06 23:09:20 +00:00
gnu Fixed lookup of ".." in checkpath. It always failed, so renames of 1996-11-09 10:25:04 +00:00
i386 Alot of fixes from kazu: 1996-12-01 19:05:50 +00:00
isa Alot of fixes from kazu: 1996-12-01 19:05:50 +00:00
isofs/cd9660 Fix signed/unsigned comparison warnings. 1996-10-20 21:01:46 +00:00
kern Removed all references to b_cylinder (aka b_cylin). It was evil and 1996-12-01 16:34:41 +00:00
libkern collate_range_cmp -> __collate_range_cmp 1996-10-31 04:32:27 +00:00
miscfs changes to make devfs more 'normal' 1996-11-21 07:19:00 +00:00
modules Make snake 3.0-CURRENT here. 1996-11-11 14:18:40 +00:00
msdosfs MSDOS FS used to allocate a buffer before extending the VM object. In 1996-10-02 05:01:17 +00:00
net Fixed broken SIOCGIFADDR. It was copying out garbage as the ethernet 1996-11-18 04:55:44 +00:00
netatalk bzero the entire at_ifaddr struct we malloc, not just the first part of it.. 1996-09-11 09:38:52 +00:00
netinet Allocate a header mbuf for the start of the encapsulated packet. 1996-11-23 19:07:02 +00:00
netipx Enlarge the transmit and receive bufferspace of ipx. Make it tweakable 1996-11-24 08:25:48 +00:00
netkey This is the `netkey' kernel key-management service (the PF_KEY analogue 1996-06-14 17:22:18 +00:00
netns Bring back netns so that Netcon can take over support for it, as agreed. 1996-10-17 18:42:33 +00:00
nfs Improve the queuing algorithms used by NFS' asynchronous i/o. The 1996-11-06 10:53:16 +00:00
nfsclient Improve the queuing algorithms used by NFS' asynchronous i/o. The 1996-11-06 10:53:16 +00:00
nfsserver Improve the queuing algorithms used by NFS' asynchronous i/o. The 1996-11-06 10:53:16 +00:00
pc98 Removed all references to b_cylinder (aka b_cylin). It was evil and 1996-12-01 16:34:41 +00:00
pccard Cleaned up all headers that include <sys/ioctl.h> or <sys/ioccom.h>: 1996-09-21 14:59:43 +00:00
pci Cosmetic code cleanup from Matt's latest driver. 1996-12-01 06:01:00 +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 Removed all references to b_cylinder (aka b_cylin). It was evil and 1996-12-01 16:34:41 +00:00
sys Alot of fixes from kazu: 1996-12-01 19:05:50 +00:00
tools Another mega commit to staticize things. 1995-12-14 09:55:16 +00:00
ufs Removed all references to b_cylinder (aka b_cylin). It was evil and 1996-12-01 16:34:41 +00:00
vm Implement a new totally dynamic (up to MAXPHYS) buffer kva allocation 1996-11-30 22:41:49 +00:00
Makefile The Great PC98 Merge. 1996-06-14 11:02:28 +00:00