The NetBSD Project

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

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.91: download - view: text, markup, annotated - select for diffs
Fri Feb 9 22:08:35 2024 UTC (9 months, 3 weeks ago) by andvar
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +3 -3 lines
fix spelling mistakes, mainly in comments and log messages.

Revision 1.90: download - view: text, markup, annotated - select for diffs
Sat Dec 24 15:23:02 2022 UTC (23 months, 1 week ago) by andvar
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +3 -3 lines
s/reqest/request/, s/requst/request/ and s/reuqest/request/ in comments.

Revision 1.89: download - view: text, markup, annotated - select for diffs
Sat Aug 7 16:19:12 2021 UTC (3 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, 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
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +4 -6 lines
Merge thorpej-cfargs2.

Revision 1.88.6.1: download - view: text, markup, annotated - select for diffs
Wed Aug 4 20:27:35 2021 UTC (3 years, 4 months ago) by thorpej
Branches: thorpej-cfargs2
Diff to: previous 1.88: preferred, colored; next MAIN 1.89: preferred, colored
Changes since revision 1.88: +4 -6 lines
Adapt to CFARGS().

Revision 1.87.2.1: download - view: text, markup, annotated - select for diffs
Thu May 13 00:47:30 2021 UTC (3 years, 6 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.87: preferred, colored; next MAIN 1.88: preferred, colored
Changes since revision 1.87: +8 -4 lines
Sync with HEAD.

Revision 1.88: download - view: text, markup, annotated - select for diffs
Mon Apr 26 19:10:38 2021 UTC (3 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-cfargs2
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +8 -4 lines
- The "ess" device does not need a "midibus" interface attribute; it
  attaches an "opl" instance which itself attaches the "midi".
- Be explicit about using the "ess" interface attribute when attaching
  the "joy" and "opl" instances.

Revision 1.87: download - view: text, markup, annotated - select for diffs
Sat Apr 24 23:36:55 2021 UTC (3 years, 7 months ago) by thorpej
Branches: MAIN
Branch point for: thorpej-i2c-spi-conf
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +4 -4 lines
Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
  actually needed.
- Don't be explicit about what interface attribute is attaching if
  the device only has one.  (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
  situations, making is visibly easier to see when indirect config is
  in play, and allowing for future change in semantics.  (As of now,
  this is just a wrapper around config_match(), but that is an
  implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance.  This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).

Revision 1.86.12.1: download - view: text, markup, annotated - select for diffs
Sun Mar 21 21:09:12 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86: +4 -4 lines
Give config_found() the same variadic arguments treatment as
config_search().  This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls.  Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.

Revision 1.83.18.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:12 2019 UTC (5 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.83: preferred, colored; next MAIN 1.84: preferred, colored
Changes since revision 1.83: +66 -216 lines
Sync with HEAD

Revision 1.86: 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, 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, 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-cfargs
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +5 -4 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.85: 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.84: preferred, colored
Changes since revision 1.84: +33 -170 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.84.2.4: 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.84.2.3: preferred, colored; branchpoint 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84.2.3: +3 -3 lines
Move dev/audio_if.h -> dev/audio/audio_if.h

Revision 1.84.2.3: download - view: text, markup, annotated - select for diffs
Sat May 4 04:13:24 2019 UTC (5 years, 7 months ago) by isaki
Branches: isaki-audio2
Diff to: previous 1.84.2.2: preferred, colored; branchpoint 1.84: preferred, colored
Changes since revision 1.84.2.2: +2 -3 lines
Remove obsoleted methods in audio_hw_if.
- drain: is handled in audio upper layer now.
- mappage: is handled in audio upper layer now.
- setfd: no one uses and it's meaningless now.

Revision 1.84.2.2: download - view: text, markup, annotated - select for diffs
Thu Apr 25 14:00:20 2019 UTC (5 years, 7 months ago) by isaki
Branches: isaki-audio2
Diff to: previous 1.84.2.1: preferred, colored; branchpoint 1.84: preferred, colored
Changes since revision 1.84.2.1: +32 -171 lines
Adapt to audio2.
- Drop INDEPENDENT property.  Both play and rec share the sample rate.

Revision 1.84.2.1: download - view: text, markup, annotated - select for diffs
Sun Apr 21 05:11:22 2019 UTC (5 years, 7 months ago) by isaki
Branches: isaki-audio2
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +21 -18 lines
Use C99 style struct initializer to audio_format.

Revision 1.84: download - view: text, markup, annotated - select for diffs
Sat Mar 16 12:09:58 2019 UTC (5 years, 8 months ago) by isaki
Branches: MAIN
CVS tags: isaki-audio2-base
Branch point for: isaki-audio2
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +44 -58 lines
Use C99 style struct initializer to audio_hw_if.

Revision 1.80.8.1: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:04 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.80: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80: +132 -16 lines
update from HEAD

Revision 1.82.2.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.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82: +7 -5 lines
Sync with HEAD

Revision 1.83: download - view: text, markup, annotated - select for diffs
Thu Jul 14 10:19:06 2016 UTC (8 years, 4 months ago) by msaitoh
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, netbsd-8-base, 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, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncqfixes-base, jdolecek-ncqfixes, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +7 -5 lines
- Use aprint*() more in xxx_attach().
- Add missing aprint_naive("\n").
- Remove extra spaces and tabs.
- KNF.

Revision 1.80.24.1: download - view: text, markup, annotated - select for diffs
Sat Aug 23 03:46:55 2014 UTC (10 years, 3 months ago) by riz
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Diff to: previous 1.80: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80: +127 -13 lines
Pull up following revision(s) (requested by nakayama in ticket #50):
	sys/dev/isa/ess.c: revision 1.81
	sys/dev/isa/ess.c: revision 1.82
	sys/dev/isa/essvar.h: revision 1.27
	sys/dev/isa/essreg.h: revision 1.17
Remove redundant colon.
Add support for Spatializer, 3D audio effects embedded in ES1869
and ES1879 to ess(4).
Tested on my old laptop, mobio NX.

Revision 1.82: download - view: text, markup, annotated - select for diffs
Sat Aug 16 13:01:33 2014 UTC (10 years, 3 months ago) by nakayama
Branches: MAIN
CVS tags: 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
Branch point for: nick-nhusb
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +126 -12 lines
Add support for Spatializer, 3D audio effects embedded in ES1869
and ES1879 to ess(4).

Tested on my old laptop, mobio NX.

Revision 1.81: download - view: text, markup, annotated - select for diffs
Fri Aug 15 19:55:23 2014 UTC (10 years, 3 months ago) by nakayama
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +3 -3 lines
Remove redundant colon.

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

Revision 1.80: download - view: text, markup, annotated - select for diffs
Thu Nov 24 03:35:57 2011 UTC (13 years ago) by mrg
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, netbsd-7-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, agc-symver-base, agc-symver
Branch point for: tls-maxphys, netbsd-7
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +5 -5 lines
put back IPL_AUDIO and splaudio(), at the request of rmind.  they are
aliases and now we can easily revert audio to IPL_VM if necessary,
without having to revert the whole branch.

Revision 1.79: download - view: text, markup, annotated - select for diffs
Wed Nov 23 23:07:32 2011 UTC (13 years ago) by jmcneill
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +90 -40 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.78.10.3: download - view: text, markup, annotated - select for diffs
Tue Nov 22 22:47:06 2011 UTC (13 years ago) by jmcneill
Branches: jmcneill-audiomp3
Diff to: previous 1.78.10.2: preferred, colored; branchpoint 1.78: preferred, colored; next MAIN 1.79: preferred, colored
Changes since revision 1.78.10.2: +2 -4 lines
get rid of unused 'powerstate' callback in audio_hw_if

Revision 1.78.10.2: download - view: text, markup, annotated - select for diffs
Sun Nov 20 08:40:52 2011 UTC (13 years ago) by mrg
Branches: jmcneill-audiomp3
Diff to: previous 1.78.10.1: preferred, colored; branchpoint 1.78: preferred, colored
Changes since revision 1.78.10.1: +4 -2 lines
make sure to return from the end of essattach() before destroying
the callouts and mutexes.  with an uncommited audio.c change, i can
now play audio on my shark with the branch.

Revision 1.78.10.1: download - view: text, markup, annotated - select for diffs
Sat Nov 19 21:49:37 2011 UTC (13 years ago) by jmcneill
Branches: jmcneill-audiomp3
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +88 -38 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.77.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:46:14 2010 UTC (14 years, 3 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77: +14 -14 lines
Sync with HEAD.

Revision 1.76.4.2: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:53:35 2010 UTC (14 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.76.4.1: preferred, colored; branchpoint 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76.4.1: +14 -14 lines
sync with head.

Revision 1.77.4.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:17:28 2010 UTC (14 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77: +14 -14 lines
sync with head

Revision 1.78: download - view: text, markup, annotated - select for diffs
Sat May 22 16:35:00 2010 UTC (14 years, 6 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, rmind-uvmplock-nbase, rmind-uvmplock-base, 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.77: preferred, colored
Changes since revision 1.77: +14 -14 lines
Split device_t/softc. Based on patch from cegger@.
ess_pnpbios.c and ess_ofisa.c fixes by me.

Tested on ess_isapnp.c, and no crash with ess_ofisa.c on shark.

Revision 1.76.4.1: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:37 2010 UTC (14 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +10 -9 lines
sync with head

Revision 1.77: download - view: text, markup, annotated - select for diffs
Sat Jan 23 17:22:04 2010 UTC (14 years, 10 months ago) by cegger
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, uebayasi-xip-base1, uebayasi-xip-base
Branch point for: uebayasi-xip, rmind-uvmplock
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +10 -9 lines
essattach: printf -> aprint_*

Revision 1.76.16.2: download - view: text, markup, annotated - select for diffs
Fri Dec 12 23:06:57 2008 UTC (15 years, 11 months ago) by ad
Branches: ad-audiomp2
Diff to: previous 1.76.16.1: preferred, colored; branchpoint 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76.16.1: +39 -28 lines
Checkpoint work in progress.

Revision 1.76.16.1: download - view: text, markup, annotated - select for diffs
Thu Dec 11 19:49:30 2008 UTC (15 years, 11 months ago) by ad
Branches: ad-audiomp2
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +59 -20 lines
Checkpoint work in progress.

Revision 1.75.16.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:30 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.75: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75: +14 -14 lines
Sync with HEAD.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Tue Apr 8 20:08:49 2008 UTC (16 years, 8 months ago) by cegger
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base, 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-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, jymxensuspend-base, jym-xensuspend-nbase, 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: yamt-nfs-mp, ad-audiomp2
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +14 -14 lines
use aprint_*_dev and device_xname

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

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

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

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

Revision 1.75: download - view: text, markup, annotated - select for diffs
Fri Oct 19 12:00:16 2007 UTC (17 years, 1 month ago) by ad
Branches: MAIN
CVS tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, 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-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, 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, ad-socklock-base1
Branch point for: mjf-devfs2
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +5 -5 lines
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.68.2.2: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:35:33 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.68.2.1: preferred, colored; branchpoint 1.68: preferred, colored
Changes since revision 1.68.2.1: +4 -4 lines
sync with head.

Revision 1.73.10.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:06:26 2007 UTC (17 years, 5 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73: +4 -4 lines
Sync with head.

Revision 1.74: download - view: text, markup, annotated - select for diffs
Mon Jul 9 21:00:49 2007 UTC (17 years, 5 months ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: matt-armv6, jmcneill-pm, bouyer-xenamd64
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +4 -4 lines
Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements

Revision 1.73.8.1: download - view: text, markup, annotated - select for diffs
Sun Jul 1 21:48:00 2007 UTC (17 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +4 -4 lines
Adapt to callout API change.

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

Revision 1.68.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:48:26 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +12 -6 lines
sync with head.

Revision 1.70.4.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:17:26 2006 UTC (18 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.70.4.1: preferred, colored; branchpoint 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70.4.1: +13 -13 lines
sync with head.

Revision 1.70.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.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70: +10 -6 lines
Sync with head.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:33:00 2006 UTC (18 years ago) by christos
Branches: MAIN
CVS tags: 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, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, post-newlock2-merge, 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, matt-nb4-arm-base, matt-nb4-arm, ad-audiomp-base
Branch point for: vmlocking, mjf-ufs-trans, ad-audiomp
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +13 -13 lines
__unused removal on arguments; approved by core.

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

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

Revision 1.71: download - view: text, markup, annotated - select for diffs
Wed Oct 4 15:48:47 2006 UTC (18 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +8 -5 lines
Fix empty if

Revision 1.69.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.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69: +4 -2 lines
sync with head

Revision 1.69.8.1: 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.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69: +4 -2 lines
sync with head.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Wed Aug 30 01:24:40 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.69: preferred, colored
Changes since revision 1.69: +4 -2 lines
fix incomplete initializer

Revision 1.69: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:22:02 2005 UTC (18 years, 11 months ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, peter-altq-base, peter-altq, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-pdpolicy, rpaulo-netinet-merge-pcb
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +2 -2 lines
merge ktrace-lwp.

Revision 1.58.2.8: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:05:37 2005 UTC (19 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.58.2.7: preferred, colored; branchpoint 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58.2.7: +3 -3 lines
Sync with HEAD. Here we go again...

Revision 1.68: download - view: text, markup, annotated - select for diffs
Mon May 30 04:32:38 2005 UTC (19 years, 6 months ago) by christos
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, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +3 -3 lines
- add const
- avoid variable shadowing.

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

Revision 1.66.4.1: 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.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66: +6 -6 lines
sync with head.  xen and whitespace.  xen part is not finished.

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

Hi Perry!

Revision 1.67: 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-km-base4, yamt-km-base3, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +6 -6 lines
nuke trailing whitespace

Revision 1.58.2.6: 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.58.2.5: preferred, colored; branchpoint 1.58: preferred, colored
Changes since revision 1.58.2.5: +415 -494 lines
Sync with HEAD.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Thu Jan 13 15:01:27 2005 UTC (19 years, 10 months ago) by kent
Branches: MAIN
CVS tags: yamt-km-base2, yamt-km-base
Branch point for: yamt-km, kent-audio2
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +376 -435 lines
ansify and KNF

Revision 1.65: download - view: text, markup, annotated - select for diffs
Mon Jan 10 22:01:37 2005 UTC (19 years, 10 months ago) by kent
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +57 -77 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.64.2.2: 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.64.2.1: preferred, colored; branchpoint 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64.2.1: +6 -4 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.64.2.1: download - view: text, markup, annotated - select for diffs
Mon Jan 3 06:37:57 2005 UTC (19 years, 11 months ago) by kent
Branches: kent-audio1
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +53 -75 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.58.2.5: download - view: text, markup, annotated - select for diffs
Tue Nov 2 07:51:55 2004 UTC (20 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.58.2.4: preferred, colored; branchpoint 1.58: preferred, colored
Changes since revision 1.58.2.4: +4 -4 lines
Sync with HEAD.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Fri Oct 29 12:57:17 2004 UTC (20 years, 1 month ago) by yamt
Branches: MAIN
CVS tags: kent-audio1-beforemerge, kent-audio1-base
Branch point for: kent-audio1
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +4 -4 lines
constify audio_hw_if, midi_hw_if, and radio_hw_if.

Revision 1.58.2.4: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:29:43 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.58.2.3: preferred, colored; branchpoint 1.58: preferred, colored
Changes since revision 1.58.2.3: +2 -2 lines
Fix the sync with head I botched.

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

Revision 1.58.2.2: download - view: text, markup, annotated - select for diffs
Thu Aug 12 11:41:43 2004 UTC (20 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.58.2.1: preferred, colored; branchpoint 1.58: preferred, colored
Changes since revision 1.58.2.1: +105 -73 lines
Sync with HEAD.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Sat Aug 7 19:32:56 2004 UTC (20 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +5 -4 lines
Attempt to support the 688 as well.  It looks vaguely right from inspecting
esl.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Fri Aug 6 15:11:48 2004 UTC (20 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +84 -69 lines
Add code to recognize the 1688, per PR 11910.  Also reduce some control logic.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Wed Aug 4 18:53:55 2004 UTC (20 years, 4 months ago) by drochner
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +20 -4 lines
This is definitely what the world has been waiting for:-)
Allow to enable the game port on an ES1888, in case the firmware didn't
this. (Otherwise we still rely on the firmware having mapped the sound
related registers.)
Limit this to the "isa" attachment for now because this is the only
one I'm able to test.
Attach the "joy" device directly at "ess" to make sure the port is
enabled before the "joy" probe/attach.
This makes the joystick port usable on a "PWS" alpha (Miata).

Revision 1.58.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:47:58 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +14 -52 lines
Sync with HEAD

Revision 1.60: download - view: text, markup, annotated - select for diffs
Fri Jul 9 02:14:40 2004 UTC (20 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +10 -50 lines
Don't halt in the close routine.
Don't reset in the open routine -- this causes our mute settings to get
toasted.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Thu Apr 22 00:17:11 2004 UTC (20 years, 7 months ago) by itojun
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +6 -4 lines
sprintf -> snprintf

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

Revision 1.56: 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.55: preferred, colored
Changes since revision 1.55: +7 -6 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.53.4.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:55:22 2002 UTC (22 years, 11 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +6 -1 lines
Sync kqueue branch with -current.

Revision 1.53.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:14:45 2001 UTC (23 years ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.53.2.1: preferred, colored; branchpoint 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53.2.1: +4 -1 lines
Catch up to -current.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Tue Nov 13 08:01:13 2001 UTC (23 years ago) by lukem
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.54: preferred, colored
Changes since revision 1.54: +4 -1 lines
add RCSID

Revision 1.53.6.1: download - view: text, markup, annotated - select for diffs
Thu Oct 11 00:02:06 2001 UTC (23 years, 2 months ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +3 -1 lines
Catch up with -current. Fix some bogons in the sparc64 kbd/ms
attach code. cd18xx conversion provided by mrg.

Revision 1.53.2.1: download - view: text, markup, annotated - select for diffs
Mon Oct 8 20:11:05 2001 UTC (23 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +3 -1 lines
Catch up to -current.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Wed Oct 3 00:04:50 2001 UTC (23 years, 2 months ago) by augustss
Branches: MAIN
CVS tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +3 -1 lines
Add a new optional method, dev_ioctl, to the audio hardware driver interface.
It is called when an unrecognized ioctl() is performed on a device,
thus allowing ioctl()s that frob the hardware driver (like loading
microcode).

Revision 1.51.4.2: download - view: text, markup, annotated - select for diffs
Thu Jan 25 20:55:29 2001 UTC (23 years, 10 months ago) by jhawk
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Diff to: previous 1.51.4.1: preferred, colored; branchpoint 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51.4.1: +1 -6 lines
Pull up revision 1.53 (requested by nathanw):
  Support certain ISAPnP ESS 1868 and 1869 cards. Per PR port-i386/11630.

Revision 1.46.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 18 09:23:22 2001 UTC (23 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.46.2.1: preferred, colored; branchpoint 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46.2.1: +1 -6 lines
Sync with head (for UBC+NFS fixes, mostly).

Revision 1.53: download - view: text, markup, annotated - select for diffs
Sat Jan 6 22:50:02 2001 UTC (23 years, 11 months ago) by nathanw
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-devvp-base2, thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-devvp, nathanw_sa, kqueue
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +1 -6 lines
Do ess_config_addr() in the ofisa front end, rather than in the match
routine. Prevents problems with non-SCR ess chips, as described in
PR 11630.

Revision 1.46.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 11:41:13 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +45 -24 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.51.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-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +4 -4 lines
Pull up mmap paddr_t/off_t changes from trunk.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Mon Jun 26 04:56:20 2000 UTC (24 years, 5 months ago) by simonb
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +4 -4 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.51: download - view: text, markup, annotated - select for diffs
Thu Mar 23 07:01:34 2000 UTC (24 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-5-base, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +15 -8 lines
New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
  resource allocation.
- Insertion and removal of callouts is constant time, important as
  this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.

Revision 1.50: 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: chs-ubc2-newbase
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +16 -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.44.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 20 20:45:01 2000 UTC (24 years, 10 months ago) by he
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003, netbsd-1-4-PATCH002
Diff to: previous 1.44.2.1: preferred, colored; branchpoint 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44.2.1: +5 -7 lines
Pull up revision 1.49 (requested by mycroft):
  Make CD passthrough work when the audio playback/record device
  is closed.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Tue Jan 18 22:11:05 2000 UTC (24 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +5 -7 lines
Mute the DAC -- not the master volume -- on close, so that CD passthrough is
unaffected.

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

Revision 1.44.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 30 13:33:53 1999 UTC (25 years ago) by itojun
Branches: kame
CVS tags: kame_141_19991130
Diff to: previous 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +2 -2 lines
bring in latest KAME (as of 19991130, KAME/NetBSD141) into kame branch
just for reference purposes.
This commit includes 1.4 -> 1.4.1 sync for kame branch.

The branch does not compile at all (due to the lack of ALTQ and some other
source code).  Please do not try to modify the branch, this is just for
referenre purposes.

synchronization to latest KAME will take place on HEAD branch soon.

Revision 1.46.4.1: download - view: text, markup, annotated - select for diffs
Mon Nov 15 00:40:42 1999 UTC (25 years ago) by fvdl
Branches: fvdl-softdep
Diff to: previous 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46: +9 -4 lines
Sync with -current

Revision 1.48: download - view: text, markup, annotated - select for diffs
Tue Nov 2 17:05:05 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.47: preferred, colored
Changes since revision 1.47: +7 -2 lines
Set mixer controls after a reset.

Revision 1.47: 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
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -3 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.44.2.1: download - view: text, markup, annotated - select for diffs
Tue Jun 22 14:20:24 1999 UTC (25 years, 5 months ago) by perry
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH001
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +2 -2 lines
pullup 1.44->1.45 (nathanw)

Revision 1.44.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 21 01:18:00 1999 UTC (25 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +78 -27 lines
Sync w/ -current.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Fri Jun 18 20:25:23 1999 UTC (25 years, 5 months ago) by augustss
Branches: MAIN
CVS tags: chs-ubc2-base
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +77 -26 lines
Add support for ES18[67][89].  From PR #7427 by AW9K-NNK@asahi-net.or.jp,
Nonaka Kimihiro.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Sun May 30 00:22:59 1999 UTC (25 years, 6 months ago) by nathanw
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +2 -2 lines
Fix bug uncovered by audio.c fix: Since the monitor control on the ESS
is a muting control, not a level control, change the name to reflect that.

XXX The fact that the audio code depends on the string names of the
XXX mixer devices is bogus.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Fri Mar 19 12:40:21 1999 UTC (25 years, 8 months ago) by mycroft
Branches: MAIN
CVS tags: netbsd-1-4-base, netbsd-1-4-RELEASE, kame_14_19990705, kame_14_19990628
Branch point for: netbsd-1-4, kame, chs-ubc2
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +2 -2 lines
Allow DRQ[A-C] to be used on the 1888 as well.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Thu Mar 18 06:04:21 1999 UTC (25 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +26 -13 lines
dmapos should start at 0, in theory.
Also experimentally force polling mode.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Thu Mar 18 04:31:36 1999 UTC (25 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +151 -42 lines
Add support for polling.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Thu Mar 18 02:44:27 1999 UTC (25 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +16 -9 lines
Confirm that there was an interrupt before handling it.  Allows IRQs to be
shared with other devices.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Wed Mar 17 02:39:59 1999 UTC (25 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +8 -9 lines
Fix a couple of other places we should avoid the Audio2 DRQ on the 1788.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Wed Mar 17 01:06:17 1999 UTC (25 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +90 -166 lines
More redux:
* Use a single routine to halt both input and output on Audio1.
* Reduce the number of register reads/writes used to set up a channel.
* A few other minor things.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Tue Mar 16 14:17:00 1999 UTC (25 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +2 -6 lines
Audio1 does not support 16-bit DMA.  Eliminate some code that tried to handle
that case.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue Mar 16 13:37:23 1999 UTC (25 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -2 lines
Fix old typo.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Mar 16 13:32:25 1999 UTC (25 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +68 -61 lines
A little more cleanup.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue Mar 16 13:24:27 1999 UTC (25 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +5 -4 lines
Minor fix to some debugging output.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Tue Mar 16 13:06:35 1999 UTC (25 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +525 -646 lines
Clean up the previous:
* Separate the interrupt handlers based on which channel (audio1/audio2)
  rather than which direction (input/output).  Only register the handler for
  audio1 on the 1788.
* Since the input sides are actually the same, GC the duplicated code.
* Re-KNF in a bunch of places.
* Make this work again on the 1887 in the Shark.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Tue Mar 2 20:36:50 1999 UTC (25 years, 9 months ago) by nathanw
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +676 -273 lines
Add support for the 1788 AudioDrive chip.
Some minor cleanup; refer to more registers by macros rather
than raw hex constants.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Mon Feb 22 01:57:33 1999 UTC (25 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -3 lines
Use DMAMODE_LOOPDEMAND.
Fixes the audible glitches (due to FIFO underruns) when receiving network
packets on the Shark.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Feb 20 23:28:37 1999 UTC (25 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +18 -14 lines
Fix the halt_input and halt_output routines to actually disable the channel,
not just the DMA FIFO.  Fixes problems with sample misalignment.

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

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

Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri Jan 8 19:22:35 1999 UTC (25 years, 11 months ago) by augustss
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +5 -3 lines
Fix more `void *' arithmetic.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Nov 25 13:39:37 1998 UTC (26 years ago) by mycroft
Branches: MAIN
CVS tags: kenh-if-detach-base, kenh-if-detach
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +38 -53 lines
Minor format change.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Aug 26 13:08:44 1998 UTC (26 years, 3 months ago) by augustss
Branches: MAIN
CVS tags: chs-ubc-base, chs-ubc
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -2 lines
Less debug printing.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Aug 26 12:10:22 1998 UTC (26 years, 3 months ago) by augustss
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +4 -3 lines
Make the OPL driver turn on the sound on sound cards that require it.
That makes it much more likely that we get any sound.  DUH!

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Aug 22 22:55:09 1998 UTC (26 years, 3 months ago) by augustss
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +7 -1 lines
Let opl attach to ess.
WARNING: it doesn't work yet.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Aug 17 21:16:13 1998 UTC (26 years, 3 months ago) by augustss
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2 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.22: download - view: text, markup, annotated - select for diffs
Wed Aug 12 19:13:14 1998 UTC (26 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +5 -5 lines
The mic preamp is really a property of the input stage, and affects both
pass-through and recording.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Aug 12 03:18:34 1998 UTC (26 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -2 lines
enhanced -> preamp

Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Aug 11 12:16:22 1998 UTC (26 years, 4 months ago) by matthias
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -3 lines
ess_audio_channel:active is now used even when DIAGNOSTICS is not defined.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Aug 10 15:32:18 1998 UTC (26 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +91 -141 lines
Use the new trigger interface.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Aug 9 06:52:57 1998 UTC (26 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +21 -16 lines
Use 4- and 8-byte DMA transfers.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Aug 9 06:38:30 1998 UTC (26 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +104 -212 lines
Don't actually touch the hardware in set_params; defer that until we actually
start a transfer.  Instead, just check that the parameters are valid.
Also, use 16-bit output for u-law and a-law.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Aug 9 04:59:55 1998 UTC (26 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +4 -4 lines
Oops; fix typo.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Aug 9 04:58:08 1998 UTC (26 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +8 -7 lines
Clarify with a specific reference to the manual page in question.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Aug 9 04:40:55 1998 UTC (26 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +5 -4 lines
Make the previous slightly more robust, and set AUDIO_PROP_INDEPENDENT.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Aug 9 04:14:47 1998 UTC (26 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +18 -3 lines
Make sure the sample rate is the same on both channels, tracking the change
from one channel to the other if only one is active.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Aug 9 03:48:42 1998 UTC (26 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
The manual says to use the other crystal for 22050Hz.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Aug 9 02:54:50 1998 UTC (26 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +15 -21 lines
Set the FIFO control bits correctly so that stereo recording works.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Aug 9 02:05:52 1998 UTC (26 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +46 -52 lines
Use auto-initialize DMA for recording.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Aug 8 21:37:00 1998 UTC (26 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
Sleeping forever kinda sucks.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Aug 8 20:55:36 1998 UTC (26 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +7 -7 lines
Set the correct modes for the record channel.

Revision 1.1.2.1: download - view: text, markup, annotated - select for diffs
Sat Aug 8 03:06:47 1998 UTC (26 years, 4 months ago) by eeh
Branches: eeh-paddr_t
Diff to: previous 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1: +374 -415 lines
Revert cdevsw mmap routines to return int.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Aug 7 00:51:06 1998 UTC (26 years, 4 months ago) by matt
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +4 -4 lines
Make the irq checking logic somewhat less bogus.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Aug 4 13:14:42 1998 UTC (26 years, 4 months ago) by augustss
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +64 -50 lines
Use looping DMA for play channel.
More cleanup.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Jul 31 23:54:09 1998 UTC (26 years, 4 months ago) by augustss
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3 lines
Make it compile without DIAGNOSTIC

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Jul 31 15:17:17 1998 UTC (26 years, 4 months ago) by augustss
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +299 -282 lines
Major cleanup of the ESS driver.  It now sorta works.  More to come.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Jul 30 22:17:34 1998 UTC (26 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -1 lines
Squash unused variable.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Jul 30 14:11:44 1998 UTC (26 years, 4 months ago) by augustss
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +107 -167 lines
A first stab at making the SHARK sound work.  It doesn't really work
yet, but it probes and makes a noise when used.  Stay tuned!

Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Jun 29 20:56:21 1998 UTC (26 years, 5 months ago) by augustss
Branches: MAIN
CVS tags: eeh-paddr_t-base
Branch point for: eeh-paddr_t
A first stab at an ESS1887 driver.  The code is from the SHARK port
and needs a lot of polishing.  The code compiles (on i386), but is
untested.  See ess.c for a TODO list.

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>