History log of /src/sys/arch/x68k/dev/ms.c |
Revision | | Date | Author | Comments |
1.42 |
| 24-May-2024 |
andvar | s/borad/board/ in comments.
|
1.41 |
| 07-Jan-2024 |
isaki | TAB/space/indent cleanup.
|
1.40 |
| 23-May-2022 |
tsutsui | Remove unused variables.
|
1.39 |
| 23-May-2022 |
tsutsui | Make local functions and variable static.
|
1.38 |
| 23-May-2022 |
tsutsui | Fix a wrong comment about mouse buttons, probably derived from Inside X68000.
|
1.37 |
| 23-May-2022 |
tsutsui | Add comments why delta Y of mouse input is inverted.
|
1.36 |
| 24-Apr-2021 |
tsutsui | Tidy up callout(9) implementation to handle mouse packets.
- define and use proper macro to specify ticks - use callout_schedule(9) rather than callout_reset(9) to restart timer
No functional changes.
|
1.35 |
| 07-Feb-2021 |
tsutsui | Remove dumb middle button emulation code from the ms(4) driver.
Also fix leftover comments (derived from the original Sun's "firm_event" implementation as seen in sys/dev/sun/ms.c) to sync with reality on x68k.
The current implementation the ms(4) driver just checks whether two (left/right) buttons are changed in the same packet. This means it cannot handle a release event correctly if two buttons pressed simultaneously are released in the different timing.
The middle button emulation should be handled in application layer as other Xservers do, and I'll import Emulate3Buttons support for the X68k Xorg based monolithic server.
See my post on port-x68k@ for details: https://mail-index.netbsd.org/port-x68k/2021/02/05/msg000074.html
|
1.34 |
| 25-Jul-2014 |
dholland | branches: 1.34.40; Add d_discard to all struct cdevsw instances I could find.
All have been set to "nodiscard"; some should get a real implementation.
|
1.33 |
| 26-Mar-2014 |
christos | branches: 1.33.2; kill sprintf, fix unused.
|
1.32 |
| 21-Mar-2014 |
tsutsui | Replace tsleep(9)/wakeup(9) with condvar(9) as practice.
Also replace malloc(9) with kmem_alloc(9). Pevent more possible races.
Tested on both console and Xserver on X68030.
|
1.31 |
| 16-Mar-2014 |
dholland | 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.
|
1.30 |
| 17-Jan-2009 |
isaki | branches: 1.30.14; 1.30.24; 1.30.28; Use firm_gettime() (in dev/sun/vuid_event.h) to adapt changes in chiristos-time_t.
|
1.29 |
| 25-Jun-2008 |
isaki | branches: 1.29.4; struct cfdata -> cfdata_t.
|
1.28 |
| 20-Apr-2008 |
tsutsui | branches: 1.28.2; 1.28.4; 1.28.6; Split device_t/softc, as following its parents zsc(4). Spotted by isaki@.
|
1.27 |
| 17-Oct-2007 |
garbled | branches: 1.27.16; 1.27.18; Merge the ppcoea-renovation branch to HEAD.
This branch was a major cleanup and rototill of many of the various OEA cpu based PPC ports that focused on sharing as much code as possible between the various ports to eliminate near-identical copies of files in every tree. Additionally there is a new PIC system that unifies the interface to interrupt code for all different OEA ppc arches. The work for this branch was done by a variety of people, too long to list here.
TODO: bebox still needs work to complete the transition to -renovation. ofppc still needs a bunch of work, which I will be looking at. ev64260 still needs to be renovated amigappc was not attempted.
NOTES: pmppc was removed as an arch, and moved to a evbppc target.
|
1.26 |
| 09-Jul-2007 |
ad | branches: 1.26.10; Merge some of the less invasive changes from the vmlocking branch:
- kthread, callout, devsw API changes - select()/poll() improvements - miscellaneous MT safety improvements
|
1.25 |
| 11-Mar-2007 |
isaki | branches: 1.25.2; 1.25.8; white space, indent and KNF.
|
1.24 |
| 04-Mar-2007 |
christos | branches: 1.24.2; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.23 |
| 18-Sep-2006 |
gdamore | branches: 1.23.4; Convert references to "time" to calls to "getmicrotime()", needed for conversion to timecounters.
|
1.22 |
| 29-Mar-2006 |
thorpej | branches: 1.22.8; 1.22.10; Use device_cfdata().
|
1.21 |
| 11-Dec-2005 |
christos | branches: 1.21.4; 1.21.6; 1.21.8; 1.21.10; 1.21.12; merge ktrace-lwp.
|
1.20 |
| 18-Jan-2005 |
chs | branches: 1.20.8; de-__P, remove register, ansify.
|
1.19 |
| 21-Sep-2003 |
jdolecek | branches: 1.19.8; 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.18 |
| 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.17 |
| 15-Jul-2003 |
lukem | rcsid
|
1.16 |
| 23-Oct-2002 |
jdolecek | branches: 1.16.6; 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
|
1.15 |
| 02-Oct-2002 |
thorpej | Add trailing ; to CFATTACH_DECL.
|
1.14 |
| 01-Oct-2002 |
thorpej | Use CFATTACH_DECL().
|
1.13 |
| 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
1.12 |
| 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.
|
1.11 |
| 25-Nov-2001 |
minoura | branches: 1.11.8; Remove unused variables. Correct printf format strings.
|
1.10 |
| 23-Mar-2000 |
thorpej | branches: 1.10.6; 1.10.8; 1.10.12; New callout mechanism with two major improvements over the old timeout()/untimeout() API: - Clients supply callout handle storage, thus eliminating problems of resource allocation. - Insertion and removal of callouts is constant time, important as this facility is used quite a lot in the kernel.
The old timeout()/untimeout() API has been removed from the kernel.
|
1.9 |
| 14-Jan-2000 |
itohy | Change the implementation of ms(4) polling to use timeout(9) software interrupt in order to eliminate glitches on MPU interrupt levels. I don't know whether this is a good solution, but it does work.
|
1.8 |
| 24-Mar-1999 |
minoura | branches: 1.8.2; 1.8.8; Shut up gcc -Wall.
|
1.7 |
| 16-Mar-1999 |
minoura | Merged minoura_x68k_bus_h branch.
|
1.6 |
| 03-Feb-1999 |
mycroft | Catch up with a change to the stint interface.
|
1.5 |
| 05-Aug-1998 |
minoura | branches: 1.5.6; Switched to MI zs driver.
|
1.4 |
| 12-Oct-1997 |
oki | branches: 1.4.2; Add prototype.
|
1.3 |
| 23-Nov-1996 |
oki | branches: 1.3.10; Implement poll(2).
|
1.2 |
| 21-May-1996 |
oki | Some cleanup. - Add missing return-type of function. - Add missing prototype. - some gcc -Wall printf warning.
|
1.1 |
| 05-May-1996 |
oki | branches: 1.1.1; Initial revision
|
1.1.1.1 |
| 05-May-1996 |
oki | NetBSD/x68k, by Masaru Oki.
|
1.3.10.1 |
| 14-Oct-1997 |
thorpej | Update marc-pcmcia branch from trunk.
|
1.4.2.1 |
| 05-Feb-1999 |
cgd | pull up patch to make mouse optional. Previously it was mandatory because some mouse-related functions were referenced from other files. Never committed to trunk because -current uses MI zs driver. (minoura)
|
1.5.6.2 |
| 14-Mar-1999 |
minoura | Sync.
|
1.5.6.1 |
| 23-Dec-1998 |
minoura | First import of bus_space implementation for x68k port.
|
1.8.8.1 |
| 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago A i386 GENERIC kernel compiles without the siop, ahc and bha drivers (will be updated later). i386 IDE/ATAPI and ncr work, as well as sparc/esp_sbus. alpha should work as well (untested yet). siop, ahc and bha will be updated once I've updated the branch to current -current, as well as machine-dependant code.
|
1.8.2.1 |
| 15-Jan-2000 |
he | Pull up revision 1.9 (requested by itohy): Change the implementation of ms(4) polling to use timeout(9) software timer, and change the clock interrupt handler not to lower interrupt level, in order to eliminate glitches on MPU interrupt levels.
|
1.10.12.4 |
| 11-Nov-2002 |
nathanw | Catch up to -current
|
1.10.12.3 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.10.12.2 |
| 17-Sep-2002 |
nathanw | Catch up to -current.
|
1.10.12.1 |
| 08-Jan-2002 |
nathanw | Catch up to -current.
|
1.10.8.3 |
| 10-Oct-2002 |
jdolecek | sync kqueue with -current; this includes merge of gehenna-devsw branch, merge of i386 MP branch, and part of autoconf rototil work
|
1.10.8.2 |
| 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.10.8.1 |
| 09-Sep-2001 |
thorpej | Add kqueue support (not yet compiled).
|
1.10.6.1 |
| 10-Oct-2001 |
fvdl | Convert all remaining devices.
|
1.11.8.1 |
| 17-May-2002 |
gehenna | Add device switch.
|
1.16.6.5 |
| 04-Feb-2005 |
skrll | Adapt to branch.
|
1.16.6.4 |
| 24-Jan-2005 |
skrll | Sync with HEAD.
|
1.16.6.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.16.6.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.16.6.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.19.8.1 |
| 29-Apr-2005 |
kent | sync with -current
|
1.20.8.3 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.20.8.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.20.8.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.21.12.1 |
| 31-Mar-2006 |
tron | Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
|
1.21.10.1 |
| 19-Apr-2006 |
elad | sync with head - hopefully this will work
|
1.21.8.1 |
| 01-Apr-2006 |
yamt | sync with head.
|
1.21.6.1 |
| 22-Apr-2006 |
simonb | Sync with head.
|
1.21.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.22.10.1 |
| 22-Oct-2006 |
yamt | sync with head
|
1.22.8.1 |
| 18-Nov-2006 |
ad | Sync with head.
|
1.23.4.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.24.2.2 |
| 15-Jul-2007 |
ad | Sync with head.
|
1.24.2.1 |
| 13-Mar-2007 |
ad | Sync with head.
|
1.25.8.1 |
| 03-Oct-2007 |
garbled | Sync with HEAD
|
1.25.2.1 |
| 11-Jul-2007 |
mjf | Sync with head.
|
1.26.10.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.27.18.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.27.16.3 |
| 17-Jan-2009 |
mjf | Sync with HEAD.
|
1.27.16.2 |
| 29-Jun-2008 |
mjf | Sync with HEAD.
|
1.27.16.1 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.28.6.1 |
| 27-Jun-2008 |
simonb | Sync with head.
|
1.28.4.1 |
| 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
1.28.2.1 |
| 04-May-2009 |
yamt | sync with head.
|
1.29.4.1 |
| 19-Jan-2009 |
skrll | Sync with HEAD.
|
1.30.28.1 |
| 18-May-2014 |
rmind | sync with head
|
1.30.24.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.30.14.1 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.33.2.1 |
| 10-Aug-2014 |
tls | Rebase.
|
1.34.40.1 |
| 03-Apr-2021 |
thorpej | Sync with HEAD.
|