History log of /src/sys/dev/pci/joy_eap.c |
Revision | | Date | Author | Comments |
1.17 |
| 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
1.16 |
| 26-Apr-2021 |
thorpej | branches: 1.16.6; Be explicit about the "eap" interface attribute when attaching a "joy" instance.
|
1.15 |
| 24-Apr-2021 |
thorpej | branches: 1.15.2; Merge thorpej-cfargs branch:
Simplify and make extensible the config_search() / config_found() / config_attach() interfaces: rather than having different variants for which arguments you want pass along, just have a single call that takes a variadic list of tag-value arguments.
Adjust all call sites: - Simplify wherever possible; don't pass along arguments that aren't actually needed. - Don't be explicit about what interface attribute is attaching if the device only has one. (More simplification.) - Add a config_probe() function to be used in indirect configuiration situations, making is visibly easier to see when indirect config is in play, and allowing for future change in semantics. (As of now, this is just a wrapper around config_match(), but that is an implementation detail.)
Remove unnecessary or redundant interface attributes where they're not needed.
There are currently 5 "cfargs" defined: - CFARG_SUBMATCH (submatch function for direct config) - CFARG_SEARCH (search function for indirect config) - CFARG_IATTR (interface attribte) - CFARG_LOCATORS (locators array) - CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)
...and a sentinel value CFARG_EOL.
Add some extra sanity checking to ensure that interface attributes aren't ambiguous.
Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark ports to associate those device handles with device_t instance. This will trickle trough to more places over time (need back-end for pre-OFW Sun OBP; any others?).
|
1.14 |
| 08-May-2019 |
isaki | branches: 1.14.12; Merge isaki-audio2 branch, the overhaul of audio subsystem. - Interrupt-oriented system rather than thread-oriented. - Improve stability, quality and performance. - Split playback and record cleanly. Improve halfduplex support. - Many bugs are fixed including deadlocks, resource leaks, abuses, etc. - Simplify audio filter mechanism. The encoding/channels/frequency conversions are completely handled in the upper layer. So the hard- ware driver only converts its hardware encoding (if necessary). - audio_hw_if changes: - Obsoletes query_encoding and add query_format instead. - Obsoletes set_params and add set_format instead. - Remove drain, setfd, mappage. - The call sequences are changed. - ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted. - ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced. - cleanup config attributes: au*conv and mulaw. - All hardware drivers should follow it (I've done as much as possible).
Some file paths are changed: - dev/audio.c -> dev/audio/audio.c (rewritten) - dev/audiovar.h -> dev/audio/audiovar.h - dev/audio_dai.h -> dev/audio/audio_dai.h - dev/audio_if.h -> dev/audio/audio_if.h - dev/audiobell.c -> dev/audio/audiobell.c - dev/audiobellvar.h -> dev/audio/audiobellvar.h - dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c
|
1.13 |
| 23-Nov-2011 |
jmcneill | branches: 1.13.50; 1.13.54; 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.12 |
| 07-May-2009 |
cegger | branches: 1.12.12; 1.12.14; use device_private()
|
1.11 |
| 06-May-2009 |
cegger | use device_private()
|
1.10 |
| 10-Apr-2008 |
cegger | branches: 1.10.4; 1.10.16; 1.10.18; use aprint_*_dev and device_xname
|
1.9 |
| 26-Mar-2008 |
xtraeme | Split device_t/softc for joy(4) and all its attachments. Also use device_lookup_private() and related cosmetic changes.
Reviewed by cube@.
|
1.8 |
| 11-Dec-2007 |
lukem | branches: 1.8.8; use __KERNEL_RCSID()
|
1.7 |
| 19-Oct-2007 |
ad | branches: 1.7.4; 1.7.6; 1.7.8; machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
|
1.6 |
| 16-Nov-2006 |
christos | branches: 1.6.8; 1.6.22; 1.6.24; 1.6.28; __unused removal on arguments; approved by core.
|
1.5 |
| 12-Oct-2006 |
christos | - sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
|
1.4 |
| 11-Dec-2005 |
christos | branches: 1.4.20; 1.4.22; merge ktrace-lwp.
|
1.3 |
| 28-Jun-2005 |
thorpej | branches: 1.3.2; Use ANSI function decls and static.
|
1.2 |
| 03-Aug-2004 |
drochner | use joydetach() now that we have it
|
1.1 |
| 08-Jul-2004 |
drochner | branches: 1.1.2; support the game port on eap1371 This is only usable with some caution because these soundcards only allow to map IO port 0x20x for this, thus bypassing PCI address management. Very likely this will only work on primary PCI buses, and there is some potential for conflicts with ISA devices as well. (XXX cannot be detached because the "joy" driver doesn't support it yet)
|
1.1.2.6 |
| 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.1.2.5 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.1.2.4 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.1.2.3 |
| 12-Aug-2004 |
skrll | Sync with HEAD.
|
1.1.2.2 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.1.2.1 |
| 08-Jul-2004 |
skrll | file joy_eap.c was added on branch ktrace-lwp on 2004-08-03 10:49:09 +0000
|
1.3.2.3 |
| 21-Jan-2008 |
yamt | sync with head
|
1.3.2.2 |
| 27-Oct-2007 |
yamt | sync with head.
|
1.3.2.1 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.4.22.2 |
| 10-Dec-2006 |
yamt | sync with head.
|
1.4.22.1 |
| 22-Oct-2006 |
yamt | sync with head
|
1.4.20.1 |
| 18-Nov-2006 |
ad | Sync with head.
|
1.6.28.1 |
| 25-Oct-2007 |
bouyer | Sync with HEAD.
|
1.6.24.2 |
| 09-Jan-2008 |
matt | sync with HEAD
|
1.6.24.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.6.22.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.6.8.1 |
| 23-Oct-2007 |
ad | Sync with head.
|
1.7.8.2 |
| 02-Jan-2008 |
bouyer | Sync with HEAD
|
1.7.8.1 |
| 13-Dec-2007 |
bouyer | Sync with HEAD
|
1.7.6.1 |
| 11-Dec-2007 |
yamt | sync with head.
|
1.7.4.1 |
| 26-Dec-2007 |
ad | Sync with head.
|
1.8.8.2 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.8.8.1 |
| 03-Apr-2008 |
mjf | Sync with HEAD.
|
1.10.18.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.10.16.1 |
| 12-Dec-2008 |
ad | Checkpoint work in progress.
|
1.10.4.1 |
| 16-May-2009 |
yamt | sync with head
|
1.12.14.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.12.12.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.13.54.1 |
| 04-May-2019 |
isaki | Move dev/audio_if.h -> dev/audio/audio_if.h
|
1.13.50.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.14.12.1 |
| 21-Mar-2021 |
thorpej | Give config_found() the same variadic arguments treatment as config_search(). This commit only adds the CFARG_EOL sentinel to the existing config_found() calls. Conversion of config_found_sm_loc() and config_found_ia() call sites will be in subsequent commits.
|
1.15.2.1 |
| 13-May-2021 |
thorpej | Sync with HEAD.
|
1.16.6.1 |
| 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|