freebsd-nq/sys/i386/include
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
..
pc Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some 1993-10-16 14:40:57 +00:00
_limits.h Don't define CLK_TCK here. 1995-02-03 21:49:18 +00:00
ansi.h Oops, this should have been with the ctype changes. 1996-05-01 00:47:05 +00:00
apm_bios.h Cleaned up all headers that include <sys/ioctl.h> or <sys/ioccom.h>: 1996-09-21 14:59:43 +00:00
apm_segments.h Bring in most of Bruce's prot_to_real() changes into the APM BIOS 1996-03-11 06:48:57 +00:00
asc_ioctl.h Cleaned up all headers that include <sys/ioctl.h> or <sys/ioccom.h>: 1996-09-21 14:59:43 +00:00
asmacros.h Added macros CROSSJUMP(), CROSSJUMP_LABEL() and GPROF_RET. These will 1996-10-16 18:13:25 +00:00
bootinfo.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
cdk.h Add $Id$ 1996-05-04 08:42:14 +00:00
clock.h More merge and update. 1996-10-30 22:41:46 +00:00
comstats.h Add $Id$ 1996-05-04 08:42:14 +00:00
conf.h Pass 3 of the great devsw changes 1995-12-08 11:19:42 +00:00
cons.h Added $Id$ 1994-08-02 07:55:43 +00:00
console.h Finally a start at sharing the kdb controller routines between 1996-11-14 22:19:17 +00:00
cpu.h trap.c: 1996-06-25 20:02:16 +00:00
cpufunc.h Added "memory" to clobber list in invlpg(). It needs it if invltlb() 1996-09-29 18:35:07 +00:00
cputypes.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
cronyx.h Clean up Ethernet drivers: 1996-02-06 18:51:28 +00:00
db_machdep.h Removed unused thread support (partly to get rid of its incomplete 1995-12-03 10:40:16 +00:00
endian.h Relax the constraints on the bswap opcode (it works on non-byte 1996-11-29 16:22:22 +00:00
exec.h Shuffled macros and definitions around to facilitate architecture 1994-09-24 21:37:01 +00:00
float.h Made all header files idempotent and moved incorrect common data from 1993-11-07 17:43:17 +00:00
floatingpoint.h Don't provide bogus source operands in some asms. This probably shouldn't 1994-09-20 22:26:37 +00:00
frame.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
gsc.h Cleaned up all headers that include <sys/ioctl.h> or <sys/ioccom.h>: 1996-09-21 14:59:43 +00:00
ieeefp.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
in_cksum.h Add an incremental checksum update routine. Perhaps some i386 assembly 1996-05-23 20:11:48 +00:00
ioctl_ctx.h Cleaned up all headers that include <sys/ioctl.h> or <sys/ioccom.h>: 1996-09-21 14:59:43 +00:00
ioctl_fd.h Cleaned up all headers that include <sys/ioctl.h> or <sys/ioccom.h>: 1996-09-21 14:59:43 +00:00
ioctl_meteor.h Cleaned up all headers that include <sys/ioctl.h> or <sys/ioccom.h>: 1996-09-21 14:59:43 +00:00
ipl.h Added $Id$ 1994-08-02 07:55:43 +00:00
joystick.h Cleaned up all headers that include <sys/ioctl.h> or <sys/ioccom.h>: 1996-09-21 14:59:43 +00:00
limits.h Don't define CLK_TCK here. 1995-02-03 21:49:18 +00:00
lpt.h Cleaned up all headers that include <sys/ioctl.h> or <sys/ioccom.h>: 1996-09-21 14:59:43 +00:00
md_var.h Further improved version of hadling a HALT when there is no console. 1996-10-31 00:57:28 +00:00
mouse.h Alot of fixes from kazu: 1996-12-01 19:05:50 +00:00
mtpr.h Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some 1993-10-16 14:40:57 +00:00
npx.h Added `#include "ioconf.h"' to <machine/conf.h> and cleaned up the 1995-11-04 17:08:13 +00:00
param.h Improved the btodb() and dbtob() macros. I made them give unsigned 1996-10-06 19:24:02 +00:00
pcaudioio.h Cleaned up all headers that include <sys/ioctl.h> or <sys/ioccom.h>: 1996-09-21 14:59:43 +00:00
pcb.h Eliminated pcb_inl. It was always 0 because context switches don't occur 1996-07-31 12:36:11 +00:00
pcvt_ioctl.h Cleaned up all headers that include <sys/ioctl.h> or <sys/ioccom.h>: 1996-09-21 14:59:43 +00:00
perfmon.h Cleaned up all headers that include <sys/ioctl.h> or <sys/ioccom.h>: 1996-09-21 14:59:43 +00:00
pmap.h Pmap_resident_count was mistakenly removed from pmap.h, thereby 1996-10-13 03:14:57 +00:00
proc.h hp300 -> i386 1996-04-10 05:27:11 +00:00
profile.h Improved non-statistical (GUPROF) profiling: 1996-10-17 19:32:31 +00:00
psl.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
ptrace.h Add commands for ptrace get/set registers.. (Same numbers as NetBSD) 1996-01-24 18:51:48 +00:00
qcam.h Update to 1.1beta5d 1996-05-04 07:05:55 +00:00
random.h Drat, missed this prototype for random_select(). 1996-09-27 13:29:41 +00:00
reg.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
reloc.h Made idempotent. 1994-08-21 04:55:31 +00:00
segments.h Apparently, BSDI have a new system call gate. I was experimenting 1996-09-27 13:33:49 +00:00
si.h Mainly cosmetic cleanups... It now uses more consistant message reporting 1995-11-28 02:07:36 +00:00
signal.h Fix standards conformance bugs in <signal.h>: 1995-06-28 02:14:13 +00:00
soundcard.h Commit AWE32 changes I forgot in my first round. Whoops! 1996-11-16 02:24:23 +00:00
speaker.h Cleaned up all headers that include <sys/ioctl.h> or <sys/ioccom.h>: 1996-09-21 14:59:43 +00:00
specialreg.h Support the PG_G flag on Pentium-Pro processors. This pretty 1996-11-11 04:20:19 +00:00
spigot.h Cleaned up all headers that include <sys/ioctl.h> or <sys/ioccom.h>: 1996-09-21 14:59:43 +00:00
spl.h Fixed lots of warnings about unportable casts of pointers to volatile 1996-07-01 20:16:10 +00:00
stdarg.h Fix stdarg.h for GNU C using builtin_next_arg 1995-01-24 16:22:52 +00:00
sysarch.h Added $Id$ 1994-08-02 07:55:43 +00:00
trap.h Defined T_MCHK exception for i686; renumbered T_RESERVED to 29. 1996-08-11 17:29:39 +00:00
tss.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
types.h Cleaned up vm types. Cosmetic. 1996-10-06 19:13:37 +00:00
ultrasound.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
varargs.h Added $Id$ 1994-08-02 07:55:43 +00:00
vmparam.h removed: 1996-05-02 14:21:14 +00:00
wtio.h . move out the error and status register def's for wt into 1996-02-22 00:31:49 +00:00