opnsense-src/sys/dev
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
..
advansys A little 80 column cleanup. 1996-11-05 08:49:17 +00:00
aic7xxx Conditionally enable the busfree interrupt to catch unexpected busfrees. 1996-11-22 08:25:23 +00:00
ar if_sr.c corrupted the global variable `ticks'. 1996-10-31 20:22:40 +00:00
bktr Cleaned up all headers that include <sys/ioctl.h> or <sys/ioccom.h>: 1996-09-21 14:59:43 +00:00
ccd Remove devconf, it never grew up to be of any use. 1996-09-06 23:09:20 +00:00
cy Don't fiddle with RTS if RTS flow control is off. This gives applications 1996-11-13 18:31:57 +00:00
de Cosmetic code cleanup from Matt's latest driver. 1996-12-01 06:01:00 +00:00
dgb Remove devconf, it never grew up to be of any use. 1996-09-06 23:09:20 +00:00
ed Fix RFC 1650 stats... should have read the doco more carefully. 1996-11-15 16:07:03 +00:00
eisa Removed more devconf leftovers. 1996-09-10 23:31:13 +00:00
ep Fixed pessimized (short) i/o port type. 1996-11-11 17:11:08 +00:00
fdc Fix the broken EOF handling in the floppy driver. The most obvious 1996-11-02 23:31:11 +00:00
fe Patches from driver author in PR#2010. 1996-11-15 16:15:56 +00:00
fxp Fixed obsolete comment. 1996-11-18 02:45:46 +00:00
ic A #define really don't need a ; at the end. 1996-10-28 19:35:37 +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 More merge and update. 1996-10-30 22:41:46 +00:00
lnc Removed another devconf leftover. A fat devconf support function was 1996-09-14 01:26:16 +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 Add support for header type == 1 devices (PCI 2.1 compatible PCI to PCI 1996-11-12 23:18:12 +00:00
ppbus Cleaned up all headers that include <sys/ioctl.h> or <sys/ioccom.h>: 1996-09-21 14:59:43 +00:00
rc Remove SC_KBD_PROBE_WORKS option and replace it with a simple run-time flag 1996-10-23 07:29:44 +00:00
scd Remove devconf, it never grew up to be of any use. 1996-09-06 23:09:20 +00:00
si Some warning cleanups. There were some needless casts that also caused 1996-09-27 13:50:59 +00:00
sio Fixed input of BREAKs when IGNPAR is set and IGNBRK is not set. BREAKs 1996-11-30 15:52:56 +00:00
snp Switched from using devfs_add_devsw() to devfs_add_devswf() 1996-03-28 14:31:42 +00:00
speaker Use macros from timmerreg.h instead of private ones. 1996-10-25 14:00:47 +00:00
sr Oops I forgot to add the official id for this card. 1996-11-13 18:06:52 +00:00
syscons Alot of fixes from kazu: 1996-12-01 19:05:50 +00:00
vn Call bdevsw_add_generic() later so that there is no chance of returning 1996-08-28 17:45:08 +00:00
vx Fix ifconfig link flag handling 1996-11-21 21:04:50 +00:00