Home | History | Annotate | Download | only in pci
History log of /src/sys/dev/pci/eso.c
RevisionDateAuthorComments
 1.75  07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.74  26-Apr-2021  thorpej branches: 1.74.6;
- The "eso" device does not need to carry the "midibus" interface attribute.
It attaches "opl" and "mpu" instances, which themselves attach "midi".
- Be explicit about specifying the "eso" interface attribute when attaching
"opl", "mpu", and "joy" instances.
 1.73  24-Apr-2021  thorpej branches: 1.73.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.72  28-Oct-2019  joerg branches: 1.72.10;
Fix operand priority of bit op vs ternary operator.
 1.71  08-Jun-2019  isaki branches: 1.71.2;
Clean get_props().
- Make get_props() return AUDIO_PROP_{PLAYBACK,CAPTURE} properly.
This eliminates need for audio.c to take care of such (old)
drivers which don't return both of PLAYBACK and CAPTURE.
- All get_props() doesn't need to return AUDIO_PROP_MMAP.
It is handled in the audio layer now.
 1.70  08-May-2019  isaki 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.69  16-Mar-2019  isaki branches: 1.69.2;
Use C99 style struct initializer to audio_hw_if.
 1.68  09-Dec-2018  jdolecek use pci_intr_establish_xname() everywhere
 1.67  01-Jun-2017  chs branches: 1.67.8; 1.67.10;
remove checks for failure after memory allocation calls that cannot fail:

kmem_alloc() with KM_SLEEP
kmem_zalloc() with KM_SLEEP
percpu_alloc()
pserialize_create()
psref_class_create()

all of these paths include an assertion that the allocation has not failed,
so callers should not assert that again.
 1.66  07-Jul-2016  msaitoh KNF. Remove extra spaces. No functional change.
 1.65  29-Mar-2014  christos branches: 1.65.6;
make pci_intr_string and eisa_intr_string take a buffer and a length
instead of relying in local static storage.
 1.64  16-Oct-2013  christos remove unused variables.
 1.63  17-Jul-2013  soren A few "isa" files are so tightly integrated into the x86 platform code
as to not really be part of the optional isa bus autoconf machinery.

Allows configuring a kernel like so:

include "arch/amd64/conf/GENERIC"
no isa
 1.62  27-Oct-2012  chs branches: 1.62.2; 1.62.8;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.61  12-Aug-2012  gson branches: 1.61.2;
Add missing locking calls to eso_attach() to avoid panic on boot.
Partly based on a patch from mrg. Fixes PR kern/46791.
 1.60  15-May-2012  mrg don't kassert that the sc_intr_lock is held in eso_reset(). it's only
called from attach and doesn't need to have it held, and PR 46451 shows
that it currently asserts.
 1.59  24-Nov-2011  mrg branches: 1.59.2; 1.59.4;
put back IPL_AUDIO and splaudio(), at the request of rmind. they are
aliases and now we can easily revert audio to IPL_VM if necessary,
without having to revert the whole branch.
 1.58  23-Nov-2011  jmcneill 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.57  26-Nov-2009  njoly branches: 1.57.12; 1.57.14;
Cleanup interrupt establish error messages. Do not mix
aprint_error/aprint_normal/printf calls for a single line.
 1.56  12-May-2009  cegger use device_private().
"looks good" ad@
XXX for the device_t/softc split, please check the driver that no cases have been missed.
 1.55  06-May-2009  cegger struct device * -> device_t, no functional changes intended.
 1.54  06-May-2009  cegger struct cfdata * -> cfdata_t, no functional changes intended.
 1.53  10-Apr-2008  cegger branches: 1.53.4; 1.53.16; 1.53.18;
use aprint_*_dev and device_xname
 1.52  01-Apr-2008  xtraeme Fix fallout from device_t/softc split to mpu(4):
always pass the mpu_softc to mpu_intr(). Found by Takeshi Nakayama.
 1.51  19-Oct-2007  ad branches: 1.51.16;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.50  04-Mar-2007  christos branches: 1.50.2; 1.50.14; 1.50.16; 1.50.20;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.49  11-Jan-2007  kleink branches: 1.49.2; 1.49.4;
