1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00
freebsd/sys/isa
Justin T. Gibbs 5fb0f52712 Improve sync recovery algorithm:
o Remove PSM_SYNCERR_THRESHOLD1.  This value specified how many sync
   errors were required before the mouse is re-initialised.
   Re-initialisation is now done after (packetsize * 2) sync errors as
   things aren't likely to improve after that.

 o Reset lastinputerror when re-initialisation occurs.  We don't want
   to continue to drop data after re-initialisation.

 o Count the number of failed packets independently of the syncerrors
   statistic.  syncerrors is useful for recovering sync within a single
   packet.  pkterrors allows us to detect when the mouse changes its
   packet mode due to some external event (e.g. KVM switch).

 o Reinitialize the mouse if we see more than psmpkterrthresh errors
   during the validation period.  The validation period begins as soon
   as a sync error is detected and continues until psmerrsecs/msecs
   time has elapsed.  The defaults for these two values force a reset
   if we see two packet errors in a 2 second period.  This allows rapid
   detection of packet framing errors caused by the mouse changing packet
   modes.

 o Export psmpkterrthresh as a sysctl

 o Export psmloglevel as a sysctl.

 o Enable more debugging code to be enabled at runtime via psmloglevel.

 o Simplify verbose conditioned loging by using a VLOG macro.

 o Add several comments describing the sync recovery algorithm of
   this driver.

Large Portions by: Brian Somers <brian@Awfulhak.org>
Inspired and Frustrated by: Belkin KVMs
Reviewed by: njl, philip
2004-08-27 21:25:16 +00:00
..
atkbd_isa.c add missing #include <sys/module.h> 2004-05-30 20:27:19 +00:00
atkbdc_isa.c add missing #include <sys/module.h> 2004-05-30 20:27:19 +00:00
atrtc.c Partially revert previous commit. Calling getit() unconditionally fixed 2004-07-11 17:50:59 +00:00
isa_common.c Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
isa_common.h
isa_if.m
isahint.c - Use the new resource_disabled() helper function to see if devices are 2003-07-02 16:09:02 +00:00
isareg.h Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
isavar.h - Make the isab devclass global to allow for multiple ISA bridge drivers. 2003-07-08 18:56:58 +00:00
orm.c These option roms are defined in the ISA standard, and in the ISA 2004-07-05 17:26:04 +00:00
pnp.c Use __FBSDID(). 2003-06-11 00:34:37 +00:00
pnpparse.c Use __FBSDID(). 2003-06-11 00:34:37 +00:00
pnpreg.h
pnpvar.h
psm.c Improve sync recovery algorithm: 2004-08-27 21:25:16 +00:00
rtc.h Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
syscons_isa.c Remove atdevbase and replace it's remaining uses with direct references to 2004-06-10 20:31:00 +00:00
vga_isa.c Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00