The NetBSD Project

CVS log for src/sys/dev/audio_if.h

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.67.8.1 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:58 2017 UTC (9 months, 3 weeks ago) by jdolecek
Branch: tls-maxphys
Changes since 1.67: +3 -0 lines
Diff to previous 1.67 (unified) next main 1.68 (unified)

update from HEAD

Revision 1.67.24.1 / (download) - annotate - [select for diffs], Sun Nov 23 13:07:05 2014 UTC (3 years, 10 months ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, 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
Changes since 1.67: +4 -1 lines
Diff to previous 1.67 (unified) next main 1.68 (unified)

Pull up following revision(s) (requested by jmcneill in ticket #249):
	sys/modules/pad/Makefile: revision 1.2
	sys/arch/arm/allwinner/awin_hdmiaudio.c: revision 1.5
	sys/dev/pad/pad.c: revision 1.22
	sys/dev/pad/padvol.c: file removal
	sys/dev/pad/files.pad: revision 1.5
	sys/dev/auvolconv.c: revision 1.1
	sys/dev/pad/padvol.h: file removal
	sys/dev/audio.c: revision 1.266
	sys/dev/files.audio: revision 1.3 (via patch: sys/conf/files)
	sys/dev/auvolconv.h: revision 1.1
	sys/dev/pad/padvar.h: revision 1.5
	sys/dev/audio_if.h: revision 1.70
	sys/arch/arm/allwinner/files.awin: revision 1.26
Add common audio converters for software volume control. Only supports
slinear16_le and slinear16_be for now.
Convert pad(4) and awin_hdmiaudio to use the new converters.

Revision 1.70 / (download) - annotate - [select for diffs], Tue Nov 18 01:50:12 2014 UTC (3 years, 10 months ago) by jmcneill
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi, 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-base, 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-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncqfixes-base, jdolecek-ncqfixes, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, HEAD
Changes since 1.69: +4 -1 lines
Diff to previous 1.69 (unified)

add a helper function to get the hw device_t from an audio_softc

Revision 1.69 / (download) - annotate - [select for diffs], Sat Nov 1 07:54:18 2014 UTC (3 years, 10 months ago) by uebayasi
Branch: MAIN
Changes since 1.68: +3 -25 lines
Diff to previous 1.68 (unified)

Revert previous.

Not only audio_attach_mi() but also audioprint() have to be separated.
midi.c has the same problem, and a little more complicated.  These will be
revisited later.

Revision 1.68 / (download) - annotate - [select for diffs], Sat Nov 1 05:56:36 2014 UTC (3 years, 10 months ago) by uebayasi
Branch: MAIN
Changes since 1.67: +24 -2 lines
Diff to previous 1.67 (unified)

audio(4): Fix indirect circular dependency with audio if drivers

Provide audio_attach_mi(4) as inline so that audio if drivers don't need to
call functions in audio.c.  This way audio if drivers (e.g. auich(4)) can be
linked into kernel without audio.c.

Revision 1.66.12.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:24 2012 UTC (6 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.66: +8 -8 lines
Diff to previous 1.66 (unified) next main 1.67 (unified)

sync with head

Revision 1.67 / (download) - annotate - [select for diffs], Wed Nov 23 23:07:31 2011 UTC (6 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-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-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
Branch point for: tls-maxphys, netbsd-7
Changes since 1.66: +8 -8 lines
Diff to previous 1.66 (unified)

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.66.14.3 / (download) - annotate - [select for diffs], Tue Nov 22 22:47:04 2011 UTC (6 years, 10 months ago) by jmcneill
Branch: jmcneill-audiomp3
Changes since 1.66.14.2: +1 -4 lines
Diff to previous 1.66.14.2 (unified) to branchpoint 1.66 (unified) next main 1.67 (unified)

get rid of unused 'powerstate' callback in audio_hw_if

Revision 1.66.14.2 / (download) - annotate - [select for diffs], Sun Nov 20 09:37:04 2011 UTC (6 years, 10 months ago) by mrg
Branch: jmcneill-audiomp3
Changes since 1.66.14.1: +1 -2 lines
Diff to previous 1.66.14.1 (unified) to branchpoint 1.66 (unified)

don't need to forward declare 'struct malloc_type' anymore.

Revision 1.66.14.1 / (download) - annotate - [select for diffs], Sat Nov 19 21:49:34 2011 UTC (6 years, 10 months ago) by jmcneill
Branch: jmcneill-audiomp3
Changes since 1.66: +8 -4 lines
Diff to previous 1.66 (unified)

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.65.22.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:27:32 2010 UTC (8 years, 5 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.65: +5 -3 lines
Diff to previous 1.65 (unified) next main 1.66 (unified)

sync to netbsd-5

Revision 1.65.4.1 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:21 2010 UTC (8 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.65: +5 -3 lines
Diff to previous 1.65 (unified) next main 1.66 (unified)

sync with head

Revision 1.65.14.1 / (download) - annotate - [select for diffs], Fri Oct 16 05:43:38 2009 UTC (8 years, 11 months ago) by snj
Branch: netbsd-5
CVS Tags: 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, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.65: +5 -3 lines
Diff to previous 1.65 (unified) next main 1.66 (unified)

Pull up following revision(s) (requested by sborrill in ticket #1038):
	share/man/man4/audio.4: revision 1.70 via patch
	sys/dev/audio.c: revision 1.248
	sys/dev/audio_if.h: revision 1.66
	sys/dev/pci/hdaudio/hdaudio_afg.c: revision 1.16
	sys/sys/audioio.h: revision 1.33
Add support for playback- or capture-only devices.
Fixes PR 42050

Revision 1.66 / (download) - annotate - [select for diffs], Tue Sep 29 15:58:54 2009 UTC (8 years, 11 months ago) by sborrill
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, matt-premerge-20091211, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jruoho-x86intr-base, jruoho-x86intr, jmcneill-audiomp3-base, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, jmcneill-audiomp3
Changes since 1.65: +5 -3 lines
Diff to previous 1.65 (unified)

Add support for playback- or capture-only devices by adding
AUDIO_PROP_PLAYBACK and AUDIO_PROP_CAPTURE properties.

From jmcneill@.

Fixes PR#42050

Revision 1.65.16.2 / (download) - annotate - [select for diffs], Thu Dec 11 19:49:30 2008 UTC (9 years, 9 months ago) by ad
Branch: ad-audiomp2
Changes since 1.65.16.1: +3 -3 lines
Diff to previous 1.65.16.1 (unified) to branchpoint 1.65 (unified) next main 1.66 (unified)

Checkpoint work in progress.

Revision 1.65.16.1 / (download) - annotate - [select for diffs], Sun Dec 7 13:02:13 2008 UTC (9 years, 9 months ago) by ad
Branch: ad-audiomp2
Changes since 1.65: +6 -2 lines
Diff to previous 1.65 (unified)

Ressurect the ad-audiomp branch at request of matt@.

With this commit:

- core audio subsystem made MPSAFE
- eap, btsco drivers made MPSAFE

TODO:

- midi
- convert remaining drivers

Revision 1.64.14.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:36 2008 UTC (10 years, 5 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.64: +2 -3 lines
Diff to previous 1.64 (unified) next main 1.65 (unified)

Sync with HEAD.

Revision 1.64.10.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:15:11 2008 UTC (10 years, 6 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.64: +2 -3 lines
Diff to previous 1.64 (unified) next main 1.65 (unified)

sync with head.

Revision 1.63.16.2 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:35 2008 UTC (10 years, 6 months ago) by matt
Branch: matt-armv6
Changes since 1.63.16.1: +2 -3 lines
Diff to previous 1.63.16.1 (unified) to branchpoint 1.63 (unified) next main 1.64 (unified)

sync with HEAD

Revision 1.55.10.5 / (download) - annotate - [select for diffs], Mon Mar 17 09:14:37 2008 UTC (10 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.55.10.4: +2 -3 lines
Diff to previous 1.55.10.4 (unified) to branchpoint 1.55 (unified) next main 1.56 (unified)

sync with head.

Revision 1.65 / (download) - annotate - [select for diffs], Tue Mar 4 18:23:44 2008 UTC (10 years, 6 months ago) by cube
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, 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-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, 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-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, mjf-devfs2-base, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, jymxensuspend-base, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-socklock-base1, ad-audiomp2-base
Branch point for: yamt-nfs-mp, netbsd-5, matt-nb5-mips64, ad-audiomp2
Changes since 1.64: +2 -3 lines
Diff to previous 1.64 (unified)

Split device_t and softc for audio(4), and other related cosmetic changes.

Revision 1.63.16.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:52:10 2008 UTC (10 years, 8 months ago) by matt
Branch: matt-armv6
Changes since 1.63: +1 -6 lines
Diff to previous 1.63 (unified)

sync with HEAD

Revision 1.63.14.1 / (download) - annotate - [select for diffs], Sun Dec 9 19:37:39 2007 UTC (10 years, 9 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.63: +1 -6 lines
Diff to previous 1.63 (unified) next main 1.64 (unified)

Sync with HEAD.

Revision 1.63.22.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:19:17 2007 UTC (10 years, 9 months ago) by mjf
Branch: mjf-devfs
Changes since 1.63: +1 -6 lines
Diff to previous 1.63 (unified) next main 1.64 (unified)

Sync with HEAD.

Revision 1.55.10.4 / (download) - annotate - [select for diffs], Fri Dec 7 17:29:15 2007 UTC (10 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.55.10.3: +1 -6 lines
Diff to previous 1.55.10.3 (unified) to branchpoint 1.55 (unified)

sync with head

Revision 1.64 / (download) - annotate - [select for diffs], Mon Dec 3 15:34:31 2007 UTC (10 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-base, jmcneill-pm-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.63: +1 -6 lines
Diff to previous 1.63 (unified)

Interrupt handling changes, in discussion since February:

- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.

Revision 1.55.10.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:33:09 2007 UTC (11 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.55.10.2: +2 -2 lines
Diff to previous 1.55.10.2 (unified) to branchpoint 1.55 (unified)

sync with head.

Revision 1.61.14.2 / (download) - annotate - [select for diffs], Mon Mar 12 05:53:02 2007 UTC (11 years, 6 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.61.14.1: +2 -2 lines
Diff to previous 1.61.14.1 (unified) to branchpoint 1.61 (unified) next main 1.62 (unified)

Sync with HEAD.

Revision 1.63 / (download) - annotate - [select for diffs], Sun Mar 4 06:01:41 2007 UTC (11 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-idlelwp-base8, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, jmcneill-base, hpcarm-cleanup, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: mjf-devfs, matt-armv6, jmcneill-pm
Changes since 1.62: +2 -2 lines
Diff to previous 1.62 (unified)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.61.14.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:53:48 2007 UTC (11 years, 7 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.61: +2 -2 lines
Diff to previous 1.61 (unified)

- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.62.2.1 / (download) - annotate - [select for diffs], Tue Feb 27 14:15:56 2007 UTC (11 years, 7 months ago) by ad
Branch: ad-audiomp
Changes since 1.62: +4 -1 lines
Diff to previous 1.62 (unified) next main 1.63 (unified)

Add MP locking for audio drivers.

Revision 1.55.10.2 / (download) - annotate - [select for diffs], Mon Feb 26 09:09:52 2007 UTC (11 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.55.10.1: +2 -2 lines
Diff to previous 1.55.10.1 (unified) to branchpoint 1.55 (unified)

sync with head.

Revision 1.62 / (download) - annotate - [select for diffs], Wed Feb 21 22:59:58 2007 UTC (11 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: ad-audiomp-base
Branch point for: ad-audiomp
Changes since 1.61: +2 -2 lines
Diff to previous 1.61 (unified)

Replace the Mach-derived boolean_t type with the C99 bool type.  A
future commit will replace use of TRUE and FALSE with true and false.

Revision 1.57.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:49:09 2006 UTC (12 years ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.57: +8 -5 lines
Diff to previous 1.57 (unified) next main 1.58 (unified)

sync with head

Revision 1.55.10.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:02:11 2006 UTC (12 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.55: +5 -2 lines
Diff to previous 1.55 (unified)

sync with head.

Revision 1.59.2.2 / (download) - annotate - [select for diffs], Thu May 11 23:28:04 2006 UTC (12 years, 4 months ago) by elad
Branch: elad-kernelauth
Changes since 1.59.2.1: +286 -0 lines
Diff to previous 1.59.2.1 (unified) to branchpoint 1.59 (unified) next main 1.60 (unified)

sync with head

Revision 1.57.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:38:45 2006 UTC (12 years, 5 months ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.57: +8 -5 lines
Diff to previous 1.57 (unified) next main 1.58 (unified)

Sync with head.

Revision 1.55.18.2 / (download) - annotate - [select for diffs], Wed Apr 19 21:01:00 2006 UTC (12 years, 5 months ago) by tron
Branch: netbsd-3-0
CVS Tags: netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE
Changes since 1.55.18.1: +1 -2 lines
Diff to previous 1.55.18.1 (unified) to branchpoint 1.55 (unified) next main 1.56 (unified)

Pull up following revision(s) (requested by jmcneill in ticket #1281):
	sys/dev/audio_if.h: revision 1.61
	sys/dev/audiovar.h: revision 1.36
	sys/dev/audio.c: revision 1.204 via patch
Don't use simple_locks; we can't hold them while calling malloc and
friends.

Revision 1.55.8.2 / (download) - annotate - [select for diffs], Wed Apr 19 20:59:13 2006 UTC (12 years, 5 months ago) by tron
Branch: netbsd-3
CVS Tags: 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
Changes since 1.55.8.1: +1 -2 lines
Diff to previous 1.55.8.1 (unified) to branchpoint 1.55 (unified) next main 1.56 (unified)

Pull up following revision(s) (requested by jmcneill in ticket #1281):
	sys/dev/audio_if.h: revision 1.61
	sys/dev/audiovar.h: revision 1.36
	sys/dev/audio.c: revision 1.204 via patch
Don't use simple_locks; we can't hold them while calling malloc and
friends.

Revision 1.61 / (download) - annotate - [select for diffs], Wed Apr 19 14:10:58 2006 UTC (12 years, 5 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, post-newlock2-merge, 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, matt-nb4-arm-base, matt-nb4-arm, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-idlelwp
Changes since 1.60: +1 -2 lines
Diff to previous 1.60 (unified)

Don't use simple_locks; we can't hold them while calling malloc and
friends.

Revision 1.55.18.1 / (download) - annotate - [select for diffs], Tue Apr 18 21:15:07 2006 UTC (12 years, 5 months ago) by tron
Branch: netbsd-3-0
Changes since 1.55: +2 -1 lines
Diff to previous 1.55 (unified)

Pull up following revision(s) (requested by jmcneill in ticket #1277):
	sys/dev/audio_if.h: revision 1.60 via patch
	sys/dev/audiovar.h: revision 1.35 via patch
	sys/dev/audio.c: revision 1.203 via patch
Protect audio_write's filter graph from being modified in the
middle of a
write. Fixes the 'audioctl of death' problem (PR#32563).

Revision 1.55.8.1 / (download) - annotate - [select for diffs], Tue Apr 18 21:12:46 2006 UTC (12 years, 5 months ago) by tron
Branch: netbsd-3
Changes since 1.55: +2 -1 lines
Diff to previous 1.55 (unified)

Pull up following revision(s) (requested by jmcneill in ticket #1277):
	sys/dev/audio_if.h: revision 1.60 via patch
	sys/dev/audiovar.h: revision 1.35 via patch
	sys/dev/audio.c: revision 1.203 via patch
Protect audio_write's filter graph from being modified in the
middle of a
write. Fixes the 'audioctl of death' problem (PR#32563).

Revision 1.60 / (download) - annotate - [select for diffs], Tue Apr 18 19:15:27 2006 UTC (12 years, 5 months ago) by jmcneill
Branch: MAIN
Changes since 1.59: +2 -1 lines
Diff to previous 1.59 (unified)

Protect audio_write's filter graph from being modified in the middle of a
write. Fixes the 'audioctl of death' problem (PR#32563).

Revision 1.58.2.1 / (download) - annotate - [select for diffs], Mon Mar 13 09:07:08 2006 UTC (12 years, 6 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.58: +4 -1 lines
Diff to previous 1.58 (unified) next main 1.59 (unified)

sync with head.

Revision 1.59.2.1, Tue Mar 7 15:17:47 2006 UTC (12 years, 6 months ago) by elad
Branch: elad-kernelauth
Changes since 1.59: +0 -286 lines
FILE REMOVED

file audio_if.h was added on branch elad-kernelauth on 2006-05-11 23:28:04 +0000

Revision 1.59 / (download) - annotate - [select for diffs], Tue Mar 7 15:17:47 2006 UTC (12 years, 6 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, peter-altq-base, peter-altq
Branch point for: elad-kernelauth
Changes since 1.58: +4 -1 lines
Diff to previous 1.58 (unified)

Add a 'powerstate' callback to audio_hw_if, to allow hw drivers to power
themselves down when not in use.

Revision 1.57.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 15:39:02 2006 UTC (12 years, 7 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.57: +5 -5 lines
Diff to previous 1.57 (unified) next main 1.58 (unified)

sync with head.

Revision 1.58 / (download) - annotate - [select for diffs], Thu Feb 16 20:17:15 2006 UTC (12 years, 7 months ago) by perry
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base
Branch point for: yamt-pdpolicy
Changes since 1.57: +5 -5 lines
Diff to previous 1.57 (unified)

Change "inline" back to "__inline" in .h files -- C99 is still too
new, and some apps compile things in C89 mode. C89 keywords stay.

As per core@.

Revision 1.57 / (download) - annotate - [select for diffs], Sat Dec 24 20:27:29 2005 UTC (12 years, 9 months ago) by perry
Branch: MAIN
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.56: +5 -5 lines
Diff to previous 1.56 (unified)

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

Revision 1.56 / (download) - annotate - [select for diffs], Sun Dec 11 12:20:53 2005 UTC (12 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.55: +2 -2 lines
Diff to previous 1.55 (unified)

merge ktrace-lwp.

Revision 1.55.2.1 / (download) - annotate - [select for diffs], Sun Feb 13 04:36:16 2005 UTC (13 years, 7 months ago) by kent
Branch: kent-audio2
Changes since 1.55: +3 -1 lines
Diff to previous 1.55 (unified) next main 1.56 (unified)

* add AUDIO_PROP_PLAY and AUDIO_PROP_RECORD for internal use
  XXX: need to modify all of audio HW drivers.

* At the first open(), open the HW as play and record mode even if the open
flags contains either FREAD or FWRITE.

* remove AUMODE_READ and AUMODE_WRITE, and use FREAD and FWRITE instead.

Revision 1.53.2.5 / (download) - annotate - [select for diffs], Mon Jan 17 19:30:39 2005 UTC (13 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.53.2.4: +119 -30 lines
Diff to previous 1.53.2.4 (unified) to branchpoint 1.53 (unified) next main 1.54 (unified)

Sync with HEAD.

Revision 1.55 / (download) - annotate - [select for diffs], Mon Jan 10 22:01:37 2005 UTC (13 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-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, ktrace-lwp-base, kent-audio2-base
Branch point for: yamt-lazymbuf, netbsd-3-0, netbsd-3, kent-audio2
Changes since 1.54: +119 -30 lines
Diff to previous 1.54 (unified)

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.54.2.13 / (download) - annotate - [select for diffs], Sun Jan 9 08:42:45 2005 UTC (13 years, 8 months ago) by kent
Branch: kent-audio1
Changes since 1.54.2.12: +2 -2 lines
Diff to previous 1.54.2.12 (unified) to branchpoint 1.54 (unified) next main 1.55 (unified)

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.54.2.12 / (download) - annotate - [select for diffs], Mon Jan 3 16:40:26 2005 UTC (13 years, 8 months ago) by kent
Branch: kent-audio1
Changes since 1.54.2.11: +7 -1 lines
Diff to previous 1.54.2.11 (unified) to branchpoint 1.54 (unified)

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

Revision 1.54.2.11 / (download) - annotate - [select for diffs], Sun Jan 2 15:54:44 2005 UTC (13 years, 8 months ago) by kent
Branch: kent-audio1
Changes since 1.54.2.10: +24 -20 lines
Diff to previous 1.54.2.10 (unified) to branchpoint 1.54 (unified)

* audiosetinfo()
  rebuild filter pipeline only when audio_parameters is changed.

* audio_write()
  set uio_fetcher before calling fetch_to() every time because
  audio_pint() sets null_fetcher.

* introduce audio_stream::used, audio_stream_add_inp(), and
  audio_stream_add_outp()

* aurateconv
  fix infinite loop for up-sampling

Revision 1.54.2.10 / (download) - annotate - [select for diffs], Sat Jan 1 17:35:27 2005 UTC (13 years, 8 months ago) by kent
Branch: kent-audio1
Changes since 1.54.2.9: +7 -8 lines
Diff to previous 1.54.2.9 (unified) to branchpoint 1.54 (unified)

* unconstfy some parameters of trigger_output() and start_output() because
  const pointers are harmful to unifying playing routine and recording
  routine in a hardware driver.

* strem_filter_list_t::filters[0] represents the most hardware-side filter
  even for playing filter pipeline to access hardware encoding by
  filters[0].param.

Revision 1.54.2.9 / (download) - annotate - [select for diffs], Wed Dec 29 19:55:16 2004 UTC (13 years, 8 months ago) by kent
Branch: kent-audio1
Changes since 1.54.2.8: +3 -3 lines
Diff to previous 1.54.2.8 (unified) to branchpoint 1.54 (unified)

correct usage of stream_filter_t::filters[].param

Revision 1.54.2.8 / (download) - annotate - [select for diffs], Wed Dec 29 15:02:28 2004 UTC (13 years, 8 months ago) by kent
Branch: kent-audio1
Changes since 1.54.2.7: +3 -2 lines
Diff to previous 1.54.2.7 (unified) to branchpoint 1.54 (unified)

add audio_params::validbits to distinguish 24bit data in 24bit container,
24bit data in 32bit container, 32bit data in 32bit container.

There is no userland API to specify audio_params::validbits, and
audio_params::validbits is always the same value as audio_params::precision
at this moment.

Revision 1.54.2.7 / (download) - annotate - [select for diffs], Tue Dec 28 14:54:19 2004 UTC (13 years, 9 months ago) by kent
Branch: kent-audio1
Changes since 1.54.2.6: +14 -2 lines
Diff to previous 1.54.2.6 (unified) to branchpoint 1.54 (unified)

* add audio_stream_add()
* remove 4th parameter of stream_fetcher::fetch_to()
* add must-have variables to stream_filter.

Revision 1.54.2.6 / (download) - annotate - [select for diffs], Sun Dec 26 17:38:25 2004 UTC (13 years, 9 months ago) by kent
Branch: kent-audio1
Changes since 1.54.2.5: +1 -3 lines
Diff to previous 1.54.2.5 (unified) to branchpoint 1.54 (unified)

* stream_filter_t
  remove get_input_size() and get_output_size() for simplicity.
The MI audio decides buffer sizes.

* audio_softc
  has audio_stram_t instances instead of audio_stream_t pointers

* audiosetinfo()
  setup filter chains, and add some helper functions
  The variables, cleard and modechange, are represented as boolean_t.

* audio_rint()
  set null_fetcher so that every filter has non-null previous fetcher.

Revision 1.54.2.5 / (download) - annotate - [select for diffs], Sat Dec 25 13:25:16 2004 UTC (13 years, 9 months ago) by kent
Branch: kent-audio1
Changes since 1.54.2.4: +1 -17 lines
Diff to previous 1.54.2.4 (unified) to branchpoint 1.54 (unified)

remove audio_params::sw_code, factor, factor_denom,
hw_sample_rate, hw_encoding, hw_precision, hw_channels.

Revision 1.54.2.4 / (download) - annotate - [select for diffs], Sat Dec 25 12:24:38 2004 UTC (13 years, 9 months ago) by kent
Branch: kent-audio1
Changes since 1.54.2.3: +13 -1 lines
Diff to previous 1.54.2.3 (unified) to branchpoint 1.54 (unified)

* audio_read()
  remove aurateconv/sw_code related code.  It simply copies data
from the last audio_stream_t instance.

* audio_ioctl()
  FIONREAD/AUDIO_WSEEK: return the available data size of the
last audio_stream_t

* audio_rint()
  apply filters here so that FIONREAD and AUDIO_WSEEK can return
correct value.

* audio_softc
  remove sc_input_fragment_length, sc_input_fragment,
sc_pconvbuffer_size, sc_pconvbuffer, sc_pconv,
sc_rconvbuffer_size, sc_rconfbuffer_begin, sc_rconvbuffer_end,
sc_rconvbuffer, sc_rconv.

* audio_if.h
 add audio_stream_get_used().

Revision 1.54.2.3 / (download) - annotate - [select for diffs], Sun Dec 12 12:48:10 2004 UTC (13 years, 9 months ago) by kent
Branch: kent-audio1
Changes since 1.54.2.2: +14 -4 lines
Diff to previous 1.54.2.2 (unified) to branchpoint 1.54 (unified)

- add audio_stream_get_space()
- stream_fetcher::fetch_to() returns an errno and # of written bytes
- audio_write() uses stream_filter pipeline

Revision 1.54.2.2 / (download) - annotate - [select for diffs], Sat Dec 11 16:27:41 2004 UTC (13 years, 9 months ago) by kent
Branch: kent-audio1
Changes since 1.54.2.1: +15 -7 lines
Diff to previous 1.54.2.1 (unified) to branchpoint 1.54 (unified)

audio_stream_t has an instance of audio_params_t, not a pointer to
audio_params_t.

Revision 1.54.2.1 / (download) - annotate - [select for diffs], Fri Dec 10 00:30:55 2004 UTC (13 years, 9 months ago) by kent
Branch: kent-audio1
Changes since 1.54: +77 -22 lines
Diff to previous 1.54 (unified)

* introduce audio_stream_t, and make audio_ringbuffer a subclass of
  audio_stream_t
* introduce stream_fetcher_t, stream_filter_t, stream_filter_factory_t,
  and stream_filter_list_t.
* Empty stream_filter_list_t instances are passed to audio_hw_if::set_params()

Non-essential changes:
 * represent buffers as uint8_t* instead of u_char*
 * make outp const
 * make the second parameter of audio_hw_if::start_output() const
 * make the second parameter of audio_hw_if::trigger_output() const
 * change types of audio_ringbuffer::{pause,copying,needfill,mmapped}:
   char -> boolean_t
 * change the type of audio_params::sample_rate: u_long -> u_int
   The sample rate is exposed to userland as u_int.
 * typedef audio_params_t

Revision 1.53.2.4 / (download) - annotate - [select for diffs], Tue Nov 2 07:51:19 2004 UTC (13 years, 10 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.53.2.3: +4 -3 lines
Diff to previous 1.53.2.3 (unified) to branchpoint 1.53 (unified)

Sync with HEAD.

Revision 1.54 / (download) - annotate - [select for diffs], Fri Oct 29 12:57:16 2004 UTC (13 years, 11 months ago) by yamt
Branch: MAIN
CVS Tags: kent-audio1-beforemerge, kent-audio1-base
Branch point for: kent-audio1
Changes since 1.53: +4 -3 lines
Diff to previous 1.53 (unified)

constify audio_hw_if, midi_hw_if, and radio_hw_if.

Revision 1.53.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:26:24 2004 UTC (14 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.53.2.2: +2 -2 lines
Diff to previous 1.53.2.2 (unified) to branchpoint 1.53 (unified)

Fix the sync with head I botched.

Revision 1.53.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:44:27 2004 UTC (14 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.53.2.1: +1 -1 lines
Diff to previous 1.53.2.1 (unified) to branchpoint 1.53 (unified)

Sync with HEAD.

Revision 1.53.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:25:59 2003 UTC (15 years, 2 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (unified)

Apply the aborted ktrace-lwp changes to a specific branch.  This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it.  This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.

Revision 1.53 / (download) - annotate - [select for diffs], Sun Jun 29 22:29:57 2003 UTC (15 years, 3 months ago) by fvdl
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.52: +1 -1 lines
Diff to previous 1.52 (unified)

Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.52 / (download) - annotate - [select for diffs], Sat Jun 28 14:21:30 2003 UTC (15 years, 3 months ago) by darrenr
Branch: MAIN
Changes since 1.51: +2 -2 lines
Diff to previous 1.51 (unified)

Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V

Revision 1.51 / (download) - annotate - [select for diffs], Sun Apr 6 18:20:12 2003 UTC (15 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.50: +3 -3 lines
Diff to previous 1.50 (unified)

Respect the law: Use A-law and mu-law as spellings as far as easily possible.
Inspired by Igor Sobrado in PR 19680.

Revision 1.50 / (download) - annotate - [select for diffs], Mon Mar 31 18:47:59 2003 UTC (15 years, 5 months ago) by jdolecek
Branch: MAIN
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (unified)

sprinkle const qualifiers to const stuff

Revision 1.49 / (download) - annotate - [select for diffs], Sat Mar 29 13:57:43 2003 UTC (15 years, 6 months ago) by he
Branch: MAIN
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (unified)

Allow this file to be included if either of audio, midi or midibus
is non-zero (earlier only allowed it if audio was non-zero).  Fixes
build problem seen on the prep port.

Revision 1.48 / (download) - annotate - [select for diffs], Wed Mar 19 10:53:40 2003 UTC (15 years, 6 months ago) by jdolecek
Branch: MAIN
Changes since 1.47: +11 -1 lines
Diff to previous 1.47 (unified)

add a compile-time check that audio(4) was actually configured into kernel
assumption here is that all (and only) audio device drivers include this header
adresses PR kern/11508 by Thomas Klausner

Revision 1.47 / (download) - annotate - [select for diffs], Sat Feb 1 06:23:36 2003 UTC (15 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.46: +4 -3 lines
Diff to previous 1.46 (unified)

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.35.4.3 / (download) - annotate - [select for diffs], Sun Jun 23 17:44:58 2002 UTC (16 years, 3 months ago) by jdolecek
Branch: kqueue
Changes since 1.35.4.2: +9 -1 lines
Diff to previous 1.35.4.2 (unified) to branchpoint 1.35 (unified) next main 1.36 (unified)

catch up with -current on kqueue branch

Revision 1.44.2.1 / (download) - annotate - [select for diffs], Thu Jun 20 16:31:21 2002 UTC (16 years, 3 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (unified) next main 1.45 (unified)

catch up with -current.

Revision 1.35.2.4 / (download) - annotate - [select for diffs], Thu Jun 20 03:43:22 2002 UTC (16 years, 3 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.35.2.3: +3 -2 lines
Diff to previous 1.35.2.3 (unified) to branchpoint 1.35 (unified) next main 1.36 (unified)

Catch up to -current.

Revision 1.44.4.2 / (download) - annotate - [select for diffs], Mon Jun 10 16:02:33 2002 UTC (16 years, 3 months ago) by tv
Branch: netbsd-1-6
CVS Tags: 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
Changes since 1.44.4.1: +1 -1 lines
Diff to previous 1.44.4.1 (unified) to branchpoint 1.44 (unified) next main 1.45 (unified)

Pull up revision 1.46 (requested by 193 in ticket #0):
Correct indent...

Revision 1.44.4.1 / (download) - annotate - [select for diffs], Mon Jun 10 16:01:51 2002 UTC (16 years, 3 months ago) by tv
Branch: netbsd-1-6
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (unified)

Pull up revision 1.45 (requested by 193 in ticket #0):
Correct wrong comment about factor_denom.
In case of recording, it doesn't make coding space small.

Revision 1.46 / (download) - annotate - [select for diffs], Tue Jun 4 14:02:32 2002 UTC (16 years, 3 months ago) by isaki
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, 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.45: +2 -2 lines
Diff to previous 1.45 (unified)

Correct indent...

Revision 1.45 / (download) - annotate - [select for diffs], Tue Jun 4 13:59:23 2002 UTC (16 years, 3 months ago) by isaki
Branch: MAIN
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (unified)

Correct wrong comment about factor_denom.
In case of recording, it doesn't make coding space small.

Revision 1.44 / (download) - annotate - [select for diffs], Thu Apr 25 00:50:39 2002 UTC (16 years, 5 months ago) by kleink
Branch: MAIN
CVS Tags: netbsd-1-6-base
Branch point for: netbsd-1-6, gehenna-devsw
Changes since 1.43: +2 -1 lines
Diff to previous 1.43 (unified)

Add an `aux' audio device sub-type, to be used to attach parent
device-specific children to an audio device; per discussion with
Lennart Augustsson.

Revision 1.35.2.3 / (download) - annotate - [select for diffs], Mon Apr 1 07:45:01 2002 UTC (16 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.35.2.2: +27 -8 lines
Diff to previous 1.35.2.2 (unified) to branchpoint 1.35 (unified)

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

Revision 1.43 / (download) - annotate - [select for diffs], Sun Mar 17 11:36:37 2002 UTC (16 years, 6 months ago) by kent
Branch: MAIN
CVS Tags: eeh-devprop-base, eeh-devprop
Changes since 1.42: +7 -1 lines
Diff to previous 1.42 (unified)

Rename aurateconvproto.h to aurateconv.h.

Revision 1.35.4.2 / (download) - annotate - [select for diffs], Sat Mar 16 16:00:47 2002 UTC (16 years, 6 months ago) by jdolecek
Branch: kqueue
Changes since 1.35.4.1: +20 -8 lines
Diff to previous 1.35.4.1 (unified) to branchpoint 1.35 (unified)

Catch up with -current.

Revision 1.42 / (download) - annotate - [select for diffs], Sat Mar 16 08:58:50 2002 UTC (16 years, 6 months ago) by isaki
Branch: MAIN
Changes since 1.41: +2 -1 lines
Diff to previous 1.41 (unified)

Add factor_denom, a denominator of factor,
in 'struct audio_param' for vs0 on x68k.

{hw,user}_bytes_per_sample is changed to {hw,user}_bits_per_sample
to handle 4bit/sampling.

Revision 1.41 / (download) - annotate - [select for diffs], Wed Mar 13 03:48:19 2002 UTC (16 years, 6 months ago) by kent
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (unified)

Fix a typo in a comment.

Revision 1.40 / (download) - annotate - [select for diffs], Mon Mar 11 14:59:57 2002 UTC (16 years, 6 months ago) by kent
Branch: MAIN
Changes since 1.39: +10 -10 lines
Diff to previous 1.39 (unified)

Fix a typo in a comment.
Remove some unnecessary whitespace.

Revision 1.39 / (download) - annotate - [select for diffs], Thu Mar 7 14:37:02 2002 UTC (16 years, 6 months ago) by kent
Branch: MAIN
CVS Tags: newlock-base, newlock
Changes since 1.38: +13 -1 lines
Diff to previous 1.38 (unified)

Sampling rate and mono-stereo conversion described in
http://mail-index.netbsd.org/tech-kern/2002/03/04/0005.html

auconv.c: Add conversion functions

audio.c: Sample alignment, calling conversion functions, etc.

audio_if.h: Add four hw_* members to "struct audio_params"

audiovar.h: Add conversion buffers, etc.

auich and uaudio: Add conversion request code to *_set_params().

Revision 1.35.4.1 / (download) - annotate - [select for diffs], Thu Jan 10 19:52:45 2002 UTC (16 years, 8 months ago) by thorpej
Branch: kqueue
Changes since 1.35: +38 -38 lines
Diff to previous 1.35 (unified)

Sync kqueue branch with -current.

Revision 1.35.2.2 / (download) - annotate - [select for diffs], Mon Oct 22 20:41:15 2001 UTC (16 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.35.2.1: +2 -3 lines
Diff to previous 1.35.2.1 (unified) to branchpoint 1.35 (unified)

Catch up to -current.

Revision 1.35.6.1 / (download) - annotate - [select for diffs], Thu Oct 11 00:02:01 2001 UTC (16 years, 11 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.35: +38 -38 lines
Diff to previous 1.35 (unified) next main 1.36 (unified)

Catch up with -current. Fix some bogons in the sparc64 kbd/ms
attach code. cd18xx conversion provided by mrg.

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Mon Oct 8 20:10:54 2001 UTC (16 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.35: +39 -38 lines
Diff to previous 1.35 (unified)

Catch up to -current.

Revision 1.38 / (download) - annotate - [select for diffs], Wed Oct 3 20:48:41 2001 UTC (16 years, 11 months ago) by augustss
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, ifpoll-base
Changes since 1.37: +2 -3 lines
Diff to previous 1.37 (unified)

Fix pasto in type of dev_ioctl method.

Revision 1.37 / (download) - annotate - [select for diffs], Wed Oct 3 00:04:49 2001 UTC (16 years, 11 months ago) by augustss
Branch: MAIN
Changes since 1.36: +3 -1 lines
Diff to previous 1.36 (unified)

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).

Revision 1.36 / (download) - annotate - [select for diffs], Tue Oct 2 23:31:55 2001 UTC (16 years, 11 months ago) by augustss
Branch: MAIN
Changes since 1.35: +37 -38 lines
Diff to previous 1.35 (unified)

ANSIfy.

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 11:39:46 2000 UTC (17 years, 10 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (unified) next main 1.35 (unified)

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.34.12.1 / (download) - annotate - [select for diffs], Fri Jun 30 16:27:46 2000 UTC (18 years, 3 months ago) by simonb
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (unified) next main 1.35 (unified)

Pull up mmap paddr_t/off_t changes from trunk.

Revision 1.35 / (download) - annotate - [select for diffs], Mon Jun 26 04:56:17 2000 UTC (18 years, 3 months ago) by simonb
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-devvp-base2, thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-devvp, nathanw_sa, kqueue
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (unified)

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.34 / (download) - annotate - [select for diffs], Thu Sep 9 10:24:45 1999 UTC (19 years ago) by augustss
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-5-base, minoura-xpg4dl-base, minoura-xpg4dl, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase
Branch point for: thorpej_scsipi, netbsd-1-5
Changes since 1.33: +3 -2 lines
Diff to previous 1.33 (unified)

Add support for detaching audio devices.

Revision 1.31.4.1 / (download) - annotate - [select for diffs], Mon Jun 21 01:17:36 1999 UTC (19 years, 3 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (unified) next main 1.32 (unified)

Sync w/ -current.

Revision 1.33 / (download) - annotate - [select for diffs], Sat Jun 5 16:51:39 1999 UTC (19 years, 3 months ago) by eeh
Branch: MAIN
CVS Tags: chs-ubc2-base
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (unified)

Guys, let's get real.  We don't really want an #if !defined() for every possible
machine that could concievably have defined an IPL_AUDIO, do we?

Revision 1.32 / (download) - annotate - [select for diffs], Sat Jun 5 14:26:07 1999 UTC (19 years, 3 months ago) by mrg
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (unified)

XXX avoid redefiing splaudio and IPL_AUDIO on the sparc XXX

Revision 1.31 / (download) - annotate - [select for diffs], Wed Feb 17 02:37:39 1999 UTC (19 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
Branch point for: chs-ubc2
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (unified)

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

Revision 1.30 / (download) - annotate - [select for diffs], Mon Aug 17 21:16:11 1998 UTC (20 years, 1 month ago) by augustss
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Changes since 1.29: +11 -20 lines
Diff to previous 1.29 (unified)

* Redo the way the way the MIDI driver attaches to audio devices.
* Improve the midisyn layer a little.
* Add a driver for the Yamaha OPL[23] FM synths.
  The opl driver is not finished yet; it sounds pretty awful.

For some strange reason I cannot get any FM sound from my SB64 cards,
but a regular SB16 works fine.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Aug 12 18:11:53 1998 UTC (20 years, 1 month ago) by augustss
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (unified)

Tidy up and rename some functions in the MIDI driver.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Aug 9 20:28:07 1998 UTC (20 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.27: +8 -2 lines
Diff to previous 1.27 (unified)

Add trigger_output and trigger_input entry points, which replace
init_{in,out}put and start_{in,out}put, and are only called once.

Revision 1.27 / (download) - annotate - [select for diffs], Sat Aug 8 23:40:03 1998 UTC (20 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.26: +2 -3 lines
Diff to previous 1.26 (unified)

Use splaudio on the arm32 port.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Aug 7 00:00:58 1998 UTC (20 years, 1 month ago) by augustss
Branch: MAIN
Changes since 1.25: +5 -4 lines
Diff to previous 1.25 (unified)

Add MIDI support.  The MIDI devices can be accessed as ``raw'' through
the /dev/rmidiN devices, or with a sequencer interface via /dev/music.
So far the only supported MIDI device is the MPU401 port on SoundBlaster
(and only on SB on isapnp, since we do not have locators with multiple
values yet).

Revision 1.25 / (download) - annotate - [select for diffs], Tue Mar 3 09:16:16 1998 UTC (20 years, 6 months ago) by augustss
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (unified)

Avoid the name free so the MALLOCLOG option works again.
Fix some typos.

Revision 1.24 / (download) - annotate - [select for diffs], Sat Jan 10 14:07:25 1998 UTC (20 years, 8 months ago) by tv
Branch: MAIN
Changes since 1.23: +5 -5 lines
Diff to previous 1.23 (unified)

don't run minor() macro twice in ISDEV...() macro definitions

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Wed Nov 5 02:48:18 1997 UTC (20 years, 10 months ago) by mellon
Branch: netbsd-1-3
CVS Tags: 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
Changes since 1.22: +6 -5 lines
Diff to previous 1.22 (unified) next main 1.23 (unified)

Pull rev 1.23 up from trunk (augustss)

Revision 1.23 / (download) - annotate - [select for diffs], Wed Oct 29 02:00:25 1997 UTC (20 years, 11 months ago) by augustss
Branch: MAIN
Changes since 1.22: +6 -5 lines
Diff to previous 1.22 (unified)

Do audio attachment the right way. From Chris Demetriou.
(Maybe I'll get the hang of the configuration stuff one of these days. :-)

Revision 1.22 / (download) - annotate - [select for diffs], Sun Oct 19 07:41:59 1997 UTC (20 years, 11 months ago) by augustss
Branch: MAIN
CVS Tags: netbsd-1-3-base
Branch point for: netbsd-1-3
Changes since 1.21: +1 -9 lines
Diff to previous 1.21 (unified)

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.16.2.3 / (download) - annotate - [select for diffs], Sat Sep 6 18:49:45 1997 UTC (21 years ago) by thorpej
Branch: marc-pcmcia
Changes since 1.16.2.2: +24 -2 lines
Diff to previous 1.16.2.2 (unified) to branchpoint 1.16 (unified) next main 1.17 (unified)

Update marc-pcmcia branch from trunk.

Revision 1.21 / (download) - annotate - [select for diffs], Sat Sep 6 01:14:49 1997 UTC (21 years ago) by augustss
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, marc-pcmcia-base
Changes since 1.20: +24 -2 lines
Diff to previous 1.20 (unified)

Move around splaudio() to (hopefully) get rid of some rare race conditions.
Add a missing call to round_blocksize.
Add some MIDI stuff that will be used in the future.

Revision 1.16.2.2 / (download) - annotate - [select for diffs], Wed Aug 27 23:29:47 1997 UTC (21 years, 1 month ago) by thorpej
Branch: marc-pcmcia
Changes since 1.16.2.1: +2 -2 lines
Diff to previous 1.16.2.1 (unified) to branchpoint 1.16 (unified)

Update marc-pcmcia branch from trunk.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Aug 24 22:31:30 1997 UTC (21 years, 1 month ago) by augustss
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (unified)

- 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.16.2.1 / (download) - annotate - [select for diffs], Sat Aug 23 07:12:45 1997 UTC (21 years, 1 month ago) by thorpej
Branch: marc-pcmcia
Changes since 1.16: +14 -10 lines
Diff to previous 1.16 (unified)

Update marc-pcmcia branch from trunk.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Aug 19 23:49:58 1997 UTC (21 years, 1 month ago) by augustss
Branch: MAIN
Changes since 1.18: +5 -4 lines
Diff to previous 1.18 (unified)

Change the MI audio driver so it attaches to the MD driver in the
normal way.  This requires adding a line to the config files to
get audio to work again.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Aug 18 21:19:03 1997 UTC (21 years, 1 month ago) by augustss
Branch: MAIN
Changes since 1.17: +7 -5 lines
Diff to previous 1.17 (unified)

Implement /dev/audioctl.  It behaves much like /dev/sound, but only
allows ioctl() and can be opened at any time.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Jul 31 22:33:20 1997 UTC (21 years, 2 months ago) by augustss
Branch: MAIN
Changes since 1.16: +5 -4 lines
Diff to previous 1.16 (unified)

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.16 / (download) - annotate - [select for diffs], Mon Jul 28 20:56:10 1997 UTC (21 years, 2 months ago) by augustss
Branch: MAIN
CVS Tags: marc-pcmcia-bp
Branch point for: marc-pcmcia
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (unified)

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.15 / (download) - annotate - [select for diffs], Mon Jul 28 01:31:53 1997 UTC (21 years, 2 months ago) by augustss
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (unified)

audio: Minor cleanup and enable looping DMA for PSS and PAS.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Jul 27 01:16:46 1997 UTC (21 years, 2 months ago) by augustss
Branch: MAIN
Changes since 1.13: +9 -2 lines
Diff to previous 1.13 (unified)

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.13 / (download) - annotate - [select for diffs], Tue May 20 12:51:45 1997 UTC (21 years, 4 months ago) by augustss
Branch: MAIN
CVS Tags: bouyer-scsipi
Changes since 1.12: +4 -1 lines
Diff to previous 1.12 (unified)

Make the audio default parameters into a globally accessible constant.

Revision 1.12 / (download) - annotate - [select for diffs], Fri May 9 22:16:31 1997 UTC (21 years, 4 months ago) by augustss
Branch: MAIN
Changes since 1.11: +4 -7 lines
Diff to previous 1.11 (unified)

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.11 / (download) - annotate - [select for diffs], Tue Apr 29 21:01:45 1997 UTC (21 years, 5 months ago) by augustss
Branch: MAIN
Changes since 1.10: +18 -15 lines
Diff to previous 1.10 (unified)

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.10 / (download) - annotate - [select for diffs], Fri Mar 21 04:36:29 1997 UTC (21 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.9: +3 -1 lines
Diff to previous 1.9 (unified)

Use native IPL_AUDIO for i386.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Mar 20 06:48:50 1997 UTC (21 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.8: +3 -6 lines
Diff to previous 1.8 (unified)

Combine set_encoding and set_precision into a single set_format interface.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Mar 13 02:19:47 1997 UTC (21 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.7: +1 -4 lines
Diff to previous 1.7 (unified)

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.7 / (download) - annotate - [select for diffs], Thu Mar 7 15:00:10 1996 UTC (22 years, 6 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.6: +7 -3 lines
Diff to previous 1.6 (unified)

prototypes for ccd audio and ncr5380

Revision 1.6 / (download) - annotate - [select for diffs], Sun Dec 24 02:30:58 1995 UTC (22 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (unified)

The IST_* and IPL_* constants are not bus-specific; don't treat them as such.
Change splimp -> splnet in Ethernet, ARCnet, and FDDI drivers.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Jul 19 19:58:23 1995 UTC (23 years, 2 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.4: +3 -3 lines
Diff to previous 1.4 (unified)

GUS audio driver from John Kohl.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Jul 7 01:58:04 1995 UTC (23 years, 2 months ago) by brezak
Branch: MAIN
Changes since 1.3: +4 -1 lines
Diff to previous 1.3 (unified)

Common splaudio and ISA_IPL_AUDIO

Revision 1.3 / (download) - annotate - [select for diffs], Mon May 8 22:01:42 1995 UTC (23 years, 4 months ago) by brezak
Branch: MAIN
Changes since 1.2: +1 -2 lines
Diff to previous 1.2 (unified)

Remove  strings

Revision 1.2 / (download) - annotate - [select for diffs], Sat Mar 25 00:04:14 1995 UTC (23 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.1: +34 -34 lines
Diff to previous 1.1 (unified)

Use void* rather than caddr_t in many places.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Feb 21 01:36:58 1995 UTC (23 years, 7 months ago) by brezak
Branch: MAIN

New audio subsystem

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>