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


Default branch: MAIN


Revision 1.91 / (download) - annotate - [select for diffs], Fri Feb 9 22:08:35 2024 UTC (2 months ago) by andvar
Branch: MAIN
CVS Tags: HEAD
Changes since 1.90: +3 -3 lines
Diff to previous 1.90 (colored)

fix spelling mistakes, mainly in comments and log messages.

Revision 1.90 / (download) - annotate - [select for diffs], Sat Dec 24 15:23:02 2022 UTC (15 months, 2 weeks ago) by andvar
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation
Changes since 1.89: +3 -3 lines
Diff to previous 1.89 (colored)

s/reqest/request/, s/requst/request/ and s/reuqest/request/ in comments.

Revision 1.89 / (download) - annotate - [select for diffs], Sat Aug 7 16:19:12 2021 UTC (2 years, 8 months ago) by thorpej
Branch: 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
Changes since 1.88: +4 -6 lines
Diff to previous 1.88 (colored)

Merge thorpej-cfargs2.

Revision 1.88.6.1 / (download) - annotate - [select for diffs], Wed Aug 4 20:27:35 2021 UTC (2 years, 8 months ago) by thorpej
Branch: thorpej-cfargs2
Changes since 1.88: +4 -6 lines
Diff to previous 1.88 (colored) next main 1.89 (colored)

Adapt to CFARGS().

Revision 1.87.2.1 / (download) - annotate - [select for diffs], Thu May 13 00:47:30 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.87: +8 -4 lines
Diff to previous 1.87 (colored) next main 1.88 (colored)

Sync with HEAD.

Revision 1.88 / (download) - annotate - [select for diffs], Mon Apr 26 19:10:38 2021 UTC (2 years, 11 months ago) by thorpej
Branch: 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
Changes since 1.87: +8 -4 lines
Diff to previous 1.87 (colored)

- 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) - annotate - [select for diffs], Sat Apr 24 23:36:55 2021 UTC (2 years, 11 months ago) by thorpej
Branch: MAIN
Branch point for: thorpej-i2c-spi-conf
Changes since 1.86: +4 -4 lines
Diff to previous 1.86 (colored)

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) - annotate - [select for diffs], Sun Mar 21 21:09:12 2021 UTC (3 years ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.86: +4 -4 lines
Diff to previous 1.86 (colored) next main 1.87 (colored)

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) - annotate - [select for diffs], Mon Jun 10 22:07:12 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.83: +66 -216 lines
Diff to previous 1.83 (colored) next main 1.84 (colored)

Sync with HEAD

Revision 1.86 / (download) - annotate - [select for diffs], Sat Jun 8 08:02:38 2019 UTC (4 years, 10 months ago) by isaki
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, is-mlppp-base, is-mlppp, 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
Changes since 1.85: +5 -4 lines
Diff to previous 1.85 (colored)

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

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

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

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

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

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

Revision 1.84.2.3 / (download) - annotate - [select for diffs], Sat May 4 04:13:24 2019 UTC (4 years, 11 months ago) by isaki
Branch: isaki-audio2
Changes since 1.84.2.2: +2 -3 lines
Diff to previous 1.84.2.2 (colored) to branchpoint 1.84 (colored)

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) - annotate - [select for diffs], Thu Apr 25 14:00:20 2019 UTC (4 years, 11 months ago) by isaki
Branch: isaki-audio2
Changes since 1.84.2.1: +32 -171 lines
Diff to previous 1.84.2.1 (colored) to branchpoint 1.84 (colored)

Adapt to audio2.
- Drop INDEPENDENT property.  Both play and rec share the sample rate.

Revision 1.84.2.1 / (download) - annotate - [select for diffs], Sun Apr 21 05:11:22 2019 UTC (4 years, 11 months ago) by isaki
Branch: isaki-audio2
Changes since 1.84: +21 -18 lines
Diff to previous 1.84 (colored)

Use C99 style struct initializer to audio_format.

Revision 1.84 / (download) - annotate - [select for diffs], Sat Mar 16 12:09:58 2019 UTC (5 years, 1 month ago) by isaki
Branch: MAIN
CVS Tags: isaki-audio2-base
Branch point for: isaki-audio2
Changes since 1.83: +44 -58 lines
Diff to previous 1.83 (colored)

Use C99 style struct initializer to audio_hw_if.

Revision 1.80.8.1 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:04 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.80: +132 -16 lines
Diff to previous 1.80 (colored) next main 1.81 (colored)

update from HEAD

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

Sync with HEAD

Revision 1.83 / (download) - annotate - [select for diffs], Thu Jul 14 10:19:06 2016 UTC (7 years, 9 months ago) by msaitoh
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, 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-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
Changes since 1.82: +7 -5 lines
Diff to previous 1.82 (colored)

