The NetBSD Project

CVS log for src/sys/dev/ic/ad1848.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.30.4.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:31 2012 UTC (2 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.30: +33 -10 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

sync with head

Revision 1.31 / (download) - annotate - [select for diffs], Wed Nov 23 23:07:32 2011 UTC (2 years, 10 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, 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, netbsd-7-base, 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-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, 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, agc-symver-base, agc-symver, HEAD
Changes since 1.30: +33 -10 lines
Diff to previous 1.30 (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.30.6.1 / (download) - annotate - [select for diffs], Sat Nov 19 21:49:36 2011 UTC (2 years, 10 months ago) by jmcneill
Branch: jmcneill-audiomp3
Changes since 1.30: +33 -10 lines
Diff to previous 1.30 (colored) next main 1.31 (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.29.28.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:07:50 2011 UTC (3 years, 3 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.29: +6 -6 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Sync with HEAD.

Revision 1.29.22.1 / (download) - annotate - [select for diffs], Tue May 31 03:04:36 2011 UTC (3 years, 3 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.29: +6 -6 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

sync with head

Revision 1.30 / (download) - annotate - [select for diffs], Wed Apr 27 07:47:33 2011 UTC (3 years, 4 months ago) by plunky
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, jmcneill-audiomp3-base, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache, jmcneill-audiomp3
Changes since 1.29: +6 -6 lines
Diff to previous 1.29 (colored)

drop 'external' inline here, to avoid C99 vs GNU differences

Revision 1.29.12.2 / (download) - annotate - [select for diffs], Fri Dec 12 23:06:57 2008 UTC (5 years, 9 months ago) by ad
Branch: ad-audiomp2
Changes since 1.29.12.1: +19 -6 lines
Diff to previous 1.29.12.1 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

Checkpoint work in progress.

Revision 1.29.12.1 / (download) - annotate - [select for diffs], Thu Dec 11 19:49:30 2008 UTC (5 years, 9 months ago) by ad
Branch: ad-audiomp2
Changes since 1.29: +16 -6 lines
Diff to previous 1.29 (colored)

Checkpoint work in progress.

Revision 1.27.8.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:17 2008 UTC (6 years, 3 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.27: +3 -9 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

Sync with HEAD.

Revision 1.27.10.1 / (download) - annotate - [select for diffs], Sun May 18 12:33:41 2008 UTC (6 years, 4 months ago) by yamt
Branch: yamt-pf42
Changes since 1.27: +3 -9 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

sync with head.

Revision 1.27.12.1 / (download) - annotate - [select for diffs], Fri May 16 02:24:02 2008 UTC (6 years, 4 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.27: +3 -9 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

sync with head.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:48 2008 UTC (6 years, 4 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, 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, 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-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-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, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, ad-audiomp2-base
Branch point for: rmind-uvmplock, jruoho-x86intr, ad-audiomp2
Changes since 1.28: +2 -9 lines
Diff to previous 1.28 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.28 / (download) - annotate - [select for diffs], Mon Apr 28 18:49:27 2008 UTC (6 years, 4 months ago) by garbled
Branch: MAIN
Changes since 1.27: +3 -2 lines
Diff to previous 1.27 (colored)

Minor fixes to some of these files:
Add recognition for the CS4232C revision chip. (0xa2)
Make ic/ad1848.c compile with AUDIO_DEBUG
Add a needed machine/bus.h include to ic/cs4231.c
Add a few additional register defines to ic/cs4231reg.h

Revision 1.20.10.4 / (download) - annotate - [select for diffs], Mon Jan 21 09:42:52 2008 UTC (6 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.20.10.3: +8 -8 lines
Diff to previous 1.20.10.3 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

sync with head

Revision 1.25.24.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:52:44 2008 UTC (6 years, 8 months ago) by matt
Branch: matt-armv6
Changes since 1.25.24.1: +8 -8 lines
Diff to previous 1.25.24.1 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored)

sync with HEAD

Revision 1.26.4.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:46:14 2007 UTC (6 years, 8 months ago) by ad
Branch: vmlocking2
Changes since 1.26: +8 -8 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Sync with head.

Revision 1.26.8.1 / (download) - annotate - [select for diffs], Thu Dec 13 21:55:34 2007 UTC (6 years, 9 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.26: +8 -8 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Sync with HEAD

Revision 1.26.6.1 / (download) - annotate - [select for diffs], Tue Dec 11 15:27:38 2007 UTC (6 years, 9 months ago) by yamt
Branch: yamt-kmem
Changes since 1.26: +8 -8 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

sync with head.

Revision 1.27 / (download) - annotate - [select for diffs], Tue Dec 11 00:21:51 2007 UTC (6 years, 9 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, vmlocking2-base3, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Changes since 1.26: +8 -8 lines
Diff to previous 1.26 (colored)

const'ify ad1848 devmap.

Revision 1.25.24.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:26:15 2007 UTC (6 years, 10 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.25: +4 -4 lines
Diff to previous 1.25 (colored)

sync with HEAD

Revision 1.20.10.3 / (download) - annotate - [select for diffs], Sat Oct 27 11:30:25 2007 UTC (6 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.20.10.2: +4 -4 lines
Diff to previous 1.20.10.2 (colored) to branchpoint 1.20 (colored)

sync with head.

Revision 1.25.22.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:44:33 2007 UTC (6 years, 10 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.25: +4 -4 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

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.

Revision 1.25.28.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:37:26 2007 UTC (6 years, 11 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.25: +4 -4 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Sync with HEAD.

Revision 1.25.8.1 / (download) - annotate - [select for diffs], Tue Oct 23 20:07:10 2007 UTC (6 years, 11 months ago) by ad
Branch: vmlocking
Changes since 1.25: +4 -4 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Sync with head.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Oct 19 11:59:44 2007 UTC (6 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, mjf-devfs, jmcneill-pm-base, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: yamt-kmem, vmlocking2, bouyer-xeni386
Changes since 1.25: +4 -4 lines
Diff to previous 1.25 (colored)

machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.20.10.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:48:01 2006 UTC (7 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.20.10.1: +13 -8 lines
Diff to previous 1.20.10.1 (colored) to branchpoint 1.20 (colored)

sync with head.

Revision 1.23.4.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:17:04 2006 UTC (7 years, 9 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.23.4.1: +5 -5 lines
Diff to previous 1.23.4.1 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

sync with head.

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:07 2006 UTC (7 years, 10 months ago) by ad
Branch: newlock2
Changes since 1.23: +5 -4 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

Sync with head.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Nov 16 01:32:50 2006 UTC (7 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, vmlocking-base, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, post-newlock2-merge, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, 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, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-base, matt-mips64, hpcarm-cleanup, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, matt-armv6, jmcneill-pm, bouyer-xenamd64
Changes since 1.24: +5 -5 lines
Diff to previous 1.24 (colored)

__unused removal on arguments; approved by core.

Revision 1.23.4.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:05:43 2006 UTC (7 years, 11 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.23: +7 -6 lines
Diff to previous 1.23 (colored)

sync with head

Revision 1.24 / (download) - annotate - [select for diffs], Thu Oct 12 01:30:58 2006 UTC (7 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.23: +7 -6 lines
Diff to previous 1.23 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.22.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:50:00 2006 UTC (8 years ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.22: +10 -6 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

sync with head

Revision 1.22.8.1 / (download) - annotate - [select for diffs], Sun Sep 3 15:23:56 2006 UTC (8 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.22: +10 -6 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

sync with head.

Revision 1.23 / (download) - annotate - [select for diffs], Sun Sep 3 04:27:11 2006 UTC (8 years ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.22: +10 -6 lines
Diff to previous 1.22 (colored)

avoid empty if statements

Revision 1.20.10.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:02:52 2006 UTC (8 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.20: +6 -6 lines
Diff to previous 1.20 (colored)

sync with head.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Dec 24 20:27:29 2005 UTC (8 years, 9 months ago) by perry
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, peter-altq-base, peter-altq, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-pdpolicy, rpaulo-netinet-merge-pcb
Changes since 1.21: +6 -6 lines
Diff to previous 1.21 (colored)

Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Dec 11 12:21:25 2005 UTC (8 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

merge ktrace-lwp.

Revision 1.17.2.4 / (download) - annotate - [select for diffs], Mon Jan 17 19:30:39 2005 UTC (9 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.17.2.3: +92 -68 lines
Diff to previous 1.17.2.3 (colored) to branchpoint 1.17 (colored) next main 1.18 (colored)

Sync with HEAD.

Revision 1.20 / (download) - annotate - [select for diffs], Sat Jan 15 15:19:52 2005 UTC (9 years, 8 months ago) by kent
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-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, thorpej-vnode-attr-base, thorpej-vnode-attr, 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, matt-timespec, ktrace-lwp-base, kent-audio2-base, kent-audio2
Branch point for: yamt-lazymbuf
Changes since 1.19: +63 -51 lines
Diff to previous 1.19 (colored)

ansify and KNF

Revision 1.19 / (download) - annotate - [select for diffs], Mon Jan 10 22:01:37 2005 UTC (9 years, 8 months ago) by kent
Branch: MAIN
Changes since 1.18: +32 -20 lines
Diff to previous 1.18 (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.18.2.3 / (download) - annotate - [select for diffs], Sun Jan 9 08:42:45 2005 UTC (9 years, 8 months ago) by kent
Branch: kent-audio1
Changes since 1.18.2.2: +4 -3 lines
Diff to previous 1.18.2.2 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored)

audio_hw_if change
 * make open() and close() optional
 * add int (AUMODE_PLAY or AUMODE_RECORD) and audio_params_t parameters
 to round_blocksize()

Revision 1.18.2.2 / (download) - annotate - [select for diffs], Mon Jan 3 16:40:26 2005 UTC (9 years, 8 months ago) by kent
Branch: kent-audio1
Changes since 1.18.2.1: +4 -4 lines
Diff to previous 1.18.2.1 (colored) to branchpoint 1.18 (colored)

* remove stream_filter_list_append and stream_filter_list_prepend
* add stream_filter_list_t::{append(), prepend(), set()}

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Mon Jan 3 06:37:57 2005 UTC (9 years, 8 months ago) by kent
Branch: kent-audio1
Changes since 1.18: +30 -19 lines
Diff to previous 1.18 (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.17.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:27:46 2004 UTC (10 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.17.2.2: +2 -2 lines
Diff to previous 1.17.2.2 (colored) to branchpoint 1.17 (colored)

Fix the sync with head I botched.

Revision 1.17.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:45:55 2004 UTC (10 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.17.2.1: +0 -0 lines
Diff to previous 1.17.2.1 (colored) to branchpoint 1.17 (colored)

Sync with HEAD.

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Wed Aug 25 06:57:35 2004 UTC (10 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.17: +44 -115 lines
Diff to previous 1.17 (colored)

Sync with HEAD.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Aug 24 00:53:28 2004 UTC (10 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: kent-audio1-beforemerge, kent-audio1-base
Branch point for: kent-audio1
Changes since 1.17: +44 -115 lines
Diff to previous 1.17 (colored)

Use ANSI function decls and more use of static.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Feb 21 17:14:06 2003 UTC (11 years, 7 months ago) by tsutsui
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
Branch point for: ktrace-lwp
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

hz -> Hz

Revision 1.10.2.4 / (download) - annotate - [select for diffs], Tue Jan 7 21:34:10 2003 UTC (11 years, 8 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.10.2.3: +4 -4 lines
Diff to previous 1.10.2.3 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

Sync with HEAD.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Jan 6 13:10:28 2003 UTC (11 years, 8 months ago) by wiz
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base
Changes since 1.15: +4 -4 lines
Diff to previous 1.15 (colored)

synchronous, not syncronous.

Revision 1.10.4.4 / (download) - annotate - [select for diffs], Fri Sep 6 08:44:07 2002 UTC (12 years ago) by jdolecek
Branch: kqueue
Changes since 1.10.4.3: +11 -4 lines
Diff to previous 1.10.4.3 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

sync kqueue branch with HEAD

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Thu Aug 29 05:22:24 2002 UTC (12 years ago) by gehenna
Branch: gehenna-devsw
Changes since 1.14: +11 -4 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

catch up with -current.

Revision 1.10.2.3 / (download) - annotate - [select for diffs], Tue Aug 27 23:46:34 2002 UTC (12 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.10.2.2: +9 -2 lines
Diff to previous 1.10.2.2 (colored) to branchpoint 1.10 (colored)

Catch up to -current.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Aug 22 20:42:22 2002 UTC (12 years, 1 month ago) by martin
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, fvdl_fs64_base
Changes since 1.14: +11 -4 lines
Diff to previous 1.14 (colored)

Add a mixerctl to mute the internal (mono) speaker via
"mixerctl -w monitor.mono=off".

From Sung-Won Chung, slightly modified. All errors by me.

Revision 1.10.4.3 / (download) - annotate - [select for diffs], Sun Jun 23 17:46:08 2002 UTC (12 years, 3 months ago) by jdolecek
Branch: kqueue
Changes since 1.10.4.2: +10 -2 lines
Diff to previous 1.10.4.2 (colored) to branchpoint 1.10 (colored)

catch up with -current on kqueue branch

Revision 1.10.2.2 / (download) - annotate - [select for diffs], Mon Apr 1 07:45:16 2002 UTC (12 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.10.2.1: +10 -2 lines
Diff to previous 1.10.2.1 (colored) to branchpoint 1.10 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.9.6.1 / (download) - annotate - [select for diffs], Wed Mar 27 10:13:33 2002 UTC (12 years, 6 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003
Changes since 1.9: +47 -11 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Pull up revisions 1.10-1.14 (requested by itohy):
  Several changes to wss-compatible audio devices:
   o Fix ADPCM playback/recording
   o Add explicit support for OPL3-SA2 (YMF711), fixes PR#14819
   o Add AD1845 support
   o other minor bugfixes and cleanups

Revision 1.14 / (download) - annotate - [select for diffs], Sat Mar 23 23:40:32 2002 UTC (12 years, 6 months ago) by itohy
Branch: MAIN
CVS Tags: 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
Branch point for: gehenna-devsw
Changes since 1.13: +10 -2 lines
Diff to previous 1.13 (colored)

Add wait-for-ready code between setting MCE and changing data format,
which is required by OPL3-SA2 (YMF711) chip.
Fixes PR kern/14819.

Revision 1.10.4.2 / (download) - annotate - [select for diffs], Sat Mar 16 16:00:52 2002 UTC (12 years, 6 months ago) by jdolecek
Branch: kqueue
Changes since 1.10.4.1: +3 -3 lines
Diff to previous 1.10.4.1 (colored) to branchpoint 1.10 (colored)

Catch up with -current.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Mar 6 07:12:02 2002 UTC (12 years, 6 months ago) by itohy
Branch: MAIN
CVS Tags: newlock-base, newlock, eeh-devprop-base, eeh-devprop
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

Fix ADPCM playback/recording.

Revision 1.10.4.1 / (download) - annotate - [select for diffs], Thu Jan 10 19:54:03 2002 UTC (12 years, 8 months ago) by thorpej
Branch: kqueue
Changes since 1.10: +34 -6 lines
Diff to previous 1.10 (colored)

Sync kqueue branch with -current.

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Wed Nov 14 19:14:10 2001 UTC (12 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.10: +34 -6 lines
Diff to previous 1.10 (colored)

Catch up to -current.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Nov 13 13:14:31 2001 UTC (12 years, 10 months ago) by lukem
Branch: MAIN
CVS Tags: ifpoll-base, ifpoll
Changes since 1.11: +4 -1 lines
Diff to previous 1.11 (colored)

add/cleanup RCSID

Revision 1.10.8.1 / (download) - annotate - [select for diffs], Mon Nov 12 21:17:59 2001 UTC (12 years, 10 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.10: +31 -6 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Sync the thorpej-mips-cache branch with -current.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Nov 4 08:08:25 2001 UTC (12 years, 10 months ago) by itohy
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Changes since 1.10: +31 -6 lines
Diff to previous 1.10 (colored)

AD1845 on my AlphaStation 255 doesn't match the AD1845 doc.
Try to detect AD1845 (unfortunately this is not always correct)
and work around the problems.

Revision 1.8.2.2 / (download) - annotate - [select for diffs], Sun Feb 11 19:15:24 2001 UTC (13 years, 7 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.8.2.1: +5 -5 lines
Diff to previous 1.8.2.1 (colored) next main 1.9 (colored)

Sync with HEAD.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Jan 18 20:28:17 2001 UTC (13 years, 8 months ago) by jdolecek
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-mips-cache, nathanw_sa, kqueue
Changes since 1.9: +5 -5 lines
Diff to previous 1.9 (colored)

constify

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 11:40:03 2000 UTC (13 years, 10 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.8: +5 -5 lines
Diff to previous 1.8 (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.7.2.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:34:42 1999 UTC (14 years, 9 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.7: +8 -6 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

Pull up to last week's -current.

Revision 1.8.4.1 / (download) - annotate - [select for diffs], Mon Nov 15 00:40:23 1999 UTC (14 years, 10 months ago) by fvdl
Branch: fvdl-softdep
Changes since 1.8: +5 -5 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Sync with -current

Revision 1.9 / (download) - annotate - [select for diffs], Mon Nov 1 18:12:19 1999 UTC (14 years, 10 months ago) by augustss
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl, fvdl-softdep-base, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase
Branch point for: netbsd-1-5
Changes since 1.8: +5 -5 lines
Diff to previous 1.8 (colored)

Make little endian and big endian version of all functions
that deal with 16 bit samples.  Let the drivers decide which ones
to use.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Oct 12 00:16:42 1999 UTC (14 years, 11 months ago) by thorpej
Branch: MAIN
Branch point for: thorpej_scsipi, fvdl-softdep
Changes since 1.7: +4 -2 lines
Diff to previous 1.7 (colored)

Bound one auto-calibration loop that was missed in previous rounds of
changes.

Yay, audio on my Dell laptop works again.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Oct 5 03:35:12 1999 UTC (14 years, 11 months ago) by itohy
Branch: MAIN
Branch point for: wrstuden-devbsize
Changes since 1.6: +56 -36 lines
Diff to previous 1.6 (colored)

- Fix wait for ready code.
- Mute wave output, not the mixer output, on changing CODEC settings.
- Add support for muting wave output while playback or monitoring is inactive.
- Change formula of calculating gain so that all the levels should be
  used equally (the old code uses the min/max gain only at 0/255).
- Cleanup

Revision 1.6 / (download) - annotate - [select for diffs], Mon Sep 6 17:07:04 1999 UTC (15 years ago) by rh
Branch: MAIN
Changes since 1.5: +39 -9 lines
Diff to previous 1.5 (colored)

Add mode 3 support for newer CS423X chips.  Modify probe to correctly
distinguish between CS4236, CS4236B, and CS4237B.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Feb 18 17:27:39 1999 UTC (15 years, 7 months 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.4: +48 -20 lines
Diff to previous 1.4 (colored)

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

Revision 1.4 / (download) - annotate - [select for diffs], Wed Feb 17 23:05:28 1999 UTC (15 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.3: +1 -7 lines
Diff to previous 1.3 (colored)

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

Revision 1.3 / (download) - annotate - [select for diffs], Thu Aug 27 18:45:12 1998 UTC (16 years, 1 month ago) by pk
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Changes since 1.2: +1 -10 lines
Diff to previous 1.2 (colored)

Move a few prototypes.
Whitespace cleanup.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Aug 26 15:06:37 1998 UTC (16 years, 1 month ago) by pk
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

debug level 0

Revision 1.1 / (download) - annotate - [select for diffs], Tue Aug 25 22:36:40 1998 UTC (16 years, 1 month ago) by pk
Branch: MAIN

The new MI part of the AD1848 driver.

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>