freebsd-nq/sys/isa
Kazutaka YOKOTA 8166ba27bd Hack for the "out-of-sync" error.
- Count the number of this error.
- When the error is detected for the first time, the psm driver will
  throw few data bytes (up to entire packet size) and see if it can
  get back to sync.
- If the error still persists, the psm driver disable/enable the mouse
  and see if it works.
- If the error still persists and the count goes up to 20,
  the psm driver reset and reinitialize the mouse. The counter
  is reset to zero.
- It also discards an incomplete data packet when the interval
  between two consequtive bytes are longer than pre-defined timeout
  (2 seconds).  The last byte which arrived late will be regarded as
  the first byte of a new packet.  This is louie's idea.

You may see the following error logs during the above operations:

  "psmintr: delay too long; resetting byte count"
  "psmintr: out of sync (%04x != %04x)"
  "psmintr: discard a byte (%d)"
  "psmintr: re-enable the mouse"
  "psmintr: reset the mouse"

MFC after:	1 month
2001-10-13 10:28:02 +00:00
..
atkbd_isa.c Reinitialize the keyboard after the ACPI resume event. 2001-09-23 08:42:06 +00:00
atkbdc_isa.c Yet another turn of workaround for psm/ACPI/PnP BIOS 2001-09-25 16:59:28 +00:00
atrtc.c Remove an unneeded variable declaration and statement. 2001-10-09 16:06:28 +00:00
fd.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
fdreg.h Move out the files from src/sys/isa/ic/ to src/sys/dev/ic/, so they 2001-06-04 21:04:14 +00:00
isa_common.c Rework the ISA PnP driver pnp and the PnP resource parser to fix 2001-09-05 03:54:33 +00:00
isa_common.h Rework the ISA PnP driver pnp and the PnP resource parser to fix 2001-09-05 03:54:33 +00:00
isa_if.m * Factor out the object system from new-bus so that it can be used by 2000-04-08 14:17:18 +00:00
isahint.c Hints overhaul: 2001-06-12 09:40:04 +00:00
isareg.h Add smc37c935 chipset support and clean up the code which tries to 2000-07-18 09:01:09 +00:00
isavar.h Rework the ISA PnP driver pnp and the PnP resource parser to fix 2001-09-05 03:54:33 +00:00
joy.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
orm.c The orm device. This device gobbles up the Option ROMs in the ISA 2001-06-01 20:58:32 +00:00
pnp.c Handle "identifier strings" right. Each ISA PnP card must have a 2001-09-15 10:18:56 +00:00
pnpparse.c Rework the ISA PnP driver pnp and the PnP resource parser to fix 2001-09-05 03:54:33 +00:00
pnpreg.h Supported PC-98. 2000-05-11 11:09:50 +00:00
pnpvar.h Rework the ISA PnP driver pnp and the PnP resource parser to fix 2001-09-05 03:54:33 +00:00
ppc.c Add ACPI attachments. 2001-08-30 09:17:03 +00:00
ppcreg.h Convert inb/outb to bus_space. 2001-06-23 06:52:54 +00:00
psm.c Hack for the "out-of-sync" error. 2001-10-13 10:28:02 +00:00
rtc.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
sio.c Add support for 28800 baud to sio. 2001-09-29 04:49:11 +00:00
sioreg.h Restore the old sio* - bruce can fix it himself. 1999-09-08 10:59:03 +00:00
syscons_isa.c Remove the resume method. It is not necessary any more, because 2001-06-30 10:15:13 +00:00
vga_isa.c KSE Milestone 2 2001-09-12 08:38:13 +00:00