The NetBSD Project

CVS log for src/sys/dev/isa/sbdsp.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.141.14.1 / (download) - annotate - [select for diffs], Sun Aug 1 22:42:24 2021 UTC (2 years, 8 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.141: +3 -3 lines
Diff to previous 1.141 (colored) next main 1.142 (colored)

Sync with HEAD.

Revision 1.142 / (download) - annotate - [select for diffs], Sat Jul 24 21:31:37 2021 UTC (2 years, 8 months ago) by andvar
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.141: +3 -3 lines
Diff to previous 1.141 (colored)

Fix all remaining typos, mainly in comments but also in few definitions and log messages, reported by me in PR kern/54889.
Also fixed some additional typos in comments, found on review of same files or typos.

Revision 1.137.4.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:12 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.137: +353 -276 lines
Diff to previous 1.137 (colored) next main 1.138 (colored)

Sync with HEAD

Revision 1.141 / (download) - annotate - [select for diffs], Sat Jun 8 08:02:38 2019 UTC (4 years, 10 months ago) by isaki
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: thorpej-i2c-spi-conf
Changes since 1.140: +3 -3 lines
Diff to previous 1.140 (colored)

Clean get_props().
- Make get_props() return AUDIO_PROP_{PLAYBACK,CAPTURE} properly.
  This eliminates need for audio.c to take care of such (old)
  drivers which don't return both of PLAYBACK and CAPTURE.
- All get_props() doesn't need to return AUDIO_PROP_MMAP.
  It is handled in the audio layer now.

Revision 1.140 / (download) - annotate - [select for diffs], Wed May 8 13:40:18 2019 UTC (4 years, 11 months ago) by isaki
Branch: MAIN
Changes since 1.139: +345 -274 lines
Diff to previous 1.139 (colored)

Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly.  Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism.  The encoding/channels/frequency
  conversions are completely handled in the upper layer.  So the hard-
  ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
  - Obsoletes query_encoding and add query_format instead.
  - Obsoletes set_params and add set_format instead.
  - Remove drain, setfd, mappage.
  - The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c         -> dev/audio/audio.c (rewritten)
- dev/audiovar.h      -> dev/audio/audiovar.h
- dev/audio_dai.h     -> dev/audio/audio_dai.h
- dev/audio_if.h      -> dev/audio/audio_if.h
- dev/audiobell.c     -> dev/audio/audiobell.c
- dev/audiobellvar.h  -> dev/audio/audiobellvar.h
- dev/mulaw.[ch]      -> dev/audio/mulaw.[ch] + dev/audio/alaw.c

Revision 1.139.2.4 / (download) - annotate - [select for diffs], Sun May 5 01:57:06 2019 UTC (4 years, 11 months ago) by isaki
Branch: isaki-audio2
Changes since 1.139.2.3: +4 -4 lines
Diff to previous 1.139.2.3 (colored) to branchpoint 1.139 (colored) next main 1.140 (colored)

Fix typos (made in this branch).

Revision 1.139.2.3 / (download) - annotate - [select for diffs], Sat May 4 07:20:10 2019 UTC (4 years, 11 months ago) by isaki
Branch: isaki-audio2
Changes since 1.139.2.2: +3 -3 lines
Diff to previous 1.139.2.2 (colored) to branchpoint 1.139 (colored)

Move dev/audio_if.h -> dev/audio/audio_if.h

Revision 1.139.2.2 / (download) - annotate - [select for diffs], Fri May 3 03:00:33 2019 UTC (4 years, 11 months ago) by isaki
Branch: isaki-audio2
Changes since 1.139.2.1: +343 -164 lines
Diff to previous 1.139.2.1 (colored) to branchpoint 1.139 (colored)

Adapt sbdsp to audio2.
- Use new query_format/set_format interfaces.
  The formats are created from sb[pr]modes tables.
- Drop INDEPENDENT property for models proir to SB_16.

Revision 1.139.2.1 / (download) - annotate - [select for diffs], Sun Apr 21 06:17:02 2019 UTC (4 years, 11 months ago) by isaki
Branch: isaki-audio2
Changes since 1.139: +6 -114 lines
Diff to previous 1.139 (colored)

Not yet fully adapted to audio2 but make it compilable.
- Drop FULLDUPLEX property.  It is done in a tricky way.

Revision 1.139 / (download) - annotate - [select for diffs], Sun Feb 3 03:19:27 2019 UTC (5 years, 2 months ago) by mrg
Branch: MAIN
CVS Tags: isaki-audio2-base
Branch point for: isaki-audio2
Changes since 1.138: +12 -6 lines
Diff to previous 1.138 (colored)

- add or adjust /* FALLTHROUGH */ where appropriate
- add __unreachable() after functions that can return but won't in
  this case, and thus can't be marked __dead easily

Revision 1.137.2.1 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:50 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.137: +3 -3 lines
Diff to previous 1.137 (colored) next main 1.138 (colored)

Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.138 / (download) - annotate - [select for diffs], Mon Sep 3 16:29:31 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906
Changes since 1.137: +3 -3 lines
Diff to previous 1.137 (colored)

Rename min/max -> uimin/uimax for better honesty.

These functions are defined on unsigned int.  The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.

HOWEVER!  Some subsystems have

	#define min(a, b)	((a) < (b) ? (a) : (b))
	#define max(a, b)	((a) > (b) ? (a) : (b))

even though our standard name for that is MIN/MAX.  Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.

To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.

I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:

cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))

It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.

Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate.  But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all.  (Who knows, maybe in some cases integer
truncation is actually intended!)