- Use aprint*() more in xxx_attach().
- Add missing aprint_naive("\n").
- Remove extra spaces and tabs.
- KNF.

Revision 1.80.24.1 / (download) - annotate - [select for diffs], Sat Aug 23 03:46:55 2014 UTC (9 years, 7 months ago) by riz
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.80: +127 -13 lines
Diff to previous 1.80 (colored) next main 1.81 (colored)

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) - annotate - [select for diffs], Sat Aug 16 13:01:33 2014 UTC (9 years, 8 months ago) by nakayama
Branch: 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
Changes since 1.81: +126 -12 lines
Diff to previous 1.81 (colored)

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) - annotate - [select for diffs], Fri Aug 15 19:55:23 2014 UTC (9 years, 8 months ago) by nakayama
Branch: MAIN
Changes since 1.80: +3 -3 lines
Diff to previous 1.80 (colored)

Remove redundant colon.

Revision 1.78.8.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:38 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.78: +88 -38 lines
Diff to previous 1.78 (colored) next main 1.79 (colored)

sync with head

Revision 1.80 / (download) - annotate - [select for diffs], Thu Nov 24 03:35:57 2011 UTC (12 years, 4 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-7-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, agc-symver-base, agc-symver
Branch point for: tls-maxphys, netbsd-7
Changes since 1.79: +5 -5 lines
Diff to previous 1.79 (colored)

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) - annotate - [select for diffs], Wed Nov 23 23:07:32 2011 UTC (12 years, 4 months ago) by jmcneill
Branch: MAIN
Changes since 1.78: +90 -40 lines
Diff to previous 1.78 (colored)

Merge jmcneill-audiomp3 branch, which is derived from ad-audiomp2. From
the original ad-audiomp branch notes:

  Add MP locking to the audio drivers.

  Making the audio drivers MP safe is necessary before efforts
  can be made to make the VM system MP safe.

  The are two locks per device instance, an ISR lock and
  a character device lock. The ISR lock replaces calls to
  splaudio()/splx(), and will be held across calls to device
  methods which were called at splaudio() before (e.g.
  trigger_output). The character device lock is held across
  calls to nearly all of the methods, excluding some only
  used for initialization, e.g. get_locks.

Welcome to 5.99.57.

Revision 1.78.10.3 / (download) - annotate - [select for diffs], Tue Nov 22 22:47:06 2011 UTC (12 years, 4 months ago) by jmcneill
Branch: jmcneill-audiomp3
Changes since 1.78.10.2: +2 -4 lines
Diff to previous 1.78.10.2 (colored) to branchpoint 1.78 (colored) next main 1.79 (colored)

get rid of unused 'powerstate' callback in audio_hw_if

Revision 1.78.10.2 / (download) - annotate - [select for diffs], Sun Nov 20 08:40:52 2011 UTC (12 years, 4 months ago) by mrg
Branch: jmcneill-audiomp3
Changes since 1.78.10.1: +4 -2 lines
Diff to previous 1.78.10.1 (colored) to branchpoint 1.78 (colored)

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) - annotate - [select for diffs], Sat Nov 19 21:49:37 2011 UTC (12 years, 4 months ago) by jmcneill
Branch: jmcneill-audiomp3
Changes since 1.78: +88 -38 lines
Diff to previous 1.78 (colored)

port ad-audiomp2 branch changes to 5.99.56
todo:
 - port ad-audiomp2 pcppi changes
 - these drivers need to be fixed:
   - emuxki
   - gcscaudio
   - hdafg
   - uaudio
   - umidi
   - MD audio drivers

