#
1.73 |
|
30-Jul-2023 |
riastradh |
wsmouse(4): Make wsmouse_input safe to call from MP-safe interrupts.
XXX pullup-10
|
Revision tags: netbsd-10-base bouyer-sunxi-drm-base
|
#
1.72 |
|
17-Jul-2022 |
riastradh |
wsmouse(4): Nix trailing whitespace.
|
#
1.71 |
|
17-Jul-2022 |
riastradh |
wsmouse(4): KASSERT(a && b) -> KASSERT(a); KASSERT(b)
Better diagnostics. No other functional change.
|
#
1.70 |
|
28-Sep-2021 |
nia |
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 tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base
|
#
1.69 |
|
27-Dec-2020 |
tsutsui |
Explicitly include generated ioconf.h for struct cfdrivers.
|
Revision tags: netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 jdolecek-ncqfixes-base pgoyette-compat-0728 phil-wifi-base 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-base tls-maxphys-base-20171202
|
#
1.68 |
|
03-Nov-2017 |
maya |
branches: 1.68.18; Remove redundant includes of malloc.h
|
#
1.67 |
|
03-Nov-2017 |
maya |
Use __arraycount a bunch Also, DIAGNOSTIC panic -> KASSERT
|
Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-7-2-RELEASE netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 nick-nhusb-base-20170204 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 nick-nhusb-base-20161204 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE nick-nhusb-base-20161004 localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 netbsd-7-0-1-RELEASE nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-7-base tls-earlyentropy-base tls-maxphys-base
|
#
1.66 |
|
25-Jul-2014 |
dholland |
branches: 1.66.8; 1.66.18; Add d_discard to all struct cdevsw instances I could find.
All have been set to "nodiscard"; some should get a real implementation.
|
Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-nbase rmind-smpnet-base
|
#
1.65 |
|
16-Mar-2014 |
dholland |
branches: 1.65.2; 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 tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-pre-base2 jmcneill-usbmp-base2 netbsd-6-base jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.64 |
|
11-Sep-2011 |
jakllsch |
branches: 1.64.2; 1.64.12; 1.64.16; Correct copy/paste error in previous.
|
#
1.63 |
|
11-Sep-2011 |
jakllsch |
Initialize the W axis value on open as is already done for the other axes.
|
Revision tags: rmind-uvmplock-nbase cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base jruoho-x86intr-base matt-mips64-premerge-20101231 uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10 uebayasi-xip-base1 rmind-uvmplock-base yamt-nfs-mp-base9 uebayasi-xip-base matt-premerge-20091211 yamt-nfs-mp-base8 yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 jym-xensuspend-nbase yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 nick-hppapmap-base2 jym-xensuspend-base nick-hppapmap-base mjf-devfs2-base
|
#
1.62 |
|
15-Jan-2009 |
yamt |
- reduce the number of #ifdefs. - build compat glues if MODULAR.
|
#
1.61 |
|
13-Jan-2009 |
christos |
provide wscons_event compatibility with 5.0.
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 haad-dm-base wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base wrstuden-revivesa-base
|
#
1.60 |
|
12-Jun-2008 |
cegger |
branches: 1.60.4; use device_lookup_private to get softc use device_lookup to get device_t
|
Revision tags: yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-base2 yamt-nfs-mp-base2
|
#
1.59 |
|
30-Apr-2008 |
ad |
branches: 1.59.2; 1.59.4; Make various bits of debug code compile again.
|
#
1.58 |
|
28-Apr-2008 |
martin |
Remove clause 3 and 4 from TNF licenses
|
Revision tags: yamt-pf42-baseX yamt-nfs-mp-base yamt-pf42-base
|
#
1.57 |
|
05-Apr-2008 |
cegger |
branches: 1.57.2; 1.57.4; use aprint_*_dev and device_xname
|
Revision tags: ad-socklock-base1
|
#
1.56 |
|
25-Mar-2008 |
cube |
Split device_t and softc for wskbd(4), wsmouse(4) and that creepy wsmux(4).
|
Revision tags: yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base bouyer-xeni386-merge1 vmlocking2-base3 bouyer-xeni386-nbase yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 bouyer-xeni386-base matt-armv6-nbase mjf-devfs-base matt-armv6-base hpcarm-cleanup-base
|
#
1.55 |
|
09-Dec-2007 |
jmcneill |
branches: 1.55.10; Merge jmcneill-pm branch.
|
Revision tags: yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 vmlocking-nbase jmcneill-pm-base reinoud-bufcleanup-base
|
#
1.54 |
|
01-Dec-2007 |
jmcneill |
branches: 1.54.2; 1.54.4; aprintify
|
Revision tags: jmcneill-base bouyer-xenamd64-base2 yamt-x86pmap-base4 bouyer-xenamd64-base
|
#
1.53 |
|
16-Oct-2007 |
joerg |
branches: 1.53.4; Use callout_setfunc/callout_schedule instead of callout_reset. Use mstohz for the calculations.
|
Revision tags: nick-csl-alignment-base5 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base nick-csl-alignment-base mjf-ufs-trans-base vmlocking-base
|
#
1.52 |
|
09-Jul-2007 |
ad |
branches: 1.52.6; 1.52.8; 1.52.10; Merge some of the less invasive changes from the vmlocking branch:
- kthread, callout, devsw API changes - select()/poll() improvements - miscellaneous MT safety improvements
|
Revision tags: yamt-idlelwp-base8 thorpej-atomic-base
|
#
1.51 |
|
04-Mar-2007 |
christos |
branches: 1.51.2; 1.51.4; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 matt-nb4-arm-base netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base ad-audiomp-base post-newlock2-merge newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 newlock2-base netbsd-4-base
|
#
1.50 |
|
16-Nov-2006 |
christos |
branches: 1.50.4; __unused removal on arguments; approved by core.
|
#
1.49 |
|
12-Nov-2006 |
plunky |
Tidy away wsmouse_input() abstractions and update documentation to include the W direction.
|
Revision tags: yamt-splraiseipl-base2
|
#
1.48 |
|
12-Oct-2006 |
christos |
- sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
|
Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9 yamt-pdpolicy-base8 rpaulo-netinet-merge-pcb-base
|
#
1.47 |
|
28-Aug-2006 |
christos |
branches: 1.47.2; 1.47.4; fix incomplete initializers
|
Revision tags: abandoned-netbsd-4-base yamt-pdpolicy-base7 yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base yamt-pdpolicy-base5 chap-midi-base simonb-timecounters-base
|
#
1.46 |
|
14-May-2006 |
elad |
integrate kauth.
|
Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3 elad-kernelauth-base
|
#
1.45 |
|
29-Mar-2006 |
thorpej |
Use device_cfdata().
|
#
1.44 |
|
28-Mar-2006 |
thorpej |
Use device_unit().
|
Revision tags: peter-altq-base yamt-pdpolicy-base2
|
#
1.43 |
|
05-Mar-2006 |
jmmv |
branches: 1.43.2; 1.43.4; Add missing closing parenthesis to a diagnostic message.
|
Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
|
#
1.42 |
|
10-Feb-2006 |
christos |
branches: 1.42.2; fix compilation problems.
|
#
1.41 |
|
10-Feb-2006 |
christos |
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.
|
#
1.40 |
|
07-Feb-2006 |
jmmv |
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@.
|
#
1.39 |
|
05-Feb-2006 |
jmmv |
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@.
|
#
1.38 |
|
11-Dec-2005 |
christos |
branches: 1.38.2; 1.38.4; 1.38.6; merge ktrace-lwp.
|
Revision tags: yamt-readahead-base3 ktrace-lwp-base
|
#
1.37 |
|
23-Nov-2005 |
augustss |
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 tags: yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
|
#
1.36 |
|
21-Jun-2005 |
ws |
branches: 1.36.2; 1.36.8; PR-30566: Poll must not return <sys/errno.h> values. Start with those places I can easily test.
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE 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 yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
|
#
1.35 |
|
27-Feb-2005 |
perry |
nuke trailing whitespace
|
Revision tags: netbsd-2-0-3-RELEASE 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-0-2-RELEASE yamt-km-base2 yamt-km-base netbsd-2-0-1-RELEASE kent-audio1-beforemerge netbsd-2-base kent-audio1-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-base
|
#
1.34 |
|
28-Nov-2003 |
drochner |
branches: 1.34.8; 1.34.10; -remove a check of errno against -1, this is nonsense since we have EPASSTHROUGH -remove a superflous #if NWSMOUSE
|
#
1.33 |
|
21-Sep-2003 |
jdolecek |
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@
|
#
1.32 |
|
07-Aug-2003 |
agc |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
#
1.31 |
|
29-Jun-2003 |
fvdl |
branches: 1.31.2; Back out the lwp/ktrace changes. They contained a lot of colateral damage, and need to be examined and discussed more.
|
#
1.30 |
|
28-Jun-2003 |
darrenr |
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 tags: nathanw_sa_before_merge fvdl_fs64_base nathanw_sa_base
|
#
1.29 |
|
01-Jan-2003 |
thorpej |
Use aprint_normal() in cfprint routines.
|
Revision tags: gmcgarry_ctxsw_base gmcgarry_ucred_base kqueue-aftermerge
|
#
1.28 |
|
23-Oct-2002 |
jdolecek |
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 tags: kqueue-beforemerge kqueue-base
|
#
1.27 |
|
02-Oct-2002 |
thorpej |
Add trailing ; to CFATTACH_DECL.
|
#
1.26 |
|
01-Oct-2002 |
thorpej |
Use CFATTACH_DECL().
|
#
1.25 |
|
27-Sep-2002 |
thorpej |
Declare all cfattach structures const.
|
#
1.24 |
|
06-Sep-2002 |
gehenna |
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 tags: gehenna-devsw-base
|
#
1.23 |
|
06-Jun-2002 |
drochner |
Don't detach the mouse from the mux just because the mouse device is opened. Too annoying and unnecessary.
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base eeh-devprop-base newlock-base ifpoll-base
|
#
1.22 |
|
22-Nov-2001 |
augustss |
branches: 1.22.8; Add some DIAGNOSTIC tests.
|
#
1.21 |
|
13-Nov-2001 |
lukem |
add/cleanup RCSIDs
|
Revision tags: thorpej-mips-cache-base
|
#
1.20 |
|
07-Nov-2001 |
enami |
Have necessary braces.
|
#
1.19 |
|
02-Nov-2001 |
augustss |
Improve debug messages a little.
|
#
1.18 |
|
25-Oct-2001 |
augustss |
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.
|
#
1.17 |
|
24-Oct-2001 |
augustss |
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.
|
#
1.16 |
|
13-Oct-2001 |
augustss |
branches: 1.16.2; Fix a (very old) pasto.
|
#
1.15 |
|
13-Oct-2001 |
augustss |
ANSIfy.
|
#
1.14 |
|
13-Oct-2001 |
augustss |
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 tags: thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
|
#
1.13 |
|
13-Feb-2001 |
bjh21 |
branches: 1.13.2; 1.13.4; 1.13.6; 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 tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
|
#
1.12 |
|
01-May-2000 |
takemura |
Mouse move event should be made before mouse bown event. Without that, you may got a mouse down event in strange plase.
|
Revision tags: chs-ubc2-newbase
|
#
1.11 |
|
08-Jan-2000 |
takemura |
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.
|
#
1.10 |
|
05-Jan-2000 |
drochner |
replace embedded _rcsid[] string by __KERNEL_RCSID(), remove _copyright[]
|
Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base fvdl-softdep-base
|
#
1.9 |
|
04-Aug-1999 |
augustss |
branches: 1.9.2; Get the dependencies on NWSMUX right (I hope).
|
Revision tags: chs-ubc2-base
|
#
1.8 |
|
29-Jul-1999 |
augustss |
Add the wsmux pseudo device.
|
#
1.7 |
|
30-Jun-1999 |
augustss |
Make it possible to detach wsmouse and wskbd. XXX wskbd probably needs some more work.
|
Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 kame_141_19991130 netbsd-1-4-PATCH001 kame_14_19990705 kame_14_19990628 netbsd-1-4-RELEASE netbsd-1-4-base
|
#
1.6 |
|
10-Jan-1999 |
augustss |
branches: 1.6.4; Remove redundant test if the unit numbers is in range.
|
#
1.5 |
|
30-Dec-1998 |
augustss |
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 tags: kenh-if-detach-base chs-ubc-base eeh-paddr_t-base
|
#
1.4 |
|
27-Jul-1998 |
drochner |
add third axis for pointing devices (flying mice)
|
#
1.3 |
|
25-Jul-1998 |
augustss |
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.
|
#
1.2 |
|
09-Jun-1998 |
thorpej |
Nuke __BROKEN_INDIRECT_CONFIG.
|
#
1.1 |
|
22-Mar-1998 |
drochner |
Initial import of cgd's new wscons code.
|
#
1.72 |
|
17-Jul-2022 |
riastradh |
wsmouse(4): Nix trailing whitespace.
|
#
1.71 |
|
17-Jul-2022 |
riastradh |
wsmouse(4): KASSERT(a && b) -> KASSERT(a); KASSERT(b)
Better diagnostics. No other functional change.
|
#
1.70 |
|
28-Sep-2021 |
nia |
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 tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base
|
#
1.69 |
|
27-Dec-2020 |
tsutsui |
Explicitly include generated ioconf.h for struct cfdrivers.
|
Revision tags: netbsd-9-2-RELEASE netbsd-9-1-RELEASE bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 jdolecek-ncqfixes-base pgoyette-compat-0728 phil-wifi-base 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-base tls-maxphys-base-20171202
|
#
1.68 |
|
03-Nov-2017 |
maya |
branches: 1.68.18; Remove redundant includes of malloc.h
|
#
1.67 |
|
03-Nov-2017 |
maya |
Use __arraycount a bunch Also, DIAGNOSTIC panic -> KASSERT
|
Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-7-2-RELEASE netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 nick-nhusb-base-20170204 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 nick-nhusb-base-20161204 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE nick-nhusb-base-20161004 localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 netbsd-7-0-1-RELEASE nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-7-base tls-earlyentropy-base tls-maxphys-base
|
#
1.66 |
|
25-Jul-2014 |
dholland |
branches: 1.66.8; 1.66.18; Add d_discard to all struct cdevsw instances I could find.
All have been set to "nodiscard"; some should get a real implementation.
|
Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-nbase rmind-smpnet-base
|
#
1.65 |
|
16-Mar-2014 |
dholland |
branches: 1.65.2; 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 tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-pre-base2 jmcneill-usbmp-base2 netbsd-6-base jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.64 |
|
11-Sep-2011 |
jakllsch |
branches: 1.64.2; 1.64.12; 1.64.16; Correct copy/paste error in previous.
|
#
1.63 |
|
11-Sep-2011 |
jakllsch |
Initialize the W axis value on open as is already done for the other axes.
|
Revision tags: rmind-uvmplock-nbase cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base jruoho-x86intr-base matt-mips64-premerge-20101231 uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10 uebayasi-xip-base1 rmind-uvmplock-base yamt-nfs-mp-base9 uebayasi-xip-base matt-premerge-20091211 yamt-nfs-mp-base8 yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 jym-xensuspend-nbase yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 nick-hppapmap-base2 jym-xensuspend-base nick-hppapmap-base mjf-devfs2-base
|
#
1.62 |
|
15-Jan-2009 |
yamt |
- reduce the number of #ifdefs. - build compat glues if MODULAR.
|
#
1.61 |
|
13-Jan-2009 |
christos |
provide wscons_event compatibility with 5.0.
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 haad-dm-base wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base wrstuden-revivesa-base
|
#
1.60 |
|
12-Jun-2008 |
cegger |
branches: 1.60.4; use device_lookup_private to get softc use device_lookup to get device_t
|
Revision tags: yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-base2 yamt-nfs-mp-base2
|
#
1.59 |
|
30-Apr-2008 |
ad |
branches: 1.59.2; 1.59.4; Make various bits of debug code compile again.
|
#
1.58 |
|
28-Apr-2008 |
martin |
Remove clause 3 and 4 from TNF licenses
|
Revision tags: yamt-pf42-baseX yamt-nfs-mp-base yamt-pf42-base
|
#
1.57 |
|
05-Apr-2008 |
cegger |
branches: 1.57.2; 1.57.4; use aprint_*_dev and device_xname
|
Revision tags: ad-socklock-base1
|
#
1.56 |
|
25-Mar-2008 |
cube |
Split device_t and softc for wskbd(4), wsmouse(4) and that creepy wsmux(4).
|
Revision tags: yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base bouyer-xeni386-merge1 vmlocking2-base3 bouyer-xeni386-nbase yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 bouyer-xeni386-base matt-armv6-nbase mjf-devfs-base matt-armv6-base hpcarm-cleanup-base
|
#
1.55 |
|
09-Dec-2007 |
jmcneill |
branches: 1.55.10; Merge jmcneill-pm branch.
|
Revision tags: yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 vmlocking-nbase jmcneill-pm-base reinoud-bufcleanup-base
|
#
1.54 |
|
01-Dec-2007 |
jmcneill |
branches: 1.54.2; 1.54.4; aprintify
|
Revision tags: jmcneill-base bouyer-xenamd64-base2 yamt-x86pmap-base4 bouyer-xenamd64-base
|
#
1.53 |
|
16-Oct-2007 |
joerg |
branches: 1.53.4; Use callout_setfunc/callout_schedule instead of callout_reset. Use mstohz for the calculations.
|
Revision tags: nick-csl-alignment-base5 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base nick-csl-alignment-base mjf-ufs-trans-base vmlocking-base
|
#
1.52 |
|
09-Jul-2007 |
ad |
branches: 1.52.6; 1.52.8; 1.52.10; Merge some of the less invasive changes from the vmlocking branch:
- kthread, callout, devsw API changes - select()/poll() improvements - miscellaneous MT safety improvements
|
Revision tags: yamt-idlelwp-base8 thorpej-atomic-base
|
#
1.51 |
|
04-Mar-2007 |
christos |
branches: 1.51.2; 1.51.4; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 matt-nb4-arm-base netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base ad-audiomp-base post-newlock2-merge newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 newlock2-base netbsd-4-base
|
#
1.50 |
|
16-Nov-2006 |
christos |
branches: 1.50.4; __unused removal on arguments; approved by core.
|
#
1.49 |
|
12-Nov-2006 |
plunky |
Tidy away wsmouse_input() abstractions and update documentation to include the W direction.
|
Revision tags: yamt-splraiseipl-base2
|
#
1.48 |
|
12-Oct-2006 |
christos |
- sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
|
Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9 yamt-pdpolicy-base8 rpaulo-netinet-merge-pcb-base
|
#
1.47 |
|
28-Aug-2006 |
christos |
branches: 1.47.2; 1.47.4; fix incomplete initializers
|
Revision tags: abandoned-netbsd-4-base yamt-pdpolicy-base7 yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base yamt-pdpolicy-base5 chap-midi-base simonb-timecounters-base
|
#
1.46 |
|
14-May-2006 |
elad |
integrate kauth.
|
Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3 elad-kernelauth-base
|
#
1.45 |
|
29-Mar-2006 |
thorpej |
Use device_cfdata().
|
#
1.44 |
|
28-Mar-2006 |
thorpej |
Use device_unit().
|
Revision tags: peter-altq-base yamt-pdpolicy-base2
|
#
1.43 |
|
05-Mar-2006 |
jmmv |
branches: 1.43.2; 1.43.4; Add missing closing parenthesis to a diagnostic message.
|
Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
|
#
1.42 |
|
10-Feb-2006 |
christos |
branches: 1.42.2; fix compilation problems.
|
#
1.41 |
|
10-Feb-2006 |
christos |
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.
|
#
1.40 |
|
07-Feb-2006 |
jmmv |
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@.
|
#
1.39 |
|
05-Feb-2006 |
jmmv |
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@.
|
#
1.38 |
|
11-Dec-2005 |
christos |
branches: 1.38.2; 1.38.4; 1.38.6; merge ktrace-lwp.
|
Revision tags: yamt-readahead-base3 ktrace-lwp-base
|
#
1.37 |
|
23-Nov-2005 |
augustss |
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 tags: yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
|
#
1.36 |
|
21-Jun-2005 |
ws |
branches: 1.36.2; 1.36.8; PR-30566: Poll must not return <sys/errno.h> values. Start with those places I can easily test.
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE 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 yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
|
#
1.35 |
|
27-Feb-2005 |
perry |
nuke trailing whitespace
|
Revision tags: netbsd-2-0-3-RELEASE 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-0-2-RELEASE yamt-km-base2 yamt-km-base netbsd-2-0-1-RELEASE kent-audio1-beforemerge netbsd-2-base kent-audio1-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-base
|
#
1.34 |
|
28-Nov-2003 |
drochner |
branches: 1.34.8; 1.34.10; -remove a check of errno against -1, this is nonsense since we have EPASSTHROUGH -remove a superflous #if NWSMOUSE
|
#
1.33 |
|
21-Sep-2003 |
jdolecek |
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@
|
#
1.32 |
|
07-Aug-2003 |
agc |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
#
1.31 |
|
29-Jun-2003 |
fvdl |
branches: 1.31.2; Back out the lwp/ktrace changes. They contained a lot of colateral damage, and need to be examined and discussed more.
|
#
1.30 |
|
28-Jun-2003 |
darrenr |
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 tags: nathanw_sa_before_merge fvdl_fs64_base nathanw_sa_base
|
#
1.29 |
|
01-Jan-2003 |
thorpej |
Use aprint_normal() in cfprint routines.
|
Revision tags: gmcgarry_ctxsw_base gmcgarry_ucred_base kqueue-aftermerge
|
#
1.28 |
|
23-Oct-2002 |
jdolecek |
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 tags: kqueue-beforemerge kqueue-base
|
#
1.27 |
|
02-Oct-2002 |
thorpej |
Add trailing ; to CFATTACH_DECL.
|
#
1.26 |
|
01-Oct-2002 |
thorpej |
Use CFATTACH_DECL().
|
#
1.25 |
|
27-Sep-2002 |
thorpej |
Declare all cfattach structures const.
|
#
1.24 |
|
06-Sep-2002 |
gehenna |
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 tags: gehenna-devsw-base
|
#
1.23 |
|
06-Jun-2002 |
drochner |
Don't detach the mouse from the mux just because the mouse device is opened. Too annoying and unnecessary.
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base eeh-devprop-base newlock-base ifpoll-base
|
#
1.22 |
|
22-Nov-2001 |
augustss |
branches: 1.22.8; Add some DIAGNOSTIC tests.
|
#
1.21 |
|
13-Nov-2001 |
lukem |
add/cleanup RCSIDs
|
Revision tags: thorpej-mips-cache-base
|
#
1.20 |
|
07-Nov-2001 |
enami |
Have necessary braces.
|
#
1.19 |
|
02-Nov-2001 |
augustss |
Improve debug messages a little.
|
#
1.18 |
|
25-Oct-2001 |
augustss |
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.
|
#
1.17 |
|
24-Oct-2001 |
augustss |
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.
|
#
1.16 |
|
13-Oct-2001 |
augustss |
branches: 1.16.2; Fix a (very old) pasto.
|
#
1.15 |
|
13-Oct-2001 |
augustss |
ANSIfy.
|
#
1.14 |
|
13-Oct-2001 |
augustss |
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 tags: thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
|
#
1.13 |
|
13-Feb-2001 |
bjh21 |
branches: 1.13.2; 1.13.4; 1.13.6; 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 tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
|
#
1.12 |
|
01-May-2000 |
takemura |
Mouse move event should be made before mouse bown event. Without that, you may got a mouse down event in strange plase.
|
Revision tags: chs-ubc2-newbase
|
#
1.11 |
|
08-Jan-2000 |
takemura |
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.
|
#
1.10 |
|
05-Jan-2000 |
drochner |
replace embedded _rcsid[] string by __KERNEL_RCSID(), remove _copyright[]
|
Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base fvdl-softdep-base
|
#
1.9 |
|
04-Aug-1999 |
augustss |
branches: 1.9.2; Get the dependencies on NWSMUX right (I hope).
|
Revision tags: chs-ubc2-base
|
#
1.8 |
|
29-Jul-1999 |
augustss |
Add the wsmux pseudo device.
|
#
1.7 |
|
30-Jun-1999 |
augustss |
Make it possible to detach wsmouse and wskbd. XXX wskbd probably needs some more work.
|
Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 kame_141_19991130 netbsd-1-4-PATCH001 kame_14_19990705 kame_14_19990628 netbsd-1-4-RELEASE netbsd-1-4-base
|
#
1.6 |
|
10-Jan-1999 |
augustss |
branches: 1.6.4; Remove redundant test if the unit numbers is in range.
|
#
1.5 |
|
30-Dec-1998 |
augustss |
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 tags: kenh-if-detach-base chs-ubc-base eeh-paddr_t-base
|
#
1.4 |
|
27-Jul-1998 |
drochner |
add third axis for pointing devices (flying mice)
|
#
1.3 |
|
25-Jul-1998 |
augustss |
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.
|
#
1.2 |
|
09-Jun-1998 |
thorpej |
Nuke __BROKEN_INDIRECT_CONFIG.
|
#
1.1 |
|
22-Mar-1998 |
drochner |
Initial import of cgd's new wscons code.
|
#
1.70 |
|
28-Sep-2021 |
nia |
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 tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base
|
#
1.69 |
|
27-Dec-2020 |
tsutsui |
Explicitly include generated ioconf.h for struct cfdrivers.
|
Revision tags: netbsd-9-2-RELEASE netbsd-9-1-RELEASE bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 jdolecek-ncqfixes-base pgoyette-compat-0728 phil-wifi-base 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-base tls-maxphys-base-20171202
|
#
1.68 |
|
03-Nov-2017 |
maya |
branches: 1.68.18; Remove redundant includes of malloc.h
|
#
1.67 |
|
03-Nov-2017 |
maya |
Use __arraycount a bunch Also, DIAGNOSTIC panic -> KASSERT
|
Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-7-2-RELEASE netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 nick-nhusb-base-20170204 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 nick-nhusb-base-20161204 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE nick-nhusb-base-20161004 localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 netbsd-7-0-1-RELEASE nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-7-base tls-earlyentropy-base tls-maxphys-base
|
#
1.66 |
|
25-Jul-2014 |
dholland |
branches: 1.66.8; 1.66.18; Add d_discard to all struct cdevsw instances I could find.
All have been set to "nodiscard"; some should get a real implementation.
|
Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-nbase rmind-smpnet-base
|
#
1.65 |
|
16-Mar-2014 |
dholland |
branches: 1.65.2; 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 tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-pre-base2 jmcneill-usbmp-base2 netbsd-6-base jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.64 |
|
11-Sep-2011 |
jakllsch |
branches: 1.64.2; 1.64.12; 1.64.16; Correct copy/paste error in previous.
|
#
1.63 |
|
11-Sep-2011 |
jakllsch |
Initialize the W axis value on open as is already done for the other axes.
|
Revision tags: rmind-uvmplock-nbase cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base jruoho-x86intr-base matt-mips64-premerge-20101231 uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10 uebayasi-xip-base1 rmind-uvmplock-base yamt-nfs-mp-base9 uebayasi-xip-base matt-premerge-20091211 yamt-nfs-mp-base8 yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 jym-xensuspend-nbase yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 nick-hppapmap-base2 jym-xensuspend-base nick-hppapmap-base mjf-devfs2-base
|
#
1.62 |
|
15-Jan-2009 |
yamt |
- reduce the number of #ifdefs. - build compat glues if MODULAR.
|
#
1.61 |
|
13-Jan-2009 |
christos |
provide wscons_event compatibility with 5.0.
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 haad-dm-base wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base wrstuden-revivesa-base
|
#
1.60 |
|
12-Jun-2008 |
cegger |
branches: 1.60.4; use device_lookup_private to get softc use device_lookup to get device_t
|
Revision tags: yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-base2 yamt-nfs-mp-base2
|
#
1.59 |
|
30-Apr-2008 |
ad |
branches: 1.59.2; 1.59.4; Make various bits of debug code compile again.
|
#
1.58 |
|
28-Apr-2008 |
martin |
Remove clause 3 and 4 from TNF licenses
|
Revision tags: yamt-pf42-baseX yamt-nfs-mp-base yamt-pf42-base
|
#
1.57 |
|
05-Apr-2008 |
cegger |
branches: 1.57.2; 1.57.4; use aprint_*_dev and device_xname
|
Revision tags: ad-socklock-base1
|
#
1.56 |
|
25-Mar-2008 |
cube |
Split device_t and softc for wskbd(4), wsmouse(4) and that creepy wsmux(4).
|
Revision tags: yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base bouyer-xeni386-merge1 vmlocking2-base3 bouyer-xeni386-nbase yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 bouyer-xeni386-base matt-armv6-nbase mjf-devfs-base matt-armv6-base hpcarm-cleanup-base
|
#
1.55 |
|
09-Dec-2007 |
jmcneill |
branches: 1.55.10; Merge jmcneill-pm branch.
|
Revision tags: yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 vmlocking-nbase jmcneill-pm-base reinoud-bufcleanup-base
|
#
1.54 |
|
01-Dec-2007 |
jmcneill |
branches: 1.54.2; 1.54.4; aprintify
|
Revision tags: jmcneill-base bouyer-xenamd64-base2 yamt-x86pmap-base4 bouyer-xenamd64-base
|
#
1.53 |
|
16-Oct-2007 |
joerg |
branches: 1.53.4; Use callout_setfunc/callout_schedule instead of callout_reset. Use mstohz for the calculations.
|
Revision tags: nick-csl-alignment-base5 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base nick-csl-alignment-base mjf-ufs-trans-base vmlocking-base
|
#
1.52 |
|
09-Jul-2007 |
ad |
branches: 1.52.6; 1.52.8; 1.52.10; Merge some of the less invasive changes from the vmlocking branch:
- kthread, callout, devsw API changes - select()/poll() improvements - miscellaneous MT safety improvements
|
Revision tags: yamt-idlelwp-base8 thorpej-atomic-base
|
#
1.51 |
|
04-Mar-2007 |
christos |
branches: 1.51.2; 1.51.4; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 matt-nb4-arm-base netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base ad-audiomp-base post-newlock2-merge newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 newlock2-base netbsd-4-base
|
#
1.50 |
|
16-Nov-2006 |
christos |
branches: 1.50.4; __unused removal on arguments; approved by core.
|
#
1.49 |
|
12-Nov-2006 |
plunky |
Tidy away wsmouse_input() abstractions and update documentation to include the W direction.
|
Revision tags: yamt-splraiseipl-base2
|
#
1.48 |
|
12-Oct-2006 |
christos |
- sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
|
Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9 yamt-pdpolicy-base8 rpaulo-netinet-merge-pcb-base
|
#
1.47 |
|
28-Aug-2006 |
christos |
branches: 1.47.2; 1.47.4; fix incomplete initializers
|
Revision tags: abandoned-netbsd-4-base yamt-pdpolicy-base7 yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base yamt-pdpolicy-base5 chap-midi-base simonb-timecounters-base
|
#
1.46 |
|
14-May-2006 |
elad |
integrate kauth.
|
Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3 elad-kernelauth-base
|
#
1.45 |
|
29-Mar-2006 |
thorpej |
Use device_cfdata().
|
#
1.44 |
|
28-Mar-2006 |
thorpej |
Use device_unit().
|
Revision tags: peter-altq-base yamt-pdpolicy-base2
|
#
1.43 |
|
05-Mar-2006 |
jmmv |
branches: 1.43.2; 1.43.4; Add missing closing parenthesis to a diagnostic message.
|
Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
|
#
1.42 |
|
10-Feb-2006 |
christos |
branches: 1.42.2; fix compilation problems.
|
#
1.41 |
|
10-Feb-2006 |
christos |
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.
|
#
1.40 |
|
07-Feb-2006 |
jmmv |
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@.
|
#
1.39 |
|
05-Feb-2006 |
jmmv |
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@.
|
#
1.38 |
|
11-Dec-2005 |
christos |
branches: 1.38.2; 1.38.4; 1.38.6; merge ktrace-lwp.
|
Revision tags: yamt-readahead-base3 ktrace-lwp-base
|
#
1.37 |
|
23-Nov-2005 |
augustss |
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 tags: yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
|
#
1.36 |
|
21-Jun-2005 |
ws |
branches: 1.36.2; 1.36.8; PR-30566: Poll must not return <sys/errno.h> values. Start with those places I can easily test.
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE 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 yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
|
#
1.35 |
|
27-Feb-2005 |
perry |
nuke trailing whitespace
|
Revision tags: netbsd-2-0-3-RELEASE 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-0-2-RELEASE yamt-km-base2 yamt-km-base netbsd-2-0-1-RELEASE kent-audio1-beforemerge netbsd-2-base kent-audio1-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-base
|
#
1.34 |
|
28-Nov-2003 |
drochner |
branches: 1.34.8; 1.34.10; -remove a check of errno against -1, this is nonsense since we have EPASSTHROUGH -remove a superflous #if NWSMOUSE
|
#
1.33 |
|
21-Sep-2003 |
jdolecek |
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@
|
#
1.32 |
|
07-Aug-2003 |
agc |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
#
1.31 |
|
29-Jun-2003 |
fvdl |
branches: 1.31.2; Back out the lwp/ktrace changes. They contained a lot of colateral damage, and need to be examined and discussed more.
|
#
1.30 |
|
28-Jun-2003 |
darrenr |
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 tags: nathanw_sa_before_merge fvdl_fs64_base nathanw_sa_base
|
#
1.29 |
|
01-Jan-2003 |
thorpej |
Use aprint_normal() in cfprint routines.
|
Revision tags: gmcgarry_ctxsw_base gmcgarry_ucred_base kqueue-aftermerge
|
#
1.28 |
|
23-Oct-2002 |
jdolecek |
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 tags: kqueue-beforemerge kqueue-base
|
#
1.27 |
|
02-Oct-2002 |
thorpej |
Add trailing ; to CFATTACH_DECL.
|
#
1.26 |
|
01-Oct-2002 |
thorpej |
Use CFATTACH_DECL().
|
#
1.25 |
|
27-Sep-2002 |
thorpej |
Declare all cfattach structures const.
|
#
1.24 |
|
06-Sep-2002 |
gehenna |
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 tags: gehenna-devsw-base
|
#
1.23 |
|
06-Jun-2002 |
drochner |
Don't detach the mouse from the mux just because the mouse device is opened. Too annoying and unnecessary.
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base eeh-devprop-base newlock-base ifpoll-base
|
#
1.22 |
|
22-Nov-2001 |
augustss |
branches: 1.22.8; Add some DIAGNOSTIC tests.
|
#
1.21 |
|
13-Nov-2001 |
lukem |
add/cleanup RCSIDs
|
Revision tags: thorpej-mips-cache-base
|
#
1.20 |
|
07-Nov-2001 |
enami |
Have necessary braces.
|
#
1.19 |
|
02-Nov-2001 |
augustss |
Improve debug messages a little.
|
#
1.18 |
|
25-Oct-2001 |
augustss |
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.
|
#
1.17 |
|
24-Oct-2001 |
augustss |
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.
|
#
1.16 |
|
13-Oct-2001 |
augustss |
branches: 1.16.2; Fix a (very old) pasto.
|
#
1.15 |
|
13-Oct-2001 |
augustss |
ANSIfy.
|
#
1.14 |
|
13-Oct-2001 |
augustss |
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 tags: thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
|
#
1.13 |
|
13-Feb-2001 |
bjh21 |
branches: 1.13.2; 1.13.4; 1.13.6; 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 tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
|
#
1.12 |
|
01-May-2000 |
takemura |
Mouse move event should be made before mouse bown event. Without that, you may got a mouse down event in strange plase.
|
Revision tags: chs-ubc2-newbase
|
#
1.11 |
|
08-Jan-2000 |
takemura |
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.
|
#
1.10 |
|
05-Jan-2000 |
drochner |
replace embedded _rcsid[] string by __KERNEL_RCSID(), remove _copyright[]
|
Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base fvdl-softdep-base
|
#
1.9 |
|
04-Aug-1999 |
augustss |
branches: 1.9.2; Get the dependencies on NWSMUX right (I hope).
|
Revision tags: chs-ubc2-base
|
#
1.8 |
|
29-Jul-1999 |
augustss |
Add the wsmux pseudo device.
|
#
1.7 |
|
30-Jun-1999 |
augustss |
Make it possible to detach wsmouse and wskbd. XXX wskbd probably needs some more work.
|
Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 kame_141_19991130 netbsd-1-4-PATCH001 kame_14_19990705 kame_14_19990628 netbsd-1-4-RELEASE netbsd-1-4-base
|
#
1.6 |
|
10-Jan-1999 |
augustss |
branches: 1.6.4; Remove redundant test if the unit numbers is in range.
|
#
1.5 |
|
30-Dec-1998 |
augustss |
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 tags: kenh-if-detach-base chs-ubc-base eeh-paddr_t-base
|
#
1.4 |
|
27-Jul-1998 |
drochner |
add third axis for pointing devices (flying mice)
|
#
1.3 |
|
25-Jul-1998 |
augustss |
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.
|
#
1.2 |
|
09-Jun-1998 |
thorpej |
Nuke __BROKEN_INDIRECT_CONFIG.
|
#
1.1 |
|
22-Mar-1998 |
drochner |
Initial import of cgd's new wscons code.
|
#
1.69 |
|
27-Dec-2020 |
tsutsui |
Explicitly include generated ioconf.h for struct cfdrivers.
|
Revision tags: thorpej-futex-base netbsd-9-1-RELEASE bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 jdolecek-ncqfixes-base pgoyette-compat-0728 phil-wifi-base 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-base tls-maxphys-base-20171202
|
#
1.68 |
|
03-Nov-2017 |
maya |
Remove redundant includes of malloc.h
|
#
1.67 |
|
03-Nov-2017 |
maya |
Use __arraycount a bunch Also, DIAGNOSTIC panic -> KASSERT
|
Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-7-2-RELEASE netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 nick-nhusb-base-20170204 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 nick-nhusb-base-20161204 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE nick-nhusb-base-20161004 localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 netbsd-7-0-1-RELEASE nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-7-base tls-earlyentropy-base tls-maxphys-base
|
#
1.66 |
|
25-Jul-2014 |
dholland |
branches: 1.66.8; 1.66.18; Add d_discard to all struct cdevsw instances I could find.
All have been set to "nodiscard"; some should get a real implementation.
|
Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-nbase rmind-smpnet-base
|
#
1.65 |
|
16-Mar-2014 |
dholland |
branches: 1.65.2; 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 tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-pre-base2 jmcneill-usbmp-base2 netbsd-6-base jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.64 |
|
11-Sep-2011 |
jakllsch |
branches: 1.64.2; 1.64.12; 1.64.16; Correct copy/paste error in previous.
|
#
1.63 |
|
11-Sep-2011 |
jakllsch |
Initialize the W axis value on open as is already done for the other axes.
|
Revision tags: rmind-uvmplock-nbase cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base jruoho-x86intr-base matt-mips64-premerge-20101231 uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10 uebayasi-xip-base1 rmind-uvmplock-base yamt-nfs-mp-base9 uebayasi-xip-base matt-premerge-20091211 yamt-nfs-mp-base8 yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 jym-xensuspend-nbase yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 nick-hppapmap-base2 jym-xensuspend-base nick-hppapmap-base mjf-devfs2-base
|
#
1.62 |
|
15-Jan-2009 |
yamt |
- reduce the number of #ifdefs. - build compat glues if MODULAR.
|
#
1.61 |
|
13-Jan-2009 |
christos |
provide wscons_event compatibility with 5.0.
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 haad-dm-base wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base wrstuden-revivesa-base
|
#
1.60 |
|
12-Jun-2008 |
cegger |
branches: 1.60.4; use device_lookup_private to get softc use device_lookup to get device_t
|
Revision tags: yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-base2 yamt-nfs-mp-base2
|
#
1.59 |
|
30-Apr-2008 |
ad |
branches: 1.59.2; 1.59.4; Make various bits of debug code compile again.
|
#
1.58 |
|
28-Apr-2008 |
martin |
Remove clause 3 and 4 from TNF licenses
|
Revision tags: yamt-pf42-baseX yamt-nfs-mp-base yamt-pf42-base
|
#
1.57 |
|
05-Apr-2008 |
cegger |
branches: 1.57.2; 1.57.4; use aprint_*_dev and device_xname
|
Revision tags: ad-socklock-base1
|
#
1.56 |
|
25-Mar-2008 |
cube |
Split device_t and softc for wskbd(4), wsmouse(4) and that creepy wsmux(4).
|
Revision tags: yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base bouyer-xeni386-merge1 vmlocking2-base3 bouyer-xeni386-nbase yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 bouyer-xeni386-base matt-armv6-nbase mjf-devfs-base matt-armv6-base hpcarm-cleanup-base
|
#
1.55 |
|
09-Dec-2007 |
jmcneill |
branches: 1.55.10; Merge jmcneill-pm branch.
|
Revision tags: yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 vmlocking-nbase jmcneill-pm-base reinoud-bufcleanup-base
|
#
1.54 |
|
01-Dec-2007 |
jmcneill |
branches: 1.54.2; 1.54.4; aprintify
|
Revision tags: jmcneill-base bouyer-xenamd64-base2 yamt-x86pmap-base4 bouyer-xenamd64-base
|
#
1.53 |
|
16-Oct-2007 |
joerg |
branches: 1.53.4; Use callout_setfunc/callout_schedule instead of callout_reset. Use mstohz for the calculations.
|
Revision tags: nick-csl-alignment-base5 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base nick-csl-alignment-base mjf-ufs-trans-base vmlocking-base
|
#
1.52 |
|
09-Jul-2007 |
ad |
branches: 1.52.6; 1.52.8; 1.52.10; Merge some of the less invasive changes from the vmlocking branch:
- kthread, callout, devsw API changes - select()/poll() improvements - miscellaneous MT safety improvements
|
Revision tags: yamt-idlelwp-base8 thorpej-atomic-base
|
#
1.51 |
|
04-Mar-2007 |
christos |
branches: 1.51.2; 1.51.4; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 matt-nb4-arm-base netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base ad-audiomp-base post-newlock2-merge newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 newlock2-base netbsd-4-base
|
#
1.50 |
|
16-Nov-2006 |
christos |
branches: 1.50.4; __unused removal on arguments; approved by core.
|
#
1.49 |
|
12-Nov-2006 |
plunky |
Tidy away wsmouse_input() abstractions and update documentation to include the W direction.
|
Revision tags: yamt-splraiseipl-base2
|
#
1.48 |
|
12-Oct-2006 |
christos |
- sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
|
Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9 yamt-pdpolicy-base8 rpaulo-netinet-merge-pcb-base
|
#
1.47 |
|
28-Aug-2006 |
christos |
branches: 1.47.2; 1.47.4; fix incomplete initializers
|
Revision tags: abandoned-netbsd-4-base yamt-pdpolicy-base7 yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base yamt-pdpolicy-base5 chap-midi-base simonb-timecounters-base
|
#
1.46 |
|
14-May-2006 |
elad |
integrate kauth.
|
Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3 elad-kernelauth-base
|
#
1.45 |
|
29-Mar-2006 |
thorpej |
Use device_cfdata().
|
#
1.44 |
|
28-Mar-2006 |
thorpej |
Use device_unit().
|
Revision tags: peter-altq-base yamt-pdpolicy-base2
|
#
1.43 |
|
05-Mar-2006 |
jmmv |
branches: 1.43.2; 1.43.4; Add missing closing parenthesis to a diagnostic message.
|
Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
|
#
1.42 |
|
10-Feb-2006 |
christos |
branches: 1.42.2; fix compilation problems.
|
#
1.41 |
|
10-Feb-2006 |
christos |
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.
|
#
1.40 |
|
07-Feb-2006 |
jmmv |
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@.
|
#
1.39 |
|
05-Feb-2006 |
jmmv |
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@.
|
#
1.38 |
|
11-Dec-2005 |
christos |
branches: 1.38.2; 1.38.4; 1.38.6; merge ktrace-lwp.
|
Revision tags: yamt-readahead-base3 ktrace-lwp-base
|
#
1.37 |
|
23-Nov-2005 |
augustss |
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 tags: yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
|
#
1.36 |
|
21-Jun-2005 |
ws |
branches: 1.36.2; 1.36.8; PR-30566: Poll must not return <sys/errno.h> values. Start with those places I can easily test.
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE 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 yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
|
#
1.35 |
|
27-Feb-2005 |
perry |
nuke trailing whitespace
|
Revision tags: netbsd-2-0-3-RELEASE 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-0-2-RELEASE yamt-km-base2 yamt-km-base netbsd-2-0-1-RELEASE kent-audio1-beforemerge netbsd-2-base kent-audio1-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-base
|
#
1.34 |
|
28-Nov-2003 |
drochner |
branches: 1.34.8; 1.34.10; -remove a check of errno against -1, this is nonsense since we have EPASSTHROUGH -remove a superflous #if NWSMOUSE
|
#
1.33 |
|
21-Sep-2003 |
jdolecek |
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@
|
#
1.32 |
|
07-Aug-2003 |
agc |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
#
1.31 |
|
29-Jun-2003 |
fvdl |
branches: 1.31.2; Back out the lwp/ktrace changes. They contained a lot of colateral damage, and need to be examined and discussed more.
|
#
1.30 |
|
28-Jun-2003 |
darrenr |
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 tags: nathanw_sa_before_merge fvdl_fs64_base nathanw_sa_base
|
#
1.29 |
|
01-Jan-2003 |
thorpej |
Use aprint_normal() in cfprint routines.
|
Revision tags: gmcgarry_ctxsw_base gmcgarry_ucred_base kqueue-aftermerge
|
#
1.28 |
|
23-Oct-2002 |
jdolecek |
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 tags: kqueue-beforemerge kqueue-base
|
#
1.27 |
|
02-Oct-2002 |
thorpej |
Add trailing ; to CFATTACH_DECL.
|
#
1.26 |
|
01-Oct-2002 |
thorpej |
Use CFATTACH_DECL().
|
#
1.25 |
|
27-Sep-2002 |
thorpej |
Declare all cfattach structures const.
|
#
1.24 |
|
06-Sep-2002 |
gehenna |
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 tags: gehenna-devsw-base
|
#
1.23 |
|
06-Jun-2002 |
drochner |
Don't detach the mouse from the mux just because the mouse device is opened. Too annoying and unnecessary.
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base eeh-devprop-base newlock-base ifpoll-base
|
#
1.22 |
|
22-Nov-2001 |
augustss |
branches: 1.22.8; Add some DIAGNOSTIC tests.
|
#
1.21 |
|
13-Nov-2001 |
lukem |
add/cleanup RCSIDs
|
Revision tags: thorpej-mips-cache-base
|
#
1.20 |
|
07-Nov-2001 |
enami |
Have necessary braces.
|
#
1.19 |
|
02-Nov-2001 |
augustss |
Improve debug messages a little.
|
#
1.18 |
|
25-Oct-2001 |
augustss |
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.
|
#
1.17 |
|
24-Oct-2001 |
augustss |
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.
|
#
1.16 |
|
13-Oct-2001 |
augustss |
branches: 1.16.2; Fix a (very old) pasto.
|
#
1.15 |
|
13-Oct-2001 |
augustss |
ANSIfy.
|
#
1.14 |
|
13-Oct-2001 |
augustss |
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 tags: thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
|
#
1.13 |
|
13-Feb-2001 |
bjh21 |
branches: 1.13.2; 1.13.4; 1.13.6; 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 tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
|
#
1.12 |
|
01-May-2000 |
takemura |
Mouse move event should be made before mouse bown event. Without that, you may got a mouse down event in strange plase.
|
Revision tags: chs-ubc2-newbase
|
#
1.11 |
|
08-Jan-2000 |
takemura |
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.
|
#
1.10 |
|
05-Jan-2000 |
drochner |
replace embedded _rcsid[] string by __KERNEL_RCSID(), remove _copyright[]
|
Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base fvdl-softdep-base
|
#
1.9 |
|
04-Aug-1999 |
augustss |
branches: 1.9.2; Get the dependencies on NWSMUX right (I hope).
|
Revision tags: chs-ubc2-base
|
#
1.8 |
|
29-Jul-1999 |
augustss |
Add the wsmux pseudo device.
|
#
1.7 |
|
30-Jun-1999 |
augustss |
Make it possible to detach wsmouse and wskbd. XXX wskbd probably needs some more work.
|
Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 kame_141_19991130 netbsd-1-4-PATCH001 kame_14_19990705 kame_14_19990628 netbsd-1-4-RELEASE netbsd-1-4-base
|
#
1.6 |
|
10-Jan-1999 |
augustss |
branches: 1.6.4; Remove redundant test if the unit numbers is in range.
|
#
1.5 |
|
30-Dec-1998 |
augustss |
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 tags: kenh-if-detach-base chs-ubc-base eeh-paddr_t-base
|
#
1.4 |
|
27-Jul-1998 |
drochner |
add third axis for pointing devices (flying mice)
|
#
1.3 |
|
25-Jul-1998 |
augustss |
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.
|
#
1.2 |
|
09-Jun-1998 |
thorpej |
Nuke __BROKEN_INDIRECT_CONFIG.
|
#
1.1 |
|
22-Mar-1998 |
drochner |
Initial import of cgd's new wscons code.
|
#
1.68 |
|
03-Nov-2017 |
maya |
Remove redundant includes of malloc.h
|
#
1.67 |
|
03-Nov-2017 |
maya |
Use __arraycount a bunch Also, DIAGNOSTIC panic -> KASSERT
|
Revision tags: matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 nick-nhusb-base-20170204 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 nick-nhusb-base-20161204 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE nick-nhusb-base-20161004 localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 netbsd-7-0-1-RELEASE nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-7-base tls-earlyentropy-base tls-maxphys-base
|
#
1.66 |
|
25-Jul-2014 |
dholland |
branches: 1.66.8; 1.66.18; Add d_discard to all struct cdevsw instances I could find.
All have been set to "nodiscard"; some should get a real implementation.
|
Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-nbase rmind-smpnet-base
|
#
1.65 |
|
16-Mar-2014 |
dholland |
branches: 1.65.2; 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 tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-pre-base2 jmcneill-usbmp-base2 netbsd-6-base jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.64 |
|
11-Sep-2011 |
jakllsch |
branches: 1.64.2; 1.64.12; 1.64.16; Correct copy/paste error in previous.
|
#
1.63 |
|
11-Sep-2011 |
jakllsch |
Initialize the W axis value on open as is already done for the other axes.
|
Revision tags: rmind-uvmplock-nbase cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base jruoho-x86intr-base matt-mips64-premerge-20101231 uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10 uebayasi-xip-base1 rmind-uvmplock-base yamt-nfs-mp-base9 uebayasi-xip-base matt-premerge-20091211 yamt-nfs-mp-base8 yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 jym-xensuspend-nbase yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 nick-hppapmap-base2 jym-xensuspend-base nick-hppapmap-base mjf-devfs2-base
|
#
1.62 |
|
15-Jan-2009 |
yamt |
- reduce the number of #ifdefs. - build compat glues if MODULAR.
|
#
1.61 |
|
13-Jan-2009 |
christos |
provide wscons_event compatibility with 5.0.
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 haad-dm-base wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base wrstuden-revivesa-base
|
#
1.60 |
|
12-Jun-2008 |
cegger |
branches: 1.60.4; use device_lookup_private to get softc use device_lookup to get device_t
|
Revision tags: yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-base2 yamt-nfs-mp-base2
|
#
1.59 |
|
30-Apr-2008 |
ad |
branches: 1.59.2; 1.59.4; Make various bits of debug code compile again.
|
#
1.58 |
|
28-Apr-2008 |
martin |
Remove clause 3 and 4 from TNF licenses
|
Revision tags: yamt-pf42-baseX yamt-nfs-mp-base yamt-pf42-base
|
#
1.57 |
|
05-Apr-2008 |
cegger |
branches: 1.57.2; 1.57.4; use aprint_*_dev and device_xname
|
Revision tags: ad-socklock-base1
|
#
1.56 |
|
25-Mar-2008 |
cube |
Split device_t and softc for wskbd(4), wsmouse(4) and that creepy wsmux(4).
|
Revision tags: yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base bouyer-xeni386-merge1 vmlocking2-base3 bouyer-xeni386-nbase yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 bouyer-xeni386-base matt-armv6-nbase mjf-devfs-base matt-armv6-base hpcarm-cleanup-base
|
#
1.55 |
|
09-Dec-2007 |
jmcneill |
branches: 1.55.10; Merge jmcneill-pm branch.
|
Revision tags: yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 vmlocking-nbase jmcneill-pm-base reinoud-bufcleanup-base
|
#
1.54 |
|
01-Dec-2007 |
jmcneill |
branches: 1.54.2; 1.54.4; aprintify
|
Revision tags: jmcneill-base bouyer-xenamd64-base2 yamt-x86pmap-base4 bouyer-xenamd64-base
|
#
1.53 |
|
16-Oct-2007 |
joerg |
branches: 1.53.4; Use callout_setfunc/callout_schedule instead of callout_reset. Use mstohz for the calculations.
|
Revision tags: nick-csl-alignment-base5 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base nick-csl-alignment-base mjf-ufs-trans-base vmlocking-base
|
#
1.52 |
|
09-Jul-2007 |
ad |
branches: 1.52.6; 1.52.8; 1.52.10; Merge some of the less invasive changes from the vmlocking branch:
- kthread, callout, devsw API changes - select()/poll() improvements - miscellaneous MT safety improvements
|
Revision tags: yamt-idlelwp-base8 thorpej-atomic-base
|
#
1.51 |
|
04-Mar-2007 |
christos |
branches: 1.51.2; 1.51.4; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 matt-nb4-arm-base netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base ad-audiomp-base post-newlock2-merge newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 newlock2-base netbsd-4-base
|
#
1.50 |
|
16-Nov-2006 |
christos |
branches: 1.50.4; __unused removal on arguments; approved by core.
|
#
1.49 |
|
12-Nov-2006 |
plunky |
Tidy away wsmouse_input() abstractions and update documentation to include the W direction.
|
Revision tags: yamt-splraiseipl-base2
|
#
1.48 |
|
12-Oct-2006 |
christos |
- sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
|
Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9 yamt-pdpolicy-base8 rpaulo-netinet-merge-pcb-base
|
#
1.47 |
|
28-Aug-2006 |
christos |
branches: 1.47.2; 1.47.4; fix incomplete initializers
|
Revision tags: abandoned-netbsd-4-base yamt-pdpolicy-base7 yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base yamt-pdpolicy-base5 chap-midi-base simonb-timecounters-base
|
#
1.46 |
|
14-May-2006 |
elad |
integrate kauth.
|
Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3 elad-kernelauth-base
|
#
1.45 |
|
29-Mar-2006 |
thorpej |
Use device_cfdata().
|
#
1.44 |
|
28-Mar-2006 |
thorpej |
Use device_unit().
|
Revision tags: peter-altq-base yamt-pdpolicy-base2
|
#
1.43 |
|
05-Mar-2006 |
jmmv |
branches: 1.43.2; 1.43.4; Add missing closing parenthesis to a diagnostic message.
|
Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
|
#
1.42 |
|
10-Feb-2006 |
christos |
branches: 1.42.2; fix compilation problems.
|
#
1.41 |
|
10-Feb-2006 |
christos |
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.
|
#
1.40 |
|
07-Feb-2006 |
jmmv |
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@.
|
#
1.39 |
|
05-Feb-2006 |
jmmv |
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@.
|
#
1.38 |
|
11-Dec-2005 |
christos |
branches: 1.38.2; 1.38.4; 1.38.6; merge ktrace-lwp.
|
Revision tags: yamt-readahead-base3 ktrace-lwp-base
|
#
1.37 |
|
23-Nov-2005 |
augustss |
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 tags: yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
|
#
1.36 |
|
21-Jun-2005 |
ws |
branches: 1.36.2; 1.36.8; PR-30566: Poll must not return <sys/errno.h> values. Start with those places I can easily test.
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE 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 yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
|
#
1.35 |
|
27-Feb-2005 |
perry |
nuke trailing whitespace
|
Revision tags: netbsd-2-0-3-RELEASE 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-0-2-RELEASE yamt-km-base2 yamt-km-base netbsd-2-0-1-RELEASE kent-audio1-beforemerge netbsd-2-base kent-audio1-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-base
|
#
1.34 |
|
28-Nov-2003 |
drochner |
branches: 1.34.8; 1.34.10; -remove a check of errno against -1, this is nonsense since we have EPASSTHROUGH -remove a superflous #if NWSMOUSE
|
#
1.33 |
|
21-Sep-2003 |
jdolecek |
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@
|
#
1.32 |
|
07-Aug-2003 |
agc |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
#
1.31 |
|
29-Jun-2003 |
fvdl |
branches: 1.31.2; Back out the lwp/ktrace changes. They contained a lot of colateral damage, and need to be examined and discussed more.
|
#
1.30 |
|
28-Jun-2003 |
darrenr |
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 tags: nathanw_sa_before_merge fvdl_fs64_base nathanw_sa_base
|
#
1.29 |
|
01-Jan-2003 |
thorpej |
Use aprint_normal() in cfprint routines.
|
Revision tags: gmcgarry_ctxsw_base gmcgarry_ucred_base kqueue-aftermerge
|
#
1.28 |
|
23-Oct-2002 |
jdolecek |
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 tags: kqueue-beforemerge kqueue-base
|
#
1.27 |
|
02-Oct-2002 |
thorpej |
Add trailing ; to CFATTACH_DECL.
|
#
1.26 |
|
01-Oct-2002 |
thorpej |
Use CFATTACH_DECL().
|
#
1.25 |
|
27-Sep-2002 |
thorpej |
Declare all cfattach structures const.
|
#
1.24 |
|
06-Sep-2002 |
gehenna |
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 tags: gehenna-devsw-base
|
#
1.23 |
|
06-Jun-2002 |
drochner |
Don't detach the mouse from the mux just because the mouse device is opened. Too annoying and unnecessary.
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base eeh-devprop-base newlock-base ifpoll-base
|
#
1.22 |
|
22-Nov-2001 |
augustss |
branches: 1.22.8; Add some DIAGNOSTIC tests.
|
#
1.21 |
|
13-Nov-2001 |
lukem |
add/cleanup RCSIDs
|
Revision tags: thorpej-mips-cache-base
|
#
1.20 |
|
07-Nov-2001 |
enami |
Have necessary braces.
|
#
1.19 |
|
02-Nov-2001 |
augustss |
Improve debug messages a little.
|
#
1.18 |
|
25-Oct-2001 |
augustss |
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.
|
#
1.17 |
|
24-Oct-2001 |
augustss |
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.
|
#
1.16 |
|
13-Oct-2001 |
augustss |
branches: 1.16.2; Fix a (very old) pasto.
|
#
1.15 |
|
13-Oct-2001 |
augustss |
ANSIfy.
|
#
1.14 |
|
13-Oct-2001 |
augustss |
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 tags: thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
|
#
1.13 |
|
13-Feb-2001 |
bjh21 |
branches: 1.13.2; 1.13.4; 1.13.6; 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 tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
|
#
1.12 |
|
01-May-2000 |
takemura |
Mouse move event should be made before mouse bown event. Without that, you may got a mouse down event in strange plase.
|
Revision tags: chs-ubc2-newbase
|
#
1.11 |
|
08-Jan-2000 |
takemura |
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.
|
#
1.10 |
|
05-Jan-2000 |
drochner |
replace embedded _rcsid[] string by __KERNEL_RCSID(), remove _copyright[]
|
Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base fvdl-softdep-base
|
#
1.9 |
|
04-Aug-1999 |
augustss |
branches: 1.9.2; Get the dependencies on NWSMUX right (I hope).
|
Revision tags: chs-ubc2-base
|
#
1.8 |
|
29-Jul-1999 |
augustss |
Add the wsmux pseudo device.
|
#
1.7 |
|
30-Jun-1999 |
augustss |
Make it possible to detach wsmouse and wskbd. XXX wskbd probably needs some more work.
|
Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 kame_141_19991130 netbsd-1-4-PATCH001 kame_14_19990705 kame_14_19990628 netbsd-1-4-RELEASE netbsd-1-4-base
|
#
1.6 |
|
10-Jan-1999 |
augustss |
branches: 1.6.4; Remove redundant test if the unit numbers is in range.
|
#
1.5 |
|
30-Dec-1998 |
augustss |
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 tags: kenh-if-detach-base chs-ubc-base eeh-paddr_t-base
|
#
1.4 |
|
27-Jul-1998 |
drochner |
add third axis for pointing devices (flying mice)
|
#
1.3 |
|
25-Jul-1998 |
augustss |
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.
|
#
1.2 |
|
09-Jun-1998 |
thorpej |
Nuke __BROKEN_INDIRECT_CONFIG.
|
#
1.1 |
|
22-Mar-1998 |
drochner |
Initial import of cgd's new wscons code.
|