History log of /src/sys/dev/ic/joy.c |
Revision | | Date | Author | Comments |
1.21 |
| 28-Oct-2017 |
riastradh | Kill some more extern struct cfdriver declarations.
Down with externs in .c!
|
1.20 |
| 25-Jul-2014 |
dholland | Add d_discard to all struct cdevsw instances I could find.
All have been set to "nodiscard"; some should get a real implementation.
|
1.19 |
| 16-Mar-2014 |
dholland | branches: 1.19.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.
|
1.18 |
| 23-Nov-2011 |
jmcneill | branches: 1.18.8; 1.18.12; Merge jmcneill-audiomp3 branch, which is derived from ad-audiomp2. From the original ad-audiomp branch notes:
Add MP locking to the audio drivers.
Making the audio drivers MP safe is necessary before efforts can be made to make the VM system MP safe.
The are two locks per device instance, an ISR lock and a character device lock. The ISR lock replaces calls to splaudio()/splx(), and will be held across calls to device methods which were called at splaudio() before (e.g. trigger_output). The character device lock is held across calls to nearly all of the methods, excluding some only used for initialization, e.g. get_locks.
Welcome to 5.99.57.
|
1.17 |
| 26-Mar-2008 |
xtraeme | branches: 1.17.16; 1.17.38; 1.17.40; Split device_t/softc for joy(4) and all its attachments. Also use device_lookup_private() and related cosmetic changes.
Reviewed by cube@.
|
1.16 |
| 01-Dec-2007 |
jmcneill | branches: 1.16.14; aprintify, on behalf of xtraeme
|
1.15 |
| 19-Oct-2007 |
ad | branches: 1.15.2; machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
|
1.14 |
| 04-Mar-2007 |
christos | branches: 1.14.2; 1.14.14; 1.14.16; 1.14.20; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.13 |
| 16-Nov-2006 |
christos | branches: 1.13.4; __unused removal on arguments; approved by core.
|
1.12 |
| 12-Oct-2006 |
christos | - sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
|
1.11 |
| 02-Sep-2006 |
christos | branches: 1.11.2; 1.11.4; add missing initializers
|
1.10 |
| 28-Mar-2006 |
thorpej | Use device_unit().
|
1.9 |
| 11-Dec-2005 |
christos | branches: 1.9.4; 1.9.6; 1.9.8; 1.9.10; 1.9.12; merge ktrace-lwp.
|
1.8 |
| 03-Aug-2004 |
drochner | branches: 1.8.12; implement device detach support
|
1.7 |
| 08-Jul-2004 |
drochner | Get rid of the arch dependencies for tome measurement - use microtime(). Works as well as before on my i386 (for want of a real joystick with a 50k resistor between pins 1 and 3).
|
1.6 |
| 29-Jun-2003 |
fvdl | branches: 1.6.2; Back out the lwp/ktrace changes. They contained a lot of colateral damage, and need to be examined and discussed more.
|
1.5 |
| 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
|
1.4 |
| 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
|
1.3 |
| 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.2 |
| 03-Feb-2002 |
pooka | branches: 1.2.2; 1.2.4; 1.2.12; remove include of <machine/cpufunc.h>, it's not used here
fixes compile (at least) on arm32
|
1.1 |
| 02-Feb-2002 |
jdolecek | Reduce the massive code duplication regarding joy(4). Split it into MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.
|
1.2.12.1 |
| 16-May-2002 |
gehenna | Add the character device switch.
|
1.2.4.4 |
| 11-Nov-2002 |
nathanw | Catch up to -current
|
1.2.4.3 |
| 17-Sep-2002 |
nathanw | Catch up to -current.
|
1.2.4.2 |
| 28-Feb-2002 |
nathanw | Catch up to -current.
|
1.2.4.1 |
| 03-Feb-2002 |
nathanw | file joy.c was added on branch nathanw_sa on 2002-02-28 04:13:27 +0000
|
1.2.2.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.2.2.2 |
| 11-Feb-2002 |
jdolecek | Sync w/ -current.
|
1.2.2.1 |
| 03-Feb-2002 |
jdolecek | file joy.c was added on branch kqueue on 2002-02-11 20:09:45 +0000
|
1.6.2.5 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.6.2.4 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.6.2.3 |
| 12-Aug-2004 |
skrll | Sync with HEAD.
|
1.6.2.2 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.6.2.1 |
| 02-Jul-2003 |
darrenr | Apply the aborted ktrace-lwp changes to a specific branch. This is just for others to review, I'm concerned that patch fuziness may have resulted in some errant code being generated but I'll look at that later by comparing the diff from the base to the branch with the file I attempt to apply to it. This will, at the very least, put the changes in a better context for others to review them and attempt to tinker with removing passing of 'struct lwp' through the kernel.
|
1.8.12.5 |
| 07-Dec-2007 |
yamt | sync with head
|
1.8.12.4 |
| 27-Oct-2007 |
yamt | sync with head.
|
1.8.12.3 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.8.12.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.8.12.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.9.12.1 |
| 31-Mar-2006 |
tron | Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
|
1.9.10.1 |
| 19-Apr-2006 |
elad | sync with head.
|
1.9.8.2 |
| 03-Sep-2006 |
yamt | sync with head.
|
1.9.8.1 |
| 01-Apr-2006 |
yamt | sync with head.
|
1.9.6.1 |
| 22-Apr-2006 |
simonb | Sync with head.
|
1.9.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.11.4.2 |
| 10-Dec-2006 |
yamt | sync with head.
|
1.11.4.1 |
| 22-Oct-2006 |
yamt | sync with head
|
1.11.2.1 |
| 18-Nov-2006 |
ad | Sync with head.
|
1.13.4.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.14.20.1 |
| 25-Oct-2007 |
bouyer | Sync with HEAD.
|
1.14.16.2 |
| 09-Jan-2008 |
matt | sync with HEAD
|
1.14.16.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.14.14.2 |
| 03-Dec-2007 |
joerg | Sync with HEAD.
|
1.14.14.1 |
| 26-Oct-2007 |
joerg | Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup code to restore CR4 before jumping back into kernel space as the large page option might cover that.
|
1.14.2.1 |
| 23-Oct-2007 |
ad | Sync with head.
|
1.15.2.1 |
| 08-Dec-2007 |
mjf | Sync with HEAD.
|
1.16.14.3 |
| 06-Apr-2008 |
mjf | - after some discussion with agc@ i agreed it would be a good idea to move device_unregister_* to device_deregister_* to be more like the pmf(9) functions, especially since a lot of the time the function calls are next to each other.
- add device_register_name() support for dk(4).
|
1.16.14.2 |
| 05-Apr-2008 |
mjf | - add "file-system DEVFS" and "pseudo-device devfsctl" to conf/std seeing as these are always needed.
- convert many, many drivers over to the New Devfs World Order. For a list of device drivers yet to be converted see, http://www.netbsd.org/~mjf/devfs-todo.html.
- add a new device_unregister_all(device_t) function to remove all device names associated with a device_t, which saves us having to construct device names when the driver is detached.
- add a DEV_AUDIO type for devices.
|
1.16.14.1 |
| 03-Apr-2008 |
mjf | Sync with HEAD.
|
1.17.40.1 |
| 19-Nov-2011 |
jmcneill | port ad-audiomp2 branch changes to 5.99.56 todo: - port ad-audiomp2 pcppi changes - these drivers need to be fixed: - emuxki - gcscaudio - hdafg - uaudio - umidi - MD audio drivers
|
1.17.38.2 |
| 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.17.38.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.17.16.1 |
| 12-Dec-2008 |
ad | Checkpoint work in progress.
|
1.18.12.1 |
| 18-May-2014 |
rmind | sync with head
|
1.18.8.2 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.18.8.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.19.2.1 |
| 10-Aug-2014 |
tls | Rebase.
|