Replace home-grown list management for DMA buffers with SLISTs, and refactor.
 1.48  18-Dec-2006  kleink Redo rev. 1.42, fixing the original array subscript pasto the right way.
 1.47  14-Dec-2006  christos explicitly set clk to 1 or 0.
 1.46  14-Dec-2006  kleink Un-break clock selection after -Wsign-compare cleanup in rev. 1.43;
from Stephen Ma in PR kern/35220.
 1.45  16-Nov-2006  christos branches: 1.45.2;
__unused removal on arguments; approved by core.
 1.44  12-Oct-2006  christos - sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
 1.43  30-Aug-2006  christos branches: 1.43.2; 1.43.4;
- fix missing initializer
- fix < 0 comparison with unsigned
 1.42  14-Apr-2006  christos Coverity CID 1539: Remove bogus test that caused array overrun.
 1.41  11-Dec-2005  christos branches: 1.41.4; 1.41.6; 1.41.8; 1.41.10; 1.41.12;
merge ktrace-lwp.
 1.40  26-Jan-2005  kleink branches: 1.40.6;
Clean up the array of audio_formats supported.
 1.39  15-Jan-2005  kent branches: 1.39.2; 1.39.4;
ansify and KNF
 1.38  10-Jan-2005  kent merge kent-audio1 branch, which introduces audio filter pipeline to the MI
audio framework


Summary of changes:

* struct audio_params
- remove sw_code, factor, factor_denom, hw_sample_rate,
hw_encoding ,hw_precision, and hw_channels. Conversion information
is conveyed by stream_filter_list_t.
- change the type of sample_rate: u_long -> u_int
- add `validbits,' which represents the valid data size in
precision bits. It is required in order to distinguish 24/32bit
from 24/24bit or 32/32bit.

* audio_hw_if
- add two parameters to set_params()
stream_filter_list_t *pfil, stream_filter_list *rfil
A HW driver should set filter recipes for requested formats
- constify audio_params parameters of trigger_output() and
trigger_input(). They represent audio formats for the hardware.
- make open() and close() optional
- add int (AUMODE_PLAY or AUMODE_RECORD) and audio_params_t parameters
to round_blocksize()

* sw_code is replaced with stream_filter_t.
stream_filer_t converts audio data in an input buffer and writes
into another output buffer unlike sw_code, which converts data in
single buffer.
converters in dev/auconv.c, dev/mulaw.c, dev/aurateconv.c,
dev/tc/bba.c, dev/ic/msm6258.c, and arch/arm/iomd/vidcaudio.c are
reimplemented as stream_filter_t

* MI audio
- audiosetinfo() builds filter pipelines from stream_filter_list_t
filled by audio_hw_if::set_params()
- audiosetinfo() returns with EINVAL if mmapped and set_params()
requests filters
- audio_write(), audio_pint(), and audio_rint() invoke a filter
pipeline.
- ioctl() for FIONREAD, AUDIO_WSEEK, AUDIO_GETIOFFS,
AUDIO_GETOOFFS, and audio_prinfo::{seek,samples} for
AUDIO_GETINFO handle values for a buffer nearest to userland.

* add `struct device *' parameter to ac97_attach()

* all of audio HW drivers follow audio_hw_if and ac97 changes
 1.37  29-Oct-2004  yamt branches: 1.37.2;
constify audio_hw_if, midi_hw_if, and radio_hw_if.
 1.36  09-Jul-2004  mycroft There's no need to halt the input and output pipes in the close routine --
audio_close() takes care of this.
 1.35  08-Jul-2004  kleink In addition to alpha, grossly work around the 24-bit limitation of the
Audio 1 DMA engine by allocating through the ISA DMA tag on amd64
and i386.
 1.34  25-May-2004  kleink General mixer initialization improvements around the MONO_IN/MONO_OUT/
PreAmp register, including a new MONO_IN mixer stage bypass mixer control;
inspired by (and fixing) PR kern/18342 from Stephen Ma.
 1.33  17-Feb-2004  kleink branches: 1.33.2;
Fix a (non-dangerous) malloc size botch in eso_allocm();
from Stephen Ma in PR kern/18342.
 1.32  17-Feb-2004  kleink Audio 2's DMA current address register implements only the least
significant 20 bits, so make sure its memory allocation won't cross
a 1M boundary. From Stephen Ma in PR kern/18342.
 1.31  05-Feb-2003  kleink branches: 1.31.2;
