The NetBSD Project

CVS log for src/sys/dev/wscons/wsmouse.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev / wscons

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.72.4.1: download - view: text, markup, annotated - select for diffs
Fri Sep 20 11:24:59 2024 UTC (2 months, 3 weeks ago) by martin
Branches: netbsd-10
Diff to: previous 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72: +8 -4 lines
Pull up following revision(s) (requested by rin in ticket #892):

	sys/dev/wscons/wsmouse.c: revision 1.73

wsmouse(4): Make wsmouse_input safe to call from MP-safe interrupts.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Sun Jul 30 10:45:11 2023 UTC (16 months, 2 weeks ago) by riastradh
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +8 -4 lines
wsmouse(4): Make wsmouse_input safe to call from MP-safe interrupts.

XXX pullup-10

Revision 1.72: download - view: text, markup, annotated - select for diffs
Sun Jul 17 11:44:30 2022 UTC (2 years, 4 months ago) by riastradh
Branches: MAIN
CVS tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +4 -4 lines
wsmouse(4): Nix trailing whitespace.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Sun Jul 17 11:42:55 2022 UTC (2 years, 4 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +4 -4 lines
wsmouse(4): KASSERT(a && b) -> KASSERT(a); KASSERT(b)

Better diagnostics.  No other functional change.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Tue Sep 28 06:14:27 2021 UTC (3 years, 2 months ago) by nia
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +143 -2 lines
wsmouse: add support for "precision scrolling" events and (GET|SET)PARAMS

WSCONS_EVENT_HSCROLL and WSCONS_EVENT_VSCROLL are two new wscons event
types that allow scrolling with a higher precision ("smoothness") than an
emulated scroll wheel, and are useful for touch input drivers.

WSMOUSEIO_GETPARAMS and WSMOUSEIO_SETPARAMS are two new ioctls that allow
the speed and direction of precision scrolling to be configured.

both features were originally implemented in OpenBSD.

Revision 1.68.18.1: download - view: text, markup, annotated - select for diffs
Sun Jan 3 16:35:02 2021 UTC (3 years, 11 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.68: preferred, colored; next MAIN 1.69: preferred, colored
Changes since revision 1.68: +4 -4 lines
Sync w/ HEAD.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Sun Dec 27 16:09:33 2020 UTC (3 years, 11 months ago) by tsutsui
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +4 -4 lines
Explicitly include generated ioconf.h for struct cfdrivers.

Revision 1.64.12.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:37 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.64.12.1: preferred, colored; branchpoint 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64.12.1: +1 -2 lines
update from HEAD

Revision 1.68: download - view: text, markup, annotated - select for diffs
Fri Nov 3 19:49:23 2017 UTC (7 years, 1 month ago) by maya
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, jdolecek-ncqfixes-base, jdolecek-ncqfixes, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: thorpej-futex
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +2 -3 lines
Remove redundant includes of malloc.h

Revision 1.67: download - view: text, markup, annotated - select for diffs
Fri Nov 3 19:20:27 2017 UTC (7 years, 1 month ago) by maya
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +3 -3 lines
Use __arraycount a bunch
Also, DIAGNOSTIC panic -> KASSERT

Revision 1.66.18.2: download - view: text, markup, annotated - select for diffs
Sat Apr 29 11:12:15 2017 UTC (7 years, 7 months ago) by pgoyette
Branches: prg-localcount2
Diff to: previous 1.66.18.1: preferred, colored; branchpoint 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66.18.1: +2 -3 lines
Remove more unnecessary #include for sys/localcount.h

Revision 1.66.18.1: download - view: text, markup, annotated - select for diffs
Thu Apr 27 05:36:36 2017 UTC (7 years, 7 months ago) by pgoyette
Branches: prg-localcount2
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +4 -2 lines
Restore all work from the former pgoyette-localcount branch (which is
now abandoned doe to cvs merge botch).

The branch now builds, and installs via anita.  There are still some
problems (cgd is non-functional and all atf tests time-out) but they
will get resolved soon.

Revision 1.66.8.3: download - view: text, markup, annotated - select for diffs
Tue Jul 26 05:54:40 2016 UTC (8 years, 4 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.66.8.2: preferred, colored; branchpoint 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66.8.2: +3 -3 lines
Rename LOCALCOUNT_INITIALIZER to DEVSW_MODULE_INIT.  This better describes
what we're doing, and why.

Revision 1.66.8.2: download - view: text, markup, annotated - select for diffs
Tue Jul 19 06:26:59 2016 UTC (8 years, 4 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.66.8.1: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.8.1: +3 -9 lines
Instead of repeatedly typing the conditional initialization of the
.d_localcount members in the various {b,c}devsw, define an initializer
macro and use it.  This also removes the need for defining new symbols
for each 'struct localcount'.

As suggested by riastradh@

Revision 1.66.8.1: download - view: text, markup, annotated - select for diffs
Mon Jul 18 03:49:59 2016 UTC (8 years, 4 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +10 -2 lines
Rump drivers are always installed via devsw_attach() so we need to
always allocate a 'struct localcount' for these drivers whenever they
are built as modules.

Revision 1.64.12.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:52 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +14 -4 lines
Rebase to HEAD as of a few days ago.

Revision 1.65.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:54:59 2014 UTC (10 years, 4 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65: +3 -2 lines
Rebase.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Fri Jul 25 08:10:39 2014 UTC (10 years, 4 months ago) by dholland
Branches: MAIN
CVS tags: tls-maxphys-base, tls-earlyentropy-base, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: prg-localcount2, pgoyette-localcount
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +3 -2 lines
Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.

Revision 1.64.2.1: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:37 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +13 -4 lines
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.64.16.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:48 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +13 -4 lines
sync with head

Revision 1.65: download - view: text, markup, annotated - select for diffs
Sun Mar 16 05:20:29 2014 UTC (10 years, 9 months ago) by dholland
Branches: MAIN
CVS tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +13 -4 lines
Change (mostly mechanically) every cdevsw/bdevsw I can find to use
designated initializers.

I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Sun Sep 11 22:28:21 2011 UTC (13 years, 3 months ago) by jakllsch
Branches: MAIN
CVS tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, rmind-smpnet
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +3 -3 lines
Correct copy/paste error in previous.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Sun Sep 11 19:19:19 2011 UTC (13 years, 3 months ago) by jakllsch
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +4 -2 lines
Initialize the W axis value on open as is already done for the other axes.

Revision 1.57.4.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:13:25 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.57.4.1: preferred, colored; branchpoint 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.4.1: +17 -15 lines
sync with head.

Revision 1.60.4.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:19:18 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60: +5 -2 lines
Sync with HEAD.

Revision 1.55.10.6: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:29:10 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.55.10.5: preferred, colored; branchpoint 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55.10.5: +3 -0 lines
Sync with HEAD.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Thu Jan 15 04:22:11 2009 UTC (15 years, 11 months ago) by yamt
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base, matt-premerge-20091211, matt-mips64-premerge-20101231, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +2 -7 lines
- reduce the number of #ifdefs.
- build compat glues if MODULAR.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Tue Jan 13 18:05:55 2009 UTC (15 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +10 -2 lines
provide wscons_event compatibility with 5.0.

Revision 1.55.10.5: download - view: text, markup, annotated - select for diffs
Sun Jun 29 09:33:11 2008 UTC (16 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.55.10.4: preferred, colored; branchpoint 1.55: preferred, colored
Changes since revision 1.55.10.4: +12 -13 lines
Sync with HEAD.

Revision 1.59.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:31:43 2008 UTC (16 years, 5 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +14 -15 lines
Sync w/ -current. 34 merge conflicts to follow.

Revision 1.59.4.1: download - view: text, markup, annotated - select for diffs
Wed Jun 18 16:33:34 2008 UTC (16 years, 5 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +14 -15 lines
Sync with head.

Revision 1.57.2.2: download - view: text, markup, annotated - select for diffs
Tue Jun 17 09:15:02 2008 UTC (16 years, 5 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.57.2.1: preferred, colored; branchpoint 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.2.1: +14 -15 lines
sync with head.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Thu Jun 12 23:04:37 2008 UTC (16 years, 6 months ago) by cegger
Branches: MAIN
CVS tags: yamt-pf42-base4, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +14 -15 lines
use device_lookup_private to get softc
use device_lookup to get device_t

Revision 1.55.10.4: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:57 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.55.10.3: preferred, colored; branchpoint 1.55: preferred, colored
Changes since revision 1.55.10.3: +4 -11 lines
Sync with HEAD.

Revision 1.57.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:34:58 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +4 -11 lines
sync with head.

Revision 1.57.4.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:25:17 2008 UTC (16 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +4 -11 lines
sync with head.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Wed Apr 30 14:07:14 2008 UTC (16 years, 7 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa, simonb-wapbl
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +4 -4 lines
Make various bits of debug code compile again.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:24:01 2008 UTC (16 years, 7 months ago) by martin
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +2 -9 lines
Remove clause 3 and 4 from TNF licenses

Revision 1.55.10.3: download - view: text, markup, annotated - select for diffs
Sun Apr 6 09:58:52 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.55.10.2: preferred, colored; branchpoint 1.55: preferred, colored
Changes since revision 1.55.10.2: +4 -4 lines
- after some discussion with agc@ i agreed it would be a good idea to move
  device_unregister_* to device_deregister_* to be more like the pmf(9)
  functions, especially since a lot of the time the function calls are next
  to each other.

- add device_register_name() support for dk(4).

Revision 1.57: download - view: text, markup, annotated - select for diffs
Sat Apr 5 15:51:45 2008 UTC (16 years, 8 months ago) by cegger
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base
Branch point for: yamt-pf42, yamt-nfs-mp
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +4 -4 lines
use aprint_*_dev and device_xname

Revision 1.55.10.2: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:59 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.55.10.1: preferred, colored; branchpoint 1.55: preferred, colored
Changes since revision 1.55.10.1: +38 -33 lines
Sync with HEAD.

Revision 1.55.10.1: download - view: text, markup, annotated - select for diffs
Sat Mar 29 16:17:58 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +9 -2 lines
- etc/devfsd.conf: Add some rules to give nodes like /dev/tty and
  		   /dev/null better default modes, i.e. 0666.

- sbin/init: Run devfsd -s before going to multiuser.

- sys/arch: Provide arm32, i386, sparc with a mem_init() function to request
  	    device nodes for /dev/null, /dev/zero, etc.

- sys/dev: Convert rnd, wd, agp, raid, cd, sd, wsdisplay, wskbd, wsmouse,
	   wsmux, tty, bpf, swap to devfs New World Order.

- sys/fs/devfs: Make the visibility attribute of device nodes configurable.
	        Also provide a function to mount a devfs on boot.

- sys/kern: Add a new boot flag, -n. This disables devfs support. Unless
	    the -n flag is specified the kernel will mount a devfs file
	    system on boot.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Tue Mar 25 00:49:20 2008 UTC (16 years, 8 months ago) by cube
Branches: MAIN
CVS tags: ad-socklock-base1
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +38 -33 lines
Split device_t and softc for wskbd(4), wsmouse(4) and that creepy wsmux(4).

Revision 1.36.2.6: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:44:53 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.36.2.5: preferred, colored; branchpoint 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36.2.5: +5 -2 lines
sync with head

Revision 1.52.8.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:54:50 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.52.8.1: preferred, colored; branchpoint 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52.8.1: +10 -6 lines
sync with HEAD

Revision 1.53.4.2: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:45:37 2007 UTC (16 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.53.4.1: preferred, colored; branchpoint 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53.4.1: +5 -2 lines
Sync with HEAD.

Revision 1.54.2.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:47:31 2007 UTC (16 years, 11 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +5 -2 lines
Sync with head.

Revision 1.54.4.1: download - view: text, markup, annotated - select for diffs
Tue Dec 11 15:40:07 2007 UTC (17 years ago) by yamt
Branches: yamt-kmem
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +5 -2 lines
sync with head.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Sun Dec 9 20:28:25 2007 UTC (17 years ago) by jmcneill
Branches: MAIN
CVS tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, vmlocking2-base3, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386
Branch point for: mjf-devfs2
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +5 -2 lines
Merge jmcneill-pm branch.

Revision 1.53.4.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:20:10 2007 UTC (17 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +7 -6 lines
Sync with HEAD.

Revision 1.52.6.5: download - view: text, markup, annotated - select for diffs
Sat Dec 8 16:21:39 2007 UTC (17 years ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.52.6.4: preferred, colored; branchpoint 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52.6.4: +3 -3 lines
Rename pnp(9) -> pmf(9), as requested by many.

Revision 1.36.2.5: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:31:46 2007 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.36.2.4: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.2.4: +7 -6 lines
sync with head

Revision 1.52.6.4: download - view: text, markup, annotated - select for diffs
Sat Dec 1 05:42:31 2007 UTC (17 years ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.52.6.3: preferred, colored; branchpoint 1.52: preferred, colored
Changes since revision 1.52.6.3: +7 -6 lines
Sync with HEAD.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Sat Dec 1 05:40:44 2007 UTC (17 years ago) by jmcneill
Branches: MAIN
CVS tags: yamt-kmem-base, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base
Branch point for: yamt-kmem, vmlocking2
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +7 -6 lines
aprintify

Revision 1.52.8.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:30:53 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +6 -7 lines
sync with HEAD

Revision 1.52.6.3: download - view: text, markup, annotated - select for diffs
Tue Nov 6 14:27:36 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.52.6.2: preferred, colored; branchpoint 1.52: preferred, colored
Changes since revision 1.52.6.2: +4 -3 lines
Refactor PNP API:
- Make suspend/resume directly a device functionality. It consists of
  three layers (class logic, device logic, bus logic), all of them being
  optional. This replaces D0/D3 transitions.
- device_is_active returns true if the device was not disabled and was
  not suspended (even partially), device_is_enabled returns true if the
  device was enabled.
- Change pnp_global_transition into pnp_system_suspend and
  pnp_system_resume. Before running any suspend/resume handlers, check
  that all currently attached devices support power management and bail
  out otherwise. The latter is not done for the shutdown/panic case.
- Make the former bus-specific generic network handlers a class handler.
- Make PNP message like volume up/down/toogle PNP events. Each device
  can register what events they are interested in and whether the handler
  should be global or not.
- Introduce device_active API for devices to mark themselve in use from
  either the system or the device. Use this to implement the idle handling
  for audio and input devices. This is intended to replace most ad-hoc
  watchdogs as well.
- Fix somes situations in which audio resume would lose mixer settings.
- Make USB host controllers better deal with suspend in the light of
  shared interrupts.
- Flush filesystem cache on suspend.
- Flush disk caches on suspend. Put ATA disks into standby on suspend as
  well.
- Adopt drivers to use the new PNP API.
- Fix a critical bug in the generic cardbus layer that made D0->D3
  break.
- Fix ral(4) to set if_stop.
- Convert cbb(4) to the new PNP API.
- Apply the PCI Express SCI fix on resume again.

Revision 1.36.2.4: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:34:51 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.36.2.3: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.2.3: +6 -7 lines
sync with head.

Revision 1.52.6.2: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:48:09 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.52.6.1: preferred, colored; branchpoint 1.52: preferred, colored
Changes since revision 1.52.6.1: +6 -7 lines
Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.51.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:10:00 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.51.2.1: preferred, colored; branchpoint 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51.2.1: +6 -7 lines
Sync with head.

Revision 1.52.10.1: download - view: text, markup, annotated - select for diffs
Thu Oct 18 08:33:09 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +6 -7 lines
sync with head.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Tue Oct 16 21:06:10 2007 UTC (17 years, 2 months ago) by joerg
Branches: MAIN
CVS tags: yamt-x86pmap-base4, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: mjf-devfs
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +6 -7 lines
Use callout_setfunc/callout_schedule instead of callout_reset.
Use mstohz for the calculations.

Revision 1.36.2.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:39:42 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.36.2.2: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.2.2: +9 -9 lines
sync with head.

Revision 1.52.6.1: download - view: text, markup, annotated - select for diffs
Sun Aug 5 19:01:04 2007 UTC (17 years, 4 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +4 -2 lines
Certain devices either don't require a power handler, or are restored
on resume outside of the pnp power management framework. For such devices,
introduce the null power handler, pnp_generic_power.

Revision 1.51.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:08:59 2007 UTC (17 years, 5 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51: +4 -4 lines
Sync with head.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Mon Jul 9 21:01:26 2007 UTC (17 years, 5 months ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, vmlocking-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: yamt-x86pmap, matt-armv6, jmcneill-pm
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +4 -4 lines
Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements

Revision 1.51.2.1: download - view: text, markup, annotated - select for diffs
Sun Jul 1 21:49:06 2007 UTC (17 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +4 -4 lines
Adapt to callout API change.

Revision 1.50.4.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:57:50 2007 UTC (17 years, 9 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +7 -7 lines
Sync with HEAD.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:02:52 2007 UTC (17 years, 9 months ago) by christos
Branches: MAIN
CVS tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, mjf-ufs-trans
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +7 -7 lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.36.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:49:51 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.36.2.1: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.2.1: +8 -6 lines
sync with head.

Revision 1.47.4.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:18:28 2006 UTC (18 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.47.4.1: preferred, colored; branchpoint 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47.4.1: +11 -11 lines
sync with head.

Revision 1.47.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:34:57 2006 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47: +7 -5 lines
Sync with head.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:33:31 2006 UTC (18 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, post-newlock2-merge, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +10 -10 lines
__unused removal on arguments; approved by core.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Sun Nov 12 19:00:43 2006 UTC (18 years, 1 month ago) by plunky
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +3 -3 lines
Tidy away wsmouse_input() abstractions and update
documentation to include the W direction.

Revision 1.47.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:07:00 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +10 -8 lines
sync with head

Revision 1.48: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:32:06 2006 UTC (18 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +10 -8 lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.38.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:56:07 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +229 -100 lines
sync with head

Revision 1.42.2.3: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:25:12 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.42.2.2: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.2.2: +3 -3 lines
sync with head.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Mon Aug 28 21:33:16 2006 UTC (18 years, 3 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -3 lines
fix incomplete initializers

Revision 1.36.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:08:12 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +254 -102 lines
sync with head.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Sun May 14 21:47:00 2006 UTC (18 years, 7 months ago) by elad
Branches: MAIN
CVS tags: yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +2 -2 lines
integrate kauth.

Revision 1.38.6.2: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:39:44 2006 UTC (18 years, 7 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.38.6.1: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38.6.1: +228 -93 lines
Sync with head.

Revision 1.43.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 19 03:26:39 2006 UTC (18 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +5 -5 lines
sync with head.

Revision 1.42.2.2: download - view: text, markup, annotated - select for diffs
Sat Apr 1 12:07:38 2006 UTC (18 years, 8 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.42.2.1: preferred, colored; branchpoint 1.42: preferred, colored
Changes since revision 1.42.2.1: +5 -5 lines
sync with head.

Revision 1.43.4.1: download - view: text, markup, annotated - select for diffs
Fri Mar 31 09:45:27 2006 UTC (18 years, 8 months ago) by tron
Branches: peter-altq
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +5 -5 lines
Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Wed Mar 29 04:16:51 2006 UTC (18 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3, elad-kernelauth-base
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +4 -4 lines
Use device_cfdata().

Revision 1.44: download - view: text, markup, annotated - select for diffs
Tue Mar 28 17:38:38 2006 UTC (18 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +3 -3 lines
Use device_unit().

Revision 1.42.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 13 09:07:32 2006 UTC (18 years, 9 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -3 lines
sync with head.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Sun Mar 5 16:04:37 2006 UTC (18 years, 9 months ago) by jmmv
Branches: MAIN
CVS tags: yamt-pdpolicy-base2, peter-altq-base
Branch point for: peter-altq, elad-kernelauth
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -3 lines
Add missing closing parenthesis to a diagnostic message.

Revision 1.38.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 15:39:12 2006 UTC (18 years, 9 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +225 -96 lines
sync with head.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Fri Feb 10 20:38:54 2006 UTC (18 years, 10 months ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base
Branch point for: yamt-pdpolicy
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +4 -4 lines
fix compilation problems.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Fri Feb 10 17:33:01 2006 UTC (18 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +10 -6 lines
PR/32794: Paul Shupak: Panic in wsmouse code.
Checking the number of events after you've trashed the stack is not very
useful. Instead, break out of the loop if we ran out, printing a message.
Also don't try to inject 0 events; reset our state instead. Maybe having
0 events should be a diagnostic printf at this point? Anyway it is not
nice having the kernel die because the mouse code got confused. Finally,
explain why the array of events is sized funny.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Tue Feb 7 09:13:02 2006 UTC (18 years, 10 months ago) by jmmv
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +60 -122 lines
wsevent cleanup:

- Add a wsevent_inject function that atomically adds a set of events to an
  event queue and change all code that directly messed with a queue to use it.
- Replace the WSEVENT_WAKEUP macro with a regular function.
- Make WSEVENT_QSIZE, PWSEVENT and splwsevent private definitions to
  wsevent.c, instead of exposing them in the header file.
- Make the wsevent_init function take a process to attach to the queue,
  instead of leaving this task to the caller (which always did it).

Reviewed in tech-kern@.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Sun Feb 5 17:38:33 2006 UTC (18 years, 10 months ago) by jmmv
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +192 -5 lines
Add support to automatically repeat mouse button events in wsmouse(4) and
change wsconsctl(4) so that this is configurable.

This is specially useful for mice that provide page up/down buttons instead
of a real wheel and that do not send events repeatedly from the hardware.
(E.g.: Logitech Marble Mouse.)

No objections in tech-kern@.

Revision 1.38.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 4 14:03:58 2006 UTC (18 years, 10 months ago) by simonb
Branches: simonb-timecounters
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -9 lines
Adapt for timecounters: mostly use get*time() and use "time_second"
instead of "time.tv_sec".

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:24:12 2005 UTC (19 years ago) by christos
Branches: MAIN
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +16 -16 lines
merge ktrace-lwp.

Revision 1.31.2.8: download - view: text, markup, annotated - select for diffs
Sun Dec 11 10:29:10 2005 UTC (19 years ago) by christos
Branches: ktrace-lwp
Diff to: previous 1.31.2.7: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31.2.7: +27 -4 lines
Sync with head.

Revision 1.36.8.1: download - view: text, markup, annotated - select for diffs
Tue Nov 29 21:23:29 2005 UTC (19 years ago) by yamt
Branches: yamt-readahead
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +27 -4 lines
sync with head.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Wed Nov 23 09:38:02 2005 UTC (19 years ago) by augustss
Branches: MAIN
CVS tags: yamt-readahead-base3, ktrace-lwp-base
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +27 -4 lines
Some devices provide more than three (X, Y, and Z) "directions".  So add
a W "coordinate" that can be used for these.
This changes the type of wsmouse_input().  To avoid changing a lot of drivers
a compatibilty #define is provided.  Maybe changing all drivers would have
been better?

Revision 1.31.2.7: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:08:44 2005 UTC (19 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.31.2.6: preferred, colored
Changes since revision 1.31.2.6: +4 -3 lines
Sync with HEAD. Here we go again...

Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Jun 21 14:01:13 2005 UTC (19 years, 5 months ago) by ws
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base2, yamt-readahead-base, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-readahead, yamt-lazymbuf
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +4 -3 lines
PR-30566: Poll must not return <sys/errno.h> values.
Start with those places I can easily test.

Revision 1.34.8.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:29:19 2005 UTC (19 years, 7 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +3 -3 lines
sync with -current

Revision 1.34.10.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:36:02 2005 UTC (19 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +3 -3 lines
sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.31.2.6: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:51:14 2005 UTC (19 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.31.2.5: preferred, colored
Changes since revision 1.31.2.5: +3 -3 lines
Sync with HEAD.

Hi Perry!

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sun Feb 27 00:27:52 2005 UTC (19 years, 9 months ago) by perry
Branches: MAIN
CVS tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -3 lines
nuke trailing whitespace

Revision 1.31.2.5: download - view: text, markup, annotated - select for diffs
Sun Nov 21 13:54:36 2004 UTC (20 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.31.2.4: preferred, colored
Changes since revision 1.31.2.4: +3 -3 lines
Adapt to branch.

Revision 1.31.2.4: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:34:29 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.31.2.3: preferred, colored
Changes since revision 1.31.2.3: +16 -16 lines
Fix the sync with head I botched.

Revision 1.31.2.3: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:52:24 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.31.2.2: preferred, colored
Changes since revision 1.31.2.2: +16 -16 lines
Sync with HEAD.

Revision 1.31.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:52:12 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.31.2.1: preferred, colored
Changes since revision 1.31.2.1: +12 -10 lines
Sync with HEAD

Revision 1.34: download - view: text, markup, annotated - select for diffs
Fri Nov 28 13:19:46 2003 UTC (21 years ago) by drochner
Branches: MAIN
CVS tags: yamt-km-base2, yamt-km-base, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +3 -5 lines
-remove a check of errno against -1, this is nonsense since
 we have EPASSTHROUGH
-remove a superflous #if NWSMOUSE

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sun Sep 21 19:17:01 2003 UTC (21 years, 2 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +10 -2 lines
cleanup & uniform descriptor owner handling:
* introduce fsetown(), fgetown(), fownsignal() - this sets/retrieves/signals
  the owner of descriptor, according to appropriate sematics
  of TIOCSPGRP/FIOSETOWN/SIOCSPGRP/TIOCGPGRP/FIOGETOWN/SIOCGPGRP ioctl; use
  these routines instead of custom code where appropriate
* make every place handling TIOCSPGRP/TIOCGPGRP handle also FIOSETOWN/FIOGETOWN
  properly, and remove the translation of FIO[SG]OWN to TIOC[SG]PGRP
  in sys_ioctl() & sys_fcntl()
* also remove the socket-specific hack in sys_ioctl()/sys_fcntl() and
  pass the ioctls down to soo_ioctl() as any other ioctl

change discussed on tech-kern@

Revision 1.32: download - view: text, markup, annotated - select for diffs
Thu Aug 7 16:31:30 2003 UTC (21 years, 4 months ago) by agc
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -7 lines
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.

Revision 1.31.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 15:26:26 2003 UTC (21 years, 5 months ago) by darrenr
Branches: ktrace-lwp
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +16 -16 lines
Apply the aborted ktrace-lwp changes to a specific branch.  This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it.  This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Jun 29 22:31:05 2003 UTC (21 years, 5 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +14 -14 lines
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat Jun 28 14:21:48 2003 UTC (21 years, 5 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +16 -16 lines
Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V

Revision 1.13.2.8: download - view: text, markup, annotated - select for diffs
Fri Jan 3 17:08:30 2003 UTC (21 years, 11 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.13.2.7: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.2.7: +3 -3 lines
Sync with HEAD.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed Jan 1 00:10:27 2003 UTC (21 years, 11 months ago) by thorpej
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -3 lines
Use aprint_normal() in cfprint routines.

Revision 1.13.2.7: download - view: text, markup, annotated - select for diffs
Mon Nov 11 22:13:21 2002 UTC (22 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.13.2.6: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.6: +12 -1 lines
Catch up to -current

Revision 1.28: download - view: text, markup, annotated - select for diffs
Wed Oct 23 09:14:08 2002 UTC (22 years, 1 month ago) by jdolecek
Branches: MAIN
CVS tags: kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +14 -3 lines
merge kqueue branch into -current

kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals

kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)

based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe

Revision 1.13.2.6: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:44:46 2002 UTC (22 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.13.2.5: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.5: +2 -4 lines
Catch up to -current.

Revision 1.13.4.4: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:42:56 2002 UTC (22 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.13.4.3: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.4.3: +16 -10 lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Oct 2 16:53:19 2002 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: kqueue-beforemerge, kqueue-base
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -3 lines
Add trailing ; to CFATTACH_DECL.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue Oct 1 01:30:00 2002 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +4 -6 lines
Use CFATTACH_DECL().

Revision 1.25: download - view: text, markup, annotated - select for diffs
Fri Sep 27 20:42:10 2002 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -3 lines
Declare all cfattach structures const.

Revision 1.13.2.5: download - view: text, markup, annotated - select for diffs
Tue Sep 17 21:21:48 2002 UTC (22 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.13.2.4: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.4: +13 -6 lines
Catch up to -current.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Fri Sep 6 13:18:43 2002 UTC (22 years, 3 months ago) by gehenna
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +13 -6 lines
Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.

Revision 1.13.4.3: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:49:20 2002 UTC (22 years, 5 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.13.4.2: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.4.2: +2 -10 lines
catch up with -current on kqueue branch

Revision 1.22.8.2: download - view: text, markup, annotated - select for diffs
Thu Jun 20 16:34:20 2002 UTC (22 years, 5 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.22.8.1: preferred, colored; branchpoint 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22.8.1: +2 -10 lines
catch up with -current.

Revision 1.13.2.4: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:47:04 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.13.2.3: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.3: +2 -10 lines
Catch up to -current.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Jun 6 09:16:12 2002 UTC (22 years, 6 months ago) by drochner
Branches: MAIN
CVS tags: gehenna-devsw-base
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -10 lines
Don't detach the mouse from the mux just because the mouse device is
opened. Too annoying and unnecessary.

Revision 1.22.8.1: download - view: text, markup, annotated - select for diffs
Thu May 16 04:54:52 2002 UTC (22 years, 7 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +13 -6 lines
Add the character device switch.
Replace the direct-access to devsw table with calling devsw API.

Revision 1.13.4.2: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:59:20 2002 UTC (22 years, 11 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.13.4.1: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.4.1: +175 -198 lines
Sync kqueue branch with -current.

Revision 1.13.2.3: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:32:26 2002 UTC (22 years, 11 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.13.2.2: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.2: +9 -2 lines
Catch up to -current.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Thu Nov 22 00:57:14 2001 UTC (23 years ago) by augustss
Branches: MAIN
CVS tags: newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, ifpoll-base, eeh-devprop-base, eeh-devprop
Branch point for: gehenna-devsw
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +9 -2 lines
Add some DIAGNOSTIC tests.

Revision 1.13.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:16:27 2001 UTC (23 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.13.2.1: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.1: +144 -127 lines
Catch up to -current.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue Nov 13 06:17:47 2001 UTC (23 years, 1 month ago) by lukem
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -4 lines
add/cleanup RCSIDs

Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 12 21:18:41 2001 UTC (23 years, 1 month ago) by thorpej
Branches: thorpej-mips-cache
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +142 -125 lines
Sync the thorpej-mips-cache branch with -current.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Nov 7 12:57:33 2001 UTC (23 years, 1 month ago) by enami
Branches: MAIN
CVS tags: thorpej-mips-cache-base
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +4 -3 lines
Have necessary braces.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Nov 2 13:02:20 2001 UTC (23 years, 1 month ago) by augustss
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +6 -3 lines
Improve debug messages a little.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Oct 25 14:46:41 2001 UTC (23 years, 1 month ago) by augustss
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +10 -5 lines
Change back to have a wseventvar in the softc for event sources.  This
way the effect of FIOASYNC survives close()/open().  Later versions
of XFree86 relies on this bug/feature.
Also add some more debug stuff.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Oct 24 14:07:33 2001 UTC (23 years, 1 month ago) by augustss
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +134 -126 lines
Major rototilling of the wsmux code.  No user visible changes (except that
many bugs have been fixed).
Changes:
The wskbd, wsmouse, and wsmux are now "sub-classes" of wsevsrc, which is
a source of ws events.  This make the structure of those drivers a little
more uniform.
Many bug fixes involving adding and removing devices from muxes.
When a kernel is configured without wsmux there will now be none (unlike
before where you got a console mux anyway).
The kernel now compiles with all combinations of ws devices present.

Revision 1.13.2.1: download - view: text, markup, annotated - select for diffs
Mon Oct 22 20:41:49 2001 UTC (23 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +38 -81 lines
Catch up to -current.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Oct 13 19:56:09 2001 UTC (23 years, 2 months ago) by augustss
Branches: MAIN
Branch point for: thorpej-mips-cache
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -3 lines
Fix a (very old) pasto.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Oct 13 15:56:16 2001 UTC (23 years, 2 months ago) by augustss
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +31 -78 lines
ANSIfy.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Oct 13 13:36:01 2001 UTC (23 years, 2 months ago) by augustss
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +8 -4 lines
Two changes to the wsmux code:
* Allow the wsmux used by wsdisplay for the keyboard(s) to be explicitely
  specified with the kbdmux locator.
* Allow keyboards and mice that have a mux to be opened in the regular way.
These changes should be totally backwards compatible.

Revision 1.13.6.2: download - view: text, markup, annotated - select for diffs
Wed Sep 26 15:28:20 2001 UTC (23 years, 2 months ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.13.6.1: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.6.1: +10 -8 lines
* add a VCLONED vnode flag that indicates a vnode representing a cloned
  device.
* rename REVOKEALL to REVOKEALIAS, and add a REVOKECLONE flag, to pass
  to VOP_REVOKE
* the revoke system call will revoke all aliases, as before, but not the
  clones
* vdevgone is called when detaching a device, so make it use REVOKECLONE
  to get rid of all clones as well
* clean up all uses of VOP_OPEN wrt. locking.
* add a few VOPS to spec_vnops that need to do something when it's a
  clone vnode (access and getattr)
* add a copy of the vnode vattr structure of the original 'master' vnode
  to the specinfo of a cloned vnode. could possibly redirect getattr to
  the 'master' vnode, but this has issues with revoke
* add a vdev_reassignvp function that disassociates a vnode from its
  original device, and reassociates it with the specified dev_t. to be
  used by cloning devices only, in case a new minor is allocated.
* change all direct references in drivers to v_devcookie and v_rdev
  to vdev_privdata(vp) and vdev_rdev(vp). for diagnostic purposes
  when debugging race conditions that still exist wrt. locking and
  revoking vnodes.
* make the locking state of a vnode consistent when passed to
  d_open and d_close (unlocked). locked would be better, but has
  some deadlock issues

Revision 1.13.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 8 04:55:31 2001 UTC (23 years, 3 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +16 -2 lines
Add kqueue support to wscons events.

Revision 1.13.6.1: download - view: text, markup, annotated - select for diffs
Fri Sep 7 04:45:35 2001 UTC (23 years, 3 months ago) by thorpej
Branches: thorpej-devvp
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +36 -29 lines
Commit my "devvp" changes to the thorpej-devvp branch.  This
replaces the use of dev_t in most places with a struct vnode *.

This will form the basic infrastructure for real cloning device
support (besides being architecurally cleaner -- it'll be good
to get away from using numbers to represent objects).

Revision 1.9.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 12 13:31:33 2001 UTC (23 years, 9 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.9.2.1: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.2.1: +3 -3 lines
Sync with HEAD.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Feb 13 01:14:45 2001 UTC (23 years, 10 months ago) by bjh21
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-devvp, nathanw_sa, kqueue
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3 lines
Fix an uninitialised variable which could have caused corruption of the user
button state (and hence spurious mouse clicks) if the event queue filled
up.

Revision 1.9.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 11:43:38 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +80 -34 lines
Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon May 1 07:36:58 2000 UTC (24 years, 7 months ago) by takemura
Branches: MAIN
CVS tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +22 -21 lines
Mouse move event should be made before mouse bown event. Without that,
you may got a mouse down event in strange plase.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Jan 8 02:57:24 2000 UTC (24 years, 11 months ago) by takemura
Branches: MAIN
CVS tags: chs-ubc2-newbase
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +75 -28 lines
Absolute pointing device support.
 - Wsmouse_input() get new argument 'flag', which indicates whether x/y/z are
   relative or absolute.
 - Wsmouse get new io controls, WSMOUSEIO_SCALIBCOORDS and
   WSMOUSEIO_GCALIBCOORDS.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Jan 5 11:19:37 2000 UTC (24 years, 11 months ago) by drochner
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -5 lines
replace embedded _rcsid[] string by __KERNEL_RCSID(), remove _copyright[]

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Aug 4 11:26:04 1999 UTC (25 years, 4 months ago) by augustss
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999
Branch point for: thorpej_scsipi
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +13 -11 lines
Get the dependencies on NWSMUX right (I hope).

Revision 1.6.4.2: download - view: text, markup, annotated - select for diffs
Mon Aug 2 22:10:27 1999 UTC (25 years, 4 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.6.4.1: preferred, colored; branchpoint 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6.4.1: +120 -12 lines
Update from trunk.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Jul 29 18:20:03 1999 UTC (25 years, 4 months ago) by augustss
Branches: MAIN
CVS tags: chs-ubc2-base
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +118 -10 lines
Add the wsmux pseudo device.

Revision 1.6.4.1: download - view: text, markup, annotated - select for diffs
Thu Jul 1 23:41:21 1999 UTC (25 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +121 -15 lines
Sync w/ -current.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Jun 30 06:21:21 1999 UTC (25 years, 5 months ago) by augustss
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +121 -15 lines
Make it possible to detach wsmouse and wskbd.
XXX wskbd probably needs some more work.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Jan 10 18:22:14 1999 UTC (25 years, 11 months ago) by augustss
Branches: MAIN
CVS tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame
Branch point for: chs-ubc2
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +6 -23 lines
Remove redundant test if the unit numbers is in range.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Dec 30 14:02:18 1998 UTC (25 years, 11 months ago) by augustss
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +10 -2 lines
Allow the wsmouse device to be opened for writing even if it is already
open, this way ioctl() can be performed on it and wsconsctl works.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Jul 27 22:33:22 1998 UTC (26 years, 4 months ago) by drochner
Branches: MAIN
CVS tags: kenh-if-detach-base, kenh-if-detach, eeh-paddr_t-base, eeh-paddr_t, chs-ubc-base, chs-ubc
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +14 -4 lines
add third axis for pointing devices (flying mice)

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Jul 25 20:02:21 1998 UTC (26 years, 4 months ago) by augustss
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +26 -2 lines
Insert lots of ``#if NWSMOUSE > 0'' and ``#if NWSDISPLAY > 0'' to make it
possible to have a wsmouse and/or wskbd without having a wsdisplay.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Jun 9 07:34:23 1998 UTC (26 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -10 lines
Nuke __BROKEN_INDIRECT_CONFIG.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Mar 22 14:24:04 1998 UTC (26 years, 8 months ago) by drochner
Branches: MAIN
Initial import of cgd's new wscons code.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>