freebsd-dev/sys/dev
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
..
aac KSE Milestone 2 2001-09-12 08:38:13 +00:00
acpica Add missing includes of sys/lock.h. 2001-10-11 17:52:20 +00:00
advansys Restore I/O port resources to the condition before adv_isa_probe() is 2001-05-06 09:28:18 +00:00
agp Add probe line for the AMD 761 northbridge chip. At least it detects now, 2001-09-20 05:13:12 +00:00
aha Turn on interrupt-entropy harvesting for all/any mass storage devices 2001-03-01 17:09:09 +00:00
ahb Turn on interrupt-entropy harvesting for all/any mass storage devices 2001-03-01 17:09:09 +00:00
aic Merged from sys/dev/aic/aic_isa.c revision 1.8. 2001-06-26 11:35:46 +00:00
aic7xxx Restore initialization of ahc->unpause lost in rev 1.76. ahc->unpause 2001-08-17 04:22:50 +00:00
amd Move unused functions into #if 0 ... #endif. 2001-05-06 08:07:10 +00:00
amr KSE Milestone 2 2001-09-12 08:38:13 +00:00
an Add missing includes of sys/lock.h. 2001-10-11 17:52:20 +00:00
ar Move the isa parts to a separate file. 2001-04-16 13:20:39 +00:00
asr KSE Milestone 2 2001-09-12 08:38:13 +00:00
ata Update with latest ATA/ATAPI ver 6 rev 2 items. 2001-10-06 11:07:04 +00:00
atkbdc Hack for the "out-of-sync" error. 2001-10-13 10:28:02 +00:00
awi KSE Milestone 2 2001-09-12 08:38:13 +00:00
bge Do not call mii_polltick() immediately after mii_tick(). 2001-09-29 19:31:29 +00:00
bktr The kernel doesn't have <stdio.h> or <string.h>. Remove these. 2001-10-09 04:05:58 +00:00
buslogic The EXTENDED_GEOMETRY flag is really bit 7. This affects >2GB drives. 2001-08-26 21:51:35 +00:00
cardbus Part two of this NEWCARD update: 2001-08-27 00:09:42 +00:00
ccd KSE Milestone 2 2001-09-12 08:38:13 +00:00
cnw Use enumeration types for CARD_SET_RES_FLAGS. 2001-05-08 23:57:32 +00:00
cs Additional enhancments to allow IBM Etherjet cards to be probed, 2001-02-23 08:08:21 +00:00
ct Added Logitec LHA-301 pnp id. 2001-10-09 15:30:19 +00:00
cy KSE Milestone 2 2001-09-12 08:38:13 +00:00
dc Do not call mii_pollstat() from within device tick routines; the status 2001-09-29 19:28:31 +00:00
de Remove some unused stuff 2001-03-25 07:21:04 +00:00
dec Fix a botch where we wrote the year register with > 2 digits (and 2001-03-09 20:39:02 +00:00
dgb KSE Milestone 2 2001-09-12 08:38:13 +00:00
digi Send a .4 second BREAK rather than a .25 second break so that 2001-09-23 20:03:40 +00:00
dpt Send the remains (such as I have located) of "block major numbers" to 2001-03-26 12:41:29 +00:00
ed Make this compile again after the changes to make bridge kld'able 2001-10-07 00:18:48 +00:00
eisa Unbreak EISA. The PCI-EISA bridge bus is named eisab', not isab'. 2001-02-09 16:33:53 +00:00
en
ep Commit part of the patch that I have for card eject problems with the 2001-06-05 22:29:16 +00:00
ex Mechanical change to use <sys/queue.h> macro API instead of 2001-02-04 13:13:25 +00:00
fb Make this compile on ia64. 2001-10-06 09:27:43 +00:00
fdc KSE Milestone 2 2001-09-12 08:38:13 +00:00
fe Always turned on 8bit access card support for the fe driver 2001-09-02 13:05:00 +00:00
fxp Deconditionalize vlan support. 2001-09-05 23:33:58 +00:00
hea Fix typo: seperate -> separate. 2001-02-06 11:21:58 +00:00
hfa Applied the patch to fix HARP ATM that was broken when KAME IPv6 came 2001-06-20 17:09:14 +00:00
ic Moved the wd33c93 specific file to sys/dev/ic. 2001-06-14 11:05:48 +00:00
ichsmb Catch up to header include changes: 2001-03-28 09:17:56 +00:00
ida KSE Milestone 2 2001-09-12 08:38:13 +00:00
ie Repo copy i82586.h to dev/ic/i82586.h. 2001-07-02 05:29:58 +00:00
iicbus KSE Milestone 2 2001-09-12 08:38:13 +00:00
isp Add some somewhat vague documentation for this driver and a list 2001-10-07 18:26:47 +00:00
ispfw Add 2300/2312 (2Gbit) firmware. 2001-08-31 21:25:15 +00:00
joy KSE Milestone 2 2001-09-12 08:38:13 +00:00
kbd Refine ACPI/PnP BIOS probe/attach routines a bit. 2001-09-15 04:38:20 +00:00
lge Do not call mii_polltick() immediately after mii_tick(). 2001-09-29 19:31:29 +00:00
lmc Fix typo: seperate -> separate. 2001-02-06 11:21:58 +00:00
lnc - Don't overwrite inb, inw and outw. 2001-07-04 13:00:21 +00:00
mc146818
mca - Remove an unused write_ivars function that didn't do anything anyway. 2001-01-19 09:29:34 +00:00
mcd KSE Milestone 2 2001-09-12 08:38:13 +00:00
md Change the kernel's ucred API as follows: 2001-10-11 23:38:17 +00:00
mii Fix declaration disagreement. 2001-10-11 22:02:14 +00:00
mlx KSE Milestone 2 2001-09-12 08:38:13 +00:00
mly KSE Milestone 2 2001-09-12 08:38:13 +00:00
mse KSE Milestone 2 2001-09-12 08:38:13 +00:00
musycc Fix warnings: 2001-06-15 00:19:43 +00:00
ncv We should not pass the size of the memory to bus_alloc_resource(). 2001-09-04 04:32:48 +00:00
nge Do not call mii_polltick() immediately after mii_tick(). 2001-09-29 19:31:29 +00:00
nmdm KSE Milestone 2 2001-09-12 08:38:13 +00:00
nsp We should not pass the size of the memory to bus_alloc_resource(). 2001-09-04 04:32:48 +00:00
null Send the remains (such as I have located) of "block major numbers" to 2001-03-26 12:41:29 +00:00
ofw KSE Milestone 2 2001-09-12 08:38:13 +00:00
pccard Regen. 2001-10-05 05:32:51 +00:00
pccbb Surf the net again and find more device IDs: 2001-09-06 20:50:10 +00:00
pcf
pci Re-route interrupts on ia64 so that we can get the I/O SAPIC interrupt 2001-10-05 10:33:42 +00:00
pcic Add PC-9821RA-E01. This appears that PC-9821 Ra20 has this either 2001-06-16 06:10:53 +00:00
pdq Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
ppbus Give the pps driver an additional 8 inputs if we can persuade the 2001-09-22 16:34:59 +00:00
ppc Add ACPI attachments. 2001-08-30 09:17:03 +00:00
random o Modify open() and close() for /dev/random to use securelevel_gt() instead 2001-09-26 20:15:42 +00:00
ray Primary purpose of this commit is to enable support for the Aviator 2001-05-17 22:23:49 +00:00
rc KSE Milestone 2 2001-09-12 08:38:13 +00:00
rp KSE Milestone 2 2001-09-12 08:38:13 +00:00
scd KSE Milestone 2 2001-09-12 08:38:13 +00:00
sf Do not call mii_pollstat() from within device tick routines; the status 2001-09-29 19:28:31 +00:00
si KSE Milestone 2 2001-09-12 08:38:13 +00:00
sio Add support for 28800 baud to sio. 2001-09-29 04:49:11 +00:00
sk Do not call mii_pollstat() from within device tick routines; the status 2001-09-29 19:28:31 +00:00
smbus SMBus support for the AMD 756 power management unit. See smbus(4), 2001-09-16 22:35:07 +00:00
sn Kill debug output for sn device. It is confusing the natives 2001-08-04 05:27:52 +00:00
snc Convert if_multiaddrs from LIST to TAILQ so that it can be traversed 2001-02-06 10:12:15 +00:00
snp KSE Milestone 2 2001-09-12 08:38:13 +00:00
sound use pcm_getbuffersize() 2001-10-10 17:56:35 +00:00
speaker KSE Milestone 2 2001-09-12 08:38:13 +00:00
sr Fix clock selection for X.21 interfaces. 2001-02-26 16:30:02 +00:00
stg We should not pass the size of the memory to bus_alloc_resource(). 2001-09-04 04:32:48 +00:00
streams KSE Milestone 2 2001-09-12 08:38:13 +00:00
sym s/adress/address/ 2001-07-23 12:05:27 +00:00
syscons Enable console. There are far too many 'ifdef __i386__' in this file. 2001-10-06 13:34:30 +00:00
tdfx KSE Milestone 2 2001-09-12 08:38:13 +00:00
ti Have the driver advertise that it is capable of hardware checksums, and 2001-09-18 18:40:22 +00:00
twe KSE Milestone 2 2001-09-12 08:38:13 +00:00
tx Update tx(4) to always enable vlan(4) support. 2001-09-05 23:04:53 +00:00
txp Have the driver announce what capabilities it supports. These are 2001-09-18 18:41:39 +00:00
usb Set ulptusein = 0 so that the machine doesn't hang solid after a 2001-10-12 11:05:58 +00:00
vinum attachobject: Return correct status after successfully attaching a 2001-10-13 07:22:12 +00:00
vr Apply patch supplied by Jonathan Chen: use the correct arguments to 2001-07-09 17:58:42 +00:00
vx Quiet a variable format-string warning. 2001-07-19 02:16:24 +00:00
wds Turn on interrupt-entropy harvesting for all/any mass storage devices 2001-03-01 17:09:09 +00:00
wi KSE Milestone 2 2001-09-12 08:38:13 +00:00
wl KSE Milestone 2 2001-09-12 08:38:13 +00:00
xe Add some seat belts. If we set the error rc, then return it and don't 2001-08-29 05:11:44 +00:00