Revision 1.136.10.1 / (download) - annotate - [select for diffs], Mon Apr 16 14:16:53 2018 UTC (5 years, 11 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Changes since 1.136: +5 -2 lines
Diff to previous 1.136 (colored) next main 1.137 (colored)

Pull up following revision(s) (requested by nat in ticket #761):

	sys/dev/isa/sbdsp.c: revision 1.137

Add AUDIO_ENCODING_SLINEAR to supported encodings.  This allows sb, sbpro
& sb16 to configure with 8-bit precision.

Tested in games/mame with a 486DX emulation.

Revision 1.135.8.1 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:05 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.135: +18 -8 lines
Diff to previous 1.135 (colored) next main 1.136 (colored)

update from HEAD

Revision 1.137 / (download) - annotate - [select for diffs], Sat Nov 4 01:46:56 2017 UTC (6 years, 5 months ago) by nat
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, phil-wifi-base, pgoyette-compat-base, 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, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.136: +5 -2 lines
Diff to previous 1.136 (colored)

Add AUDIO_ENCODING_SLINEAR to supported encodings.  This allows sb, sbpro
& sb16 to configure with 8-bit precision.

Tested in games/mame with a 486DX emulation.

Revision 1.135.26.1 / (download) - annotate - [select for diffs], Wed Oct 5 20:55:42 2016 UTC (7 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.135: +17 -10 lines
Diff to previous 1.135 (colored) next main 1.136 (colored)

Sync with HEAD

Revision 1.136 / (download) - annotate - [select for diffs], Mon Jul 11 11:31:50 2016 UTC (7 years, 9 months ago) by msaitoh
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, netbsd-8-base, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: netbsd-8
Changes since 1.135: +17 -10 lines
Diff to previous 1.135 (colored)

KNF. No functional change.

Revision 1.134.10.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:39 2012 UTC (11 years, 11 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.134: +141 -55 lines
Diff to previous 1.134 (colored) next main 1.135 (colored)

sync with head

Revision 1.135 / (download) - annotate - [select for diffs], Wed Nov 23 23:07:32 2011 UTC (12 years, 4 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, tls-maxphys-base, 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, 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, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-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, nick-nhusb
Changes since 1.134: +141 -55 lines
Diff to previous 1.134 (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.134.12.3 / (download) - annotate - [select for diffs], Sun Nov 20 19:44:50 2011 UTC (12 years, 4 months ago) by jmcneill
Branch: jmcneill-audiomp3
Changes since 1.134.12.2: +7 -3 lines
Diff to previous 1.134.12.2 (colored) to branchpoint 1.134 (colored) next main 1.135 (colored)

improve the last change, after discussing it with rmind

Revision 1.134.12.2 / (download) - annotate - [select for diffs], Sun Nov 20 19:26:05 2011 UTC (12 years, 4 months ago) by jmcneill
Branch: jmcneill-audiomp3
Changes since 1.134.12.1: +3 -4 lines
Diff to previous 1.134.12.1 (colored) to branchpoint 1.134 (colored)

don't kpause with intr_lock held

Revision 1.134.12.1 / (download) - annotate - [select for diffs], Sat Nov 19 21:49:39 2011 UTC (12 years, 4 months ago) by jmcneill
Branch: jmcneill-audiomp3
Changes since 1.134: +138 -55 lines
Diff to previous 1.134 (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.133.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:26 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.133: +4 -4 lines
Diff to previous 1.133 (colored) next main 1.134 (colored)

Sync with HEAD.

Revision 1.130.4.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:37 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.130.4.2: +4 -4 lines
Diff to previous 1.130.4.2 (colored) to branchpoint 1.130 (colored) next main 1.131 (colored)

sync with head

Revision 1.134 / (download) - annotate - [select for diffs], Wed Feb 24 22:37:58 2010 UTC (14 years, 1 month ago) by dyoung
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, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, matt-mips64-premerge-20101231, 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.133: +4 -4 lines
Diff to previous 1.133 (colored)

A pointer typedef entails trading too much flexibility to declare const
and non-const types, and the kernel uses both const and non-const
PMF qualifiers and device suspensors, so change the pmf_qual_t and
device_suspensor_t typedefs from "pointers to const" to non-pointer,
non-const types.

Revision 1.133 / (download) - annotate - [select for diffs], Fri Jan 8 20:00:03 2010 UTC (14 years, 3 months ago) by dyoung
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.132: +4 -4 lines
Diff to previous 1.132 (colored)

Expand PMF_FN_* macros.

Revision 1.130.4.2 / (download) - annotate - [select for diffs], Wed Sep 16 13:37:49 2009 UTC (14 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.130.4.1: +4 -3 lines
Diff to previous 1.130.4.1 (colored) to branchpoint 1.130 (colored)

sync with head

Revision 1.132 / (download) - annotate - [select for diffs], Tue Sep 1 21:47:30 2009 UTC (14 years, 7 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, matt-premerge-20091211, jym-xensuspend-nbase
Changes since 1.131: +4 -3 lines
Diff to previous 1.131 (colored)

aprint-ify

Revision 1.131.12.3 / (download) - annotate - [select for diffs], Thu Dec 11 19:49:30 2008 UTC (15 years, 4 months ago) by ad
Branch: ad-audiomp2
Changes since 1.131.12.2: +7 -8 lines
Diff to previous 1.131.12.2 (colored) to branchpoint 1.131 (colored) next main 1.132 (colored)

Checkpoint work in progress.

Revision 1.131.12.2 / (download) - annotate - [select for diffs], Tue Dec 9 13:09:13 2008 UTC (15 years, 4 months ago) by ad
Branch: ad-audiomp2
Changes since 1.131.12.1: +3 -3 lines
Diff to previous 1.131.12.1 (colored) to branchpoint 1.131 (colored)

Checkpoint work on MIDI.

Revision 1.131.12.1 / (download) - annotate - [select for diffs], Mon Dec 8 13:06:36 2008 UTC (15 years, 4 months ago) by ad
Branch: ad-audiomp2
Changes since 1.131: +133 -49 lines
Diff to previous 1.131 (colored)

Convert some more drivers.

Revision 1.127.16.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:32 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.127.16.1: +8 -19 lines
Diff to previous 1.127.16.1 (colored) to branchpoint 1.127 (colored) next main 1.128 (colored)

Sync with HEAD.

Revision 1.130.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:34:04 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.130: +2 -9 lines
Diff to previous 1.130 (colored) next main 1.131 (colored)

sync with head.

Revision 1.130.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:24:27 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.130: +2 -9 lines
Diff to previous 1.130 (colored)

sync with head.

Revision 1.131 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:52 2008 UTC (15 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, 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-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-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-base2, jymxensuspend-base, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base
Branch point for: ad-audiomp2
Changes since 1.130: +2 -9 lines
Diff to previous 1.130 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.130 / (download) - annotate - [select for diffs], Fri Apr 11 13:00:47 2008 UTC (16 years ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base
Branch point for: yamt-pf42, yamt-nfs-mp
Changes since 1.129: +10 -14 lines
Diff to previous 1.129 (colored)

convert to pmf(9)
ok jmcneill

Revision 1.127.16.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:45 2008 UTC (16 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.127: +15 -13 lines
Diff to previous 1.127 (colored)

Sync with HEAD.

Revision 1.129 / (download) - annotate - [select for diffs], Tue Apr 1 20:44:29 2008 UTC (16 years ago) by xtraeme
Branch: MAIN
Changes since 1.128: +8 -6 lines
Diff to previous 1.128 (colored)

Fix fallout from device_t/softc split to mpu(4):
always pass the mpu_softc to mpu_intr(). Found by Takeshi Nakayama.

Revision 1.127.12.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:15:29 2008 UTC (16 years ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.127: +9 -9 lines
Diff to previous 1.127 (colored) next main 1.128 (colored)

sync with head.

Revision 1.126.24.2 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:41 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.126.24.1: +9 -9 lines
Diff to previous 1.126.24.1 (colored) to branchpoint 1.126 (colored) next main 1.127 (colored)

sync with HEAD

Revision 1.117.4.4 / (download) - annotate - [select for diffs], Mon Mar 17 09:14:51 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.117.4.3: +9 -9 lines
Diff to previous 1.117.4.3 (colored) to branchpoint 1.117 (colored) next main 1.118 (colored)

sync with head.

Revision 1.128 / (download) - annotate - [select for diffs], Sat Mar 15 21:09:02 2008 UTC (16 years, 1 month ago) by cube
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Changes since 1.127: +9 -9 lines
Diff to previous 1.127 (colored)

Split device_t and softc for sb(4) and all its attachments.

Revision 1.126.24.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:27:58 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.126: +5 -5 lines
Diff to previous 1.126 (colored)

sync with HEAD

Revision 1.117.4.3 / (download) - annotate - [select for diffs], Sat Oct 27 11:31:55 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.117.4.2: +5 -5 lines
Diff to previous 1.117.4.2 (colored) to branchpoint 1.117 (colored)

sync with head.

Revision 1.126.22.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:45:30 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.126: +5 -5 lines
Diff to previous 1.126 (colored) next main 1.127 (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.126.28.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:38:25 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.126: +5 -5 lines
Diff to previous 1.126 (colored) next main 1.127 (colored)

Sync with HEAD.

Revision 1.126.8.1 / (download) - annotate - [select for diffs], Tue Oct 23 20:08:18 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.126: +5 -5 lines
Diff to previous 1.126 (colored) next main 1.127 (colored)

Sync with head.

Revision 1.127 / (download) - annotate - [select for diffs], Fri Oct 19 12:00:22 2007 UTC (16 years, 5 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, mjf-devfs, matt-armv6-base, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.126: +5 -5 lines
Diff to previous 1.126 (colored)

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

Revision 1.126.6.1 / (download) - annotate - [select for diffs], Tue Feb 27 14:16:11 2007 UTC (17 years, 1 month ago) by ad
Branch: ad-audiomp
Changes since 1.126: +122 -48 lines
Diff to previous 1.126 (colored) next main 1.127 (colored)

Add MP locking for audio drivers.

Revision 1.117.4.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:48:27 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.117.4.1: +28 -31 lines
Diff to previous 1.117.4.1 (colored) to branchpoint 1.117 (colored)

sync with head.

Revision 1.123.4.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:17:29 2006 UTC (17 years, 4 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.123.4.1: +12 -12 lines
Diff to previous 1.123.4.1 (colored) to branchpoint 1.123 (colored) next main 1.124 (colored)

sync with head.

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

Sync with head.

Revision 1.126 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:00 2006 UTC (17 years, 5 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
Branch point for: vmlocking, matt-armv6, jmcneill-pm, bouyer-xenamd64, ad-audiomp
Changes since 1.125: +12 -12 lines
Diff to previous 1.125 (colored)

__unused removal on arguments; approved by core.

Revision 1.123.4.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:06:04 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.123: +14 -17 lines
Diff to previous 1.123 (colored)

sync with head

Revision 1.125 / (download) - annotate - [select for diffs], Thu Oct 12 01:31:17 2006 UTC (17 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.124: +13 -16 lines
Diff to previous 1.124 (colored)

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

Revision 1.124 / (download) - annotate - [select for diffs], Sun Sep 24 03:53:08 2006 UTC (17 years, 6 months ago) by jmcneill
Branch: MAIN
Changes since 1.123: +3 -3 lines
Diff to previous 1.123 (colored)

Add "name" parameter to powerhook_establish, to aid debugging. No objections
on tech-kern@

Revision 1.118.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:51:26 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.118: +32 -31 lines
Diff to previous 1.118 (colored) next main 1.119 (colored)

sync with head

Revision 1.118.8.4 / (download) - annotate - [select for diffs], Sun Sep 3 15:24:10 2006 UTC (17 years, 7 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.118.8.3: +23 -23 lines
Diff to previous 1.118.8.3 (colored) to branchpoint 1.118 (colored) next main 1.119 (colored)

sync with head.

Revision 1.123 / (download) - annotate - [select for diffs], Sun Sep 3 05:16:01 2006 UTC (17 years, 7 months 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.122: +23 -23 lines
Diff to previous 1.122 (colored)

add missing initializers

Revision 1.117.4.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:04:21 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.117: +11 -10 lines
Diff to previous 1.117 (colored)

sync with head.

Revision 1.119.2.2 / (download) - annotate - [select for diffs], Wed May 24 15:50:26 2006 UTC (17 years, 10 months ago) by tron
Branch: peter-altq
Changes since 1.119.2.1: +2 -1 lines
Diff to previous 1.119.2.1 (colored) to branchpoint 1.119 (colored) next main 1.120 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.118.8.3 / (download) - annotate - [select for diffs], Wed May 24 10:57:52 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.118.8.2: +4 -3 lines
Diff to previous 1.118.8.2 (colored) to branchpoint 1.118 (colored)

sync with head.

Revision 1.122 / (download) - annotate - [select for diffs], Sun May 14 21:42:27 2006 UTC (17 years, 11 months ago) by elad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.121: +2 -2 lines
Diff to previous 1.121 (colored)

integrate kauth.

Revision 1.118.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:06 2006 UTC (17 years, 11 months ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.118: +11 -10 lines
Diff to previous 1.118 (colored) next main 1.119 (colored)

Sync with head.

Revision 1.118.10.1 / (download) - annotate - [select for diffs], Wed Apr 19 03:25:09 2006 UTC (17 years, 11 months ago) by elad
Branch: elad-kernelauth
Changes since 1.118: +11 -10 lines
Diff to previous 1.118 (colored) next main 1.119 (colored)

sync with head.

Revision 1.121 / (download) - annotate - [select for diffs], Thu Apr 13 03:45:44 2006 UTC (18 years ago) by christos
Branch: MAIN
CVS Tags: elad-kernelauth-base
Changes since 1.120: +4 -3 lines
Diff to previous 1.120 (colored)

Coverity CID 1320: Don't try to use drq16 as an index in an array if it is -1

Revision 1.118.8.2 / (download) - annotate - [select for diffs], Sat Apr 1 12:07:05 2006 UTC (18 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.118.8.1: +3 -3 lines
Diff to previous 1.118.8.1 (colored) to branchpoint 1.118 (colored)

sync with head.

Revision 1.119.2.1 / (download) - annotate - [select for diffs], Fri Mar 31 09:45:21 2006 UTC (18 years ago) by tron
Branch: peter-altq
Changes since 1.119: +3 -3 lines
Diff to previous 1.119 (colored)

Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.

Revision 1.120 / (download) - annotate - [select for diffs], Wed Mar 29 04:16:50 2006 UTC (18 years ago) by thorpej
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3
Changes since 1.119: +3 -3 lines
Diff to previous 1.119 (colored)

Use device_cfdata().

Revision 1.118.8.1 / (download) - annotate - [select for diffs], Mon Mar 13 09:07:25 2006 UTC (18 years, 1 month ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.118: +8 -8 lines
Diff to previous 1.118 (colored)

sync with head.

Revision 1.119 / (download) - annotate - [select for diffs], Wed Mar 8 23:46:25 2006 UTC (18 years, 1 month ago) by lukem
Branch: MAIN
CVS Tags: yamt-pdpolicy-base2, peter-altq-base
Branch point for: peter-altq
Changes since 1.118: +8 -8 lines
Diff to previous 1.118 (colored)

Use the SI capitalization for "Hz", "kHz", and "MHz" in comments and strings.
Add a space between numbers and Hz unit.

Revision 1.118 / (download) - annotate - [select for diffs], Sun Dec 11 12:22:03 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, elad-kernelauth
Changes since 1.117: +2 -2 lines
Diff to previous 1.117 (colored)

merge ktrace-lwp.

Revision 1.115.2.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:55 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.115: +7 -7 lines
Diff to previous 1.115 (colored) next main 1.116 (colored)

sync with -current

Revision 1.115.4.2 / (download) - annotate - [select for diffs], Sat Mar 19 08:34:33 2005 UTC (19 years ago) by yamt
Branch: yamt-km
Changes since 1.115.4.1: +6 -6 lines
Diff to previous 1.115.4.1 (colored) to branchpoint 1.115 (colored) next main 1.116 (colored)

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

Revision 1.112.2.6 / (download) - annotate - [select for diffs], Fri Mar 4 16:43:15 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.112.2.5: +6 -6 lines
Diff to previous 1.112.2.5 (colored) to branchpoint 1.112 (colored) next main 1.113 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.117 / (download) - annotate - [select for diffs], Sun Feb 27 00:27:17 2005 UTC (19 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: yamt-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, 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, ktrace-lwp-base, kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.116: +6 -6 lines
Diff to previous 1.116 (colored)

nuke trailing whitespace

Revision 1.115.4.1 / (download) - annotate - [select for diffs], Sat Feb 12 18:17:45 2005 UTC (19 years, 2 months ago) by yamt
Branch: yamt-km
Changes since 1.115: +3 -3 lines
Diff to previous 1.115 (colored)

sync with head.

Revision 1.112.2.5 / (download) - annotate - [select for diffs], Fri Feb 4 11:46:10 2005 UTC (19 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.112.2.4: +3 -3 lines
Diff to previous 1.112.2.4 (colored) to branchpoint 1.112 (colored)

Sync with HEAD.

Revision 1.116 / (download) - annotate - [select for diffs], Tue Feb 1 12:07:58 2005 UTC (19 years, 2 months ago) by gson
Branch: MAIN
CVS Tags: yamt-km-base2
Changes since 1.115: +3 -3 lines
Diff to previous 1.115 (colored)

Update printf format in debug printf to account for sample_rate now
being an unsigned int.

Revision 1.112.2.4 / (download) - annotate - [select for diffs], Mon Jan 17 19:31:11 2005 UTC (19 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.112.2.3: +308 -315 lines
Diff to previous 1.112.2.3 (colored) to branchpoint 1.112 (colored)

Sync with HEAD.

Revision 1.115 / (download) - annotate - [select for diffs], Thu Jan 13 15:01:28 2005 UTC (19 years, 3 months ago) by kent
Branch: MAIN
CVS Tags: yamt-km-base
Branch point for: yamt-km, kent-audio2
Changes since 1.114: +253 -281 lines
Diff to previous 1.114 (colored)

ansify and KNF

Revision 1.114 / (download) - annotate - [select for diffs], Mon Jan 10 22:01:37 2005 UTC (19 years, 3 months ago) by kent
Branch: MAIN
Changes since 1.113: +67 -46 lines
Diff to previous 1.113 (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.113.2.3 / (download) - annotate - [select for diffs], Sun Jan 9 08:42:45 2005 UTC (19 years, 3 months ago) by kent
Branch: kent-audio1
Changes since 1.113.2.2: +5 -3 lines
Diff to previous 1.113.2.2 (colored) to branchpoint 1.113 (colored) next main 1.114 (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.113.2.2 / (download) - annotate - [select for diffs], Mon Jan 3 16:40:26 2005 UTC (19 years, 3 months ago) by kent
Branch: kent-audio1
Changes since 1.113.2.1: +4 -4 lines
Diff to previous 1.113.2.1 (colored) to branchpoint 1.113 (colored)

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

Revision 1.113.2.1 / (download) - annotate - [select for diffs], Mon Jan 3 06:37:58 2005 UTC (19 years, 3 months ago) by kent
Branch: kent-audio1
Changes since 1.113: +64 -45 lines
Diff to previous 1.113 (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.112.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:29:48 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.112.2.2: +2 -2 lines
Diff to previous 1.112.2.2 (colored) to branchpoint 1.112 (colored)

Fix the sync with head I botched.

Revision 1.112.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:47:47 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.112.2.1: +0 -0 lines
Diff to previous 1.112.2.1 (colored) to branchpoint 1.112 (colored)

Sync with HEAD.

Revision 1.112.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:48:00 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.112: +2 -7 lines
Diff to previous 1.112 (colored)

Sync with HEAD

Revision 1.113 / (download) - annotate - [select for diffs], Fri Jul 9 02:15:37 2004 UTC (19 years, 9 months ago) by mycroft
Branch: MAIN
CVS Tags: kent-audio1-beforemerge, kent-audio1-base
Branch point for: kent-audio1
Changes since 1.112: +2 -7 lines
Diff to previous 1.112 (colored)

Remove junk code.

Revision 1.112 / (download) - annotate - [select for diffs], Fri May 9 23:51:29 2003 UTC (20 years, 11 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.111: +32 -21 lines
Diff to previous 1.111 (colored)

A few ISA sound drivers like to share dma channels, and hence deferred
isa_dmamap_create() calls to their open/close entrypoints. This worked
with some luck, but broke on i386 when _bus_dmamap_create started
to allocate bounce buffers upfront, since memory below 16M may well
not be available when the sound devices is opened for the Nth time.

To fix this, create a new simple interface, isa_drq_alloc/isa_drq_free,
wrappers around already existing bitmask macros. These are expected
to be used before an isa_dmamap_create call, and after an
isa_dmamap_destroy call, respectively. For the sb and ad1848 drivers,
they're deferred until open/close.

All isa_dmamap_create calls can now use BUS_DMA_ALLOCNOW and be done
at attach time.

Revision 1.111 / (download) - annotate - [select for diffs], Sat May 3 18:11:28 2003 UTC (20 years, 11 months ago) by wiz
Branch: MAIN
Changes since 1.110: +7 -7 lines
Diff to previous 1.110 (colored)

DMA, not dma nor Dma.

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

Add extensible malloc types, adapted from FreeBSD.  This turns
malloc types into a structure, a pointer to which is passed around,
instead of an int constant.  Allow the limit to be adjusted when the
malloc type is defined, or with a function call, as suggested by
Jonathan Stone.

Revision 1.107.2.3 / (download) - annotate - [select for diffs], Thu Feb 28 04:13:47 2002 UTC (22 years, 1 month ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.107.2.2: +2 -2 lines
Diff to previous 1.107.2.2 (colored) to branchpoint 1.107 (colored) next main 1.108 (colored)

Catch up to -current.

Revision 1.107.2.2 / (download) - annotate - [select for diffs], Fri Jan 11 23:39:12 2002 UTC (22 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.107.2.1: +10 -10 lines
Diff to previous 1.107.2.1 (colored) to branchpoint 1.107 (colored)

More catchup.

Revision 1.107.4.1 / (download) - annotate - [select for diffs], Thu Jan 10 19:55:42 2002 UTC (22 years, 3 months ago) by thorpej
Branch: kqueue
Changes since 1.107: +12 -9 lines
Diff to previous 1.107 (colored) next main 1.108 (colored)

Sync kqueue branch with -current.

Revision 1.109 / (download) - annotate - [select for diffs], Sun Jan 6 20:24:12 2002 UTC (22 years, 3 months ago) by augustss
Branch: MAIN
CVS Tags: newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, ifpoll-base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, gehenna-devsw, fvdl_fs64_base, eeh-devprop-base, eeh-devprop
Changes since 1.108: +10 -10 lines
Diff to previous 1.108 (colored)

Increase max sampling rate on SB16.  It seems almost all models supports it.

Revision 1.107.2.1 / (download) - annotate - [select for diffs], Wed Nov 14 19:14:53 2001 UTC (22 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.107: +4 -1 lines
Diff to previous 1.107 (colored)

Catch up to -current.

Revision 1.108 / (download) - annotate - [select for diffs], Tue Nov 13 08:01:30 2001 UTC (22 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.107: +4 -1 lines
Diff to previous 1.107 (colored)

add RCSID

Revision 1.101.2.2 / (download) - annotate - [select for diffs], Mon Mar 12 13:30:39 2001 UTC (23 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.101.2.1: +22 -1 lines
Diff to previous 1.101.2.1 (colored) next main 1.102 (colored)

Sync with HEAD.

Revision 1.107 / (download) - annotate - [select for diffs], Thu Feb 22 15:23:31 2001 UTC (23 years, 1 month ago) by minoura
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: nathanw_sa, kqueue
Changes since 1.106: +22 -1 lines
Diff to previous 1.106 (colored)

Reset the mixer when resume from suspend.
This is required on some laptops with a buggy APM BIOS.
Code from Inoue Yoshinari <pf5y-inue@asahi-net.or.jp>.

Revision 1.101.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 11:41:20 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.101: +31 -28 lines
Diff to previous 1.101 (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.104.4.1 / (download) - annotate - [select for diffs], Fri Jun 30 16:27:48 2000 UTC (23 years, 9 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.104: +3 -3 lines
Diff to previous 1.104 (colored) next main 1.105 (colored)

Pull up mmap paddr_t/off_t changes from trunk.

Revision 1.106 / (download) - annotate - [select for diffs], Wed Jun 28 16:27:56 2000 UTC (23 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.105: +1 -2 lines
Diff to previous 1.105 (colored)

remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>

Revision 1.105 / (download) - annotate - [select for diffs], Mon Jun 26 04:56:21 2000 UTC (23 years, 9 months ago) by simonb
Branch: MAIN
Changes since 1.104: +3 -3 lines
Diff to previous 1.104 (colored)

Change the kernel mmap interface so that the offset to map is an
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes.  Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".

Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.

Revision 1.104 / (download) - annotate - [select for diffs], Mon Feb 7 22:07:31 2000 UTC (24 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-5-base, minoura-xpg4dl-base, minoura-xpg4dl, chs-ubc2-newbase
Branch point for: netbsd-1-5
Changes since 1.103: +21 -5 lines
Diff to previous 1.103 (colored)

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

Revision 1.103 / (download) - annotate - [select for diffs], Thu Jan 20 19:27:03 2000 UTC (24 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.102: +3 -16 lines
Diff to previous 1.102 (colored)

Simplify sbdsp_pause().

Revision 1.100.2.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:34:56 1999 UTC (24 years, 3 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.100: +8 -7 lines
Diff to previous 1.100 (colored) next main 1.101 (colored)

Pull up to last week's -current.

Revision 1.101.4.1 / (download) - annotate - [select for diffs], Mon Nov 15 00:40:43 1999 UTC (24 years, 5 months ago) by fvdl
Branch: fvdl-softdep
Changes since 1.101: +7 -6 lines
Diff to previous 1.101 (colored) next main 1.102 (colored)

Sync with -current

Revision 1.102 / (download) - annotate - [select for diffs], Mon Nov 1 18:12:20 1999 UTC (24 years, 5 months ago) by augustss
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, fvdl-softdep-base, comdex-fall-1999-base, comdex-fall-1999
Changes since 1.101: +7 -6 lines
Diff to previous 1.101 (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.101 / (download) - annotate - [select for diffs], Sun Oct 10 00:14:44 1999 UTC (24 years, 6 months ago) by mycroft
Branch: MAIN
Branch point for: thorpej_scsipi, fvdl-softdep
Changes since 1.100: +2 -2 lines
Diff to previous 1.100 (colored)

Fix one more #ifdef, and now it actually compiles again.  *sigh*

Revision 1.100 / (download) - annotate - [select for diffs], Wed Aug 4 10:50:52 1999 UTC (24 years, 8 months ago) by augustss
Branch: MAIN
Branch point for: wrstuden-devbsize
Changes since 1.99: +3 -2 lines
Diff to previous 1.99 (colored)

Use NMPU not NMIDI around call to mpu_intr.

Revision 1.98.4.1 / (download) - annotate - [select for diffs], Mon Aug 2 21:59:29 1999 UTC (24 years, 8 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.98: +3 -3 lines
Diff to previous 1.98 (colored) next main 1.99 (colored)

Update from trunk.

Revision 1.99 / (download) - annotate - [select for diffs], Mon Aug 2 17:37:42 1999 UTC (24 years, 8 months ago) by augustss
Branch: MAIN
CVS Tags: chs-ubc2-base
Changes since 1.98: +3 -3 lines
Diff to previous 1.98 (colored)

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.

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

Make sure we clean up any DMA maps if the open fails.

Revision 1.97 / (download) - annotate - [select for diffs], Mon Mar 22 07:37:35 1999 UTC (25 years ago) by mycroft
Branch: MAIN
Changes since 1.96: +48 -37 lines
Diff to previous 1.96 (colored)

Several things:
* Rearrange the speed mapping table and adjust the code so that the highest
  rate can actually be used.  Previously we ended up rounding up slightly
  lower speeds and then losing because set_params couldn't set the mode
  back to the current one.
* Allow 260 as a valid I/O address, since the SB1 can be jumpered to this.
* Change the MPU-401 code so it can be attached as a separate device.
  (XXX Really, the SB code ought to just attach a subdevice itself.)
* Do not attach an OPL on the SB1.  Writing to the OPL registers at
  SB_base+0 on this card wedges my machine.
  (XXX Should we access it at 388 instead?  The Creative web site claims
  that this board *does* have an OPL2, but I haven't played with this
  extensively.)
* Allocate the SB DMA channels at open time, rather than attach time, so
  that a single DRQ can be used for multiple cards (if only one is in use
  at a given time).
  (XXX Let me tell you why this is a horrible hack.  If the ISA DMA code
  tries to allocate a bounce buffer after boot time, it will generally fail,
  because there is no contiguous memory below 16MB and the code to allocate
  contiguous pages doesn't know how to move things around.  Now, we
  shouldn't ever be using bounce buffers here, because we use
  isa_dmamem_alloc().  So we just turn off BUS_DMA_ALLOCNOW and we don't
  actually try to.  That's cool, and it even works, but isa_dmamem_alloc()
  has the same problem.  It just happens that we allocate the ring buffers
  at boot time, and whenever we reallocate them (due to the buffer size
  changing), we just deallocated the previous (contiguous) buffer, so we get
  lucky.  This is absolutely disgusting and needs to be fixed.)

Revision 1.96 / (download) - annotate - [select for diffs], Mon Feb 22 02:16:40 1999 UTC (25 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.95: +3 -3 lines
Diff to previous 1.95 (colored)

Use DMAMODE_LOOPDEMAND.  Tested on a ViBRA16.

Revision 1.95 / (download) - annotate - [select for diffs], Thu Feb 18 16:09:01 1999 UTC (25 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.94: +60 -25 lines
Diff to previous 1.94 (colored)

spaces -> tabs

Revision 1.94 / (download) - annotate - [select for diffs], Thu Feb 18 15:47:29 1999 UTC (25 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.93: +11 -15 lines
Diff to previous 1.93 (colored)

Remove some superfluous softc elements.

Revision 1.93 / (download) - annotate - [select for diffs], Thu Feb 18 07:08:35 1999 UTC (25 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.92: +81 -70 lines
Diff to previous 1.92 (colored)

Add separate halt_output and halt_input routines.

Revision 1.92 / (download) - annotate - [select for diffs], Wed Feb 17 02:43:14 1999 UTC (25 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.91: +4 -4 lines
Diff to previous 1.91 (colored)

Fix slight ommission in previous.

Revision 1.91 / (download) - annotate - [select for diffs], Wed Feb 17 02:37:41 1999 UTC (25 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.90: +8 -7 lines
Diff to previous 1.90 (colored)

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

Revision 1.90 / (download) - annotate - [select for diffs], Wed Feb 17 01:22:47 1999 UTC (25 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.89: +7 -2 lines
Diff to previous 1.89 (colored)

If we have an 8-bit DRQ, always pass that to isa_malloc().

Revision 1.89 / (download) - annotate - [select for diffs], Fri Jan 8 18:10:35 1999 UTC (25 years, 3 months ago) by augustss
Branch: MAIN
Changes since 1.88: +5 -3 lines
Diff to previous 1.88 (colored)

Avoid arithmetic on `void *' since that's not ANSI C.

Revision 1.88 / (download) - annotate - [select for diffs], Mon Aug 17 21:16:15 1998 UTC (25 years, 8 months ago) by augustss
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Changes since 1.87: +2 -1 lines
Diff to previous 1.87 (colored)

* 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.87 / (download) - annotate - [select for diffs], Mon Aug 10 20:02:48 1998 UTC (25 years, 8 months ago) by augustss
Branch: MAIN
Changes since 1.86: +2 -2 lines
Diff to previous 1.86 (colored)

Fix typo.

Revision 1.86 / (download) - annotate - [select for diffs], Mon Aug 10 02:19:18 1998 UTC (25 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.85: +2 -2 lines
Diff to previous 1.85 (colored)

Minor change.

Revision 1.85 / (download) - annotate - [select for diffs], Mon Aug 10 02:13:44 1998 UTC (25 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.84: +2 -1 lines
Diff to previous 1.84 (colored)

Slow down, Wilbur.

Revision 1.84 / (download) - annotate - [select for diffs], Mon Aug 10 02:12:30 1998 UTC (25 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.83: +4 -3 lines
Diff to previous 1.83 (colored)

Fix a typo I introduced in the MIDI code.

Revision 1.83 / (download) - annotate - [select for diffs], Mon Aug 10 01:25:33 1998 UTC (25 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.82: +20 -2 lines
Diff to previous 1.82 (colored)

For models prior to the SB16, there is only one clock divider, so couple the
sample rates.  However, only do this if both play and record are being used
simultaneously; otherwise we can't play 22KHz on the SB1.

Revision 1.82 / (download) - annotate - [select for diffs], Mon Aug 10 00:20:39 1998 UTC (25 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.81: +175 -245 lines
Diff to previous 1.81 (colored)

Use the new trigger_{in,out}put interface.
Also, even on the SB1, we can leave the DMA controller in auto-initalize
mode and just send a command to the board for each block.  This may help
prevent FIFO underruns.

Revision 1.81 / (download) - annotate - [select for diffs], Fri Aug 7 00:01:00 1998 UTC (25 years, 8 months ago) by augustss
Branch: MAIN
Changes since 1.80: +150 -96 lines
Diff to previous 1.80 (colored)

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.80 / (download) - annotate - [select for diffs], Tue Jun 9 00:05:46 1998 UTC (25 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.79: +12 -12 lines
Diff to previous 1.79 (colored)

Adjust for changes to the ISA DMA API.

Revision 1.79 / (download) - annotate - [select for diffs], Wed Mar 4 19:38:28 1998 UTC (26 years, 1 month ago) by augustss
Branch: MAIN
Changes since 1.78: +2 -2 lines
Diff to previous 1.78 (colored)

Use lower case "agc" for consistency.

Revision 1.76.2.2 / (download) - annotate - [select for diffs], Sat Feb 7 01:00:54 1998 UTC (26 years, 2 months ago) by mellon
Branch: netbsd-1-3
CVS Tags: 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
Changes since 1.76.2.1: +5 -2 lines
Diff to previous 1.76.2.1 (colored) to branchpoint 1.76 (colored) next main 1.77 (colored)

Pull up 1.78 (manuel)

Revision 1.78 / (download) - annotate - [select for diffs], Fri Jan 30 11:55:36 1998 UTC (26 years, 2 months ago) by bouyer
Branch: MAIN
Changes since 1.77: +5 -2 lines
Diff to previous 1.77 (colored)

Fix for the vibra16x from Lennart Augusts: saying that the dsp4.16 was
a SB64 was just a guess. The vibra16x is really a sb16.

Revision 1.76.2.1 / (download) - annotate - [select for diffs], Tue Dec 9 20:33:21 1997 UTC (26 years, 4 months ago) by thorpej
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-RELEASE
Changes since 1.76: +2 -2 lines
Diff to previous 1.76 (colored)

Sync w/ trunk (mycroft)

Revision 1.77 / (download) - annotate - [select for diffs], Tue Dec 2 13:17:39 1997 UTC (26 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.76: +2 -2 lines
Diff to previous 1.76 (colored)

Set the gain to 1/2 by default; 3/4 is too loud and can damage headphones and
speakers.

Revision 1.76 / (download) - annotate - [select for diffs], Sun Oct 19 07:42:39 1997 UTC (26 years, 6 months ago) by augustss
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-BETA
Branch point for: netbsd-1-3
Changes since 1.75: +7 -72 lines
Diff to previous 1.75 (colored)

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

Revision 1.75 / (download) - annotate - [select for diffs], Thu Oct 16 23:34:57 1997 UTC (26 years, 6 months ago) by augustss
Branch: MAIN
Changes since 1.74: +8 -8 lines
Diff to previous 1.74 (colored)

Make sure the 'input' class is used even for the 1345 mixer.

Revision 1.63.2.5 / (download) - annotate - [select for diffs], Tue Oct 14 10:24:01 1997 UTC (26 years, 6 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.63.2.4: +9 -10 lines
Diff to previous 1.63.2.4 (colored) to branchpoint 1.63 (colored) next main 1.64 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.74 / (download) - annotate - [select for diffs], Sat Oct 11 12:36:32 1997 UTC (26 years, 6 months ago) by mycroft
Branch: MAIN
CVS Tags: marc-pcmcia-base
Changes since 1.73: +4 -4 lines
Diff to previous 1.73 (colored)

AudioElinear -> AudioEslinear

Revision 1.73 / (download) - annotate - [select for diffs], Sat Oct 11 11:29:15 1997 UTC (26 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.72: +5 -5 lines
Diff to previous 1.72 (colored)

AudioC[A-Z] -> AudioC[a-z]

Revision 1.72 / (download) - annotate - [select for diffs], Mon Oct 6 20:16:25 1997 UTC (26 years, 6 months ago) by augustss
Branch: MAIN
Changes since 1.71: +2 -3 lines
Diff to previous 1.71 (colored)

Keep filter when setting source on SB Pro.
Close PR 2593.

Revision 1.63.2.4 / (download) - annotate - [select for diffs], Tue Sep 16 03:50:28 1997 UTC (26 years, 7 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.63.2.3: +21 -6 lines
Diff to previous 1.63.2.3 (colored) to branchpoint 1.63 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.71 / (download) - annotate - [select for diffs], Tue Sep 9 00:57:10 1997 UTC (26 years, 7 months ago) by augustss
Branch: MAIN
Changes since 1.70: +21 -6 lines
Diff to previous 1.70 (colored)

Change the way we determine what interrupt routine to use to make
it work when drq8 == drq16.

Revision 1.63.2.3 / (download) - annotate - [select for diffs], Mon Sep 1 20:26:45 1997 UTC (26 years, 7 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.63.2.2: +306 -239 lines
Diff to previous 1.63.2.2 (colored) to branchpoint 1.63 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.70 / (download) - annotate - [select for diffs], Fri Aug 29 21:41:36 1997 UTC (26 years, 7 months ago) by augustss
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal
Changes since 1.69: +306 -239 lines
Diff to previous 1.69 (colored)

Substantial rewrite of the SB driver to make it do full duplex on an SB16.
Because of the braindead design of the SB the input and output have to
use different precisions (8 and 16 bits).  It is possible to set the driver
to use 8 bits on both and it will the emulate 8 bits on the output by
expanding it to 16 bits.

Revision 1.63.2.2 / (download) - annotate - [select for diffs], Wed Aug 27 23:31:54 1997 UTC (26 years, 7 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.63.2.1: +317 -138 lines
Diff to previous 1.63.2.1 (colored) to branchpoint 1.63 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.69 / (download) - annotate - [select for diffs], Sun Aug 24 23:50:40 1997 UTC (26 years, 7 months ago) by augustss
Branch: MAIN
Changes since 1.68: +178 -7 lines
Diff to previous 1.68 (colored)

Add mute and channels swap to the mixer capabilites.

Revision 1.68 / (download) - annotate - [select for diffs], Sun Aug 24 22:31:35 1997 UTC (26 years, 7 months ago) by augustss
Branch: MAIN
Changes since 1.67: +140 -132 lines
Diff to previous 1.67 (colored)

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

Revision 1.63.2.1 / (download) - annotate - [select for diffs], Sat Aug 23 07:13:30 1997 UTC (26 years, 7 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.63: +91 -32 lines
Diff to previous 1.63 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.67 / (download) - annotate - [select for diffs], Tue Aug 19 23:35:44 1997 UTC (26 years, 7 months ago) by augustss
Branch: MAIN
Changes since 1.66: +6 -4 lines
Diff to previous 1.66 (colored)

Avoid munging audio_defaults.

Revision 1.66 / (download) - annotate - [select for diffs], Mon Aug 11 01:08:13 1997 UTC (26 years, 8 months ago) by augustss
Branch: MAIN
Changes since 1.65: +15 -1 lines
Diff to previous 1.65 (colored)

Round mixer values correctly when setting them.
This is important for the OSS emulation since OSS
uses a different range of values for the mixer.

Revision 1.65 / (download) - annotate - [select for diffs], Mon Aug 4 09:29:56 1997 UTC (26 years, 8 months ago) by augustss
Branch: MAIN
Changes since 1.64: +28 -21 lines
Diff to previous 1.64 (colored)

Audio:
* Make it possible to use software assisted encodings that expand the
  sample size.
* Use 16 bits per sample when emulating mulaw coding on the SB.
* Prepare for SB16 without CT1745 mixer.

Revision 1.64 / (download) - annotate - [select for diffs], Thu Jul 31 22:33:36 1997 UTC (26 years, 8 months ago) by augustss
Branch: MAIN
Changes since 1.63: +53 -17 lines
Diff to previous 1.63 (colored)

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

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

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

Revision 1.62 / (download) - annotate - [select for diffs], Mon Jul 28 01:32:02 1997 UTC (26 years, 8 months ago) by augustss
Branch: MAIN
Changes since 1.61: +3 -7 lines
Diff to previous 1.61 (colored)

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

Revision 1.61 / (download) - annotate - [select for diffs], Sun Jul 27 23:52:01 1997 UTC (26 years, 8 months ago) by augustss
Branch: MAIN
Changes since 1.60: +1 -17 lines
Diff to previous 1.60 (colored)

audio: Simplify handling of AUDIO_SETFD and committing of encoding mode.

Revision 1.60 / (download) - annotate - [select for diffs], Sun Jul 27 01:17:07 1997 UTC (26 years, 8 months ago) by augustss
Branch: MAIN
Changes since 1.59: +137 -44 lines
Diff to previous 1.59 (colored)

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

Revision 1.59 / (download) - annotate - [select for diffs], Tue Jul 15 07:46:19 1997 UTC (26 years, 9 months ago) by augustss
Branch: MAIN
Changes since 1.58: +10 -10 lines
Diff to previous 1.58 (colored)

In the name of backwards compatibility AUDIO_ENCODING_LINEAR has been
renamed AUDIO_ENCODING_SLINEAR and AUDIO_ENCODING_LINEAR reverts to the
NetBSD 1.2 sematics.  A kernel with COMPAT_12 defined will accept
AUDIO_ENCODING_LINEAR and treat it as before, without COMPAT_12 it
will be rejected.

Revision 1.58 / (download) - annotate - [select for diffs], Fri Jun 13 19:21:59 1997 UTC (26 years, 10 months ago) by augustss
Branch: MAIN
CVS Tags: bouyer-scsipi
Changes since 1.57: +6 -6 lines
Diff to previous 1.57 (colored)

Fix a braino in record source selection and a pasto in detecting
16 bit mode recording.

Revision 1.57 / (download) - annotate - [select for diffs], Fri Jun 6 23:44:02 1997 UTC (26 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.56: +29 -8 lines
Diff to previous 1.56 (colored)

Pull thorpej-bus-dma branch into mainline.

Revision 1.45.2.4 / (download) - annotate - [select for diffs], Sun Jun 1 20:51:12 1997 UTC (26 years, 10 months ago) by thorpej
Branch: thorpej-bus-dma
Changes since 1.45.2.3: +53 -21 lines
Diff to previous 1.45.2.3 (colored) next main 1.46 (colored)

Update from trunk.

Revision 1.56 / (download) - annotate - [select for diffs], Thu May 29 04:57:02 1997 UTC (26 years, 10 months ago) by jtk
Branch: MAIN
CVS Tags: thorpej-bus-dma-base
Changes since 1.55: +10 -5 lines
Diff to previous 1.55 (colored)

make Jazz16 16-bit output work properly again.  Still hangs somewhere
(not yet diagnosed) on occasion in high-speed mode, but a ^C will exit
immediately--no 30-second drainage timeout.

Revision 1.55 / (download) - annotate - [select for diffs], Wed May 28 00:07:49 1997 UTC (26 years, 10 months ago) by augustss
Branch: MAIN
Changes since 1.54: +23 -4 lines
Diff to previous 1.54 (colored)

Add Alaw encoding emulation.

Revision 1.54 / (download) - annotate - [select for diffs], Tue May 27 23:37:53 1997 UTC (26 years, 10 months ago) by augustss
Branch: MAIN
Changes since 1.53: +10 -10 lines
Diff to previous 1.53 (colored)

A cosmetic name change.

Revision 1.53 / (download) - annotate - [select for diffs], Mon May 26 16:13:59 1997 UTC (26 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.52: +12 -4 lines
Diff to previous 1.52 (colored)

Minor corrections to previous.  Notably, make recording work on SBPro again.

Revision 1.45.2.3 / (download) - annotate - [select for diffs], Sat May 24 20:12:38 1997 UTC (26 years, 10 months ago) by thorpej
Branch: thorpej-bus-dma
Changes since 1.45.2.2: +902 -722 lines
Diff to previous 1.45.2.2 (colored)

Update from trunk.

Revision 1.52 / (download) - annotate - [select for diffs], Fri May 23 21:20:11 1997 UTC (26 years, 10 months ago) by augustss
Branch: MAIN
Changes since 1.51: +376 -418 lines
Diff to previous 1.51 (colored)

Redo the way selecting the mode for SB cards is done completely.
It is now table driven since there are so many different variations
of SB cards out there.
Also fix a bug that stopped SB2 and SBPro from working.

Revision 1.51 / (download) - annotate - [select for diffs], Tue May 20 12:51:47 1997 UTC (26 years, 11 months ago) by augustss
Branch: MAIN
Changes since 1.50: +46 -51 lines
Diff to previous 1.50 (colored)

Make the audio default parameters into a globally accessible constant.

Revision 1.50 / (download) - annotate - [select for diffs], Mon May 19 23:14:29 1997 UTC (26 years, 11 months ago) by augustss
Branch: MAIN
Changes since 1.49: +520 -297 lines
Diff to previous 1.49 (colored)

Redo the SB mixer code.  The driver can now distinguish between the
four different mixer options: none, CT1335, CT1345, and CT1745.
It should now be possible to access most of the SB16 functionality.

Revision 1.45.2.2 / (download) - annotate - [select for diffs], Mon May 19 00:14:42 1997 UTC (26 years, 11 months ago) by thorpej
Branch: thorpej-bus-dma
Changes since 1.45.2.1: +146 -163 lines
Diff to previous 1.45.2.1 (colored)

Update from trunk.

Revision 1.49 / (download) - annotate - [select for diffs], Sun May 18 00:36:03 1997 UTC (26 years, 11 months ago) by augustss
Branch: MAIN
Changes since 1.48: +3 -2 lines
Diff to previous 1.48 (colored)

Mask the level registers as the documentation suggests.

Revision 1.48 / (download) - annotate - [select for diffs], Sat May 17 23:26:36 1997 UTC (26 years, 11 months ago) by augustss
Branch: MAIN
Changes since 1.47: +31 -22 lines
Diff to previous 1.47 (colored)

Change lowater calculation a little.
Fix mixer setting bug and add some missing splaudio().
Set SB drq16 to 5 and don't pretend to be SB v1.0.

Revision 1.47 / (download) - annotate - [select for diffs], Fri May 16 07:07:22 1997 UTC (26 years, 11 months ago) by augustss
Branch: MAIN
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (colored)

Back to pretending to be a SB v1.0 again, the mixer code for higher
versions is buggy.

Revision 1.46 / (download) - annotate - [select for diffs], Tue May 13 19:02:17 1997 UTC (26 years, 11 months ago) by augustss
Branch: MAIN
Changes since 1.45: +122 -149 lines
Diff to previous 1.45 (colored)

Clean up emulation code, SB, and GUS drivers and add some more encoding
emulation to SB.

Revision 1.45.2.1 / (download) - annotate - [select for diffs], Tue May 13 03:35:57 1997 UTC (26 years, 11 months ago) by thorpej
Branch: thorpej-bus-dma
Changes since 1.45: +25 -8 lines
Diff to previous 1.45 (colored)

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

Revision 1.45 / (download) - annotate - [select for diffs], Fri May 9 22:16:41 1997 UTC (26 years, 11 months ago) by augustss
Branch: MAIN
Branch point for: thorpej-bus-dma
Changes since 1.44: +56 -37 lines
Diff to previous 1.44 (colored)

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

Revision 1.44 / (download) - annotate - [select for diffs], Wed May 7 18:51:47 1997 UTC (26 years, 11 months ago) by augustss
Branch: MAIN
Changes since 1.43: +15 -6 lines
Diff to previous 1.43 (colored)

Convert to new orthogonal audio encoding scheme and implement
some of the new encodings.  The change to ioctl AUDIO_GETENC is
NOT backwards compatible.

Revision 1.43 / (download) - annotate - [select for diffs], Wed May 7 04:36:00 1997 UTC (26 years, 11 months ago) by mikel
Branch: MAIN
Changes since 1.42: +10 -11 lines
Diff to previous 1.42 (colored)

update sb_printsc() to match current reality.

Revision 1.42 / (download) - annotate - [select for diffs], Wed Apr 30 02:08:12 1997 UTC (26 years, 11 months ago) by augustss
Branch: MAIN
Changes since 1.41: +3 -1 lines
Diff to previous 1.41 (colored)

XXX Pretend that all SB cards are of model 1.
XXX This way you can at least use SB cards until the real fixes go in.

Revision 1.41 / (download) - annotate - [select for diffs], Tue Apr 29 21:01:41 1997 UTC (26 years, 11 months ago) by augustss
Branch: MAIN
Changes since 1.40: +65 -100 lines
Diff to previous 1.40 (colored)

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

Revision 1.40 / (download) - annotate - [select for diffs], Sat Mar 29 05:41:28 1997 UTC (27 years ago) by jtk
Branch: MAIN
Changes since 1.39: +26 -11 lines
Diff to previous 1.39 (colored)

partial fix for PR 3385:  correctly identify JAZZ-16 when AUDIO_DEBUG is
enabled

Revision 1.39 / (download) - annotate - [select for diffs], Thu Mar 20 21:42:11 1997 UTC (27 years ago) by mycroft
Branch: MAIN
Changes since 1.38: +64 -41 lines
Diff to previous 1.38 (colored)

Use autoinitialize DMA mode on the SB2 and later.  Partly from Torsten Duwe.

Revision 1.38 / (download) - annotate - [select for diffs], Thu Mar 20 20:15:25 1997 UTC (27 years ago) by mycroft
Branch: MAIN
Changes since 1.37: +7 -6 lines
Diff to previous 1.37 (colored)

Make sure we round the block size to a multiple of the sample size.

Revision 1.37 / (download) - annotate - [select for diffs], Thu Mar 20 16:04:22 1997 UTC (27 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.36: +1 -11 lines
Diff to previous 1.36 (colored)

Remove bogus block rounding code.  If the application sets a
block size explicitly, it had better know what it's doing.  From
PR 2587, by Robert Baron.

Revision 1.36 / (download) - annotate - [select for diffs], Thu Mar 20 11:04:51 1997 UTC (27 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.35: +3 -1 lines
Diff to previous 1.35 (colored)

Turn off a debugging printf().

Revision 1.35 / (download) - annotate - [select for diffs], Thu Mar 20 11:03:13 1997 UTC (27 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.34: +28 -40 lines
Diff to previous 1.34 (colored)

Add 16-bit DRQ support on PnP, and enable 16-bit output.

Revision 1.34 / (download) - annotate - [select for diffs], Thu Mar 20 06:48:58 1997 UTC (27 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.33: +16 -37 lines
Diff to previous 1.33 (colored)

Combine set_encoding and set_precision into a single set_format interface.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Mar 13 02:20:10 1997 UTC (27 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.32: +1 -22 lines
Diff to previous 1.32 (colored)

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

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Wed Mar 12 16:10:47 1997 UTC (27 years, 1 month ago) by is
Branch: is-newarp
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

Merge in changes from The Trunk

Revision 1.32 / (download) - annotate - [select for diffs], Mon Mar 3 21:40:01 1997 UTC (27 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: is-newarp-before-merge
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

Fix bug introduced in the conversion to bus_*(). Don't always say that
we are a JASS16. From enami tsugutomo.

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Sat Jan 18 04:30:38 1997 UTC (27 years, 3 months ago) by thorpej
Branch: thorpej-setroot
Changes since 1.30: +110 -96 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

Update from trunk.

Revision 1.31 / (download) - annotate - [select for diffs], Thu Jan 16 21:03:35 1997 UTC (27 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: mrg-vm-swap, is-newarp-base
Branch point for: is-newarp
Changes since 1.30: +110 -96 lines
Diff to previous 1.30 (colored)

- convert to bus_space_*
- split attachment code to sb_isa.c

Revision 1.30 / (download) - annotate - [select for diffs], Fri Oct 25 07:25:48 1996 UTC (27 years, 5 months ago) by fvdl
Branch: MAIN
Branch point for: thorpej-setroot
Changes since 1.29: +3 -1 lines
Diff to previous 1.29 (colored)

Move 'not finished' printf within AUDIO_DEBUG ifdefs, it should normally
be silent about this and caused confusion with stray interrupts.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Oct 16 11:32:45 1996 UTC (27 years, 6 months ago) by jtk
Branch: MAIN
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

fix PR 2851: make it compile under -Wformat

Revision 1.28 / (download) - annotate - [select for diffs], Sun Oct 13 01:38:01 1996 UTC (27 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.27: +11 -11 lines
Diff to previous 1.27 (colored)

backout kprintf changes

Revision 1.27 / (download) - annotate - [select for diffs], Thu Oct 10 22:05:13 1996 UTC (27 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.26: +11 -11 lines
Diff to previous 1.26 (colored)

printf -> kprintf, sprintf -> ksprintf

Revision 1.26 / (download) - annotate - [select for diffs], Sun May 12 23:53:38 1996 UTC (27 years, 11 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.25: +2 -1 lines
Diff to previous 1.25 (colored)

Use intr.h.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Apr 29 20:03:31 1996 UTC (27 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.24: +21 -9 lines
Diff to previous 1.24 (colored)

- prototype fixes

Revision 1.24 / (download) - annotate - [select for diffs], Sat Mar 16 04:00:11 1996 UTC (28 years, 1 month ago) by jtk
Branch: MAIN
Changes since 1.23: +144 -13 lines
Diff to previous 1.23 (colored)

add MediaVision Jazz16 chipset support.  It must be configured with
'flags 1' on the sb? kernel configuration file line (because it frobs a
noncontiguous IO port to configure the Jazz16 extensions).

Also, remove static sb_device structure and fill in user's buffer on
each request.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Mar 1 04:08:38 1996 UTC (28 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.22: +190 -94 lines
Diff to previous 1.22 (colored)

Add support to the ISA DMA framework for auto-initialize mode.
Add experimental SB16 code, disabled for now.

Revision 1.22 / (download) - annotate - [select for diffs], Tue Feb 20 11:48:50 1996 UTC (28 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.21: +15 -14 lines
Diff to previous 1.21 (colored)

Do not allow the gain to be changed on an original SoundBlaster.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Feb 20 11:15:15 1996 UTC (28 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

Fix mono volume adjustment.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Feb 20 04:19:24 1996 UTC (28 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.19: +7 -7 lines
Diff to previous 1.19 (colored)

XXX This is a kluge.
Check to see if the DMA transfer is finished; if not, don't do interrupt
processing.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Feb 18 22:19:44 1996 UTC (28 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.18: +2 -1 lines
Diff to previous 1.18 (colored)

Declare a variable...

Revision 1.18 / (download) - annotate - [select for diffs], Sun Feb 18 22:17:37 1996 UTC (28 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.17: +343 -342 lines
Diff to previous 1.17 (colored)

Clean this up a bit.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Feb 18 16:36:44 1996 UTC (28 years, 2 months ago) by jtk
Branch: MAIN
Changes since 1.16: +130 -44 lines
Diff to previous 1.16 (colored)

Add bass/treble input filter adjustment controls to SB (Pro) driver

Revision 1.16 / (download) - annotate - [select for diffs], Fri Feb 16 10:10:21 1996 UTC (28 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.15: +197 -244 lines
Diff to previous 1.15 (colored)

Various:
* Snap the sample rate when setting it, and remember only the time constant.
* Set the time constant when changing between play/record.
* Always return the actual sample rate with AUDIO_GETINFO.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Feb 16 08:07:40 1996 UTC (28 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.14: +83 -103 lines
Diff to previous 1.14 (colored)

Various, including:
* Add more delays while writing registers.
* Replace sc_dma{in,out}_inprogress with sc_dmadir.
* Eliminate the need for sc_locked.
* Add more DPRINTF()s.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Nov 10 05:01:06 1995 UTC (28 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.13: +10 -11 lines
Diff to previous 1.13 (colored)

Convert IRQ, DRQ, and port numbers to int.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Jul 19 19:58:54 1995 UTC (28 years, 9 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.12: +5 -119 lines
Diff to previous 1.12 (colored)

GUS audio driver from John Kohl.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Jul 7 02:19:55 1995 UTC (28 years, 9 months ago) by brezak
Branch: MAIN
Changes since 1.11: +9 -28 lines
Diff to previous 1.11 (colored)

Cleanup

Revision 1.11 / (download) - annotate - [select for diffs], Mon May 8 22:02:19 1995 UTC (28 years, 11 months ago) by brezak
Branch: MAIN
Changes since 1.10: +1 -2 lines
Diff to previous 1.10 (colored)

Remove  strings

Revision 1.10 / (download) - annotate - [select for diffs], Mon May 8 17:28:51 1995 UTC (28 years, 11 months ago) by brezak
Branch: MAIN
Changes since 1.9: +5 -5 lines
Diff to previous 1.9 (colored)

Fix holes in device index space. PR#1028

Revision 1.9 / (download) - annotate - [select for diffs], Wed Apr 26 21:46:10 1995 UTC (28 years, 11 months ago) by brezak
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Fix nits from Mike Long <mike.long@analog.com> PR#996

Revision 1.8 / (download) - annotate - [select for diffs], Mon Apr 17 23:48:06 1995 UTC (29 years ago) by mycroft
Branch: MAIN
Changes since 1.7: +15 -11 lines
Diff to previous 1.7 (colored)

Fix obvious bug in reading from SB_MIC_PORT.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Apr 17 15:48:34 1995 UTC (29 years ago) by cgd
Branch: MAIN
Changes since 1.6: +5 -5 lines
Diff to previous 1.6 (colored)

update for new locations

Revision 1.6 / (download) - annotate - [select for diffs], Mon Apr 17 12:07:41 1995 UTC (29 years ago) by cgd
Branch: MAIN
Changes since 1.5: +7 -6 lines
Diff to previous 1.5 (colored)

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

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

Use void* rather than caddr_t in many places.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Mar 14 18:43:22 1995 UTC (29 years, 1 month ago) by brezak
Branch: MAIN
Changes since 1.3: +2 -6 lines
Diff to previous 1.3 (colored)

Fixes defect port-i386/860 from John Woods (jfw@jfwhome.funhouse.com) with
supplied patch. Kernel will not link with only ProAudio Spectrum driver
specified.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Mar 13 14:37:12 1995 UTC (29 years, 1 month ago) by brezak
Branch: MAIN
Changes since 1.2: +5 -10 lines
Diff to previous 1.2 (colored)

Fix SB8 playback. From David Gluss <david@pure.com>

Revision 1.2 / (download) - annotate - [select for diffs], Wed Mar 8 18:27:38 1995 UTC (29 years, 1 month ago) by brezak
Branch: MAIN
Changes since 1.1: +4 -6 lines
Diff to previous 1.1 (colored)

Cleanup for SB16 (From Jan Sparud)

Revision 1.1 / (download) - annotate - [select for diffs], Tue Feb 21 02:28:08 1995 UTC (29 years, 1 month ago) by brezak
Branch: MAIN

SoundBlaster driver for SB, SB16 and SBPRO

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>