unask -> unmask
 1.30  01-Feb-2003  thorpej Add extensible malloc types, adapted from FreeBSD. This turns
malloc types into a structure, a pointer to which is passed around,
instead of an int constant. Allow the limit to be adjusted when the
malloc type is defined, or with a function call, as suggested by
Jonathan Stone.
 1.29  31-Jan-2003  thorpej Use aprint_*().
 1.28  01-Jan-2003  thorpej Use aprint_normal() in cfprint routines.
 1.27  02-Oct-2002  thorpej Add trailing ; to CFATTACH_DECL.
 1.26  30-Sep-2002  thorpej Use CFATTACH_DECL().
 1.25  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.24  25-Apr-2002  kleink branches: 1.24.4;
Add a joystick attachment to the ESS Solo-1 driver.
 1.23  13-Nov-2001  lukem add RCSID
 1.22  03-Oct-2001  augustss Add a new optional method, dev_ioctl, to the audio hardware driver interface.
It is called when an unrecognized ioctl() is performed on a device,
thus allowing ioctl()s that frob the hardware driver (like loading
microcode).
 1.21  19-Jul-2001  kleink branches: 1.21.2;
Hint BUS_DMA_READ and BUS_DMA_WRITE.
 1.20  28-Dec-2000  sommerfeld branches: 1.20.2; 1.20.4;
Change pci_intr_map to get interrupt source information from a "struct
pci_attach_args *" instead of from four separate parameters which in
all cases were extracted from the same "struct pci_attach_args".

This both simplifies the driver api, and allows for alternate PCI
interrupt mapping schemes, such as one using the tables described in
the Intel Multiprocessor Spec which describe interrupt wirings for
devices behind pci-pci bridges based on the device's location rather
the bridge's location.

Tested on alpha and i386; welcome to 1.5Q
 1.19  26-Jun-2000  simonb Change the kernel mmap interface so that the offset to map is an
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes. Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".

Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
 1.18  22-Mar-2000  kleink branches: 1.18.4;
Scale the drain timeout for allowing auto-initialize DMA to complete.
 1.17  18-Jan-2000  cjs Fix the size of the playback buffer. Patch from Dave Sainty <dave@dtsp.co.nz>.
 1.16  28-Dec-1999  kleink Off-by-one error in limiting the DMAC buffer size for Audio 2 to 64K (actually
64K - 1); from Dave Sainty in PR kern/9064.
 1.15  28-Dec-1999  kleink Fix a buffer KVA comparison botch in eso_mappage(); from Dave Sainty in
PR kern/9062.
 1.14  10-Dec-1999  kleink Add support code to have the Hardware Volume Control interact with the
software mixer Master Volume state in a defined way by lazily updating the
latter if input from the former was processed.
 1.13  03-Dec-1999  kleink A PCI Revision ID of 0x02 is what ESS happens to be calling ES1946 Revision E.
 1.12  02-Nov-1999  kleink Add a mixer control for the Master Volume Mute knob.
 1.11  01-Nov-1999  augustss Make little endian and big endian version of all functions
that deal with 16 bit samples. Let the drivers decide which ones
to use.
 1.10  28-Oct-1999  leo Remove htopci(). bus_space_write_4() takes care of necessary endian conversions.
 1.9  10-Oct-1999  cgd branches: 1.9.2; 1.9.4;
don't print using string pointer one off the end of the eso_rev2model
array. pointed out by Kouichi Hashikawa in PR#8601.
 1.8  28-Sep-1999  kleink branches: 1.8.2;
Since the Audio 1 DMA controller implements the 24 low address bits only,
add the gross hack originally implemented by Charles Hannum in the SonicVibes
driver to force allocation of DMA memory for that channel through the Scatter-
Gather Map to get an address range that fits in.

The eso driver now works on Alphas except for DWLPX-based systems, whose owners
are not likely to desire audio or likely can afford slightly less cheap audio
hardware. :-)
 1.7  23-Sep-1999  kleink Oops, we do have to check ourselves whether a given value is valid within an
enumeration.
 1.6  02-Sep-1999  kleink Use the approximated sampling rate to compute the filter rate.
 1.5  14-Aug-1999  kleink Add missing MPU interrupt glue.
 1.4  14-Aug-1999  kleink Forgot to initialize a pointer; from Simon Burge.
 1.3  02-Aug-1999  augustss branches: 1.3.2;
Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.
 1.2  01-Aug-1999  augustss Move the MPU driver isa/ to ic/.
