The NetBSD Project

CVS log for src/sys/dev/isa/ad1848var.h

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev / isa

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.44.50.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:12 2019 UTC (4 years, 9 months ago) by christos
Branch: phil-wifi
Changes since 1.44: +1 -2 lines
Diff to previous 1.44 (colored) next main 1.45 (colored) to selected 1.9 (colored)

Sync with HEAD

Revision 1.45 / (download) - annotate - [select for diffs], Wed May 8 13:40:18 2019 UTC (4 years, 10 months ago) by isaki
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, thorpej-altq-separation-base, thorpej-altq-separation, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache, HEAD
Changes since 1.44: +1 -2 lines
Diff to previous 1.44 (colored) to selected 1.9 (colored)

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

Revision 1.44.54.1 / (download) - annotate - [select for diffs], Sat May 4 04:13:24 2019 UTC (4 years, 10 months ago) by isaki
Branch: isaki-audio2
Changes since 1.44: +1 -2 lines
Diff to previous 1.44 (colored) next main 1.45 (colored) to selected 1.9 (colored)

Remove obsoleted methods in audio_hw_if.
- drain: is handled in audio upper layer now.
- mappage: is handled in audio upper layer now.
- setfd: no one uses and it's meaningless now.

Revision 1.43.34.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:38 2012 UTC (11 years, 11 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.43: +3 -3 lines
Diff to previous 1.43 (colored) next main 1.44 (colored) to selected 1.9 (colored)

sync with head

Revision 1.44 / (download) - annotate - [select for diffs], Wed Nov 23 23:07:32 2011 UTC (12 years, 4 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, tls-maxphys-base-20171202, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, 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, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb8-mediatek-base, matt-nb8-mediatek, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, localcount-20160914, khorben-n900, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jdolecek-ncqfixes-base, jdolecek-ncqfixes, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver
Branch point for: phil-wifi, isaki-audio2
Changes since 1.43: +3 -3 lines
Diff to previous 1.43 (colored) to selected 1.9 (colored)

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.

Revision 1.43.36.1 / (download) - annotate - [select for diffs], Sat Nov 19 21:49:37 2011 UTC (12 years, 4 months ago) by jmcneill
Branch: jmcneill-audiomp3
Changes since 1.43: +3 -3 lines
Diff to previous 1.43 (colored) next main 1.44 (colored) to selected 1.9 (colored)

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

Revision 1.43.12.1 / (download) - annotate - [select for diffs], Thu Dec 11 19:49:30 2008 UTC (15 years, 3 months ago) by ad
Branch: ad-audiomp2
Changes since 1.43: +3 -3 lines
Diff to previous 1.43 (colored) next main 1.44 (colored) to selected 1.9 (colored)

Checkpoint work in progress.

Revision 1.42.70.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:29 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.42: +1 -8 lines
Diff to previous 1.42 (colored) next main 1.43 (colored) to selected 1.9 (colored)

Sync with HEAD.

Revision 1.42.72.1 / (download) - annotate - [select for diffs], Sun May 18 12:34:02 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.42: +1 -8 lines
Diff to previous 1.42 (colored) next main 1.43 (colored) to selected 1.9 (colored)

sync with head.

Revision 1.42.74.1 / (download) - annotate - [select for diffs], Fri May 16 02:24:26 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.42: +1 -8 lines
Diff to previous 1.42 (colored) next main 1.43 (colored) to selected 1.9 (colored)

sync with head.

Revision 1.43 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:51 2008 UTC (15 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base11, yamt-nfs-mp-base10, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-premerge-20101231, matt-mips64-base2, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, jruoho-x86intr-base, jruoho-x86intr, jmcneill-audiomp3-base, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, ad-audiomp2-base
Branch point for: yamt-pagecache, jmcneill-audiomp3, ad-audiomp2
Changes since 1.42: +1 -8 lines
Diff to previous 1.42 (colored) to selected 1.9 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.42 / (download) - annotate - [select for diffs], Sun Dec 11 12:22:02 2005 UTC (18 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pf42-baseX, yamt-pf42-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, post-newlock2-merge, peter-altq-base, peter-altq, nick-net80211-sync-base, nick-net80211-sync, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, mjf-ufs-trans-base, mjf-ufs-trans, mjf-devfs-base, mjf-devfs, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup-base, hpcarm-cleanup, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, cube-autoconf-base, cube-autoconf, chap-midi-nbase, chap-midi-base, chap-midi, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-socklock-base1, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Changes since 1.41: +1 -1 lines
Diff to previous 1.41 (colored) to selected 1.9 (colored)

merge ktrace-lwp.

Revision 1.37.2.3 / (download) - annotate - [select for diffs], Thu Nov 10 14:05:37 2005 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.37.2.2: +2 -2 lines
Diff to previous 1.37.2.2 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored) to selected 1.9 (colored)

Sync with HEAD. Here we go again...

Revision 1.41 / (download) - annotate - [select for diffs], Tue Jun 28 10:16:33 2005 UTC (18 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, yamt-lazymbuf, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored) to selected 1.9 (colored)

Update comment.

Revision 1.39.2.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:54 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.39: +4 -4 lines
Diff to previous 1.39 (colored) next main 1.40 (colored) to selected 1.9 (colored)

sync with -current

Revision 1.39.4.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:34:33 2005 UTC (19 years ago) by yamt
Branch: yamt-km
Changes since 1.39: +4 -4 lines
Diff to previous 1.39 (colored) next main 1.40 (colored) to selected 1.9 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.37.2.2 / (download) - annotate - [select for diffs], Fri Mar 4 16:43:13 2005 UTC (19 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.37.2.1: +4 -4 lines
Diff to previous 1.37.2.1 (colored) to branchpoint 1.37 (colored) to selected 1.9 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.40 / (download) - annotate - [select for diffs], Sun Feb 27 00:27:17 2005 UTC (19 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, 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, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base
Changes since 1.39: +4 -4 lines
Diff to previous 1.39 (colored) to selected 1.9 (colored)

nuke trailing whitespace

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Mon Jan 17 19:31:10 2005 UTC (19 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.37: +24 -24 lines
Diff to previous 1.37 (colored) to selected 1.9 (colored)

Sync with HEAD.

Revision 1.39 / (download) - annotate - [select for diffs], Thu Jan 13 15:01:27 2005 UTC (19 years, 2 months ago) by kent
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base
Branch point for: yamt-km, kent-audio2
Changes since 1.38: +18 -18 lines
Diff to previous 1.38 (colored) to selected 1.9 (colored)

ansify and KNF

Revision 1.38 / (download) - annotate - [select for diffs], Mon Jan 10 22:01:37 2005 UTC (19 years, 2 months ago) by kent
Branch: MAIN
Changes since 1.37: +4 -4 lines
Diff to previous 1.37 (colored) to selected 1.9 (colored)

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

Revision 1.37.6.1 / (download) - annotate - [select for diffs], Mon Jan 3 06:37:57 2005 UTC (19 years, 2 months ago) by kent
Branch: kent-audio1
Changes since 1.37: +4 -4 lines
Diff to previous 1.37 (colored) next main 1.38 (colored) to selected 1.9 (colored)

* adopt the filter pipeline framework

* ic/ad1848.c, isa/ess.c, isa/sbdsp.c
  remove direct call of set_params() for the default encoding.
  It should be called by the MI audio framework.

Revision 1.37 / (download) - annotate - [select for diffs], Sat May 3 18:11:25 2003 UTC (20 years, 11 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-2-base, 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-1, netbsd-2-0-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-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, kent-audio1-beforemerge, kent-audio1-base
Branch point for: ktrace-lwp, kent-audio1
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored) to selected 1.9 (colored)

DMA, not dma nor Dma.

Revision 1.36 / (download) - annotate - [select for diffs], Sat Feb 1 06:23:37 2003 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored) to selected 1.9 (colored)

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.

Revision 1.31.2.3 / (download) - annotate - [select for diffs], Fri Jan 5 17:35:50 2001 UTC (23 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.31.2.2: +4 -2 lines
Diff to previous 1.31.2.2 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored) to selected 1.9 (colored)

Sync with HEAD

Revision 1.32.4.2 / (download) - annotate - [select for diffs], Tue Dec 26 15:47:36 2000 UTC (23 years, 3 months ago) by jhawk
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Changes since 1.32.4.1: +5 -3 lines
Diff to previous 1.32.4.1 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored) to selected 1.9 (colored)

Pull up revision 1.35 (requested by thorpej):
  Support full-duplex audio on 1848 wss devices by using
  seperate interrupt handlers for play and record. Fix from
  Juergen Weiss <weiss@uni-mainz.de> by way of PR#11178.

Revision 1.35 / (download) - annotate - [select for diffs], Mon Dec 18 21:31:32 2000 UTC (23 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf, newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, nathanw_sa_end, nathanw_sa_before_merge, nathanw_sa_base, nathanw_sa, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, kqueue, ifpoll-base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, gehenna-devsw, fvdl_fs64_base, eeh-devprop-base, eeh-devprop
Changes since 1.34: +5 -3 lines
Diff to previous 1.34 (colored) to selected 1.9 (colored)

Use separate interrupt handlers for play and record the chip has
support for it and we're configured for separate play and record
DRQs.  This makes full-duplex audio work on the Windows Sound System
(found in many Alpha systems).

Submitted by Juergen Weiss <weiss@uni-mainz.de> in kern/11178.

Revision 1.31.2.2 / (download) - annotate - [select for diffs], Fri Dec 8 09:12:27 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.31.2.1: +22 -22 lines
Diff to previous 1.31.2.1 (colored) to branchpoint 1.31 (colored) to selected 1.9 (colored)

Sync with HEAD.

Revision 1.34 / (download) - annotate - [select for diffs], Wed Dec 6 18:57:37 2000 UTC (23 years, 3 months ago) by matt
Branch: MAIN
Changes since 1.33: +22 -22 lines
Diff to previous 1.33 (colored) to selected 1.9 (colored)

Un __P'ed.

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 11:41:11 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.31: +4 -2 lines
Diff to previous 1.31 (colored) to selected 1.9 (colored)

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.

Revision 1.32.4.1 / (download) - annotate - [select for diffs], Fri Jun 30 16:27:47 2000 UTC (23 years, 9 months ago) by simonb
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored) to selected 1.9 (colored)

Pull up mmap paddr_t/off_t changes from trunk.

Revision 1.33 / (download) - annotate - [select for diffs], Mon Jun 26 04:56:20 2000 UTC (23 years, 9 months ago) by simonb
Branch: MAIN
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored) to selected 1.9 (colored)

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.

Revision 1.32 / (download) - annotate - [select for diffs], Mon Feb 7 22:07:30 2000 UTC (24 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-5-base, minoura-xpg4dl-base, minoura-xpg4dl, chs-ubc2-newbase
Branch point for: netbsd-1-5
Changes since 1.31: +3 -1 lines
Diff to previous 1.31 (colored) to selected 1.9 (colored)

Add a new function call to the ISA DMA API: isa_dmamaxsize(), which returns
the maximum transfer size for the specified DMA channel.  Make all clients
of ISA DMA use this call to determine their maximum transfer size.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Oct 5 03:42:53 1999 UTC (24 years, 5 months ago) by itohy
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999
Branch point for: thorpej_scsipi
Changes since 1.30: +6 -1 lines
Diff to previous 1.30 (colored) to selected 1.9 (colored)

Add power control hooks.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Mar 22 14:29:14 1999 UTC (25 years ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, chs-ubc2-base, chs-ubc2
Changes since 1.29: +1 -2 lines
Diff to previous 1.29 (colored) to selected 1.9 (colored)

Nuke sc_iooffs from orbit.  This is exactly what bus_space_subregion() is for.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Feb 19 16:15:06 1999 UTC (25 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.28: +1 -2 lines
Diff to previous 1.28 (colored) to selected 1.9 (colored)

Kill vestiges of isa_establish().

Revision 1.28 / (download) - annotate - [select for diffs], Thu Feb 18 17:27:39 1999 UTC (25 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.27: +38 -1 lines
Diff to previous 1.27 (colored) to selected 1.9 (colored)

Add separate halt_input and halt_output methods in ad1848_isa, which disable
the DMA channel.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Feb 17 23:05:29 1999 UTC (25 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.26: +6 -21 lines
Diff to previous 1.26 (colored) to selected 1.9 (colored)

Use the trigger interface, and clean up a pile of cruft.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Feb 17 02:37:39 1999 UTC (25 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored) to selected 1.9 (colored)

Pass the direction to the allocm and round_buffersize methods.
Some drivers need this to properly allocate DMAable memory.

Revision 1.25 / (download) - annotate - [select for diffs], Tue Aug 25 22:34:29 1998 UTC (25 years, 7 months ago) by pk
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Changes since 1.24: +28 -121 lines
Diff to previous 1.24 (colored) to selected 1.9 (colored)

Split the AD1848 driver into MI (dev/ic/ad1848.c) and ISA parts.

Revision 1.24 / (download) - annotate - [select for diffs], Tue Jun 9 00:05:44 1998 UTC (25 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored) to selected 1.9 (colored)

Adjust for changes to the ISA DMA API.

Revision 1.23 / (download) - annotate - [select for diffs], Wed May 20 16:19:42 1998 UTC (25 years, 10 months ago) by augustss
Branch: MAIN
Changes since 1.22: +41 -13 lines
Diff to previous 1.22 (colored) to selected 1.9 (colored)

Add a Yamaha OPL3-SA3 driver and clean up all AD1848 drivers.
Submitted by Constantine Sapuntzakis <csapuntz@reeducation-labor.lcs.mit.edu>
and originally written for OpenBSD.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Jan 19 22:18:26 1998 UTC (26 years, 2 months ago) by augustss
Branch: MAIN
Changes since 1.21: +6 -2 lines
Diff to previous 1.21 (colored) to selected 1.9 (colored)

Split out the ISA part of the WSS driver to allow PnP attachment.
Make the AD1848 driver a little more readable with some macros.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Oct 19 07:42:22 1997 UTC (26 years, 5 months ago) by augustss
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3
Changes since 1.20: +1 -3 lines
Diff to previous 1.20 (colored) to selected 1.9 (colored)

Make the audio API (almost) SunOS compatible.
The changes is to allow some limited mixer manipulation through
the audio device (instead of the mixer device).
This rendered 4 methods in audio_hw_if unused so garbage collect these.

Revision 1.17.2.2 / (download) - annotate - [select for diffs], Wed Aug 27 23:31:11 1997 UTC (26 years, 7 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.17.2.1: +2 -2 lines
Diff to previous 1.17.2.1 (colored) to branchpoint 1.17 (colored) next main 1.18 (colored) to selected 1.9 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Aug 24 22:31:32 1997 UTC (26 years, 7 months ago) by augustss
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, marc-pcmcia-base
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored) to selected 1.9 (colored)

- Change audio_hw_if a little: set_param now sets the play and record modes
  at the same time instead by using two different calls.  This enables
  it to check more easily if the combined mode is all right.
- Improve the error checking in audio.c.
- Add a new audio property, AUDIO_PROP_INDEPENDENT, show if the
  play and record settings are independent.
- Fix some buglets in audio.c.

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Sat Aug 23 07:13:09 1997 UTC (26 years, 7 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.17: +5 -2 lines
Diff to previous 1.17 (colored) to selected 1.9 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Aug 20 15:26:27 1997 UTC (26 years, 7 months ago) by augustss
Branch: MAIN
Changes since 1.18: +2 -1 lines
Diff to previous 1.18 (colored) to selected 1.9 (colored)

Convert WSS driver to use non-broken indirect configuration.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Jul 31 22:33:25 1997 UTC (26 years, 8 months ago) by augustss
Branch: MAIN
Changes since 1.17: +4 -2 lines
Diff to previous 1.17 (colored) to selected 1.9 (colored)

Audio changes:
	- Change the way attach and open works to allow multiple audio
	  devices.
	- Split the mulaw.c file into two to avoid dragging in mulaw
	  convertsion when they are not needed.  Add 16 bit alaw/mulaw tables.
	- Change the way audio properties are gotten.
	- Recognize more versions os SoundBlaster.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Jul 28 20:56:13 1997 UTC (26 years, 8 months ago) by augustss
Branch: MAIN
CVS Tags: marc-pcmcia-bp
Branch point for: marc-pcmcia
Changes since 1.16: +2 -1 lines
Diff to previous 1.16 (colored) to selected 1.9 (colored)

Audio: Remove the machine dependant code I put in audio.c by mistake.
This adds another method to audio_hw_if.  Also remove a field from
audio_hw_if that was not read-only.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Jul 27 01:16:52 1997 UTC (26 years, 8 months ago) by augustss
Branch: MAIN
Changes since 1.15: +14 -1 lines
Diff to previous 1.15 (colored) to selected 1.9 (colored)

Changes to the sudio system:
  - It is now possible to handle devices that want "looping" DMA,
    e.g. the SoundBlaster correctly.  The WSS and SB drivers use this.
    To do this several new methods were introduced in audio_hw_if.
  - Different silence handling (forced by previous change).
  - The audio driver can now be mmap()-ed, but due to problems in
    the VM system only for writing for now.
  - The OSS (Linux) audio emulation takes advantage of some of the
    new features.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jun 6 23:43:46 1997 UTC (26 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: bouyer-scsipi
Changes since 1.14: +3 -2 lines
Diff to previous 1.14 (colored) to selected 1.9 (colored)

Pull thorpej-bus-dma branch into mainline.

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Tue May 13 03:06:07 1997 UTC (26 years, 10 months ago) by thorpej
Branch: thorpej-bus-dma
Changes since 1.14: +3 -2 lines
Diff to previous 1.14 (colored) next main 1.15 (colored) to selected 1.9 (colored)

Adapt to new software interface to the on-board ISA DMA controller.

Revision 1.14 / (download) - annotate - [select for diffs], Fri May 9 22:16:35 1997 UTC (26 years, 10 months ago) by augustss
Branch: MAIN
CVS Tags: thorpej-bus-dma-base
Branch point for: thorpej-bus-dma
Changes since 1.13: +2 -3 lines
Diff to previous 1.13 (colored) to selected 1.9 (colored)

Change the interface between high and lowlevel audio drivers again:
Set the encoding parameters slightly differently.
Remove the SW encoding/decodinf functions from this interface
and move them to the audio_parameter struct; this is both more efficient
and flexible.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Apr 29 21:01:35 1997 UTC (26 years, 11 months ago) by augustss
Branch: MAIN
Changes since 1.12: +3 -12 lines
Diff to previous 1.12 (colored) to selected 1.9 (colored)

Change the interface between the high and low level audio drivers
so that all audio encoding parameters are set at once.  This simplifies
the interface and make error checking easier.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Apr 5 23:50:24 1997 UTC (26 years, 11 months ago) by augustss
Branch: MAIN
Changes since 1.11: +4 -2 lines
Diff to previous 1.11 (colored) to selected 1.9 (colored)

Busify the WSS driver.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Mar 20 06:48:52 1997 UTC (27 years ago) by mycroft
Branch: MAIN
Changes since 1.10: +3 -4 lines
Diff to previous 1.10 (colored) to selected 1.9 (colored)

Combine set_encoding and set_precision into a single set_format interface.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Mar 19 19:31:16 1997 UTC (27 years ago) by mycroft
Branch: MAIN
Changes since 1.9: +7 -10 lines
Diff to previous 1.9 (colored)

ad1848_commit_settings(): Don't set the speed/format register if the
parameters haven't changed.  From PR 3360, by Jason Baker.

Also, clean up several overly-complex interfaces.

Revision 1.9 / (download) - annotate - [selected], Thu Mar 13 02:19:54 1997 UTC (27 years ago) by mycroft
Branch: MAIN
Changes since 1.8: +1 -3 lines
Diff to previous 1.8 (colored)

Don't share the silence block between devices.  Make silence filling work for
more encodings, and make it device-independent.  From Lennart Augustsson, in
PR kern/3305.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Apr 29 20:02:37 1996 UTC (27 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-setroot, netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2, mrg-vm-swap, is-newarp-before-merge, is-newarp-base, is-newarp
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored) to selected 1.9 (colored)

- prototype fixes

Revision 1.7 / (download) - annotate - [select for diffs], Fri Nov 10 04:30:40 1995 UTC (28 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.6: +5 -5 lines
Diff to previous 1.6 (colored) to selected 1.9 (colored)

Convert IRQ, DRQ, and port numbers to int.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Jul 7 02:11:56 1995 UTC (28 years, 8 months ago) by brezak
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.5: +11 -4 lines
Diff to previous 1.5 (colored) to selected 1.9 (colored)

add support for cs4231

Revision 1.5 / (download) - annotate - [select for diffs], Mon May 8 22:01:59 1995 UTC (28 years, 10 months ago) by brezak
Branch: MAIN
Changes since 1.4: +1 -2 lines
Diff to previous 1.4 (colored) to selected 1.9 (colored)

Remove  strings

Revision 1.4 / (download) - annotate - [select for diffs], Mon Apr 17 12:06:57 1995 UTC (28 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.3: +5 -5 lines
Diff to previous 1.3 (colored) to selected 1.9 (colored)

clean up several ISA device interfaces: autoconfiguration, header
inclusion, and interrupt configuration.  more work still needs to be done,
but it's getting better...

Revision 1.3 / (download) - annotate - [select for diffs], Tue Mar 28 18:17:42 1995 UTC (29 years ago) by jtc
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored) to selected 1.9 (colored)

KERNEL -> _KERNEL

Revision 1.2 / (download) - annotate - [select for diffs], Sat Mar 25 00:01:04 1995 UTC (29 years ago) by mycroft
Branch: MAIN
Changes since 1.1: +23 -23 lines
Diff to previous 1.1 (colored) to selected 1.9 (colored)

Use void* rather than caddr_t in many places.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Feb 21 02:26:42 1995 UTC (29 years, 1 month ago) by brezak
Branch: MAIN
Diff to selected 1.9 (colored)

Driver for ad1848 codec

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>