Revision 1.77.2.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:46:14 2010 UTC (13 years, 8 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.77: +14 -14 lines
Diff to previous 1.77 (colored) next main 1.78 (colored)

Sync with HEAD.

Revision 1.76.4.2 / (download) - annotate - [select for diffs], Wed Aug 11 22:53:35 2010 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.76.4.1: +14 -14 lines
Diff to previous 1.76.4.1 (colored) to branchpoint 1.76 (colored) next main 1.77 (colored)

sync with head.

Revision 1.77.4.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:28 2010 UTC (13 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.77: +14 -14 lines
Diff to previous 1.77 (colored) next main 1.78 (colored)

sync with head

Revision 1.78 / (download) - annotate - [select for diffs], Sat May 22 16:35:00 2010 UTC (13 years, 10 months ago) by tsutsui
Branch: 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
Changes since 1.77: +14 -14 lines
Diff to previous 1.77 (colored)

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) - annotate - [select for diffs], Thu Mar 11 15:03:37 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.76: +10 -9 lines
Diff to previous 1.76 (colored)

sync with head

Revision 1.77 / (download) - annotate - [select for diffs], Sat Jan 23 17:22:04 2010 UTC (14 years, 2 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base1, uebayasi-xip-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.76: +10 -9 lines
Diff to previous 1.76 (colored)

essattach: printf -> aprint_*

Revision 1.76.16.2 / (download) - annotate - [select for diffs], Fri Dec 12 23:06:57 2008 UTC (15 years, 4 months ago) by ad
Branch: ad-audiomp2
Changes since 1.76.16.1: +39 -28 lines
Diff to previous 1.76.16.1 (colored) to branchpoint 1.76 (colored) next main 1.77 (colored)

Checkpoint work in progress.

Revision 1.76.16.1 / (download) - annotate - [select for diffs], Thu Dec 11 19:49:30 2008 UTC (15 years, 4 months ago) by ad
Branch: ad-audiomp2
Changes since 1.76: +59 -20 lines
Diff to previous 1.76 (colored)

Checkpoint work in progress.

Revision 1.75.16.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:30 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.75: +14 -14 lines
Diff to previous 1.75 (colored) next main 1.76 (colored)

Sync with HEAD.

Revision 1.76 / (download) - annotate - [select for diffs], Tue Apr 8 20:08:49 2008 UTC (16 years ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base, 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
Changes since 1.75: +14 -14 lines
Diff to previous 1.75 (colored)

use aprint_*_dev and device_xname

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

sync with HEAD

Revision 1.68.2.3 / (download) - annotate - [select for diffs], Sat Oct 27 11:31:30 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.68.2.2: +5 -5 lines
Diff to previous 1.68.2.2 (colored) to branchpoint 1.68 (colored) next main 1.69 (colored)

sync with head.

Revision 1.74.6.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:45:14 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.74: +5 -5 lines
Diff to previous 1.74 (colored) next main 1.75 (colored)

Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.74.12.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:38:10 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.74: +5 -5 lines
Diff to previous 1.74 (colored) next main 1.75 (colored)

Sync with HEAD.

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

Sync with head.

Revision 1.75 / (download) - annotate - [select for diffs], Fri Oct 19 12:00:16 2007 UTC (16 years, 5 months ago) by ad
Branch: 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
Changes since 1.74: +5 -5 lines
Diff to previous 1.74 (colored)

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

Revision 1.68.2.2 / (download) - annotate - [select for diffs], Mon Sep 3 14:35:33 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.68.2.1: +4 -4 lines
Diff to previous 1.68.2.1 (colored) to branchpoint 1.68 (colored)

sync with head.

Revision 1.73.10.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:06:26 2007 UTC (16 years, 9 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.73: +4 -4 lines
Diff to previous 1.73 (colored) next main 1.74 (colored)

Sync with head.

Revision 1.74 / (download) - annotate - [select for diffs], Mon Jul 9 21:00:49 2007 UTC (16 years, 9 months ago) by ad
Branch: 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
Changes since 1.73: +4 -4 lines
Diff to previous 1.73 (colored)

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) - annotate - [select for diffs], Sun Jul 1 21:48:00 2007 UTC (16 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.73: +4 -4 lines
Diff to previous 1.73 (colored)

Adapt to callout API change.

Revision 1.73.6.1 / (download) - annotate - [select for diffs], Tue Feb 27 14:16:06 2007 UTC (17 years, 1 month ago) by ad
Branch: ad-audiomp
Changes since 1.73: +68 -21 lines
Diff to previous 1.73 (colored) next main 1.74 (colored)

Add MP locking for audio drivers.

Revision 1.68.2.1 / (download) - annotate - [select for diffs], Sat Dec 30 20:48:26 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.68: +12 -6 lines
Diff to previous 1.68 (colored)

sync with head.

Revision 1.70.4.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:17:26 2006 UTC (17 years, 4 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.70.4.1: +13 -13 lines
Diff to previous 1.70.4.1 (colored) to branchpoint 1.70 (colored) next main 1.71 (colored)

sync with head.

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

Sync with head.

Revision 1.73 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:00 2006 UTC (17 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-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
Changes since 1.72: +13 -13 lines
Diff to previous 1.72 (colored)

__unused removal on arguments; approved by core.

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

sync with head

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

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

Revision 1.71 / (download) - annotate - [select for diffs], Wed Oct 4 15:48:47 2006 UTC (17 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.70: +8 -5 lines
Diff to previous 1.70 (colored)

Fix empty if

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

sync with head

Revision 1.69.8.1 / (download) - annotate - [select for diffs], Sun Sep 3 15:24:10 2006 UTC (17 years, 7 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.69: +4 -2 lines
Diff to previous 1.69 (colored) next main 1.70 (colored)

sync with head.

Revision 1.70 / (download) - annotate - [select for diffs], Wed Aug 30 01:24:40 2006 UTC (17 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.69: +4 -2 lines
Diff to previous 1.69 (colored)

fix incomplete initializer

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

merge ktrace-lwp.

Revision 1.58.2.8 / (download) - annotate - [select for diffs], Thu Nov 10 14:05:37 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.58.2.7: +3 -3 lines
Diff to previous 1.58.2.7 (colored) to branchpoint 1.58 (colored) next main 1.59 (colored)

Sync with HEAD. Here we go again...

Revision 1.68 / (download) - annotate - [select for diffs], Mon May 30 04:32:38 2005 UTC (18 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: yamt-lazymbuf
Changes since 1.67: +3 -3 lines
Diff to previous 1.67 (colored)

- add const
- avoid variable shadowing.

Revision 1.66.2.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:54 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.66: +6 -6 lines
Diff to previous 1.66 (colored) next main 1.67 (colored)

sync with -current

Revision 1.66.4.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:34:33 2005 UTC (19 years, 1 month ago) by yamt
Branch: yamt-km
Changes since 1.66: +6 -6 lines
Diff to previous 1.66 (colored) next main 1.67 (colored)

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

Revision 1.58.2.7 / (download) - annotate - [select for diffs], Fri Mar 4 16:43:13 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.58.2.6: +6 -6 lines
Diff to previous 1.58.2.6 (colored) to branchpoint 1.58 (colored)

Sync with HEAD.

Hi Perry!

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

nuke trailing whitespace

Revision 1.58.2.6 / (download) - annotate - [select for diffs], Mon Jan 17 19:31:11 2005 UTC (19 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.58.2.5: +415 -494 lines
Diff to previous 1.58.2.5 (colored) to branchpoint 1.58 (colored)

Sync with HEAD.

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

ansify and KNF

Revision 1.65 / (download) - annotate - [select for diffs], Mon Jan 10 22:01:37 2005 UTC (19 years, 3 months ago) by kent
Branch: MAIN
Changes since 1.64: +57 -77 lines
Diff to previous 1.64 (colored)

merge kent-audio1 branch, which introduces audio filter pipeline to the MI
audio framework


Summary of changes:

* struct audio_params
  - remove sw_code, factor, factor_denom, hw_sample_rate,
hw_encoding ,hw_precision, and hw_channels.  Conversion information
is conveyed by stream_filter_list_t.
  - change the type of sample_rate: u_long -> u_int
  - add `validbits,' which represents the valid data size in
precision bits.  It is required in order to distinguish 24/32bit
from 24/24bit or 32/32bit.

* audio_hw_if
 - add two parameters to set_params()
	stream_filter_list_t *pfil, stream_filter_list *rfil
   A HW driver should set filter recipes for requested formats
 - constify audio_params parameters of trigger_output() and
trigger_input().  They represent audio formats for the hardware.
 - make open() and close() optional
 - add int (AUMODE_PLAY or AUMODE_RECORD) and audio_params_t parameters
 to round_blocksize()

* sw_code is replaced with stream_filter_t.
  stream_filer_t converts audio data in an input buffer and writes
into another output buffer unlike sw_code, which converts data in
single buffer.
  converters in dev/auconv.c, dev/mulaw.c, dev/aurateconv.c,
dev/tc/bba.c, dev/ic/msm6258.c, and arch/arm/iomd/vidcaudio.c are
reimplemented as stream_filter_t

* MI audio
 - audiosetinfo() builds filter pipelines from stream_filter_list_t
filled by audio_hw_if::set_params()
 - audiosetinfo() returns with EINVAL if mmapped and set_params()
requests filters
 - audio_write(), audio_pint(), and audio_rint() invoke a filter
pipeline.
 - ioctl() for FIONREAD, AUDIO_WSEEK, AUDIO_GETIOFFS,
AUDIO_GETOOFFS, and audio_prinfo::{seek,samples} for
AUDIO_GETINFO handle values for a buffer nearest to userland.

* add `struct device *' parameter to ac97_attach()

* all of audio HW drivers follow audio_hw_if and ac97 changes

Revision 1.64.2.2 / (download) - annotate - [select for diffs], Sun Jan 9 08:42:45 2005 UTC (19 years, 3 months ago) by kent
Branch: kent-audio1
Changes since 1.64.2.1: +6 -4 lines
Diff to previous 1.64.2.1 (colored) to branchpoint 1.64 (colored) next main 1.65 (colored)

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

Revision 1.64.2.1 / (download) - annotate - [select for diffs], Mon Jan 3 06:37:57 2005 UTC (19 years, 3 months ago) by kent
Branch: kent-audio1
Changes since 1.64: +53 -75 lines
Diff to previous 1.64 (colored)

* adopt the filter pipeline framework

* ic/ad1848.c, isa/ess.c, isa/sbdsp.c
  remove direct call of set_params() for the default encoding.
  It should be called by the MI audio framework.

Revision 1.58.2.5 / (download) - annotate - [select for diffs], Tue Nov 2 07:51:55 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.58.2.4: +4 -4 lines
Diff to previous 1.58.2.4 (colored) to branchpoint 1.58 (colored)

Sync with HEAD.

Revision 1.64 / (download) - annotate - [select for diffs], Fri Oct 29 12:57:17 2004 UTC (19 years, 5 months ago) by yamt
Branch: MAIN
CVS Tags: kent-audio1-beforemerge, kent-audio1-base
Branch point for: kent-audio1
Changes since 1.63: +4 -4 lines
Diff to previous 1.63 (colored)

constify audio_hw_if, midi_hw_if, and radio_hw_if.

Revision 1.58.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:29:43 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.58.2.3: +2 -2 lines
Diff to previous 1.58.2.3 (colored) to branchpoint 1.58 (colored)

Fix the sync with head I botched.

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

Sync with HEAD.

Revision 1.58.2.2 / (download) - annotate - [select for diffs], Thu Aug 12 11:41:43 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.58.2.1: +105 -73 lines
Diff to previous 1.58.2.1 (colored) to branchpoint 1.58 (colored)

Sync with HEAD.

Revision 1.63 / (download) - annotate - [select for diffs], Sat Aug 7 19:32:56 2004 UTC (19 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.62: +5 -4 lines
Diff to previous 1.62 (colored)

Attempt to support the 688 as well.  It looks vaguely right from inspecting
esl.

Revision 1.62 / (download) - annotate - [select for diffs], Fri Aug 6 15:11:48 2004 UTC (19 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.61: +84 -69 lines
Diff to previous 1.61 (colored)

Add code to recognize the 1688, per PR 11910.  Also reduce some control logic.

Revision 1.61 / (download) - annotate - [select for diffs], Wed Aug 4 18:53:55 2004 UTC (19 years, 8 months ago) by drochner
Branch: MAIN
Changes since 1.60: +20 -4 lines
Diff to previous 1.60 (colored)

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) - annotate - [select for diffs], Tue Aug 3 10:47:58 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.58: +14 -52 lines
Diff to previous 1.58 (colored)

Sync with HEAD

Revision 1.60 / (download) - annotate - [select for diffs], Fri Jul 9 02:14:40 2004 UTC (19 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.59: +10 -50 lines
Diff to previous 1.59 (colored)

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) - annotate - [select for diffs], Thu Apr 22 00:17:11 2004 UTC (19 years, 11 months ago) by itojun
Branch: MAIN
Changes since 1.58: +6 -4 lines
Diff to previous 1.58 (colored)

sprintf -> snprintf

Revision 1.58 / (download) - annotate - [select for diffs], Fri May 9 23:51:28 2003 UTC (20 years, 11 months ago) by fvdl
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Branch point for: ktrace-lwp
Changes since 1.57: +16 -2 lines
Diff to previous 1.57 (colored)

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

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

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

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

DMA, not dma nor Dma.

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

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

Revision 1.53.4.1 / (download) - annotate - [select for diffs], Thu Jan 10 19:55:22 2002 UTC (22 years, 3 months ago) by thorpej
Branch: kqueue
Changes since 1.53: +6 -1 lines
Diff to previous 1.53 (colored) next main 1.54 (colored)

Sync kqueue branch with -current.

Revision 1.53.2.2 / (download) - annotate - [select for diffs], Wed Nov 14 19:14:45 2001 UTC (22 years, 5 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.53.2.1: +4 -1 lines
Diff to previous 1.53.2.1 (colored) to branchpoint 1.53 (colored) next main 1.54 (colored)

Catch up to -current.

Revision 1.55 / (download) - annotate - [select for diffs], Tue Nov 13 08:01:13 2001 UTC (22 years, 5 months ago) by lukem
Branch: MAIN
CVS Tags: newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, ifpoll-base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, gehenna-devsw, fvdl_fs64_base, eeh-devprop-base, eeh-devprop
Changes since 1.54: +4 -1 lines
Diff to previous 1.54 (colored)

add RCSID

Revision 1.53.6.1 / (download) - annotate - [select for diffs], Thu Oct 11 00:02:06 2001 UTC (22 years, 6 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.53: +3 -1 lines
Diff to previous 1.53 (colored) next main 1.54 (colored)

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) - annotate - [select for diffs], Mon Oct 8 20:11:05 2001 UTC (22 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.53: +3 -1 lines
Diff to previous 1.53 (colored)

Catch up to -current.

Revision 1.54 / (download) - annotate - [select for diffs], Wed Oct 3 00:04:50 2001 UTC (22 years, 6 months ago) by augustss
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3
Changes since 1.53: +3 -1 lines
Diff to previous 1.53 (colored)

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) - annotate - [select for diffs], Thu Jan 25 20:55:29 2001 UTC (23 years, 2 months ago) by jhawk
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Changes since 1.51.4.1: +1 -6 lines
Diff to previous 1.51.4.1 (colored) to branchpoint 1.51 (colored) next main 1.52 (colored)

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) - annotate - [select for diffs], Thu Jan 18 09:23:22 2001 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.46.2.1: +1 -6 lines
Diff to previous 1.46.2.1 (colored) to branchpoint 1.46 (colored) next main 1.47 (colored)

Sync with head (for UBC+NFS fixes, mostly).

Revision 1.53 / (download) - annotate - [select for diffs], Sat Jan 6 22:50:02 2001 UTC (23 years, 3 months ago) by nathanw
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-devvp-base2, thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-devvp, nathanw_sa, kqueue
Changes since 1.52: +1 -6 lines
Diff to previous 1.52 (colored)

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) - annotate - [select for diffs], Mon Nov 20 11:41:13 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.46: +45 -24 lines
Diff to previous 1.46 (colored)

Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.

Revision 1.51.4.1 / (download) - annotate - [select for diffs], Fri Jun 30 16:27:48 2000 UTC (23 years, 9 months ago) by simonb
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Changes since 1.51: +4 -4 lines
Diff to previous 1.51 (colored)

Pull up mmap paddr_t/off_t changes from trunk.

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

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

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

Revision 1.51 / (download) - annotate - [select for diffs], Thu Mar 23 07:01:34 2000 UTC (24 years ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-5-base, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.50: +15 -8 lines
Diff to previous 1.50 (colored)

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) - annotate - [select for diffs], Mon Feb 7 22:07:31 2000 UTC (24 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.49: +16 -5 lines
Diff to previous 1.49 (colored)

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

Revision 1.44.2.2 / (download) - annotate - [select for diffs], Thu Jan 20 20:45:01 2000 UTC (24 years, 2 months ago) by he
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH003, netbsd-1-4-PATCH002
Changes since 1.44.2.1: +5 -7 lines
Diff to previous 1.44.2.1 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored)

Pull up revision 1.49 (requested by mycroft):
  Make CD passthrough work when the audio playback/record device
  is closed.

Revision 1.49 / (download) - annotate - [select for diffs], Tue Jan 18 22:11:05 2000 UTC (24 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.48: +5 -7 lines
Diff to previous 1.48 (colored)

Mute the DAC -- not the master volume -- on close, so that CD passthrough is
unaffected.

Revision 1.46.6.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:34:55 1999 UTC (24 years, 3 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.46: +9 -4 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

Pull up to last week's -current.

Revision 1.44.6.1 / (download) - annotate - [select for diffs], Tue Nov 30 13:33:53 1999 UTC (24 years, 4 months ago) by itojun
Branch: kame
CVS Tags: kame_141_19991130
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

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) - annotate - [select for diffs], Mon Nov 15 00:40:42 1999 UTC (24 years, 5 months ago) by fvdl
Branch: fvdl-softdep
Changes since 1.46: +9 -4 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

Sync with -current

Revision 1.48 / (download) - annotate - [select for diffs], Tue Nov 2 17:05:05 1999 UTC (24 years, 5 months ago) by augustss
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, fvdl-softdep-base, comdex-fall-1999-base, comdex-fall-1999
Changes since 1.47: +7 -2 lines
Diff to previous 1.47 (colored)

Set mixer controls after a reset.

Revision 1.47 / (download) - annotate - [select for diffs], Mon Nov 1 18:12:20 1999 UTC (24 years, 5 months ago) by augustss
Branch: MAIN
Changes since 1.46: +3 -3 lines
Diff to previous 1.46 (colored)

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

Revision 1.44.2.1 / (download) - annotate - [select for diffs], Tue Jun 22 14:20:24 1999 UTC (24 years, 9 months ago) by perry
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH001
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored)

pullup 1.44->1.45 (nathanw)

Revision 1.44.4.1 / (download) - annotate - [select for diffs], Mon Jun 21 01:18:00 1999 UTC (24 years, 10 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.44: +78 -27 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

Sync w/ -current.

Revision 1.46 / (download) - annotate - [select for diffs], Fri Jun 18 20:25:23 1999 UTC (24 years, 10 months ago) by augustss
Branch: MAIN
CVS Tags: chs-ubc2-base
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep
Changes since 1.45: +77 -26 lines
Diff to previous 1.45 (colored)

Add support for ES18[67][89].  From PR #7427 by AW9K-NNK@asahi-net.or.jp,
Nonaka Kimihiro.

Revision 1.45 / (download) - annotate - [select for diffs], Sun May 30 00:22:59 1999 UTC (24 years, 10 months ago) by nathanw
Branch: MAIN
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored)

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) - annotate - [select for diffs], Fri Mar 19 12:40:21 1999 UTC (25 years, 1 month ago) by mycroft
Branch: 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
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored)

Allow DRQ[A-C] to be used on the 1888 as well.

Revision 1.43 / (download) - annotate - [select for diffs], Thu Mar 18 06:04:21 1999 UTC (25 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.42: +26 -13 lines
Diff to previous 1.42 (colored)

dmapos should start at 0, in theory.
Also experimentally force polling mode.

Revision 1.42 / (download) - annotate - [select for diffs], Thu Mar 18 04:31:36 1999 UTC (25 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.41: +151 -42 lines
Diff to previous 1.41 (colored)

Add support for polling.

Revision 1.41 / (download) - annotate - [select for diffs], Thu Mar 18 02:44:27 1999 UTC (25 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.40: +16 -9 lines
Diff to previous 1.40 (colored)

Confirm that there was an interrupt before handling it.  Allows IRQs to be
shared with other devices.

Revision 1.40 / (download) - annotate - [select for diffs], Wed Mar 17 02:39:59 1999 UTC (25 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.39: +8 -9 lines
Diff to previous 1.39 (colored)

Fix a couple of other places we should avoid the Audio2 DRQ on the 1788.

Revision 1.39 / (download) - annotate - [select for diffs], Wed Mar 17 01:06:17 1999 UTC (25 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.38: +90 -166 lines
Diff to previous 1.38 (colored)

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) - annotate - [select for diffs], Tue Mar 16 14:17:00 1999 UTC (25 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.37: +2 -6 lines
Diff to previous 1.37 (colored)

Audio1 does not support 16-bit DMA.  Eliminate some code that tried to handle
that case.

Revision 1.37 / (download) - annotate - [select for diffs], Tue Mar 16 13:37:23 1999 UTC (25 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored)

Fix old typo.

Revision 1.36 / (download) - annotate - [select for diffs], Tue Mar 16 13:32:25 1999 UTC (25 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.35: +68 -61 lines
Diff to previous 1.35 (colored)

A little more cleanup.

Revision 1.35 / (download) - annotate - [select for diffs], Tue Mar 16 13:24:27 1999 UTC (25 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.34: +5 -4 lines
Diff to previous 1.34 (colored)

Minor fix to some debugging output.

Revision 1.34 / (download) - annotate - [select for diffs], Tue Mar 16 13:06:35 1999 UTC (25 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.33: +525 -646 lines
Diff to previous 1.33 (colored)

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) - annotate - [select for diffs], Tue Mar 2 20:36:50 1999 UTC (25 years, 1 month ago) by nathanw
Branch: MAIN
Changes since 1.32: +676 -273 lines
Diff to previous 1.32 (colored)

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) - annotate - [select for diffs], Mon Feb 22 01:57:33 1999 UTC (25 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

Use DMAMODE_LOOPDEMAND.
Fixes the audible glitches (due to FIFO underruns) when receiving network
packets on the Shark.

Revision 1.31 / (download) - annotate - [select for diffs], Sat Feb 20 23:28:37 1999 UTC (25 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.30: +18 -14 lines
Diff to previous 1.30 (colored)

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) - annotate - [select for diffs], Wed Feb 17 02:37:39 1999 UTC (25 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.29: +19 -13 lines
Diff to previous 1.29 (colored)

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

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

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

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

Fix more `void *' arithmetic.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Nov 25 13:39:37 1998 UTC (25 years, 4 months ago) by mycroft
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach
Changes since 1.26: +38 -53 lines
Diff to previous 1.26 (colored)

Minor format change.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Aug 26 13:08:44 1998 UTC (25 years, 7 months ago) by augustss
Branch: MAIN
CVS Tags: chs-ubc-base, chs-ubc
Changes since 1.25: +3 -2 lines
Diff to previous 1.25 (colored)

Less debug printing.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Aug 26 12:10:22 1998 UTC (25 years, 7 months ago) by augustss
Branch: MAIN
Changes since 1.24: +4 -3 lines
Diff to previous 1.24 (colored)

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) - annotate - [select for diffs], Sat Aug 22 22:55:09 1998 UTC (25 years, 7 months ago) by augustss
Branch: MAIN
Changes since 1.23: +7 -1 lines
Diff to previous 1.23 (colored)

Let opl attach to ess.
WARNING: it doesn't work yet.

Revision 1.23 / (download) - annotate - [select for diffs], Mon Aug 17 21:16:13 1998 UTC (25 years, 8 months ago) by augustss
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

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

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

Revision 1.22 / (download) - annotate - [select for diffs], Wed Aug 12 19:13:14 1998 UTC (25 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.21: +5 -5 lines
Diff to previous 1.21 (colored)

The mic preamp is really a property of the input stage, and affects both
pass-through and recording.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Aug 12 03:18:34 1998 UTC (25 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

enhanced -> preamp

Revision 1.20 / (download) - annotate - [select for diffs], Tue Aug 11 12:16:22 1998 UTC (25 years, 8 months ago) by matthias
Branch: MAIN
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

ess_audio_channel:active is now used even when DIAGNOSTICS is not defined.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Aug 10 15:32:18 1998 UTC (25 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.18: +91 -141 lines
Diff to previous 1.18 (colored)

Use the new trigger interface.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Aug 9 06:52:57 1998 UTC (25 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.17: +21 -16 lines
Diff to previous 1.17 (colored)

Use 4- and 8-byte DMA transfers.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Aug 9 06:38:30 1998 UTC (25 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.16: +104 -212 lines
Diff to previous 1.16 (colored)

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) - annotate - [select for diffs], Sun Aug 9 04:59:55 1998 UTC (25 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.15: +4 -4 lines
Diff to previous 1.15 (colored)

Oops; fix typo.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Aug 9 04:58:08 1998 UTC (25 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.14: +8 -7 lines
Diff to previous 1.14 (colored)

Clarify with a specific reference to the manual page in question.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Aug 9 04:40:55 1998 UTC (25 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.13: +5 -4 lines
Diff to previous 1.13 (colored)

Make the previous slightly more robust, and set AUDIO_PROP_INDEPENDENT.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Aug 9 04:14:47 1998 UTC (25 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.12: +18 -3 lines
Diff to previous 1.12 (colored)

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) - annotate - [select for diffs], Sun Aug 9 03:48:42 1998 UTC (25 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

The manual says to use the other crystal for 22050Hz.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Aug 9 02:54:50 1998 UTC (25 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.10: +15 -21 lines
Diff to previous 1.10 (colored)

Set the FIFO control bits correctly so that stereo recording works.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Aug 9 02:05:52 1998 UTC (25 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.9: +46 -52 lines
Diff to previous 1.9 (colored)

Use auto-initialize DMA for recording.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Aug 8 21:37:00 1998 UTC (25 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Sleeping forever kinda sucks.

Revision 1.8 / (download) - annotate - [select for diffs], Sat Aug 8 20:55:36 1998 UTC (25 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.7: +7 -7 lines
Diff to previous 1.7 (colored)

Set the correct modes for the record channel.

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Sat Aug 8 03:06:47 1998 UTC (25 years, 8 months ago) by eeh
Branch: eeh-paddr_t
Changes since 1.1: +374 -415 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

Revert cdevsw mmap routines to return int.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Aug 7 00:51:06 1998 UTC (25 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored)

Make the irq checking logic somewhat less bogus.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Aug 4 13:14:42 1998 UTC (25 years, 8 months ago) by augustss
Branch: MAIN
Changes since 1.5: +64 -50 lines
Diff to previous 1.5 (colored)

Use looping DMA for play channel.
More cleanup.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Jul 31 23:54:09 1998 UTC (25 years, 8 months ago) by augustss
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

Make it compile without DIAGNOSTIC

Revision 1.4 / (download) - annotate - [select for diffs], Fri Jul 31 15:17:17 1998 UTC (25 years, 8 months ago) by augustss
Branch: MAIN
Changes since 1.3: +299 -282 lines
Diff to previous 1.3 (colored)

Major cleanup of the ESS driver.  It now sorta works.  More to come.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Jul 30 22:17:34 1998 UTC (25 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.2: +3 -1 lines
Diff to previous 1.2 (colored)

Squash unused variable.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Jul 30 14:11:44 1998 UTC (25 years, 8 months ago) by augustss
Branch: MAIN
Changes since 1.1: +107 -167 lines
Diff to previous 1.1 (colored)

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) - annotate - [select for diffs], Mon Jun 29 20:56:21 1998 UTC (25 years, 9 months ago) by augustss
Branch: 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.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>