(I didn't move it in the repository because the revision history
is very short and uninteresting. :)
 1.1  12-Jul-1999  kleink Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.
 1.3.2.2  02-Aug-1999  thorpej Update from trunk.
 1.3.2.1  02-Aug-1999  thorpej file eso.c was added on branch chs-ubc2 on 1999-08-02 22:03:56 +0000
 1.8.2.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.9.4.1  15-Nov-1999  fvdl Sync with -current
 1.9.2.2  05-Jan-2001  bouyer Sync with HEAD
 1.9.2.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.18.4.1  30-Jun-2000  simonb Pull up mmap paddr_t/off_t changes from trunk.
 1.20.4.4  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.20.4.3  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.20.4.2  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.20.4.1  03-Aug-2001  lukem update to -current
 1.20.2.6  03-Jan-2003  thorpej Sync with HEAD.
 1.20.2.5  18-Oct-2002  nathanw Catch up to -current.
 1.20.2.4  20-Jun-2002  nathanw Catch up to -current.
 1.20.2.3  14-Nov-2001  nathanw Catch up to -current.
 1.20.2.2  08-Oct-2001  nathanw Catch up to -current.
 1.20.2.1  24-Aug-2001  nathanw Catch up with -current.
 1.21.2.1  11-Oct-2001  fvdl Catch up with -current. Fix some bogons in the sparc64 kbd/ms
