The NetBSD Project

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

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.50: download - view: text, markup, annotated - select for diffs
Sat Aug 7 16:19:12 2021 UTC (5 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20261102, perseant-exfatfs-base-20250801, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-11-base, netbsd-11-1-RELEASE, netbsd-11-0-RELEASE, netbsd-11-0-RC7, netbsd-11-0-RC6, netbsd-11-0-RC5, netbsd-11-0-RC4, netbsd-11-0-RC3, netbsd-11-0-RC2, netbsd-11-0-RC1, netbsd-11, netbsd-10-base, netbsd-10-2-RELEASE, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +4 -6 lines
Merge thorpej-cfargs2.

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

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

Revision 1.49: download - view: text, markup, annotated - select for diffs
Mon Apr 26 19:22:14 2021 UTC (5 years, 6 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.48: preferred, colored
Changes since revision 1.48: +6 -3 lines
Be explicit about using the "ym" interface attribute when attaching
the "opl" and "mpu" instances.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Sat Apr 24 23:36:55 2021 UTC (5 years, 6 months ago) by thorpej
Branches: MAIN
Branch point for: thorpej-i2c-spi-conf
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +5 -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.47.8.1: download - view: text, markup, annotated - select for diffs
Sun Mar 21 21:09:12 2021 UTC (5 years, 7 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47: +5 -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.44.30.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:07 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.44.30.1: preferred, colored; branchpoint 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44.30.1: +2 -3 lines
Merge changes from current as of 20200406

Revision 1.46.4.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:19:09 2020 UTC (6 years, 8 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46: +2 -3 lines
Sync with head.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Sat Feb 29 05:51:11 2020 UTC (6 years, 8 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, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3
Branch point for: thorpej-cfargs
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +2 -3 lines
Remove rounding by 4 bytes on round_blocksize().
For drivers which supports only 16bit * 2channels sampling,
rounding by 4 bytes no longer meaningful.

Revision 1.44.30.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:12 2019 UTC (7 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +22 -31 lines
Sync with HEAD

Revision 1.46: download - view: text, markup, annotated - select for diffs
Wed May 8 13:40:18 2019 UTC (7 years, 6 months ago) by isaki
Branches: MAIN
CVS tags: phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-5-RELEASE, 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, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +5 -6 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.45.2.3: download - view: text, markup, annotated - select for diffs
Sat May 4 07:20:10 2019 UTC (7 years, 6 months ago) by isaki
Branches: isaki-audio2
Diff to: previous 1.45.2.2: preferred, colored; branchpoint 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.2.2: +3 -3 lines
Move dev/audio_if.h -> dev/audio/audio_if.h

Revision 1.45.2.2: download - view: text, markup, annotated - select for diffs
Sat May 4 04:13:24 2019 UTC (7 years, 6 months ago) by isaki
Branches: isaki-audio2
Diff to: previous 1.45.2.1: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.2.1: +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.45.2.1: download - view: text, markup, annotated - select for diffs
Sun Apr 21 06:00:00 2019 UTC (7 years, 6 months ago) by isaki
Branches: isaki-audio2
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +4 -4 lines
Adapt ad1848/cs4231 families to audio2.

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

Revision 1.43.8.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:39 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +4 -2 lines
Rebase to HEAD as of a few days ago.

Revision 1.41.2.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:23 2014 UTC (12 years, 5 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.41.2.1: preferred, colored; branchpoint 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41.2.1: +4 -2 lines
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.43.12.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:38 2014 UTC (12 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +4 -2 lines
sync with head

Revision 1.44: download - view: text, markup, annotated - select for diffs
Fri Nov 8 03:12:17 2013 UTC (13 years ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base-20171202, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, 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, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-8-base, netbsd-8-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, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, 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.43: preferred, colored
Changes since revision 1.43: +4 -2 lines
fix unused variable warnings

Revision 1.41.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:07:40 2012 UTC (14 years, 7 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +62 -48 lines
sync with head

Revision 1.43: download - view: text, markup, annotated - select for diffs
Thu Nov 24 03:35:58 2011 UTC (14 years, 11 months ago) by mrg
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, 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, rmind-smpnet
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +4 -4 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.42: download - view: text, markup, annotated - select for diffs
Wed Nov 23 23:07:33 2011 UTC (14 years, 11 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +63 -49 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.41.4.2: download - view: text, markup, annotated - select for diffs
Tue Nov 22 22:47:07 2011 UTC (14 years, 11 months ago) by jmcneill
Branches: jmcneill-audiomp3
Diff to: previous 1.41.4.1: preferred, colored; branchpoint 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41.4.1: +2 -3 lines
get rid of unused 'powerstate' callback in audio_hw_if

Revision 1.41.4.1: download - view: text, markup, annotated - select for diffs
Sat Nov 19 21:49:39 2011 UTC (15 years ago) by jmcneill
Branches: jmcneill-audiomp3
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +63 -48 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.39.8.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:20:01 2011 UTC (15 years, 4 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +8 -8 lines
Catchup with rmind-uvmplock merge.

Revision 1.39.2.1: download - view: text, markup, annotated - select for diffs
Sun Jun 12 00:24:14 2011 UTC (15 years, 5 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +8 -8 lines
sync with head

Revision 1.39.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:07:58 2011 UTC (15 years, 5 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +8 -8 lines
Sync with HEAD.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Thu Jun 2 14:12:25 2011 UTC (15 years, 5 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, jmcneill-audiomp3-base
Branch point for: yamt-pagecache, jmcneill-audiomp3
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -3 lines
Split device_t/softc of all ad1848 variants properly.  Compile test only.

Please check all attribute users in all files.* on device_t/softc split.

XXX: not sure if gus(4) needs device_t in ad1848_isa_softc

Revision 1.40: download - view: text, markup, annotated - select for diffs
Thu Jun 2 13:02:40 2011 UTC (15 years, 5 months ago) by nonaka
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +7 -7 lines
fix compile failure.

Revision 1.38.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:43:27 2010 UTC (16 years, 6 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +6 -6 lines
Sync with HEAD.

Revision 1.34.4.2: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:38 2010 UTC (16 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.34.4.1: preferred, colored; branchpoint 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34.4.1: +65 -60 lines
sync with head

Revision 1.39: download - view: text, markup, annotated - select for diffs
Wed Feb 24 22:37:59 2010 UTC (16 years, 8 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, matt-mips64-premerge-20101231, jruoho-x86intr-base, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: rmind-uvmplock, jruoho-x86intr, cherry-xenmp
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +6 -6 lines
A pointer typedef entails trading too much flexibility to declare const
and non-const types, and the kernel uses both const and non-const
PMF qualifiers and device suspensors, so change the pmf_qual_t and
device_suspensor_t typedefs from "pointers to const" to non-pointer,
non-const types.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri Jan 8 20:00:03 2010 UTC (16 years, 10 months ago) by dyoung
Branches: MAIN
CVS tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +6 -6 lines
Expand PMF_FN_* macros.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Sat Jan 2 02:37:08 2010 UTC (16 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -5 lines
make rhis compile.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sat Jan 2 01:42:49 2010 UTC (16 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +65 -58 lines
convert to pmf

Revision 1.35.12.2: download - view: text, markup, annotated - select for diffs
Fri Dec 12 23:06:57 2008 UTC (17 years, 11 months ago) by ad
Branches: ad-audiomp2
Diff to: previous 1.35.12.1: preferred, colored; branchpoint 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35.12.1: +57 -40 lines
Checkpoint work in progress.

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

Revision 1.32.16.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:32 2008 UTC (18 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.32.16.1: preferred, colored; branchpoint 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.16.1: +1 -8 lines
Sync with HEAD.

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

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

Revision 1.35: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:52 2008 UTC (18 years, 6 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, 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, 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: ad-audiomp2
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -9 lines
Remove clause 3 and 4 from TNF licenses

Revision 1.34: download - view: text, markup, annotated - select for diffs
Tue Apr 8 20:08:50 2008 UTC (18 years, 7 months ago) by cegger
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base
Branch point for: yamt-pf42, yamt-nfs-mp
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +3 -3 lines
use aprint_*_dev and device_xname

Revision 1.32.16.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:45 2008 UTC (18 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +7 -5 lines
Sync with HEAD.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Tue Apr 1 20:44:29 2008 UTC (18 years, 7 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +7 -5 lines
Fix fallout from device_t/softc split to mpu(4):
always pass the mpu_softc to mpu_intr(). Found by Takeshi Nakayama.

Revision 1.31.8.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:28:05 2007 UTC (19 years ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +5 -5 lines
sync with HEAD

Revision 1.25.2.5: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:32:01 2007 UTC (19 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.25.2.4: preferred, colored; branchpoint 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25.2.4: +5 -5 lines
sync with head.

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

Revision 1.30.6.2: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:08:22 2007 UTC (19 years ago) by ad
Branches: vmlocking
Diff to: previous 1.30.6.1: preferred, colored; branchpoint 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.6.1: +5 -5 lines
Sync with head.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Fri Oct 19 12:00:24 2007 UTC (19 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.31: preferred, colored
Changes since revision 1.31: +5 -5 lines
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.25.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:35:47 2007 UTC (19 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.25.2.3: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.2.3: +3 -3 lines
sync with head.

Revision 1.30.8.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:06:34 2007 UTC (19 years, 4 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +3 -3 lines
Sync with head.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Mon Jul 9 21:00:50 2007 UTC (19 years, 4 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.30: preferred, colored
Changes since revision 1.30: +3 -3 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.30.6.1: download - view: text, markup, annotated - select for diffs
Sun Jul 1 21:48:03 2007 UTC (19 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -3 lines
Adapt to callout API change.

Revision 1.30.4.1: download - view: text, markup, annotated - select for diffs
Tue Feb 27 14:16:12 2007 UTC (19 years, 8 months ago) by ad
Branches: ad-audiomp
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +20 -14 lines
Add MP locking for audio drivers.

Revision 1.25.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:10:16 2007 UTC (19 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.25.2.2: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.2.2: +2 -6 lines
sync with head.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Fri Feb 16 13:42:29 2007 UTC (19 years, 9 months ago) by ad
Branches: MAIN
CVS tags: yamt-idlelwp-base8, yamt-idlelwp, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, ad-audiomp-base
Branch point for: vmlocking, mjf-ufs-trans, ad-audiomp
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -6 lines
Fix spllowersoftclock() fallout.

Revision 1.25.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:48:27 2006 UTC (19 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.25.2.1: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.2.1: +4 -3 lines
sync with head.

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

Revision 1.28.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:06:04 2006 UTC (20 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +3 -3 lines
sync with head

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Sep 24 03:53:09 2006 UTC (20 years, 1 month ago) by jmcneill
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, 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
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -3 lines
Add "name" parameter to powerhook_establish, to aid debugging. No objections
on tech-kern@

Revision 1.27.8.1: download - view: text, markup, annotated - select for diffs
Thu Sep 14 12:31:32 2006 UTC (20 years, 2 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27: +3 -2 lines
sync with head.

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

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Sep 3 21:47:34 2006 UTC (20 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -2 lines
add missing initializer.

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

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat Dec 24 20:27:41 2005 UTC (20 years, 10 months ago) by perry
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base8, 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.26: preferred, colored
Changes since revision 1.26: +6 -6 lines
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:22:03 2005 UTC (20 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -2 lines
merge ktrace-lwp.

Revision 1.21.12.6: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:05:37 2005 UTC (21 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.21.12.5: preferred, colored; branchpoint 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21.12.5: +10 -10 lines
Sync with HEAD. Here we go again...

Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon May 30 04:32:38 2005 UTC (21 years, 5 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.24: preferred, colored
Changes since revision 1.24: +10 -10 lines
- add const
- avoid variable shadowing.

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

Revision 1.24: download - view: text, markup, annotated - select for diffs
Fri Jan 14 03:41:45 2005 UTC (21 years, 10 months ago) by kent
Branches: MAIN
CVS tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, 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, kent-audio2
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +125 -146 lines
ansify and KNF

Revision 1.21.12.4: download - view: text, markup, annotated - select for diffs
Tue Nov 2 07:51:55 2004 UTC (22 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.21.12.3: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.12.3: +3 -3 lines
Sync with HEAD.

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

Revision 1.21.12.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:29:50 2004 UTC (22 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.21.12.2: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.12.2: +2 -2 lines
Fix the sync with head I botched.

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

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

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

Revision 1.17.2.6: download - view: text, markup, annotated - select for diffs
Wed Jul 10 17:25:06 2002 UTC (24 years, 4 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.17.2.5: preferred, colored; branchpoint 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17.2.5: +4 -4 lines
Don't need curlwp here.

Revision 1.17.2.5: download - view: text, markup, annotated - select for diffs
Mon Jun 24 22:10:07 2002 UTC (24 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.17.2.4: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.2.4: +4 -4 lines
Curproc->curlwp renaming.

Change uses of "curproc->l_proc" back to "curproc", which is more like the
original use. Bare uses of "curproc" are now "curlwp".

"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL)
so that it is always safe to reference curproc (*de*referencing curproc
is another story, but that's always been true).

Revision 1.17.2.4: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:45:58 2002 UTC (24 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.17.2.3: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.2.3: +124 -36 lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.14.4.4: download - view: text, markup, annotated - select for diffs
Wed Mar 27 10:18:04 2002 UTC (24 years, 7 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003
Diff to: previous 1.14.4.3: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.4.3: +128 -36 lines
Pull up revisions 1.19-1.21 (via patch, requested by itohy):
  Several changes to wss-compatible audio devices:
   o Fix ADPCM playback/recording
   o Add explicit support for OPL3-SA2 (YMF711), fixes PR#14819
   o Add AD1845 support
   o other minor bugfixes and cleanups

Revision 1.17.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 16 16:01:08 2002 UTC (24 years, 8 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.17.4.1: preferred, colored; branchpoint 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17.4.1: +171 -67 lines
Catch up with -current.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Mar 10 13:57:11 2002 UTC (24 years, 8 months ago) by itohy
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, 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, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, gehenna-devsw, fvdl_fs64_base, eeh-devprop-base, eeh-devprop
Branch point for: ktrace-lwp
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +124 -36 lines
Add explicit support of OPL3-SA2 (YMF711).
Not well tested....

Revision 1.17.2.3: download - view: text, markup, annotated - select for diffs
Thu Feb 28 04:13:49 2002 UTC (24 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.17.2.2: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.2.2: +49 -33 lines
Catch up to -current.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Feb 26 14:57:36 2002 UTC (24 years, 8 months ago) by itohy
Branches: MAIN
CVS tags: newlock-base, newlock, ifpoll-base
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +49 -33 lines
 1. Change equalizer (treble, bass) to be ``flat'' if the values set at
    the center position (128), so as to be compatible with other drivers.
    The equalizer is enhancement only, and the values < 128 don't take
    any effect.

    Yeah, this causes spec change....
    For equalization.treble and equalization.bass, the relation between
    old and new value is

	new_value = (old_value / 2) + 128.

    (Note this does not apply to equalization.surround.)

 2. Support ++ and -- of mixerctl(1) for stepping volume variables.

 3. Fix problem where the chip is not powered up
    when the mic input is unmuted.

Revision 1.17.4.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:55:48 2002 UTC (24 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +5 -1 lines
Sync kqueue branch with -current.

Revision 1.17.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:14:55 2001 UTC (25 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.17.2.1: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.2.1: +4 -1 lines
Catch up to -current.

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

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

Revision 1.17.2.1: download - view: text, markup, annotated - select for diffs
Mon Oct 8 20:11:09 2001 UTC (25 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -1 lines
Catch up to -current.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Oct 3 00:04:51 2001 UTC (25 years, 1 month ago) by augustss
Branches: MAIN
CVS tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -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.14.4.3: download - view: text, markup, annotated - select for diffs
Sun May 6 15:05:59 2001 UTC (25 years, 6 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Diff to: previous 1.14.4.2: preferred, colored; branchpoint 1.14: preferred, colored
Changes since revision 1.14.4.2: +12 -3 lines
Pull up revision 1.17 (requested by he):
  Add new powerhook argument values, PWR_SOFTSUSPEND, PWR_SOFTSTANDBY and
  PWR_SOFTRESUME.  Apm calls powerhook with the values in normal interrupt
  priority level while others are protected with splhigh().

Revision 1.12.2.2: download - view: text, markup, annotated - select for diffs
Fri Dec 8 09:12:27 2000 UTC (25 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.12.2.1: preferred, colored; branchpoint 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.2.1: +12 -3 lines
Sync with HEAD.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Nov 26 11:08:59 2000 UTC (25 years, 11 months ago) by takemura
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.16: preferred, colored
Changes since revision 1.16: +12 -3 lines
Add new powerhook argument values, PWR_SOFTSUSPEND, PWR_SOFTSTANDBY and
PWR_SOFTRESUME. Apm calls powerhook with the values in normal interrupt
priority level while others are protected with splhigh().

Revision 1.12.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 11:41:24 2000 UTC (26 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +82 -12 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.14.4.2: download - view: text, markup, annotated - select for diffs
Mon Sep 4 02:44:46 2000 UTC (26 years, 2 months ago) by itohy
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA
Diff to: previous 1.14.4.1: preferred, colored; branchpoint 1.14: preferred, colored
Changes since revision 1.14.4.1: +27 -11 lines
Pull up revision 1.16 (requested by itohy, approved by jhawk):
  Move ym_mixer_set_port() (if used) during attach AFTER initialization of
  power ctl stuff, or it makes unwanted changes to the CODEC settings.
  Split YM_VOL_EQUAL macro into YM_ENHANCE_TREBLE and YM_ENHANCE_BASS.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Sep 4 00:57:17 2000 UTC (26 years, 2 months ago) by itohy
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +27 -11 lines
Move ym_mixer_set_port() (if used) during attach AFTER initialization of
power ctl stuff, or it makes unwanted changes to the CODEC settings.

Revision 1.14.4.1: download - view: text, markup, annotated - select for diffs
Mon Aug 7 00:22:56 2000 UTC (26 years, 3 months ago) by augustss
Branches: netbsd-1-5
CVS tags: netbsd-1-5-ALPHA2
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +14 -1 lines
Pull up 1.14-1.15.  Start tone controls in middle position.
Approved by thorpej.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Jul 4 10:02:45 2000 UTC (26 years, 4 months ago) by augustss
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +14 -1 lines
MAke sure bass&treble start in their mid position.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Mar 23 07:01:36 2000 UTC (26 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.13: preferred, colored
Changes since revision 1.13: +10 -7 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.10.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:34:57 1999 UTC (26 years, 10 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +35 -10 lines
Pull up to last week's -current.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Dec 27 03:21:56 1999 UTC (26 years, 10 months ago) by itohy
Branches: MAIN
CVS tags: chs-ubc2-newbase
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +44 -6 lines
- Unmuting an external input source (CD playback, line input, and speaker)
  now prevents power down/save the device.
  The external input sources are muted by default at initialization.
- Change "power.power.*" to "power.save.*".  Sorry, spec change....
- Shorten tsleep(9) ident string for "ps l".

Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Oct 7 08:16:51 1999 UTC (27 years, 1 month ago) by itohy
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999
Branch point for: thorpej_scsipi
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
Oops!  Make it compile again.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Oct 7 03:28:56 1999 UTC (27 years, 1 month ago) by itohy
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +35 -10 lines
Fix power-related init code.
Change the default mixer setting to make wave and OPL3 volume even.
Mute the chip during attach not to make noise.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Oct 5 03:46:08 1999 UTC (27 years, 1 month ago) by itohy
Branches: MAIN
Branch point for: wrstuden-devbsize
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +912 -132 lines
New ym driver.
 1. Add power control to reduce power consumption.
    The behavior can be controlled by mixerctl(1).
 2. Add suspend/resume hook to keep the parameters.
    Currently this includes CODEC and control registers but
    does not include the DMA state.  FIXME.
 3. Support "opl at ym" and "mpu at ym" attachment.
    Actually, this is required for power control.
 4. Add support for the on-chip 3D enhancement hardware.
    This includes bass/treble enhancement, wide stereo, and
    the equalization mode.  This can be controlled by mixerctl(1).
 5. Make "audioctl -w play.gain=xxx" work like as
    "mixerctl -w inputs.dac=xxx" and now it changes
    the wave output volume correctly.
 6. Support hardware master volume switches.
 7. Change formula of calculating gain so that all the levels
    should be used equally.
 8. Change "audioctl name" to "OPL3-SA3" and "audioctl version"
    to the version of the chip.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Feb 18 17:27:39 1999 UTC (27 years, 9 months ago) by mycroft
Branches: MAIN
CVS tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, chs-ubc2-base, chs-ubc2
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3 lines
Add separate halt_input and halt_output methods in ad1848_isa, which disable
the DMA channel.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Feb 17 23:05:29 1999 UTC (27 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +8 -6 lines
Use the trigger interface, and clean up a pile of cruft.

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

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Oct 11 17:02:36 1998 UTC (28 years, 1 month ago) by augustss
Branches: MAIN
CVS tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
Call correct ad1848 attach routine.  Fixes PR 6269.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Aug 25 22:34:31 1998 UTC (28 years, 2 months ago) by pk
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +22 -23 lines
Split the AD1848 driver into MI (dev/ic/ad1848.c) and ISA parts.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Aug 17 21:16:15 1998 UTC (28 years, 3 months ago) by augustss
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +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.3: download - view: text, markup, annotated - select for diffs
Wed Jun 17 08:17:25 1998 UTC (28 years, 5 months ago) by augustss
Branches: MAIN
CVS tags: eeh-paddr_t-base, eeh-paddr_t
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -2 lines
Remove a bunch of totally unnecessary #include <machine/pio.h>
left over from the olden days.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu May 21 19:09:28 1998 UTC (28 years, 6 months ago) by augustss
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +285 -284 lines
Add a newline.
KNF.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed May 20 16:19:43 1998 UTC (28 years, 6 months ago) by augustss
Branches: MAIN
Add a Yamaha OPL3-SA3 driver and clean up all AD1848 drivers.
Submitted by Constantine Sapuntzakis <csapuntz@reeducation-labor.lcs.mit.edu>
and originally written for OpenBSD.

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>