CVS log for src/sys/isa/Attic/psm.c
Up to [FreeBSD] / src / sys / isa
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.85
Fri Jun 10 20:56:38 2005 UTC (6 years, 8 months ago) by marius
Branches: MAIN
CVS tags: HEAD
FILE REMOVED
Changes since revision 1.84: +1 -1 lines
- Hook up the new locations of the atkbdc(4), atkbd(4) and psm(4) source files after they were repo-copied to sys/dev/atkbdc. The sources of atkbdc(4) and its children were moved to the new location in preparation for adding an EBus front-end to atkbdc(4) for use on sparc64; i.e. in order to not further scatter them over the whole tree which would have been the result of adding atkbdc_ebus.c in e.g. sys/sparc64/ebus. Another reason for the repo-copies was that some of the sources were misfiled, e.g. sys/isa/atkbd_isa.c wasn't ISA-specific at all but for hanging atkbd(4) off of atkbdc(4) and was renamed to atkbd_atkbdc.c accordingly. Most of sys/isa/psm.c, i.e. expect for its PSMC PNP part, also isn't ISA-specific. - Separate the parts of atkbdc_isa.c which aren't actually ISA-specific but are shareable between different atkbdc(4) bus front-ends into atkbdc_subr.c (repo-copied from atkbdc_isa.c). While here use bus_generic_rl_alloc_resource() and bus_generic_rl_release_resource() respectively in atkbdc_isa.c instead of rolling own versions. - Add sparc64 MD bits to atkbdc(4) and atkbd(4) and an EBus front-end for atkbdc(4). PS/2 controllers and input devices are used on a couple of Sun OEM boards and occur on either the EBus or the ISA bus. Depending on the board it's either the only on-board mean to connect a keyboard and mouse or an alternative to either RS232 or USB devices. - Wrap the PSMC PNP part of psm.c in #ifdef DEV_ISA so it can be compiled without isa(4) (e.g. for EBus-only machines). This ISA-specific part isn't separated into its own source file, yet, as it requires more work than was feasible for 6.0 in order to do it in a clean way. Actually philip@ is working on a rewrite of psm(4) so a more comprehensive clean-up and separation of hardware dependent and independent parts is expected to happen after 6.0. Tested on: i386, sparc64 (AX1105, AXe and AXi boards) Reviewed by: philip
Revision 1.84: download - view: text, markup, annotated - select for diffs
Mon Jan 10 13:05:58 2005 UTC (7 years, 1 month ago) by philip
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +207 -11 lines
Make life for owners of Synaptics Touchpads more pleasant :-)
o Implement a shiny new algorithm to keep track of finger movement at
slow speeds. This dramatically reduces the level of questionable
language from users trying to resize windows.
o Properly catch the many extra buttons and dials which manufacturers
are known to screw onto Synaptics touchpad controllers. Currently,
up to seven buttons are known to work, more should work too.
o Add a number of sysctls allowing one to tune the driver to taste in
a simple way:
# Should the extra buttons act as axes or as middle button
hw.psm.synaptics.directional_scrolls
# These control the 'stickiness' at low speeds
hw.psm.synaptics.low_speed_threshold
hw.psm.synaptics.min_movement
hw.psm.synaptics.squelch_level
PR: kern/75725
Submitted by: Jason Kuri <jay@oneway.com>
MFC after: 1 month
Revision 1.83: download - view: text, markup, annotated - select for diffs
Mon Jan 3 13:19:49 2005 UTC (7 years, 1 month ago) by philip
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +21 -20 lines
Reduce diffs to work in progress before checking in serious changes. o Move the sysctls under debug.psm.* and hw.psm.* making them a bit clearer and more consistent with other drivers. o Remove the debug.psm_soft_timeout sysctl. It was introduced many moons ago in r1.64 but never referenced anywhere. o Introduce hw.psm.tap_threshold and hw.psm.tap_timeout to control the behaviour of taps on touchpads. People might like to fiddle with these if tapping seems to slow or too fast for them. o Add debug.psm.loglevel as a tunable so that verbosity can be set easily at boot-time (to watch probes and such) without having to compile a kernel with options PSM_DEBUG=N.
Revision 1.79.2.2: download - view: text, markup, annotated - select for diffs
Fri Oct 1 06:26:51 2004 UTC (7 years, 4 months ago) by philip
Branches: RELENG_5
CVS tags: RELENG_5_5_BP, RELENG_5_5_0_RELEASE, RELENG_5_5, RELENG_5_4_BP, RELENG_5_4_0_RELEASE, RELENG_5_4, RELENG_5_3_BP, RELENG_5_3_0_RELEASE, RELENG_5_3
Diff to: previous 1.79.2.1: preferred, colored; branchpoint 1.79: preferred, colored; next MAIN 1.80: preferred, colored
Changes since revision 1.79.2.1: +11 -1 lines
MFC: Introduction of hw.psm.synaptics_support tunable [1] and documentation for the synaptics support in psm(4) [2]. [1] from psm.c r1.82 [2] from psm.4 r1.44 Approved by: re (scottl)
Revision 1.82: download - view: text, markup, annotated - select for diffs
Wed Sep 29 23:49:57 2004 UTC (7 years, 4 months ago) by philip
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +11 -1 lines
Introduce a tunable to disable support for Synaptics touchpads. A number of people have reported problems (stickyness, aiming difficulty) which is proving difficult to fix, so this will default to disable until sometime after 5.3R. To enable Synaptics support, set the 'hw.psm.synaptics_support=1' tunable. MT5 candidate. Approved by: njl
Revision 1.79.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 2 15:24:38 2004 UTC (7 years, 5 months ago) by gibbs
Branches: RELENG_5
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +120 -98 lines
MFC: Improve sync error recovery (revs 1.80 and 1.81). Approved by: re
Revision 1.81: download - view: text, markup, annotated - select for diffs
Fri Aug 27 21:33:33 2004 UTC (7 years, 5 months ago) by gibbs
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +0 -0 lines
Forced commit to add additional comment. o Add MOUSE_PS2_TAP into syncmask[0] correctly when we're built with PSM_CONFIG_FORCETAP. The previous code from revision 1.56 attempted to do this but updated the a mask variable that would be clobbered later. o If syncmask[1] hasn't yet been set when ioctl(MOUSE_GETMODE) is called, zero syncmask[0] and syncmask[1] so that sync validation is effectively disabled in userland applications and moused doesn't misbehave. The psm driver performs sync validation so there is no loss in functionality in clearing the sync mask. o If PSM_NEED_SYNCBITS is set, setup syncmask[1], even if it's already correct. This prevents the PSM_NEED_SYNCBITS bit from being left on after a re-initialisation and erroneously causing a subsequent out-of-sync packet to mis-set syncmask[1].
Revision 1.80: download - view: text, markup, annotated - select for diffs
Fri Aug 27 21:25:16 2004 UTC (7 years, 5 months ago) by gibbs
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +120 -98 lines
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
Revision 1.79: download - view: text, markup, annotated - select for diffs
Tue Aug 17 18:12:37 2004 UTC (7 years, 5 months ago) by gibbs
Branches: MAIN
CVS tags: RELENG_5_BP
Branch point for: RELENG_5
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +13 -20 lines
Defer the capture of the "expected sync bits" until the first "normal" data packet is received from the mouse. In the case of many KVM's, this avoids a bug in their mouse emulation that sends back incorrect sync when you explicitly request a data packet from the mouse. Without this change, you must force the driver into stock PS/2 mode or be flooded with a never ending stream of "out of sync" messages on these KVMs. Approved by: re
Revision 1.78: download - view: text, markup, annotated - select for diffs
Mon Aug 16 20:19:09 2004 UTC (7 years, 5 months ago) by philip
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +2 -2 lines
Don't initialize static variables to 0 (C should just take care of that). Spotted by: njl
Revision 1.77: download - view: text, markup, annotated - select for diffs
Mon Aug 16 16:28:27 2004 UTC (7 years, 5 months ago) by philip
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +29 -5 lines
Update support for Synaptics Touchpads (Volume V) o Add (long awaited) support for guest devices Submitted by: Arne Schwabe <arne@rfc2549.org> Approved by: njl (in a former revision)
Revision 1.76: download - view: text, markup, annotated - select for diffs
Sun Aug 8 01:26:00 2004 UTC (7 years, 6 months ago) by philip
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +10 -3 lines
Assume a finger of regular width when no width value is reported by the touchpad (which happens when it has no extended capabilities). Spotted by: dhw Forgotten by: philip
Revision 1.75: download - view: text, markup, annotated - select for diffs
Sun Aug 8 01:10:23 2004 UTC (7 years, 6 months ago) by philip
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +2 -2 lines
Update support for Synaptics Touchpads (Volume IV) o Change the motion calculation to result in a more reasonable speed of motion This should fix the 'aiming' problems people have reported. It also mitigates (but doesn't completely solve) the 'stalling' problems at very low speeds. Tested by: many subscribers to -current Approved by: njl
Revision 1.74: download - view: text, markup, annotated - select for diffs
Sun Aug 8 01:00:31 2004 UTC (7 years, 6 months ago) by philip
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +26 -0 lines
Update support for Synaptics Touchpads (Volume III) o Catch 'taps' as button presses o One finger sends button1, two fingers send button3, three fingers send button2 (double-click) Tested by: many subscribers to -current Approved by: njl
Revision 1.73: download - view: text, markup, annotated - select for diffs
Sun Aug 8 00:57:07 2004 UTC (7 years, 6 months ago) by philip
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +26 -5 lines
Update support for Synaptics Touchpads (Volume II) o Handle the 'up/down' buttons some touchpads have as a z-axis (scrollwheel) as recommended by the specs o Report the buttons as button4 and button5 instead of button2 and button4, button2 can be emulated by pressing button1 and button3 simultaneously. This allows one to use the two extra buttons for other purposes if one so desires. Tested by: many subscribers to -current Approved by: njl
Revision 1.72: download - view: text, markup, annotated - select for diffs
Sun Aug 8 00:52:11 2004 UTC (7 years, 6 months ago) by philip
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +62 -51 lines
Update support for Synaptics Touchpads (Volume I) o Clean up whitespace and comments in the enable_synaptics() probing function o Only use (and rely on) the extended capability bits when we are told they actually exist o Partly ignore the (possibly dated?) part of the specification about the mode byte so that we can support 'guest devices' too. Tested by: many subscribers to -current Approved by: njl
Revision 1.71: download - view: text, markup, annotated - select for diffs
Fri Jul 30 00:59:40 2004 UTC (7 years, 6 months ago) by njl
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +213 -1 lines
Add support for the Synaptics Touchpad mouse driver. I reworked the submitted version with style cleanups and changes to comments. I also modified the ioctl interface. This version only has one ioctl (to get the Synaptics-specific config parameters) since this is the only information a user might want. Submitted by: Arne Schwabe <arne -at- rfc2549.org>
Revision 1.23.2.9: download - view: text, markup, annotated - select for diffs
Mon Jul 19 00:43:34 2004 UTC (7 years, 6 months ago) by mux
Branches: RELENG_4
CVS tags: RELENG_4_11_BP, RELENG_4_11_0_RELEASE, RELENG_4_11
Diff to: previous 1.23.2.8: preferred, colored; branchpoint 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.2.8: +10 -6 lines
MFC r1.70: When checking the result of the test_aux_port() function, ignore two more bogus return values sent by some hardware. PR: kern/61482, kern/54188 Submitted by: Ulf Lilleengen <lulf@kerneled.org>, Victor Balada Diaz <victor@alf.dyndns.ws>
Revision 1.70: download - view: text, markup, annotated - select for diffs
Fri Jul 16 22:04:29 2004 UTC (7 years, 6 months ago) by mux
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +10 -6 lines
Ignore more strange return values of the test_aux_port() function, because some notebooks (apparently Compaq, Toshiba and Acer ones) erroneously return 2 or 3 there. PR: kern/61482, kern/54188 Submitted by: Ulf Lilleengen <lulf@kerneled.org>, Victor Balada Diaz <victor@alf.dyndns.ws> MFC after: 3 days
Revision 1.69: download - view: text, markup, annotated - select for diffs
Wed Jun 16 09:47:11 2004 UTC (7 years, 7 months ago) by phk
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +7 -7 lines
Do the dreaded s/dev_t/struct cdev */ Bump __FreeBSD_version accordingly.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Sat Apr 17 10:25:04 2004 UTC (7 years, 9 months ago) by mux
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +0 -3 lines
Don't check for device_get_softc() returning NULL, it can't happen.
Revision 1.67: download - view: text, markup, annotated - select for diffs
Sun Apr 4 16:36:21 2004 UTC (7 years, 10 months ago) by markm
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +13 -1 lines
Put a bunch of output that us really only useful in a debug scenario into #ifdef DEBUG. This makes my cluster with Belkin KVM switch completely usable, even if the KVM switch and mouse get a bit confused sometimes. Without this, when the mouse gets confused, all sorts of crud gets spammed all over the screen. With this, the mouse may appear dead for a second or three, but it recovers silently.
Revision 1.66: download - view: text, markup, annotated - select for diffs
Wed Mar 17 17:50:51 2004 UTC (7 years, 10 months ago) by njl
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +7 -8 lines
Convert callers to the new bus_alloc_resource_any(9) API. Submitted by: Mark Santcroos <marks@ripe.net> Reviewed by: imp, dfr, bde
Revision 1.65: download - view: text, markup, annotated - select for diffs
Sat Feb 21 21:10:52 2004 UTC (7 years, 11 months ago) by phk
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +2 -0 lines
Device megapatch 4/6: Introduce d_version field in struct cdevsw, this must always be initialized to D_VERSION. Flip sense of D_NOGIANT flag to D_NEEDGIANT, this involves removing four D_NOGIANT flags and adding 145 D_NEEDGIANT flags.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Sat Feb 21 19:42:57 2004 UTC (7 years, 11 months ago) by phk
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +0 -2 lines
Device megapatch 1/6: Free approx 86 major numbers with a mostly automatically generated patch. A number of strategic drivers have been left behind by caution, and a few because they still (ab)use their major number.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Thu Dec 11 11:28:11 2003 UTC (8 years, 2 months ago) by alfred
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +256 -110 lines
Significantly reduce the "jitter" that is typical for PS/2 mice when using a KVM. There is no actual solution possible, but this gets us pretty close. Typically when switching back to a FreeBSD box and moving the mouse wild data is produced, because the protocol's validation/checksum system is extremely weak it is impossible to determine that we're out of sync before dropping several bogus packets to user land. The actual solution that appears to offer the best clamping of jitter is to buffer the mouse packets if we've not seen mouse activity for more than .5 seconds. Then waiting to flush that data for 1/20th of a second. If within that 20th of a second we get any packets that do fail the weak test we drop the entire queue and back off accepting data from the mouse for 2 seconds and then repeat the whole deal. You can still get _some_ jitter, notably if you switch to the FreeBSD box, then move the mouse just enough to generate one or two packets. Those packets may be bogus, but may still pass the validity check. One way to finally kill the problem once and for all is to check the initial packets for "wild" values. Typically one sees packets in the +/-60 range during normal operation, however when bogus data is generated it's typically near the outer range of +/-120 or more, those packets would be a good candidate for dropping or clamping. I've been running with this for several weeks now and it has significantly helped me stay sane even with a piece of junk Belkin KVM causing wild jitter each and every time I switch. Lastly I'd like to note that my experience with Windows shows me that somehow the Microsoft PS/2 driver typically avoids this problem, but that may only be possible when running the mouse in a dumb-ed down PS/2 mode that Belkin recommends on their site.
Revision 1.23.2.8: download - view: text, markup, annotated - select for diffs
Wed Nov 12 04:51:24 2003 UTC (8 years, 3 months ago) by mikeh
Branches: RELENG_4
CVS tags: RELENG_4_10_BP, RELENG_4_10_0_RELEASE, RELENG_4_10
Diff to: previous 1.23.2.7: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.7: +10 -3 lines
MFC: Support A4 Tech RFSW-35 mouse.
Revision 1.23.2.7: download - view: text, markup, annotated - select for diffs
Wed Nov 12 04:26:26 2003 UTC (8 years, 3 months ago) by mikeh
Branches: RELENG_4
Diff to: previous 1.23.2.6: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.6: +9 -0 lines
MFC: 1.60
Reset device twice.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Sun Nov 9 09:17:24 2003 UTC (8 years, 3 months ago) by tanimura
Branches: MAIN
CVS tags: RELENG_5_2_BP, RELENG_5_2_1_RELEASE, RELENG_5_2_0_RELEASE, RELENG_5_2
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +1 -1 lines
- Implement selwakeuppri() which allows raising the priority of a thread being waken up. The thread waken up can run at a priority as high as after tsleep(). - Replace selwakeup()s with selwakeuppri()s and pass appropriate priorities. - Add cv_broadcastpri() which raises the priority of the broadcast threads. Used by selwakeuppri() if collision occurs. Not objected in: -arch, -current
Revision 1.61: download - view: text, markup, annotated - select for diffs
Sat Jul 12 18:36:04 2003 UTC (8 years, 7 months ago) by mikeh
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +10 -3 lines
Add support for the A4 Tech RFSW-35 mouse wheel. Probe is similar to 4D Plus. PR: 44333
Revision 1.60: download - view: text, markup, annotated - select for diffs
Mon Jul 7 05:40:13 2003 UTC (8 years, 7 months ago) by mikeh
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +9 -0 lines
Reset the PSM aux device twice to help pierce through some KVM's to get the correct data from the attached mouse. Multiple resets should be harmless, but just in case, the second one is non-fatal and is just ignored.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Tue Jul 1 14:41:16 2003 UTC (8 years, 7 months ago) by mikeh
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +1 -0 lines
Add PnP PS/2 id for Dell Latitude X200. PR: 48516 MFC after: 2 weeks
Revision 1.58: download - view: text, markup, annotated - select for diffs
Wed Jun 11 00:32:45 2003 UTC (8 years, 8 months ago) by obrien
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +3 -3 lines
Use __FBSDID().
Revision 1.57: download - view: text, markup, annotated - select for diffs
Sat May 31 21:11:51 2003 UTC (8 years, 8 months ago) by phk
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +2 -2 lines
wrap macro in do {...} while(0)
Revision 1.56: download - view: text, markup, annotated - select for diffs
Sat May 31 18:37:30 2003 UTC (8 years, 8 months ago) by phk
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +1 -1 lines
Remove extra ';' Found by: FlexeLint
Revision 1.55: download - view: text, markup, annotated - select for diffs
Wed Apr 30 12:57:39 2003 UTC (8 years, 9 months ago) by markm
Branches: MAIN
CVS tags: RELENG_5_1_BP, RELENG_5_1_0_RELEASE, RELENG_5_1
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +1 -1 lines
Fix some easy, global, lint warnings. In most cases, this means making some local variables static. In a couple of cases, this means removing an unused variable.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Tue Apr 29 13:36:02 2003 UTC (8 years, 9 months ago) by kan
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +1 -1 lines
Deprecate machine/limits.h in favor of new sys/limits.h. Change all in-tree consumers to include <sys/limits.h> Discussed on: standards@ Partially submitted by: Craig Rodrigues <rodrigc@attbi.com>
Revision 1.53: download - view: text, markup, annotated - select for diffs
Mon Mar 3 12:15:51 2003 UTC (8 years, 11 months ago) by phk
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +7 -13 lines
Gigacommit to improve device-driver source compatibility between Initialize struct cdevsw using C99 sparse initializtion and remove all initializations to default values. This patch is automatically generated and has been tested by compiling LINT with all the fields in struct cdevsw in reverse order on alpha, sparc64 and i386. Approved by: re(scottl)
Revision 1.52: download - view: text, markup, annotated - select for diffs
Sun Mar 2 16:54:37 2003 UTC (8 years, 11 months ago) by des
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +3 -3 lines
More low-hanging fruit: kill caddr_t in calls to wakeup(9) / [mt]sleep(9).
Revision 1.51: download - view: text, markup, annotated - select for diffs
Wed Jan 22 22:02:09 2003 UTC (9 years ago) by marcel
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +1 -0 lines
YAM: This id is found in a Sony Vaio GRX-670. When will this end? Submitted by: Chuck McCrobie <mccrobie2000@yahoo.com>
Revision 1.50: download - view: text, markup, annotated - select for diffs
Wed Jan 22 03:31:08 2003 UTC (9 years ago) by hsu
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +3 -2 lines
Add yet another Sony Vaio PS/2 mouse ID. This one is found on a VX88. Submitted by: marcel
Revision 1.49: download - view: text, markup, annotated - select for diffs
Tue Jan 21 10:00:32 2003 UTC (9 years ago) by marcel
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +1 -0 lines
Add yet another Sony Vaio PS/2 mouse ID. This one is found in a R505GL. The ACPI data for the mouse includes the compatibility ID, but we apparently don't make use of it.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Wed Jan 15 02:15:57 2003 UTC (9 years ago) by mdodd
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +7 -16 lines
- GC a few more hand-rolled 'abs' macros. - GC a few hand-rolled min()/max() macros while I'm here.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Sun Aug 25 13:17:16 2002 UTC (9 years, 5 months ago) by charnier
Branches: MAIN
CVS tags: RELENG_5_0_BP, RELENG_5_0_0_RELEASE, RELENG_5_0
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -3 lines
Replace various spelling with FALLTHROUGH which is lint()able
Revision 1.23.2.6: download - view: text, markup, annotated - select for diffs
Wed Mar 27 16:53:35 2002 UTC (9 years, 10 months ago) by pb
Branches: RELENG_4
CVS tags: RELENG_4_9_BP, RELENG_4_9_0_RELEASE, RELENG_4_9, RELENG_4_8_BP, RELENG_4_8_0_RELEASE, RELENG_4_8, RELENG_4_7_BP, RELENG_4_7_0_RELEASE, RELENG_4_7, RELENG_4_6_BP, RELENG_4_6_2_RELEASE, RELENG_4_6_1_RELEASE, RELENG_4_6_0_RELEASE, RELENG_4_6
Diff to: previous 1.23.2.5: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.5: +158 -112 lines
MFC: rev 1.42, improve out-of-sync handling/recovery. Fixes problem with USB mouse on USB-PS/2 adapter.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Wed Mar 20 05:14:42 2002 UTC (9 years, 10 months ago) by alfred
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +29 -29 lines
Remove __P.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Thu Mar 14 01:32:29 2002 UTC (9 years, 11 months ago) by alfred
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +0 -2 lines
Fixes to make select/poll mpsafe. Problem: selwakeup required calling pfind which would cause lock order reversals with the allproc_lock and the per-process filedesc lock. Solution: Instead of recording the pid of the select()'ing process into the selinfo structure, actually record a pointer to the thread. To avoid dereferencing a bad address all the selinfo structures that are in use by a thread are kept in a list hung off the thread (protected by sellock). When a selwakeup occurs the selinfo is removed from that threads list, it is also removed on the way out of select or poll where the thread will traverse its list removing all the selinfos from its own list. Problem: Previously the PROC_LOCK was used to provide the mutual exclusion needed to ensure proper locking, this couldn't work because there was a single condvar used for select and poll and condvars can only be used with a single mutex. Solution: Introduce a global mutex 'sellock' which is used to provide mutual exclusion when recording events to wait on as well as performing notification when an event occurs. Interesting note: schedlock is required to manipulate the per-thread TDF_SELECT flag, however if given its own field it would not need schedlock, also because TDF_SELECT is only manipulated under sellock one doesn't actually use schedlock for syncronization, only to protect against corruption. Proc locks are no longer used in select/poll. Portions contributed by: davidc
Revision 1.44: download - view: text, markup, annotated - select for diffs
Sun Mar 10 12:22:17 2002 UTC (9 years, 11 months ago) by takawata
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +1 -0 lines
Add SONY VAIO psm controller ISA-PnP ID.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Wed Dec 19 13:32:21 2001 UTC (10 years, 1 month ago) by sheldonh
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +1 -0 lines
Add another PS2 PNP id. PR: 32973 Submitted by: KT Sin <ktsin@acm.org>
Revision 1.42: download - view: text, markup, annotated - select for diffs
Sat Oct 13 10:28:02 2001 UTC (10 years, 3 months ago) by yokota
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +153 -110 lines
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
Revision 1.41: download - view: text, markup, annotated - select for diffs
Wed Oct 3 07:26:28 2001 UTC (10 years, 4 months ago) by takawata
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +2 -1 lines
Add PnP ID 'IBM3781' for TP240 mouse.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Tue Sep 25 16:59:28 2001 UTC (10 years, 4 months ago) by yokota
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +84 -39 lines
Yet another turn of workaround for psm/ACPI/PnP BIOS problems currently experienced in -CURRENT. This should fix the problem that the PS/2 mouse is detected twice if the acpi module is not loaded on some systems.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Sat Sep 15 04:38:17 2001 UTC (10 years, 4 months ago) by yokota
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +37 -14 lines
Refine ACPI/PnP BIOS probe/attach routines a bit. - Add workaround for the problematic PnP BIOS which does not assign irq resource for the PS/2 mouse device node; if there is no irq assigned for the PS/2 mouse node, refer to device.hints for an irq number. If we still don't find an irq number in the hints database, use a hard-coded value. - Delete unused ivars. - Bit of clean up in probe/attach. - Add PnP ID for the PS/2 mouse port on some IBM ThinkPad models.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Wed Sep 12 08:37:42 2001 UTC (10 years, 5 months ago) by julian
Branches: MAIN
CVS tags: KSE_MILESTONE_2
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +6 -6 lines
KSE Milestone 2 Note ALL MODULES MUST BE RECOMPILED make the kernel aware that there are smaller units of scheduling than the process. (but only allow one thread per process at this time). This is functionally equivalent to teh previousl -current except that there is a thread associated with each process. Sorry john! (your next MFC will be a doosie!) Reviewed by: peter@freebsd.org, dillon@freebsd.org X-MFC after: ha ha ha ha
Revision 1.37: download - view: text, markup, annotated - select for diffs
Thu Sep 6 12:09:26 2001 UTC (10 years, 5 months ago) by yokota
Branches: MAIN
CVS tags: KSE_PRE_MILESTONE_2
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +116 -41 lines
Update the atkbdc, atkbd, and psm drivers to probe/attach more cleanly and consistently in all APCI, PnP BIOS, and "hint" cases. NOTE: this doesn't necessarily solve the problem that the PS/2 mouse is not detected after the recent ACPI update.
Revision 1.23.2.5: download - view: text, markup, annotated - select for diffs
Mon Jul 30 16:29:05 2001 UTC (10 years, 6 months ago) by yokota
Branches: RELENG_4
CVS tags: RELENG_4_5_BP, RELENG_4_5_0_RELEASE, RELENG_4_5, RELENG_4_4_BP, RELENG_4_4_0_RELEASE, RELENG_4_4
Diff to: previous 1.23.2.4: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.4: +59 -22 lines
MFC: - rev 1.25, workaround for KVM - rev 1.33, rearrange some mouse identification routines - rev 1.34, out-of-sync hack
Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Mar 26 12:40:57 2001 UTC (10 years, 10 months ago) by phk
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +1 -2 lines
Send the remains (such as I have located) of "block major numbers" to the bit-bucket.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue Jan 9 04:33:26 2001 UTC (11 years, 1 month ago) by wollman
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -2 lines
select() DKI is now in <sys/selinfo.h>.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Fri Dec 1 05:26:24 2000 UTC (11 years, 2 months ago) by yokota
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +12 -1 lines
- Add a hack for "psmintr: out of sync.." This is NOT a fix, but a hack! Add `flags 0x8000' to the psm driver to enable it. The psm driver will try to get out of out-of-sync situation by disabling the mouse and immediately enable it again. If you are seeing this out-of-sync problem because of an incompetent(?!) KVM switch, this hack will NOT be good for you. However, if you are occasionally seeing the problem because of lost mouse interrupt, this might help.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri Dec 1 05:24:30 2000 UTC (11 years, 2 months ago) by yokota
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +40 -31 lines
- Slightly rearrnage IntelliMouse Explorer and Logitech MouseMan+ identification routines for efficiency. No functional change.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Sun Oct 15 14:18:46 2000 UTC (11 years, 3 months ago) by phk
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +1 -2 lines
Remove unneeded #include <machine/clock.h>
Revision 1.31: download - view: text, markup, annotated - select for diffs
Mon Oct 9 08:08:31 2000 UTC (11 years, 4 months ago) by phk
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -2 lines
Initiate deorbit burn sequence for <machine/mouse.h>. Replace all in-tree uses with <sys/mouse.h> which repo-copied a few moments ago from src/sys/i386/include/mouse.h by peter. This is also the appropriate fix for exo-tree sources. Put warnings in <machine/mouse.h> to discourage use. November 15th 2000 the warnings will be converted to errors. January 15th 2001 the <machine/mouse.h> files will be removed.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Fri Sep 22 08:40:05 2000 UTC (11 years, 4 months ago) by jhb
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +7 -7 lines
Fix several 64-bit-ism warnings due to sizeof(int) != sizeof(void *) on the alpha.
Revision 1.23.2.4: download - view: text, markup, annotated - select for diffs
Thu Aug 24 08:50:38 2000 UTC (11 years, 5 months ago) by yokota
Branches: RELENG_4
CVS tags: RELENG_4_3_BP, RELENG_4_3_0_RELEASE, RELENG_4_3, RELENG_4_2_0_RELEASE, RELENG_4_1_1_RELEASE
Diff to: previous 1.23.2.3: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.3: +5 -2 lines
MFC: rev 1.28 and 1.29. - Fix GENERIC_MOUSE_ENTRY. - Add spltty() and splx().
Revision 1.29: download - view: text, markup, annotated - select for diffs
Thu Aug 24 08:49:44 2000 UTC (11 years, 5 months ago) by yokota
Branches: MAIN
CVS tags: PRE_SMPNG
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +4 -1 lines
Add spltty()/splx() in the watchdog timer routine.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri Jul 28 03:48:46 2000 UTC (11 years, 6 months ago) by yokota
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -2 lines
Fix GENERIC_MOUSE_ENTRY. Submitted by: Graham Wheeler <gram@cequrux.com> and gibbs
Revision 1.23.2.3: download - view: text, markup, annotated - select for diffs
Sat Jul 22 04:09:21 2000 UTC (11 years, 6 months ago) by yokota
Branches: RELENG_4
CVS tags: RELENG_4_1_0_RELEASE
Diff to: previous 1.23.2.2: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.2: +10 -14 lines
MFC: try to fix "psmintr out of sync..." Approved by: jkh
Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat Jul 22 04:08:12 2000 UTC (11 years, 6 months ago) by yokota
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +10 -14 lines
This is yet another attempt to fix "psmintr out of sync.." problems. - Properly protect the watchdog timer routine. - Relocate the sync check statement so that we don't see too many error messages.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Apr 19 14:57:50 2000 UTC (11 years, 9 months ago) by phk
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +1 -2 lines
Remove ~25 unneeded #include <sys/conf.h> Remove ~60 unneeded #include <sys/malloc.h>
Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Apr 2 08:28:21 2000 UTC (11 years, 10 months ago) by yokota
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +23 -6 lines
- Add temporary workaround to fool some "clever" KVM switch products which think they know the IntelliMouse 4-byte packet and believe, wrongly, that any other protocols use 3-byte packets. - Update a couple of comment lines for A4 Tech mice.
Revision 1.23.2.2: download - view: text, markup, annotated - select for diffs
Fri Mar 31 12:52:05 2000 UTC (11 years, 10 months ago) by yokota
Branches: RELENG_4
Diff to: previous 1.23.2.1: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.1: +2 -4 lines
MFC: - Properly keep track of I/O port resources. - Use bus_space_read/write() to access the ports. atkbd_isa.c 1.8, atkbdc_isa.c 1.15, atkbd.c 1.26, atkbdc.c 1.6, atkbcreg.h 1.6, atkbdreg.h 1.6, pcvt_hdr.h 1.37, psm.c 1.24.
Revision 1.23.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 21 14:44:00 2000 UTC (11 years, 10 months ago) by yokota
Branches: RELENG_4
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +396 -86 lines
MFC: add support for more mice (psm.c 1.24, i386/include/mouse.h 1.16, alpha/include/mouse.h 1.17, atkbdcreg.h 1.5).
Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Mar 18 15:21:28 2000 UTC (11 years, 10 months ago) by yokota
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +396 -88 lines
- Add Support for the following PS/2 mice:
- Microsoft IntelliMouse Explorer: 2 buttons on top, 2 side buttons
and a wheel which also acts as the middle button. The mouse is
recognized as "IntelliMouse Explorer".
- Genius NetScroll Optical: 2 buttons on top, 2 side buttons and a
wheel which also acts as the middle button. The mouse is recognized
as "NetMouse/NetScroll Optical".
- MouseSystems SmartScroll Mouse (OEM from Genius?): 3 buttons on top,
1 side button and a wheel. The mouse is recognized as Genius
"NetScroll".
- IBM ScrollPoint: 2 buttons on top and a stick between the buttons.
The stick can perform "horizontal scroll" in W*ndows environment.
The horizontal movement of the stick is detected. It is currently
mapped to the Z axis movement in the same way as the first wheel.
The mouse is recognized as "MouseMan+", as it is considered to be
a variation of MouseMan.
- A4 Tech 4D and 4D+ mice. These mice have two wheels! The movement
of the second wheel is reported as the Z axis movement in the
same way as the first wheel. These mice are recognized as "4D
Mouse" and "4D+ Mouse".
- Tweak IntelliMouse support code a bit so that less-than-compatible
wheel mice can work properly with the psm driver.
- Add driver configuration flags which correspond to the kernel
options PSM_HOOKRESUME and PSM_RESETAFTERSUSPEND, so that we don't
need to recompile the kernel when we need these functions.
- Properly keep track of the irq resource.
- Add a watchdog timer in case interrupts are lost (experimental).
- Add `detach' function (experimental).
Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Mar 1 19:30:36 2000 UTC (11 years, 11 months ago) by peter
Branches: MAIN
CVS tags: RELENG_4_BP, RELENG_4_0_0_RELEASE
Branch point for: RELENG_4
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +1 -2 lines
Don't free(sc) before returning an error from probe, it does not "belong" to us, subr_bus.c will free it. This bug (panic: freeing already free) was exposed by kern/subr_bus.c rev 1.54 Not explicitly approved by: jkh (but this is a showstopper and fallout of the above approved change)
Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Jan 29 15:08:55 2000 UTC (12 years ago) by peter
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +1 -10 lines
Use config's conditional compilation rather than using #ifdefs that make modular compilation harder. I'm doing this because people seem to like cut/pasting examples of bad practices in existing code.
Revision 1.2.2.6: download - view: text, markup, annotated - select for diffs
Thu Jan 20 13:27:00 2000 UTC (12 years ago) by yokota
Branches: RELENG_3
CVS tags: RELENG_3_5_0_RELEASE
Diff to: previous 1.2.2.5: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.5: +3 -1 lines
YAMFC: merge GlidePoint support from sys/isa/psm.c rev.1.16 in -CURRENT.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Dec 15 10:03:58 1999 UTC (12 years, 1 month ago) by yokota
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +19 -37 lines
- Add the device resume method. It supercedes the existing resume routine which hooks the apm driver. - Rename the PSM_HOOKAPM option to PSM_HOOKRESUME. - Delete unnecessary #include.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon Nov 8 07:29:23 1999 UTC (12 years, 3 months ago) by peter
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2 lines
Use DEVICE_MODULE() directly instead of DEV_DRIVER_MODULE. psm.c uses make_dev() already.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat Sep 25 18:24:21 1999 UTC (12 years, 4 months ago) by phk
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +1 -6 lines
Remove five now unused fields from struct cdevsw. They should never have been there in the first place. A GENERIC kernel shrinks almost 1k. Add a slightly different safetybelt under nostop for tty drivers. Add some missing FreeBSD tags
Revision 1.2.2.5: download - view: text, markup, annotated - select for diffs
Sun Aug 29 16:25:46 1999 UTC (12 years, 5 months ago) by peter
Branches: RELENG_3
CVS tags: RELENG_3_4_0_RELEASE, RELENG_3_3_0_RELEASE
Diff to: previous 1.2.2.4: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.4: +1 -1 lines
$Id$ -> $FreeBSD$
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat Aug 28 00:46:01 1999 UTC (12 years, 5 months ago) by peter
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +1 -1 lines
$Id$ -> $FreeBSD$
Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Aug 23 20:59:00 1999 UTC (12 years, 5 months ago) by phk
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -17 lines
Convert DEVFS hooks in (most) drivers to make_dev().
Diskslice/label code not yet handled.
Vinum, i4b, alpha, pc98 not dealt with (left to respective Maintainers)
Add the correct hook for devfs to kern_conf.c
The net result of this excercise is that a lot less files depends on DEVFS,
and devtoname() gets more sensible output in many cases.
A few drivers had minor additional cleanups performed relating to cdevsw
registration.
A few drivers don't register a cdevsw{} anymore, but only use make_dev().
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Aug 22 06:11:52 1999 UTC (12 years, 5 months ago) by yokota
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +4 -2 lines
Improve the detection code for GlidePoint. This is still a kludge, but better than before... PR: kern/13215
Revision 1.2.2.4: download - view: text, markup, annotated - select for diffs
Sat Aug 21 11:46:10 1999 UTC (12 years, 5 months ago) by yokota
Branches: RELENG_3
Diff to: previous 1.2.2.3: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.3: +199 -21 lines
MFC: - Revise MouseMan+ protocol support. (psm.c, rev 1.14, mouse.h, 1.13) - Add VersaPad support. (psm.c, rev 1.15, mouse.h, 1.14) - Update the man page. (psm.4, rev 1.18)
Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Aug 17 12:14:13 1999 UTC (12 years, 5 months ago) by yokota
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +100 -4 lines
Recognize Interlink VersaPad. `Tap' action will be recognized as the button 4. Submitted by: Masachika ISHIZUKA <ishizuka@ish.org>
Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Mon Jul 12 15:47:25 1999 UTC (12 years, 7 months ago) by yokota
Branches: RELENG_3
Diff to: previous 1.2.2.2: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.2: +97 -51 lines
YAMFC: rev 1.5 and rev 1.11.
Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Mon Jul 12 15:29:27 1999 UTC (12 years, 7 months ago) by yokota
Branches: RELENG_3
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.1: +15 -1 lines
MFC: Implement a kludge for some wheeled mice for which infamous "psmintr: out of sync..." messages is generated and the wheel movement is not recognized.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Jul 12 15:16:04 1999 UTC (12 years, 7 months ago) by yokota
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +101 -19 lines
Improve Logitech MouseMan+ protocol support.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Jul 12 13:40:21 1999 UTC (12 years, 7 months ago) by yokota
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +16 -2 lines
Implement a kludge for some wheeled mice for which infamous "psmintr: out of sync..." messages is generated and the wheel movement is not recognized. The trick is found by Takashi Nishida.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Jul 4 14:58:34 1999 UTC (12 years, 7 months ago) by phk
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -3 lines
Remove cmaj and bmaj args from DEV_DRIVER_MODULE.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Jun 3 12:40:53 1999 UTC (12 years, 8 months ago) by yokota
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
Fix PS/2 MouseMan+ protocol. We have been looking at a wrong place for the sign bit for roller movement!
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun May 30 16:52:47 1999 UTC (12 years, 8 months ago) by phk
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +21 -5 lines
This commit should be a extensive NO-OP:
Reformat and initialize correctly all "struct cdevsw".
Initialize the d_maj and d_bmaj fields.
The d_reset field was not removed, although it is never used.
I used a program to do most of this, so all the files now use the
same consistent format. Please keep it that way.
Vinum and i4b not modified, patches emailed to respective authors.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun May 9 13:00:43 1999 UTC (12 years, 9 months ago) by phk
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
Unconfuse DEV_MODULE() and DEV_DRIVER_MODULE() about the difference between a major number for a dev_t.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun May 9 04:58:35 1999 UTC (12 years, 9 months ago) by yokota
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +8 -3 lines
Revive APM hooking code for i386 arch now that the same source file is used for both i386 and alpha (the code was in sys/i386/isa/psm.c, but was disabled when ported to alpha.)
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat May 8 21:59:29 1999 UTC (12 years, 9 months ago) by dfr
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -4 lines
Move the declaration of the interrupt type from the driver structure to the BUS_SETUP_INTR call.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri May 7 10:10:40 1999 UTC (12 years, 9 months ago) by phk
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -3 lines
Continue where Julian left off in July 1998:
Virtualize bdevsw[] from cdevsw. bdevsw() is now an (inline)
function.
Join CDEV_MODULE and BDEV_MODULE to DEV_MODULE (please pay attention
to the order of the cmaj/bmaj arguments!)
Join CDEV_DRIVER_MODULE and BDEV_DRIVER_MODULE to DEV_DRIVER_MODULE
(ditto!)
(Next step will be to convert all bdev dev_t's to cdev dev_t's
before they get to do any damage^H^H^H^H^H^Hwork in the kernel.)
Revision 1.2.2.1: download - view: text, markup, annotated - select for diffs
Fri May 7 09:01:57 1999 UTC (12 years, 9 months ago) by dfr
Branches: RELENG_3
CVS tags: RELENG_3_2_PAO_BP, RELENG_3_2_PAO, RELENG_3_2_0_RELEASE
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +15 -6 lines
MFC: Most non-newbus and non-vm changes to the alpha port since the 3.1 branch was started, including: * Crashdumps * Fixes to spl * Sysctls to control unaligned accesses * Use the new syscons driver instead of the old one. * A few other minor fixes and cleanups.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Apr 18 15:12:11 1999 UTC (12 years, 9 months ago) by peter
Branches: MAIN
CVS tags: PRE_VFS_BIO_NFS_PATCH, PRE_SMP_VMSHARE, POST_VFS_BIO_NFS_PATCH, POST_SMP_VMSHARE
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +97 -51 lines
Merge revs 1.57 and 1.60 of i386/isa/psm.c
Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Apr 16 21:22:34 1999 UTC (12 years, 9 months ago) by peter
Branches: MAIN
CVS tags: POST_NEWBUS
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +5 -4 lines
Bring the 'new-bus' to the i386. This extensively changes the way the i386 platform boots, it is no longer ISA-centric, and is fully dynamic. Most old drivers compile and run without modification via 'compatability shims' to enable a smoother transition. eisa, isapnp and pccard* are not yet using the new resource manager. Once fully converted, all drivers will be loadable, including PCI and ISA. (Some other changes appear to have snuck in, including a port of Soren's ATA driver to the Alpha. Soren, back this out if you need to.) This is a checkpoint of work-in-progress, but is quite functional. The bulk of the work was done over the last few years by Doug Rabson and Garrett Wollman. Approved by: core
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Jan 23 16:53:28 1999 UTC (13 years ago) by dfr
Branches: MAIN
CVS tags: PRE_NEWBUS
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +15 -6 lines
Update the alpha port to use the new syscons. Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> (partly)
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Nov 15 18:25:17 1998 UTC (13 years, 2 months ago) by dfr
Branches: MAIN
CVS tags: RELENG_3_BP, RELENG_3_1_0_RELEASE
Branch point for: RELENG_3
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +9 -8 lines
* Add hooks to allow the X server to access I/O ports and memory. * Update drivers to the latest version of the bus interface. The ISA drivers' use of the new resource api is minimal. Garrett has some much cleaner drivers which should be more easily shared between i386 and alpha. This has only been tested on cia based machines. It should work on lca and apecs but I might have broken something.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Nov 8 18:43:03 1998 UTC (13 years, 3 months ago) by dfr
Branches: MAIN
Port the ps/2 mouse driver to the alpha.