attach code. cd18xx conversion provided by mrg.
 1.24.4.2  15-Mar-2004  jmc Pullup rev 1.33 (requested by kleink in ticket #1614)

Fix a (non-dangerous) malloc size botch in eso_allocm(). PR#18342
 1.24.4.1  15-Mar-2004  jmc Pullup rev 1.32 (requested by kleink in ticket #1613)

Audio 2's DMA current address register implements only the least
significant 20 bits, so make sure its memory allocation won't cross
a 1M boundary.
 1.31.2.6  04-Feb-2005  skrll Sync with HEAD.
 1.31.2.5  17-Jan-2005  skrll Sync with HEAD.
 1.31.2.4  02-Nov-2004  skrll Sync with HEAD.
 1.31.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.31.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.31.2.1  03-Aug-2004  skrll Sync with HEAD
 1.33.2.2  10-Jul-2004  tron Pull up revision 1.35 (requested by kleink in ticket #633):
In addition to alpha, grossly work around the 24-bit limitation of the
Audio 1 DMA engine by allocating through the ISA DMA tag on amd64
and i386.
 1.33.2.1  29-May-2004  tron Pull up revision 1.34 (requested by kleink in ticket #400):
General mixer initialization improvements around the MONO_IN/MONO_OUT/
PreAmp register, including a new MONO_IN mixer stage bypass mixer control;
inspired by (and fixing) PR kern/18342 from Stephen Ma.
 1.37.2.2  09-Jan-2005  kent audio_hw_if change
* make open() and close() optional
* add int (AUMODE_PLAY or AUMODE_RECORD) and audio_params_t parameters
to round_blocksize()
 1.37.2.1  02-Jan-2005  kent * adopt the filter pipeline framework
* follow ac97_attach() change
 1.39.4.1  12-Feb-2005  yamt sync with head.
 1.39.2.1  29-Apr-2005  kent sync with -current
 1.40.6.5  27-Oct-2007  yamt sync with head.
 1.40.6.4  03-Sep-2007  yamt sync with head.
 1.40.6.3  26-Feb-2007  yamt sync with head.
 1.40.6.2  30-Dec-2006  yamt sync with head.
 1.40.6.1  21-Jun-2006  yamt sync with head.
 1.41.12.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.41.10.1  19-Apr-2006  elad sync with head.
 1.41.8.2  03-Sep-2006  yamt sync with head.
 1.41.8.1  24-May-2006  yamt sync with head.
 1.41.6.1  22-Apr-2006  simonb Sync with head.
 1.41.4.1  09-Sep-2006  rpaulo sync with head
 1.43.4.4  21-Dec-2006  yamt sync with head.
 1.43.4.3  18-Dec-2006  yamt sync with head.
 1.43.4.2  10-Dec-2006  yamt sync with head.
 1.43.4.1  22-Oct-2006  yamt sync with head
 1.43.2.3  01-Feb-2007  ad Sync with head.
 1.43.2.2  12-Jan-2007  ad Sync with head.
 1.43.2.1  18-Nov-2006  ad Sync with head.
 1.45.2.1  17-Dec-2006  riz Pull up following revision(s) (requested by kleink in ticket #278):
sys/dev/pci/eso.c: revision 1.46
sys/dev/pci/eso.c: revision 1.47
Un-break clock selection after -Wsign-compare cleanup in rev. 1.43;
from Stephen Ma in PR kern/35220.
explicitly set clk to 1 or 0.
 1.49.4.1  27-Feb-2007  ad Add MP locking for audio drivers.
 1.49.2.1  12-Mar-2007  rmind Sync with HEAD.
 1.50.20.1  25-Oct-2007  bouyer Sync with HEAD.
 1.50.16.1  06-Nov-2007  matt sync with HEAD
 1.50.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.50.2.1  23-Oct-2007  ad Sync with head.
 1.51.16.2  02-Jun-2008  mjf Sync with HEAD.
 1.51.16.1  03-Apr-2008  mjf Sync with HEAD.
 1.53.18.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.53.16.1  11-Dec-2008  ad Checkpoint work in progress.
 1.53.4.2  11-Mar-2010  yamt sync with head
 1.53.4.1  16-May-2009  yamt sync with head
 1.57.14.2  22-Nov-2011  jmcneill get rid of unused 'powerstate' callback in audio_hw_if
 1.57.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.57.12.4  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.57.12.3  30-Oct-2012  yamt sync with head
 1.57.12.2  23-May-2012  yamt sync with head.
 1.57.12.1  17-Apr-2012  yamt sync with head
 1.59.4.2  13-Aug-2012  riz Pull up following revision(s) (requested by gson in ticket #494):
sys/dev/pci/eso.c: revision 1.61
Add missing locking calls to eso_attach() to avoid panic on boot.
Partly based on a patch from mrg. Fixes PR kern/46791.
 1.59.4.1  13-Jun-2012  riz Pull up following revision(s) (requested by mrg in ticket #332):
sys/dev/pci/eso.c: revision 1.60
don't kassert that the sc_intr_lock is held in eso_reset(). it's only
called from attach and doesn't need to have it held, and PR 46451 shows
that it currently asserts.
 1.59.2.1  02-Jun-2012  mrg sync to latest -current.
 1.61.2.3  03-Dec-2017  jdolecek update from HEAD
 1.61.2.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.61.2.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.62.8.1  23-Jul-2013  riastradh sync with HEAD
 1.62.2.2  18-May-2014  rmind sync with head
 1.62.2.1  28-Aug-2013  rmind sync with head
 1.65.6.2  28-Aug-2017  skrll Sync with HEAD
 1.65.6.1  09-Jul-2016  skrll Sync with HEAD
 1.67.10.2  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.67.10.1  10-Jun-2019  christos Sync with HEAD
 1.67.8.1  26-Dec-2018  pgoyette Sync with HEAD, resolve a few conflicts
 1.69.2.4  04-May-2019  isaki Move dev/audio_if.h -> dev/audio/audio_if.h
 1.69.2.3  28-Apr-2019  isaki Don't release sc_lock on eso_halt_{input,output}.
halt_* is called with sc_lock && sc_intr_lock held. This lock order
is first sc_lock and then sc_intr_lock. So unlocking sc_lock with
sc_intr_lock held is wrong operation. And cv_wait(sc_intr_lock) will
work even with sc_lock held.
 1.69.2.2  28-Apr-2019  isaki Adapt to audio2.
- Select a few typical frequencies which doesn't have rounding error
instead of whole range.
 1.69.2.1  21-Apr-2019  isaki Use C99 style struct initializer to audio_format.
 1.71.2.1  27-Nov-2019  martin Pull up following revision(s) (requested by msaitoh in ticket #492):

sys/dev/pci/sv.c: revision 1.57
sys/dev/pci/eso.c: revision 1.72
sys/dev/ieee1394/fwohci.c: revision 1.144

Fix operand priority of bit op vs ternary operator.
 1.72.10.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.73.2.1  13-May-2021  thorpej Sync with HEAD.
 1.74.6.1  04-Aug-2021  thorpej Adapt to CFARGS().

RSS XML Feed