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


Keyword substitution: kv
Default branch: MAIN


Revision 1.141.14.1: download - view: text, markup, annotated - select for diffs
Sun Aug 1 22:42:24 2021 UTC (3 years, 4 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.141: preferred, colored; next MAIN 1.142: preferred, colored
Changes since revision 1.141: +3 -3 lines
Sync with HEAD.

Revision 1.142: download - view: text, markup, annotated - select for diffs
Sat Jul 24 21:31:37 2021 UTC (3 years, 4 months ago) by andvar
Branches: 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, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, 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
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:12 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.137: preferred, colored; next MAIN 1.138: preferred, colored
Changes since revision 1.137: +353 -276 lines
Sync with HEAD

Revision 1.141: download - view: text, markup, annotated - select for diffs
Sat Jun 8 08:02:38 2019 UTC (5 years, 6 months ago) by isaki
Branches: 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-4-RELEASE, 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
Diff to: previous 1.140: preferred, colored
Changes since revision 1.140: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Wed May 8 13:40:18 2019 UTC (5 years, 7 months ago) by isaki
Branches: MAIN
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +345 -274 lines
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 - view: text, markup, annotated - select for diffs
Sun May 5 01:57:06 2019 UTC (5 years, 7 months ago) by isaki
Branches: isaki-audio2
Diff to: previous 1.139.2.3: preferred, colored; branchpoint 1.139: preferred, colored; next MAIN 1.140: preferred, colored
Changes since revision 1.139.2.3: +4 -4 lines
Fix typos (made in this branch).

Revision 1.139.2.3: download - view: text, markup, annotated - select for diffs
Sat May 4 07:20:10 2019 UTC (5 years, 7 months ago) by isaki
Branches: isaki-audio2
Diff to: previous 1.139.2.2: preferred, colored; branchpoint 1.139: preferred, colored
Changes since revision 1.139.2.2: +3 -3 lines
Move dev/audio_if.h -> dev/audio/audio_if.h

Revision 1.139.2.2: download - view: text, markup, annotated - select for diffs
Fri May 3 03:00:33 2019 UTC (5 years, 7 months ago) by isaki
Branches: isaki-audio2
Diff to: previous 1.139.2.1: preferred, colored; branchpoint 1.139: preferred, colored
Changes since revision 1.139.2.1: +343 -164 lines
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 - view: text, markup, annotated - select for diffs
Sun Apr 21 06:17:02 2019 UTC (5 years, 7 months ago) by isaki
Branches: isaki-audio2
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +6 -114 lines
Not yet fully adapted to audio2 but make it compilable.
- Drop FULLDUPLEX property.  It is done in a tricky way.

Revision 1.139: download - view: text, markup, annotated - select for diffs
Sun Feb 3 03:19:27 2019 UTC (5 years, 10 months ago) by mrg
Branches: MAIN
CVS tags: isaki-audio2-base
Branch point for: isaki-audio2
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +12 -6 lines
- 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 - view: text, markup, annotated - select for diffs
Thu Sep 6 06:55:50 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.137: preferred, colored; next MAIN 1.138: preferred, colored
Changes since revision 1.137: +3 -3 lines
Sync with HEAD

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

Revision 1.138: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:29:31 2018 UTC (6 years, 3 months ago) by riastradh
Branches: MAIN
CVS tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 16 14:16:53 2018 UTC (6 years, 7 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Diff to: previous 1.136: preferred, colored; next MAIN 1.137: preferred, colored
Changes since revision 1.136: +5 -2 lines
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 - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:05 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.135: preferred, colored; next MAIN 1.136: preferred, colored
Changes since revision 1.135: +18 -8 lines
update from HEAD

Revision 1.137: download - view: text, markup, annotated - select for diffs
Sat Nov 4 01:46:56 2017 UTC (7 years, 1 month ago) by nat
Branches: 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
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +5 -2 lines
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 - view: text, markup, annotated - select for diffs
Wed Oct 5 20:55:42 2016 UTC (8 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.135: preferred, colored; next MAIN 1.136: preferred, colored
Changes since revision 1.135: +17 -10 lines
Sync with HEAD

Revision 1.136: download - view: text, markup, annotated - select for diffs
Mon Jul 11 11:31:50 2016 UTC (8 years, 5 months ago) by msaitoh
Branches: 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
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +17 -10 lines
KNF. No functional change.

Revision 1.134.10.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:07:39 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.134: preferred, colored; next MAIN 1.135: preferred, colored
Changes since revision 1.134: +141 -55 lines
sync with head

Revision 1.135: download - view: text, markup, annotated - select for diffs
Wed Nov 23 23:07:32 2011 UTC (13 years ago) by jmcneill
Branches: 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
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +141 -55 lines
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 - view: text, markup, annotated - select for diffs
Sun Nov 20 19:44:50 2011 UTC (13 years ago) by jmcneill
Branches: jmcneill-audiomp3
Diff to: previous 1.134.12.2: preferred, colored; branchpoint 1.134: preferred, colored; next MAIN 1.135: preferred, colored
Changes since revision 1.134.12.2: +7 -3 lines
improve the last change, after discussing it with rmind

Revision 1.134.12.2: download - view: text, markup, annotated - select for diffs
Sun Nov 20 19:26:05 2011 UTC (13 years ago) by jmcneill
Branches: jmcneill-audiomp3
Diff to: previous 1.134.12.1: preferred, colored; branchpoint 1.134: preferred, colored
Changes since revision 1.134.12.1: +3 -4 lines
don't kpause with intr_lock held

Revision 1.134.12.1: download - view: text, markup, annotated - select for diffs
Sat Nov 19 21:49:39 2011 UTC (13 years ago) by jmcneill
Branches: jmcneill-audiomp3
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +138 -55 lines
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 - view: text, markup, annotated - select for diffs
Fri Apr 30 14:43:26 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.133: preferred, colored; next MAIN 1.134: preferred, colored
Changes since revision 1.133: +4 -4 lines
Sync with HEAD.

Revision 1.130.4.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:37 2010 UTC (14 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.130.4.2: preferred, colored; branchpoint 1.130: preferred, colored; next MAIN 1.131: preferred, colored
Changes since revision 1.130.4.2: +4 -4 lines
sync with head

Revision 1.134: download - view: text, markup, annotated - select for diffs
Wed Feb 24 22:37:58 2010 UTC (14 years, 9 months ago) by dyoung
Branches: 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
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +4 -4 lines
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 - view: text, markup, annotated - select for diffs
Fri Jan 8 20:00:03 2010 UTC (14 years, 11 months ago) by dyoung
Branches: MAIN
CVS tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +4 -4 lines
Expand PMF_FN_* macros.

Revision 1.130.4.2: download - view: text, markup, annotated - select for diffs
Wed Sep 16 13:37:49 2009 UTC (15 years, 2 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.130.4.1: preferred, colored; branchpoint 1.130: preferred, colored
Changes since revision 1.130.4.1: +4 -3 lines
sync with head

Revision 1.132: download - view: text, markup, annotated - select for diffs
Tue Sep 1 21:47:30 2009 UTC (15 years, 3 months ago) by jmcneill
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, matt-premerge-20091211, jym-xensuspend-nbase
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +4 -3 lines
aprint-ify

Revision 1.131.12.3: download - view: text, markup, annotated - select for diffs
Thu Dec 11 19:49:30 2008 UTC (16 years ago) by ad
Branches: ad-audiomp2
Diff to: previous 1.131.12.2: preferred, colored; branchpoint 1.131: preferred, colored; next MAIN 1.132: preferred, colored
Changes since revision 1.131.12.2: +7 -8 lines
Checkpoint work in progress.

Revision 1.131.12.2: download - view: text, markup, annotated - select for diffs
Tue Dec 9 13:09:13 2008 UTC (16 years ago) by ad
Branches: ad-audiomp2
Diff to: previous 1.131.12.1: preferred, colored; branchpoint 1.131: preferred, colored
Changes since revision 1.131.12.1: +3 -3 lines
Checkpoint work on MIDI.

Revision 1.131.12.1: download - view: text, markup, annotated - select for diffs
Mon Dec 8 13:06:36 2008 UTC (16 years ago) by ad
Branches: ad-audiomp2
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +133 -49 lines
Convert some more drivers.

Revision 1.127.16.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:32 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.127.16.1: preferred, colored; branchpoint 1.127: preferred, colored; next MAIN 1.128: preferred, colored
Changes since revision 1.127.16.1: +8 -19 lines
Sync with HEAD.

Revision 1.130.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:34:04 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.130: preferred, colored; next MAIN 1.131: preferred, colored
Changes since revision 1.130: +2 -9 lines
sync with head.

Revision 1.130.4.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:24:27 2008 UTC (16 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +2 -9 lines
sync with head.

Revision 1.131: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:52 2008 UTC (16 years, 7 months ago) by martin
Branches: 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
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +2 -9 lines
Remove clause 3 and 4 from TNF licenses

Revision 1.130: download - view: text, markup, annotated - select for diffs
Fri Apr 11 13:00:47 2008 UTC (16 years, 8 months ago) by cegger
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base
Branch point for: yamt-pf42, yamt-nfs-mp
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +10 -14 lines
convert to pmf(9)
ok jmcneill

Revision 1.127.16.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:45 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +15 -13 lines
Sync with HEAD.

Revision 1.129: download - view: text, markup, annotated - select for diffs
Tue Apr 1 20:44:29 2008 UTC (16 years, 8 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +8 -6 lines
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 - view: text, markup, annotated - select for diffs
Mon Mar 24 07:15:29 2008 UTC (16 years, 8 months ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.127: preferred, colored; next MAIN 1.128: preferred, colored
Changes since revision 1.127: +9 -9 lines
sync with head.

Revision 1.126.24.2: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:41 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.126.24.1: preferred, colored; branchpoint 1.126: preferred, colored; next MAIN 1.127: preferred, colored
Changes since revision 1.126.24.1: +9 -9 lines
sync with HEAD

Revision 1.117.4.4: download - view: text, markup, annotated - select for diffs
Mon Mar 17 09:14:51 2008 UTC (16 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.117.4.3: preferred, colored; branchpoint 1.117: preferred, colored; next MAIN 1.118: preferred, colored
Changes since revision 1.117.4.3: +9 -9 lines
sync with head.

Revision 1.128: download - view: text, markup, annotated - select for diffs
Sat Mar 15 21:09:02 2008 UTC (16 years, 9 months ago) by cube
Branches: MAIN
CVS tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +9 -9 lines
Split device_t and softc for sb(4) and all its attachments.

Revision 1.126.24.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:27:58 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +5 -5 lines
sync with HEAD

Revision 1.117.4.3: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:31:55 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.117.4.2: preferred, colored; branchpoint 1.117: preferred, colored
Changes since revision 1.117.4.2: +5 -5 lines
sync with head.

Revision 1.126.22.1: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:45:30 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.126: preferred, colored; next MAIN 1.127: preferred, colored
Changes since revision 1.126: +5 -5 lines
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 - view: text, markup, annotated - select for diffs
Thu Oct 25 22:38:25 2007 UTC (17 years, 1 month ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.126: preferred, colored; next MAIN 1.127: preferred, colored
Changes since revision 1.126: +5 -5 lines
Sync with HEAD.

Revision 1.126.8.1: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:08:18 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.126: preferred, colored; next MAIN 1.127: preferred, colored
Changes since revision 1.126: +5 -5 lines
Sync with head.

Revision 1.127: download - view: text, markup, annotated - select for diffs
Fri Oct 19 12:00:22 2007 UTC (17 years, 1 month ago) by ad
Branches: 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
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +5 -5 lines
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.126.6.1: download - view: text, markup, annotated - select for diffs
Tue Feb 27 14:16:11 2007 UTC (17 years, 9 months ago) by ad
Branches: ad-audiomp
Diff to: previous 1.126: preferred, colored; next MAIN 1.127: preferred, colored
Changes since revision 1.126: +122 -48 lines
Add MP locking for audio drivers.

Revision 1.117.4.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:48:27 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.117.4.1: preferred, colored; branchpoint 1.117: preferred, colored
Changes since revision 1.117.4.1: +28 -31 lines
sync with head.

Revision 1.123.4.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:17:29 2006 UTC (18 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.123.4.1: preferred, colored; branchpoint 1.123: preferred, colored; next MAIN 1.124: preferred, colored
Changes since revision 1.123.4.1: +12 -12 lines
sync with head.

Revision 1.123.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:34:21 2006 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.123: preferred, colored; next MAIN 1.124: preferred, colored
Changes since revision 1.123: +7 -10 lines
Sync with head.

Revision 1.126: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:33:00 2006 UTC (18 years, 1 month ago) by christos
Branches: 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
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +12 -12 lines
__unused removal on arguments; approved by core.

Revision 1.123.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:06:04 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +14 -17 lines
sync with head

Revision 1.125: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:31:17 2006 UTC (18 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +13 -16 lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.124: download - view: text, markup, annotated - select for diffs
Sun Sep 24 03:53:08 2006 UTC (18 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +3 -3 lines
Add "name" parameter to powerhook_establish, to aid debugging. No objections
on tech-kern@

Revision 1.118.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:51:26 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.118: preferred, colored; next MAIN 1.119: preferred, colored
Changes since revision 1.118: +32 -31 lines
sync with head

Revision 1.118.8.4: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:24:10 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.118.8.3: preferred, colored; branchpoint 1.118: preferred, colored; next MAIN 1.119: preferred, colored
Changes since revision 1.118.8.3: +23 -23 lines
sync with head.

Revision 1.123: download - view: text, markup, annotated - select for diffs
Sun Sep 3 05:16:01 2006 UTC (18 years, 3 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +23 -23 lines
add missing initializers

Revision 1.117.4.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:04:21 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +11 -10 lines
sync with head.

Revision 1.119.2.2: download - view: text, markup, annotated - select for diffs
Wed May 24 15:50:26 2006 UTC (18 years, 6 months ago) by tron
Branches: peter-altq
Diff to: previous 1.119.2.1: preferred, colored; branchpoint 1.119: preferred, colored; next MAIN 1.120: preferred, colored
Changes since revision 1.119.2.1: +2 -1 lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.118.8.3: download - view: text, markup, annotated - select for diffs
Wed May 24 10:57:52 2006 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.118.8.2: preferred, colored; branchpoint 1.118: preferred, colored
Changes since revision 1.118.8.2: +4 -3 lines
sync with head.

Revision 1.122: download - view: text, markup, annotated - select for diffs
Sun May 14 21:42:27 2006 UTC (18 years, 7 months ago) by elad
Branches: 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
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +2 -2 lines
integrate kauth.

Revision 1.118.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:39:06 2006 UTC (18 years, 7 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.118: preferred, colored; next MAIN 1.119: preferred, colored
Changes since revision 1.118: +11 -10 lines
Sync with head.

Revision 1.118.10.1: download - view: text, markup, annotated - select for diffs
Wed Apr 19 03:25:09 2006 UTC (18 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.118: preferred, colored; next MAIN 1.119: preferred, colored
Changes since revision 1.118: +11 -10 lines
sync with head.

Revision 1.121: download - view: text, markup, annotated - select for diffs
Thu Apr 13 03:45:44 2006 UTC (18 years, 8 months ago) by christos
Branches: MAIN
CVS tags: elad-kernelauth-base
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +4 -3 lines
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 - view: text, markup, annotated - select for diffs
Sat Apr 1 12:07:05 2006 UTC (18 years, 8 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.118.8.1: preferred, colored; branchpoint 1.118: preferred, colored
Changes since revision 1.118.8.1: +3 -3 lines
sync with head.

Revision 1.119.2.1: download - view: text, markup, annotated - select for diffs
Fri Mar 31 09:45:21 2006 UTC (18 years, 8 months ago) by tron
Branches: peter-altq
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +3 -3 lines
Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.

Revision 1.120: download - view: text, markup, annotated - select for diffs
Wed Mar 29 04:16:50 2006 UTC (18 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +3 -3 lines
Use device_cfdata().

Revision 1.118.8.1: download - view: text, markup, annotated - select for diffs
Mon Mar 13 09:07:25 2006 UTC (18 years, 9 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +8 -8 lines
sync with head.

Revision 1.119: download - view: text, markup, annotated - select for diffs
Wed Mar 8 23:46:25 2006 UTC (18 years, 9 months ago) by lukem
Branches: MAIN
CVS tags: yamt-pdpolicy-base2, peter-altq-base
Branch point for: peter-altq
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +8 -8 lines
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 - view: text, markup, annotated - select for diffs
Sun Dec 11 12:22:03 2005 UTC (19 years ago) by christos
Branches: 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
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +2 -2 lines
merge ktrace-lwp.

Revision 1.115.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:55 2005 UTC (19 years, 7 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.115: preferred, colored; next MAIN 1.116: preferred, colored
Changes since revision 1.115: +7 -7 lines
sync with -current

Revision 1.115.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:34:33 2005 UTC (19 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.115.4.1: preferred, colored; branchpoint 1.115: preferred, colored; next MAIN 1.116: preferred, colored
Changes since revision 1.115.4.1: +6 -6 lines
sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.112.2.6: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:43:15 2005 UTC (19 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.112.2.5: preferred, colored; branchpoint 1.112: preferred, colored; next MAIN 1.113: preferred, colored
Changes since revision 1.112.2.5: +6 -6 lines
Sync with HEAD.

Hi Perry!

Revision 1.117: download - view: text, markup, annotated - select for diffs
Sun Feb 27 00:27:17 2005 UTC (19 years, 9 months ago) by perry
Branches: 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
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +6 -6 lines
nuke trailing whitespace

Revision 1.115.4.1: download - view: text, markup, annotated - select for diffs
Sat Feb 12 18:17:45 2005 UTC (19 years, 10 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +3 -3 lines
sync with head.

Revision 1.112.2.5: download - view: text, markup, annotated - select for diffs
Fri Feb 4 11:46:10 2005 UTC (19 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.112.2.4: preferred, colored; branchpoint 1.112: preferred, colored
Changes since revision 1.112.2.4: +3 -3 lines
Sync with HEAD.

Revision 1.116: download - view: text, markup, annotated - select for diffs
Tue Feb 1 12:07:58 2005 UTC (19 years, 10 months ago) by gson
Branches: MAIN
CVS tags: yamt-km-base2
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +3 -3 lines
Update printf format in debug printf to account for sample_rate now
being an unsigned int.

Revision 1.112.2.4: download - view: text, markup, annotated - select for diffs
Mon Jan 17 19:31:11 2005 UTC (19 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.112.2.3: preferred, colored; branchpoint 1.112: preferred, colored
Changes since revision 1.112.2.3: +308 -315 lines
Sync with HEAD.

Revision 1.115: download - view: text, markup, annotated - select for diffs
Thu Jan 13 15:01:28 2005 UTC (19 years, 11 months ago) by kent
Branches: MAIN
CVS tags: yamt-km-base
Branch point for: yamt-km, kent-audio2
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +253 -281 lines
ansify and KNF

Revision 1.114: download - view: text, markup, annotated - select for diffs
Mon Jan 10 22:01:37 2005 UTC (19 years, 11 months ago) by kent
Branches: MAIN
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +67 -46 lines
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 - view: text, markup, annotated - select for diffs
Sun Jan 9 08:42:45 2005 UTC (19 years, 11 months ago) by kent
Branches: kent-audio1
Diff to: previous 1.113.2.2: preferred, colored; branchpoint 1.113: preferred, colored; next MAIN 1.114: preferred, colored
Changes since revision 1.113.2.2: +5 -3 lines
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 - view: text, markup, annotated - select for diffs
Mon Jan 3 16:40:26 2005 UTC (19 years, 11 months ago) by kent
Branches: kent-audio1
Diff to: previous 1.113.2.1: preferred, colored; branchpoint 1.113: preferred, colored
Changes since revision 1.113.2.1: +4 -4 lines
* remove stream_filter_list_append and stream_filter_list_prepend
* add stream_filter_list_t::{append(), prepend(), set()}

Revision 1.113.2.1: download - view: text, markup, annotated - select for diffs
Mon Jan 3 06:37:58 2005 UTC (19 years, 11 months ago) by kent
Branches: kent-audio1
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +64 -45 lines
* 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 - view: text, markup, annotated - select for diffs
Tue Sep 21 13:29:48 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.112.2.2: preferred, colored; branchpoint 1.112: preferred, colored
Changes since revision 1.112.2.2: +2 -2 lines
Fix the sync with head I botched.

Revision 1.112.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:47:47 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.112.2.1: preferred, colored; branchpoint 1.112: preferred, colored
Changes since revision 1.112.2.1: +0 -0 lines
Sync with HEAD.

Revision 1.112.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:48:00 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +2 -7 lines
Sync with HEAD

Revision 1.113: download - view: text, markup, annotated - select for diffs
Fri Jul 9 02:15:37 2004 UTC (20 years, 5 months ago) by mycroft
Branches: MAIN
CVS tags: kent-audio1-beforemerge, kent-audio1-base
Branch point for: kent-audio1
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +2 -7 lines
Remove junk code.

Revision 1.112: download - view: text, markup, annotated - select for diffs
Fri May 9 23:51:29 2003 UTC (21 years, 7 months ago) by fvdl
Branches: 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
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +32 -21 lines
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 - view: text, markup, annotated - select for diffs
Sat May 3 18:11:28 2003 UTC (21 years, 7 months ago) by wiz
Branches: MAIN
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +7 -7 lines
DMA, not dma nor Dma.

Revision 1.110: download - view: text, markup, annotated - select for diffs
Sat Feb 1 06:23:37 2003 UTC (21 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +5 -4 lines
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 - view: text, markup, annotated - select for diffs
Thu Feb 28 04:13:47 2002 UTC (22 years, 9 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.107.2.2: preferred, colored; branchpoint 1.107: preferred, colored; next MAIN 1.108: preferred, colored
Changes since revision 1.107.2.2: +2 -2 lines
Catch up to -current.

Revision 1.107.2.2: download - view: text, markup, annotated - select for diffs
Fri Jan 11 23:39:12 2002 UTC (22 years, 11 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.107.2.1: preferred, colored; branchpoint 1.107: preferred, colored
Changes since revision 1.107.2.1: +10 -10 lines
More catchup.

Revision 1.107.4.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:55:42 2002 UTC (22 years, 11 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.107: preferred, colored; next MAIN 1.108: preferred, colored
Changes since revision 1.107: +12 -9 lines
Sync kqueue branch with -current.

Revision 1.109: download - view: text, markup, annotated - select for diffs
Sun Jan 6 20:24:12 2002 UTC (22 years, 11 months ago) by augustss
Branches: 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
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +10 -10 lines
Increase max sampling rate on SB16.  It seems almost all models supports it.

Revision 1.107.2.1: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:14:53 2001 UTC (23 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +4 -1 lines
Catch up to -current.

Revision 1.108: download - view: text, markup, annotated - select for diffs
Tue Nov 13 08:01:30 2001 UTC (23 years, 1 month ago) by lukem
Branches: MAIN
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +4 -1 lines
add RCSID

Revision 1.101.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 12 13:30:39 2001 UTC (23 years, 9 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.101.2.1: preferred, colored; next MAIN 1.102: preferred, colored
Changes since revision 1.101.2.1: +22 -1 lines
Sync with HEAD.

Revision 1.107: download - view: text, markup, annotated - select for diffs
Thu Feb 22 15:23:31 2001 UTC (23 years, 9 months ago) by minoura
Branches: 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
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +22 -1 lines
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 - view: text, markup, annotated - select for diffs
Mon Nov 20 11:41:20 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +31 -28 lines
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 - view: text, markup, annotated - select for diffs
Fri Jun 30 16:27:48 2000 UTC (24 years, 5 months ago) by simonb
Branches: 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
Diff to: previous 1.104: preferred, colored; next MAIN 1.105: preferred, colored
Changes since revision 1.104: +3 -3 lines
Pull up mmap paddr_t/off_t changes from trunk.

Revision 1.106: download - view: text, markup, annotated - select for diffs
Wed Jun 28 16:27:56 2000 UTC (24 years, 5 months ago) by mrg
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +1 -2 lines
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>

Revision 1.105: download - view: text, markup, annotated - select for diffs
Mon Jun 26 04:56:21 2000 UTC (24 years, 5 months ago) by simonb
Branches: MAIN
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Mon Feb 7 22:07:31 2000 UTC (24 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-5-base, minoura-xpg4dl-base, minoura-xpg4dl, chs-ubc2-newbase
Branch point for: netbsd-1-5
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +21 -5 lines
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 - view: text, markup, annotated - select for diffs
Thu Jan 20 19:27:03 2000 UTC (24 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +3 -16 lines
Simplify sbdsp_pause().

Revision 1.100.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:34:56 1999 UTC (24 years, 11 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.100: preferred, colored; next MAIN 1.101: preferred, colored
Changes since revision 1.100: +8 -7 lines
Pull up to last week's -current.

Revision 1.101.4.1: download - view: text, markup, annotated - select for diffs
Mon Nov 15 00:40:43 1999 UTC (25 years, 1 month ago) by fvdl
Branches: fvdl-softdep
Diff to: previous 1.101: preferred, colored; next MAIN 1.102: preferred, colored
Changes since revision 1.101: +7 -6 lines
Sync with -current

Revision 1.102: download - view: text, markup, annotated - select for diffs
Mon Nov 1 18:12:20 1999 UTC (25 years, 1 month ago) by augustss
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, fvdl-softdep-base, comdex-fall-1999-base, comdex-fall-1999
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +7 -6 lines
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 - view: text, markup, annotated - select for diffs
Sun Oct 10 00:14:44 1999 UTC (25 years, 2 months ago) by mycroft
Branches: MAIN
Branch point for: thorpej_scsipi, fvdl-softdep
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +2 -2 lines
Fix one more #ifdef, and now it actually compiles again.  *sigh*

Revision 1.100: download - view: text, markup, annotated - select for diffs
Wed Aug 4 10:50:52 1999 UTC (25 years, 4 months ago) by augustss
Branches: MAIN
Branch point for: wrstuden-devbsize
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +3 -2 lines
Use NMPU not NMIDI around call to mpu_intr.

Revision 1.98.4.1: download - view: text, markup, annotated - select for diffs
Mon Aug 2 21:59:29 1999 UTC (25 years, 4 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.98: preferred, colored; next MAIN 1.99: preferred, colored
Changes since revision 1.98: +3 -3 lines
Update from trunk.

Revision 1.99: download - view: text, markup, annotated - select for diffs
Mon Aug 2 17:37:42 1999 UTC (25 years, 4 months ago) by augustss
Branches: MAIN
CVS tags: chs-ubc2-base
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Mon Mar 22 14:38:02 1999 UTC (25 years, 8 months ago) by mycroft
Branches: 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
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +10 -2 lines
Make sure we clean up any DMA maps if the open fails.

Revision 1.97: download - view: text, markup, annotated - select for diffs
Mon Mar 22 07:37:35 1999 UTC (25 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +48 -37 lines
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 - view: text, markup, annotated - select for diffs
Mon Feb 22 02:16:40 1999 UTC (25 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +3 -3 lines
Use DMAMODE_LOOPDEMAND.  Tested on a ViBRA16.

Revision 1.95: download - view: text, markup, annotated - select for diffs
Thu Feb 18 16:09:01 1999 UTC (25 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +60 -25 lines
spaces -> tabs

Revision 1.94: download - view: text, markup, annotated - select for diffs
Thu Feb 18 15:47:29 1999 UTC (25 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +11 -15 lines
Remove some superfluous softc elements.

Revision 1.93: download - view: text, markup, annotated - select for diffs
Thu Feb 18 07:08:35 1999 UTC (25 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +81 -70 lines
Add separate halt_output and halt_input routines.

Revision 1.92: download - view: text, markup, annotated - select for diffs
Wed Feb 17 02:43:14 1999 UTC (25 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +4 -4 lines
Fix slight ommission in previous.

Revision 1.91: download - view: text, markup, annotated - select for diffs
Wed Feb 17 02:37:41 1999 UTC (25 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +8 -7 lines
Pass the direction to the allocm and round_buffersize methods.
Some drivers need this to properly allocate DMAable memory.

Revision 1.90: download - view: text, markup, annotated - select for diffs
Wed Feb 17 01:22:47 1999 UTC (25 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +7 -2 lines
If we have an 8-bit DRQ, always pass that to isa_malloc().

Revision 1.89: download - view: text, markup, annotated - select for diffs
Fri Jan 8 18:10:35 1999 UTC (25 years, 11 months ago) by augustss
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +5 -3 lines
Avoid arithmetic on `void *' since that's not ANSI C.

Revision 1.88: download - view: text, markup, annotated - select for diffs
Mon Aug 17 21:16:15 1998 UTC (26 years, 4 months ago) by augustss
Branches: MAIN
CVS tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +2 -1 lines
* 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 - view: text, markup, annotated - select for diffs
Mon Aug 10 20:02:48 1998 UTC (26 years, 4 months ago) by augustss
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +2 -2 lines
Fix typo.

Revision 1.86: download - view: text, markup, annotated - select for diffs
Mon Aug 10 02:19:18 1998 UTC (26 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +2 -2 lines
Minor change.

Revision 1.85: download - view: text, markup, annotated - select for diffs
Mon Aug 10 02:13:44 1998 UTC (26 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +2 -1 lines
Slow down, Wilbur.

Revision 1.84: download - view: text, markup, annotated - select for diffs
Mon Aug 10 02:12:30 1998 UTC (26 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +4 -3 lines
Fix a typo I introduced in the MIDI code.

Revision 1.83: download - view: text, markup, annotated - select for diffs
Mon Aug 10 01:25:33 1998 UTC (26 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +20 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Aug 10 00:20:39 1998 UTC (26 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +175 -245 lines
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 - view: text, markup, annotated - select for diffs
Fri Aug 7 00:01:00 1998 UTC (26 years, 4 months ago) by augustss
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +150 -96 lines
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 - view: text, markup, annotated - select for diffs
Tue Jun 9 00:05:46 1998 UTC (26 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: eeh-paddr_t-base, eeh-paddr_t
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +12 -12 lines
Adjust for changes to the ISA DMA API.

Revision 1.79: download - view: text, markup, annotated - select for diffs
Wed Mar 4 19:38:28 1998 UTC (26 years, 9 months ago) by augustss
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +2 -2 lines
Use lower case "agc" for consistency.

Revision 1.76.2.2: download - view: text, markup, annotated - select for diffs
Sat Feb 7 01:00:54 1998 UTC (26 years, 10 months ago) by mellon
Branches: 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
Diff to: previous 1.76.2.1: preferred, colored; branchpoint 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76.2.1: +5 -2 lines
Pull up 1.78 (manuel)

Revision 1.78: download - view: text, markup, annotated - select for diffs
Fri Jan 30 11:55:36 1998 UTC (26 years, 10 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +5 -2 lines
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 - view: text, markup, annotated - select for diffs
Tue Dec 9 20:33:21 1997 UTC (27 years ago) by thorpej
Branches: netbsd-1-3
CVS tags: netbsd-1-3-RELEASE
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +2 -2 lines
Sync w/ trunk (mycroft)

Revision 1.77: download - view: text, markup, annotated - select for diffs
Tue Dec 2 13:17:39 1997 UTC (27 years ago) by mycroft
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +2 -2 lines
Set the gain to 1/2 by default; 3/4 is too loud and can damage headphones and
speakers.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Sun Oct 19 07:42:39 1997 UTC (27 years, 2 months ago) by augustss
Branches: MAIN
CVS tags: netbsd-1-3-base, netbsd-1-3-BETA
Branch point for: netbsd-1-3
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +7 -72 lines
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 - view: text, markup, annotated - select for diffs
Thu Oct 16 23:34:57 1997 UTC (27 years, 2 months ago) by augustss
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +8 -8 lines
Make sure the 'input' class is used even for the 1345 mixer.

Revision 1.63.2.5: download - view: text, markup, annotated - select for diffs
Tue Oct 14 10:24:01 1997 UTC (27 years, 2 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.63.2.4: preferred, colored; branchpoint 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63.2.4: +9 -10 lines
Update marc-pcmcia branch from trunk.

Revision 1.74: download - view: text, markup, annotated - select for diffs
Sat Oct 11 12:36:32 1997 UTC (27 years, 2 months ago) by mycroft
Branches: MAIN
CVS tags: marc-pcmcia-base
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +4 -4 lines
AudioElinear -> AudioEslinear

Revision 1.73: download - view: text, markup, annotated - select for diffs
Sat Oct 11 11:29:15 1997 UTC (27 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +5 -5 lines
AudioC[A-Z] -> AudioC[a-z]

Revision 1.72: download - view: text, markup, annotated - select for diffs
Mon Oct 6 20:16:25 1997 UTC (27 years, 2 months ago) by augustss
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +2 -3 lines
Keep filter when setting source on SB Pro.
Close PR 2593.

Revision 1.63.2.4: download - view: text, markup, annotated - select for diffs
Tue Sep 16 03:50:28 1997 UTC (27 years, 3 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.63.2.3: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.2.3: +21 -6 lines
Update marc-pcmcia branch from trunk.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Tue Sep 9 00:57:10 1997 UTC (27 years, 3 months ago) by augustss
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +21 -6 lines
Change the way we determine what interrupt routine to use to make
it work when drq8 == drq16.

Revision 1.63.2.3: download - view: text, markup, annotated - select for diffs
Mon Sep 1 20:26:45 1997 UTC (27 years, 3 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.63.2.2: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.2.2: +306 -239 lines
Update marc-pcmcia branch from trunk.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Fri Aug 29 21:41:36 1997 UTC (27 years, 3 months ago) by augustss
Branches: MAIN
CVS tags: thorpej-signal-base, thorpej-signal
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +306 -239 lines
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 - view: text, markup, annotated - select for diffs
Wed Aug 27 23:31:54 1997 UTC (27 years, 3 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.63.2.1: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.2.1: +317 -138 lines
Update marc-pcmcia branch from trunk.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Sun Aug 24 23:50:40 1997 UTC (27 years, 3 months ago) by augustss
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +178 -7 lines
Add mute and channels swap to the mixer capabilites.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Sun Aug 24 22:31:35 1997 UTC (27 years, 3 months ago) by augustss
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +140 -132 lines
- 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 - view: text, markup, annotated - select for diffs
Sat Aug 23 07:13:30 1997 UTC (27 years, 3 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +91 -32 lines
Update marc-pcmcia branch from trunk.

Revision 1.67: download - view: text, markup, annotated - select for diffs
Tue Aug 19 23:35:44 1997 UTC (27 years, 3 months ago) by augustss
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +6 -4 lines
Avoid munging audio_defaults.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Mon Aug 11 01:08:13 1997 UTC (27 years, 4 months ago) by augustss
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +15 -1 lines
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 - view: text, markup, annotated - select for diffs
Mon Aug 4 09:29:56 1997 UTC (27 years, 4 months ago) by augustss
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +28 -21 lines
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 - view: text, markup, annotated - select for diffs
Thu Jul 31 22:33:36 1997 UTC (27 years, 4 months ago) by augustss
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +53 -17 lines
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 - view: text, markup, annotated - select for diffs
Mon Jul 28 20:56:22 1997 UTC (27 years, 4 months ago) by augustss
Branches: MAIN
CVS tags: marc-pcmcia-bp
Branch point for: marc-pcmcia
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +11 -1 lines
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 - view: text, markup, annotated - select for diffs
Mon Jul 28 01:32:02 1997 UTC (27 years, 4 months ago) by augustss
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +3 -7 lines
audio: Minor cleanup and enable looping DMA for PSS and PAS.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Sun Jul 27 23:52:01 1997 UTC (27 years, 4 months ago) by augustss
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +1 -17 lines
audio: Simplify handling of AUDIO_SETFD and committing of encoding mode.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Sun Jul 27 01:17:07 1997 UTC (27 years, 4 months ago) by augustss
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +137 -44 lines
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 - view: text, markup, annotated - select for diffs
Tue Jul 15 07:46:19 1997 UTC (27 years, 5 months ago) by augustss
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +10 -10 lines
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 - view: text, markup, annotated - select for diffs
Fri Jun 13 19:21:59 1997 UTC (27 years, 6 months ago) by augustss
Branches: MAIN
CVS tags: bouyer-scsipi
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +6 -6 lines
Fix a braino in record source selection and a pasto in detecting
16 bit mode recording.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Fri Jun 6 23:44:02 1997 UTC (27 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +29 -8 lines
Pull thorpej-bus-dma branch into mainline.

Revision 1.45.2.4: download - view: text, markup, annotated - select for diffs
Sun Jun 1 20:51:12 1997 UTC (27 years, 6 months ago) by thorpej
Branches: thorpej-bus-dma
Diff to: previous 1.45.2.3: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.2.3: +53 -21 lines
Update from trunk.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Thu May 29 04:57:02 1997 UTC (27 years, 6 months ago) by jtk
Branches: MAIN
CVS tags: thorpej-bus-dma-base
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +10 -5 lines
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 - view: text, markup, annotated - select for diffs
Wed May 28 00:07:49 1997 UTC (27 years, 6 months ago) by augustss
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +23 -4 lines
Add Alaw encoding emulation.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Tue May 27 23:37:53 1997 UTC (27 years, 6 months ago) by augustss
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +10 -10 lines
A cosmetic name change.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Mon May 26 16:13:59 1997 UTC (27 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +12 -4 lines
Minor corrections to previous.  Notably, make recording work on SBPro again.

Revision 1.45.2.3: download - view: text, markup, annotated - select for diffs
Sat May 24 20:12:38 1997 UTC (27 years, 6 months ago) by thorpej
Branches: thorpej-bus-dma
Diff to: previous 1.45.2.2: preferred, colored
Changes since revision 1.45.2.2: +902 -722 lines
Update from trunk.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Fri May 23 21:20:11 1997 UTC (27 years, 6 months ago) by augustss
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +376 -418 lines
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 - view: text, markup, annotated - select for diffs
Tue May 20 12:51:47 1997 UTC (27 years, 6 months ago) by augustss
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +46 -51 lines
Make the audio default parameters into a globally accessible constant.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Mon May 19 23:14:29 1997 UTC (27 years, 7 months ago) by augustss
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +520 -297 lines
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 - view: text, markup, annotated - select for diffs
Mon May 19 00:14:42 1997 UTC (27 years, 7 months ago) by thorpej
Branches: thorpej-bus-dma
Diff to: previous 1.45.2.1: preferred, colored
Changes since revision 1.45.2.1: +146 -163 lines
Update from trunk.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Sun May 18 00:36:03 1997 UTC (27 years, 7 months ago) by augustss
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +3 -2 lines
Mask the level registers as the documentation suggests.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Sat May 17 23:26:36 1997 UTC (27 years, 7 months ago) by augustss
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +31 -22 lines
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 - view: text, markup, annotated - select for diffs
Fri May 16 07:07:22 1997 UTC (27 years, 7 months ago) by augustss
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +2 -2 lines
Back to pretending to be a SB v1.0 again, the mixer code for higher
versions is buggy.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Tue May 13 19:02:17 1997 UTC (27 years, 7 months ago) by augustss
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +122 -149 lines
Clean up emulation code, SB, and GUS drivers and add some more encoding
emulation to SB.

Revision 1.45.2.1: download - view: text, markup, annotated - select for diffs
Tue May 13 03:35:57 1997 UTC (27 years, 7 months ago) by thorpej
Branches: thorpej-bus-dma
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +25 -8 lines
Adapt to new software interface to the on-board ISA DMA controller.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Fri May 9 22:16:41 1997 UTC (27 years, 7 months ago) by augustss
Branches: MAIN
Branch point for: thorpej-bus-dma
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +56 -37 lines
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 - view: text, markup, annotated - select for diffs
Wed May 7 18:51:47 1997 UTC (27 years, 7 months ago) by augustss
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +15 -6 lines
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 - view: text, markup, annotated - select for diffs
Wed May 7 04:36:00 1997 UTC (27 years, 7 months ago) by mikel
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +10 -11 lines
update sb_printsc() to match current reality.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Wed Apr 30 02:08:12 1997 UTC (27 years, 7 months ago) by augustss
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -1 lines
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 - view: text, markup, annotated - select for diffs
Tue Apr 29 21:01:41 1997 UTC (27 years, 7 months ago) by augustss
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +65 -100 lines
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 - view: text, markup, annotated - select for diffs
Sat Mar 29 05:41:28 1997 UTC (27 years, 8 months ago) by jtk
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +26 -11 lines
partial fix for PR 3385:  correctly identify JAZZ-16 when AUDIO_DEBUG is
enabled

Revision 1.39: download - view: text, markup, annotated - select for diffs
Thu Mar 20 21:42:11 1997 UTC (27 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +64 -41 lines
Use autoinitialize DMA mode on the SB2 and later.  Partly from Torsten Duwe.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Thu Mar 20 20:15:25 1997 UTC (27 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +7 -6 lines
Make sure we round the block size to a multiple of the sample size.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Thu Mar 20 16:04:22 1997 UTC (27 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +1 -11 lines
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 - view: text, markup, annotated - select for diffs
Thu Mar 20 11:04:51 1997 UTC (27 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -1 lines
Turn off a debugging printf().

Revision 1.35: download - view: text, markup, annotated - select for diffs
Thu Mar 20 11:03:13 1997 UTC (27 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +28 -40 lines
Add 16-bit DRQ support on PnP, and enable 16-bit output.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Mar 20 06:48:58 1997 UTC (27 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +16 -37 lines
Combine set_encoding and set_precision into a single set_format interface.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Mar 13 02:20:10 1997 UTC (27 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +1 -22 lines
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 - view: text, markup, annotated - select for diffs
Wed Mar 12 16:10:47 1997 UTC (27 years, 9 months ago) by is
Branches: is-newarp
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +2 -2 lines
Merge in changes from The Trunk

Revision 1.32: download - view: text, markup, annotated - select for diffs
Mon Mar 3 21:40:01 1997 UTC (27 years, 9 months ago) by christos
Branches: MAIN
CVS tags: is-newarp-before-merge
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Sat Jan 18 04:30:38 1997 UTC (27 years, 11 months ago) by thorpej
Branches: thorpej-setroot
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +110 -96 lines
Update from trunk.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Thu Jan 16 21:03:35 1997 UTC (27 years, 11 months ago) by christos
Branches: MAIN
CVS tags: mrg-vm-swap, is-newarp-base
Branch point for: is-newarp
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +110 -96 lines
- convert to bus_space_*
- split attachment code to sb_isa.c

Revision 1.30: download - view: text, markup, annotated - select for diffs
Fri Oct 25 07:25:48 1996 UTC (28 years, 1 month ago) by fvdl
Branches: MAIN
Branch point for: thorpej-setroot
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -1 lines
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 - view: text, markup, annotated - select for diffs
Wed Oct 16 11:32:45 1996 UTC (28 years, 2 months ago) by jtk
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -3 lines
fix PR 2851: make it compile under -Wformat

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Oct 13 01:38:01 1996 UTC (28 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +11 -11 lines
backout kprintf changes

Revision 1.27: download - view: text, markup, annotated - select for diffs
Thu Oct 10 22:05:13 1996 UTC (28 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +11 -11 lines
printf -> kprintf, sprintf -> ksprintf

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun May 12 23:53:38 1996 UTC (28 years, 7 months ago) by mycroft
Branches: MAIN
CVS tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -1 lines
Use intr.h.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon Apr 29 20:03:31 1996 UTC (28 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +21 -9 lines
- prototype fixes

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Mar 16 04:00:11 1996 UTC (28 years, 9 months ago) by jtk
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +144 -13 lines
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 - view: text, markup, annotated - select for diffs
Fri Mar 1 04:08:38 1996 UTC (28 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +190 -94 lines
Add support to the ISA DMA framework for auto-initialize mode.
Add experimental SB16 code, disabled for now.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue Feb 20 11:48:50 1996 UTC (28 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +15 -14 lines
Do not allow the gain to be changed on an original SoundBlaster.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue Feb 20 11:15:15 1996 UTC (28 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -2 lines
Fix mono volume adjustment.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Feb 20 04:19:24 1996 UTC (28 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +7 -7 lines
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 - view: text, markup, annotated - select for diffs
Sun Feb 18 22:19:44 1996 UTC (28 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -1 lines
Declare a variable...

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Feb 18 22:17:37 1996 UTC (28 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +343 -342 lines
Clean this up a bit.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Feb 18 16:36:44 1996 UTC (28 years, 10 months ago) by jtk
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +130 -44 lines
Add bass/treble input filter adjustment controls to SB (Pro) driver

Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri Feb 16 10:10:21 1996 UTC (28 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +197 -244 lines
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 - view: text, markup, annotated - select for diffs
Fri Feb 16 08:07:40 1996 UTC (28 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +83 -103 lines
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 - view: text, markup, annotated - select for diffs
Fri Nov 10 05:01:06 1995 UTC (29 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +10 -11 lines
Convert IRQ, DRQ, and port numbers to int.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Jul 19 19:58:54 1995 UTC (29 years, 5 months ago) by brezak
Branches: MAIN
CVS tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +5 -119 lines
GUS audio driver from John Kohl.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Jul 7 02:19:55 1995 UTC (29 years, 5 months ago) by brezak
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +9 -28 lines
Cleanup

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon May 8 22:02:19 1995 UTC (29 years, 7 months ago) by brezak
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +1 -2 lines
Remove  strings

Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon May 8 17:28:51 1995 UTC (29 years, 7 months ago) by brezak
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +5 -5 lines
Fix holes in device index space. PR#1028

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Apr 26 21:46:10 1995 UTC (29 years, 7 months ago) by brezak
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3 lines
Fix nits from Mike Long <mike.long@analog.com> PR#996

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Apr 17 23:48:06 1995 UTC (29 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +15 -11 lines
Fix obvious bug in reading from SB_MIC_PORT.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Apr 17 15:48:34 1995 UTC (29 years, 8 months ago) by cgd
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +5 -5 lines
update for new locations

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Apr 17 12:07:41 1995 UTC (29 years, 8 months ago) by cgd
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +7 -6 lines
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 - view: text, markup, annotated - select for diffs
Sat Mar 25 00:01:00 1995 UTC (29 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +62 -62 lines
Use void* rather than caddr_t in many places.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Mar 14 18:43:22 1995 UTC (29 years, 9 months ago) by brezak
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -6 lines
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 - view: text, markup, annotated - select for diffs
Mon Mar 13 14:37:12 1995 UTC (29 years, 9 months ago) by brezak
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +5 -10 lines
Fix SB8 playback. From David Gluss <david@pure.com>

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Mar 8 18:27:38 1995 UTC (29 years, 9 months ago) by brezak
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -6 lines
Cleanup for SB16 (From Jan Sparud)

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Feb 21 02:28:08 1995 UTC (29 years, 9 months ago) by brezak
Branches: MAIN
SoundBlaster driver for SB, SB16 and SBPRO

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>