The NetBSD Project

CVS log for src/sys/dev/pci/eap.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.102.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 17 17:58:46 2024 UTC (5 months, 2 weeks ago) by martin
Branches: netbsd-9
Diff to: previous 1.102: preferred, colored; next MAIN 1.103: preferred, colored
Changes since revision 1.102: +33 -3 lines
Pull up following revision(s) (requested by nia in ticket #1843):

	sys/dev/pci/eap.c: revision 1.103

eap(4): Restore the full set of supported hardware encodings from netbsd-7

Tested in QEMU.

Revision 1.102.28.1: download - view: text, markup, annotated - select for diffs
Mon Jun 17 17:57:35 2024 UTC (5 months, 2 weeks ago) by martin
Branches: netbsd-10
Diff to: previous 1.102: preferred, colored; next MAIN 1.103: preferred, colored
Changes since revision 1.102: +33 -3 lines
Pull up following revision(s) (requested by nia in ticket #697):

	sys/dev/pci/eap.c: revision 1.103

eap(4): Restore the full set of supported hardware encodings from netbsd-7

Tested in QEMU.

Revision 1.103: download - view: text, markup, annotated - select for diffs
Fri May 17 12:20:02 2024 UTC (6 months, 2 weeks ago) by nia
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +33 -3 lines
eap(4): Restore the full set of supported hardware encodings from netbsd-7

Tested in QEMU.

Revision 1.97.10.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:26 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.97.10.1: preferred, colored; branchpoint 1.97: preferred, colored; next MAIN 1.98: preferred, colored
Changes since revision 1.97.10.1: +6 -6 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.102: download - view: text, markup, annotated - select for diffs
Thu Jul 25 15:06:07 2019 UTC (5 years, 4 months ago) by msaitoh
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, thorpej-altq-separation-base, thorpej-altq-separation, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-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, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: netbsd-9, netbsd-10
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +6 -6 lines
 Make register address unsigned to avoid undefined behavior. Found by KUBSan.

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

Revision 1.101: download - view: text, markup, annotated - select for diffs
Sat Jun 8 08:02:38 2019 UTC (5 years, 5 months ago) by isaki
Branches: MAIN
CVS tags: phil-wifi-20190609
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +4 -4 lines
Clean get_props().
- Make get_props() return AUDIO_PROP_{PLAYBACK,CAPTURE} properly.
  This eliminates need for audio.c to take care of such (old)
  drivers which don't return both of PLAYBACK and CAPTURE.
- All get_props() doesn't need to return AUDIO_PROP_MMAP.
  It is handled in the audio layer now.

Revision 1.100: download - view: text, markup, annotated - select for diffs
Wed May 8 13:40:18 2019 UTC (5 years, 6 months ago) by isaki
Branches: MAIN
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +55 -175 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.99.2.4: download - view: text, markup, annotated - select for diffs
Sat May 4 07:20:10 2019 UTC (5 years, 7 months ago) by isaki
Branches: isaki-audio2
Diff to: previous 1.99.2.3: preferred, colored; branchpoint 1.99: preferred, colored; next MAIN 1.100: preferred, colored
Changes since revision 1.99.2.3: +3 -3 lines
Move dev/audio_if.h -> dev/audio/audio_if.h

Revision 1.99.2.3: download - view: text, markup, annotated - select for diffs
Tue Apr 30 06:05:02 2019 UTC (5 years, 7 months ago) by isaki
Branches: isaki-audio2
Diff to: previous 1.99.2.2: preferred, colored; branchpoint 1.99: preferred, colored
Changes since revision 1.99.2.2: +42 -70 lines
More adapt to audio2.
- Use set_format.
- Remove an empty method.
- XXX DAC1 and secondary audio device support should be removed.
  Now mixing two (or more) sources is done by audio layer.

Revision 1.99.2.2: download - view: text, markup, annotated - select for diffs
Sun Apr 21 07:55:25 2019 UTC (5 years, 7 months ago) by isaki
Branches: isaki-audio2
Diff to: previous 1.99.2.1: preferred, colored; branchpoint 1.99: preferred, colored
Changes since revision 1.99.2.1: +17 -116 lines
Adapt to audio2.
- Drop INDEPENDENT property from es1370 which has only one clock.

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

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

Revision 1.97.8.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 14:01:49 2018 UTC (5 years, 11 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.97: preferred, colored; next MAIN 1.98: preferred, colored
Changes since revision 1.97: +4 -3 lines
Sync with HEAD, resolve a few conflicts

Revision 1.98: download - view: text, markup, annotated - select for diffs
Sun Dec 9 11:14:02 2018 UTC (5 years, 11 months ago) by jdolecek
Branches: MAIN
CVS tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +4 -3 lines
use pci_intr_establish_xname() everywhere

Revision 1.94.8.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:07 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.94.8.1: preferred, colored; branchpoint 1.94: preferred, colored; next MAIN 1.95: preferred, colored
Changes since revision 1.94.8.1: +2 -4 lines
update from HEAD

Revision 1.95.6.2: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:52:05 2017 UTC (7 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.95.6.1: preferred, colored; branchpoint 1.95: preferred, colored; next MAIN 1.96: preferred, colored
Changes since revision 1.95.6.1: +2 -4 lines
Sync with HEAD

Revision 1.97: download - view: text, markup, annotated - select for diffs
Thu Jun 1 02:45:11 2017 UTC (7 years, 6 months ago) by chs
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, phil-wifi-base, pgoyette-compat-base, 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, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Branch point for: phil-wifi, pgoyette-compat
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +2 -4 lines
remove checks for failure after memory allocation calls that cannot fail:

  kmem_alloc() with KM_SLEEP
  kmem_zalloc() with KM_SLEEP
  percpu_alloc()
  pserialize_create()
  psref_class_create()

all of these paths include an assertion that the allocation has not failed,
so callers should not assert that again.

Revision 1.95.6.1: download - view: text, markup, annotated - select for diffs
Sat Jul 9 20:25:03 2016 UTC (8 years, 4 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +4 -4 lines
Sync with HEAD

Revision 1.96: download - view: text, markup, annotated - select for diffs
Thu Jul 7 06:55:41 2016 UTC (8 years, 4 months ago) by msaitoh
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +4 -4 lines
KNF. Remove extra spaces. No functional change.

Revision 1.94.8.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:42 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +4 -3 lines
Rebase to HEAD as of a few days ago.

Revision 1.92.34.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:24 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.92.34.1: preferred, colored; branchpoint 1.92: preferred, colored; next MAIN 1.93: preferred, colored
Changes since revision 1.92.34.1: +4 -3 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.94.12.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:39 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.94: preferred, colored; next MAIN 1.95: preferred, colored
Changes since revision 1.94: +4 -3 lines
sync with head

Revision 1.95: download - view: text, markup, annotated - select for diffs
Sat Mar 29 19:28:24 2014 UTC (10 years, 8 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9, 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, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Branch point for: nick-nhusb
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +4 -3 lines
make pci_intr_string and eisa_intr_string take a buffer and a length
instead of relying in local static storage.

Revision 1.92.34.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:07:44 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +61 -114 lines
sync with head

Revision 1.94: download - view: text, markup, annotated - select for diffs
Thu Nov 24 03:35:58 2011 UTC (13 years ago) by mrg
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, riastradh-drm2-base3, 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.93: preferred, colored
Changes since revision 1.93: +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.93: download - view: text, markup, annotated - select for diffs
Wed Nov 23 23:07:35 2011 UTC (13 years ago) by jmcneill
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +62 -115 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.92.36.2: download - view: text, markup, annotated - select for diffs
Tue Nov 22 22:47:09 2011 UTC (13 years ago) by jmcneill
Branches: jmcneill-audiomp3
Diff to: previous 1.92.36.1: preferred, colored; branchpoint 1.92: preferred, colored; next MAIN 1.93: preferred, colored
Changes since revision 1.92.36.1: +2 -4 lines
get rid of unused 'powerstate' callback in audio_hw_if

Revision 1.92.36.1: download - view: text, markup, annotated - select for diffs
Sat Nov 19 21:49:42 2011 UTC (13 years ago) by jmcneill
Branches: jmcneill-audiomp3
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +62 -113 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.92.12.5: download - view: text, markup, annotated - select for diffs
Fri Dec 12 23:06:58 2008 UTC (15 years, 11 months ago) by ad
Branches: ad-audiomp2
Diff to: previous 1.92.12.4: preferred, colored; branchpoint 1.92: preferred, colored; next MAIN 1.93: preferred, colored
Changes since revision 1.92.12.4: +5 -83 lines
Checkpoint work in progress.

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

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

Revision 1.92.12.2: download - view: text, markup, annotated - select for diffs
Mon Dec 8 13:02:38 2008 UTC (15 years, 11 months ago) by ad
Branches: ad-audiomp2
Diff to: previous 1.92.12.1: preferred, colored; branchpoint 1.92: preferred, colored
Changes since revision 1.92.12.1: +7 -11 lines
Death to NOWAIT.

Revision 1.92.12.1: download - view: text, markup, annotated - select for diffs
Sun Dec 7 13:02:13 2008 UTC (15 years, 11 months ago) by ad
Branches: ad-audiomp2
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +51 -21 lines
Ressurect the ad-audiomp branch at request of matt@.

With this commit:

- core audio subsystem made MPSAFE
- eap, btsco drivers made MPSAFE

TODO:

- midi
- convert remaining drivers

Revision 1.90.16.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:37 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.90.16.1: preferred, colored; branchpoint 1.90: preferred, colored; next MAIN 1.91: preferred, colored
Changes since revision 1.90.16.1: +0 -7 lines
Sync with HEAD.

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

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

Revision 1.92: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:54 2008 UTC (16 years, 7 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-nfs-mp-base9, 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-base11, yamt-nfs-mp-base10, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, 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-premerge-20101231, matt-mips64-base2, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, jruoho-x86intr-base, jruoho-x86intr, jmcneill-audiomp3-base, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, ad-audiomp2-base
Branch point for: yamt-pagecache, jmcneill-audiomp3, ad-audiomp2
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +2 -9 lines
Remove clause 3 and 4 from TNF licenses

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

Revision 1.90.12.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:15:47 2008 UTC (16 years, 8 months ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.90: preferred, colored; next MAIN 1.91: preferred, colored
Changes since revision 1.90: +55 -58 lines
sync with head.

Revision 1.89.16.2: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:46 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.89.16.1: preferred, colored; branchpoint 1.89: preferred, colored; next MAIN 1.90: preferred, colored
Changes since revision 1.89.16.1: +55 -58 lines
sync with HEAD

Revision 1.79.2.5: download - view: text, markup, annotated - select for diffs
Mon Mar 17 09:15:11 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.79.2.4: preferred, colored; branchpoint 1.79: preferred, colored; next MAIN 1.80: preferred, colored
Changes since revision 1.79.2.4: +55 -58 lines
sync with head.

Revision 1.91: download - view: text, markup, annotated - select for diffs
Tue Mar 4 22:12:55 2008 UTC (16 years, 9 months ago) by cube
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +55 -58 lines
Split device_t/softc, and other related cosmetic changes.

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

Revision 1.79.2.4: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:32:43 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.79.2.3: preferred, colored; branchpoint 1.79: preferred, colored
Changes since revision 1.79.2.3: +3 -3 lines
sync with head.

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

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

Revision 1.90: download - view: text, markup, annotated - select for diffs
Fri Oct 19 12:00:43 2007 UTC (17 years, 1 month ago) by ad
Branches: MAIN
CVS tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-armv6-base, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs2, keiichi-mipv6
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +3 -3 lines
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

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

Revision 1.88.4.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:55:13 2007 UTC (17 years, 8 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.88: preferred, colored; next MAIN 1.89: preferred, colored
Changes since revision 1.88: +3 -3 lines
Sync with HEAD.

Revision 1.89: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:02:17 2007 UTC (17 years, 9 months ago) by christos
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-idlelwp-base8, vmlocking-base, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: vmlocking, matt-armv6, jmcneill-pm, bouyer-xenamd64
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +3 -3 lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

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

Revision 1.79.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:48:43 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.79.2.1: preferred, colored; branchpoint 1.79: preferred, colored
Changes since revision 1.79.2.1: +52 -25 lines
sync with head.

Revision 1.86.4.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:17:42 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.86.4.1: preferred, colored; branchpoint 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86.4.1: +15 -15 lines
sync with head.

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

Revision 1.88: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:33:08 2006 UTC (18 years ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, 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, ad-audiomp-base
Branch point for: yamt-idlelwp, ad-audiomp
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +15 -15 lines
__unused removal on arguments; approved by core.

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

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

Revision 1.81.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:52:16 2006 UTC (18 years, 2 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81: +66 -34 lines
sync with head

Revision 1.81.8.3: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:24:21 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.81.8.2: preferred, colored; branchpoint 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81.8.2: +4 -2 lines
sync with head.

Revision 1.86: download - view: text, markup, annotated - select for diffs
Wed Aug 30 00:42:41 2006 UTC (18 years, 3 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +4 -2 lines
fix incomplete initializers

Revision 1.81.8.2: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:44:25 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.81.8.1: preferred, colored; branchpoint 1.81: preferred, colored
Changes since revision 1.81.8.1: +46 -23 lines
sync with head

Revision 1.83.2.1: download - view: text, markup, annotated - select for diffs
Thu Jul 13 17:49:27 2006 UTC (18 years, 4 months ago) by gdamore
Branches: gdamore-uart
Diff to: previous 1.83: preferred, colored; next MAIN 1.84: preferred, colored
Changes since revision 1.83: +46 -23 lines
Merge from HEAD.

Revision 1.85: download - view: text, markup, annotated - select for diffs
Sat Jul 1 15:22:06 2006 UTC (18 years, 5 months ago) by chap
Branches: MAIN
CVS tags: yamt-pdpolicy-base7, abandoned-netbsd-4-base, abandoned-netbsd-4
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +12 -13 lines
Correct build failures when MIDI is not enabled (the idea!).

Specifically eap but no midi, which makes sense if you want sound,
and umidi but no midi, which makes little sense but shouldn't fail the
build.

Suggest changing the evbarm conf files containing umidi but #midi
to comment out umidi as well (even though this fix should let them build).

Revision 1.84: download - view: text, markup, annotated - select for diffs
Fri Jun 30 13:56:25 2006 UTC (18 years, 5 months ago) by chap
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +47 -23 lines
Ankh-Morpork, we have a MIDI driver....

Merge from chap-midi branch, after
~month for review
Comments by thorpej@ drochner@ and Alexandre Ratchov

Incorporated: points by thorpej@ drochner@; preliminary support for
a stats-collecting ioctl suggested by martin@ from comments by A.R.

PR kern/32441 kern/32442 kern/32567 kern/32588 kern/32694 kern/33590
kern/33614 and one instance of kern/32651

ok martin@

Revision 1.81.8.1: download - view: text, markup, annotated - select for diffs
Mon Jun 26 12:51:21 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +20 -13 lines
sync with head.

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

Revision 1.81.14.2: download - view: text, markup, annotated - select for diffs
Mon Jun 19 04:01:35 2006 UTC (18 years, 5 months ago) by chap
Branches: chap-midi
Diff to: previous 1.81.14.1: preferred, colored; branchpoint 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81.14.1: +20 -13 lines
Sync with head.

Revision 1.81.14.1: download - view: text, markup, annotated - select for diffs
Sun Jun 18 09:22:24 2006 UTC (18 years, 5 months ago) by chap
Branches: chap-midi
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +47 -23 lines
Updates PR kern/32651

The eap driver now makes use of the MIDI UART tx interrupt available on
the Ensoniq chips.  A test with nominally 20 seconds of continuous transmit
data went from 26 s real / 25 s system to 22 s real / 0.16 s system.
Implementation is quite simple, and anyone who knows any of the other
MIDI UART chips well enough to get a tx interrupt out of it would do a
world of good by updating their drivers similarly.

Anyway, scratch one off the kern/32651 todo list.

Also added a documentation reference to the ES1373 datasheet, and added
more 1371- and 1373-specific #defines in eapreg.h.  Enough there now that
anyone who wanted to play with the S/PDIF capability on the 1373 could
begin to do that.

Revision 1.83: download - view: text, markup, annotated - select for diffs
Tue Jun 13 21:03:04 2006 UTC (18 years, 5 months ago) by rpaulo
Branches: MAIN
CVS tags: yamt-pdpolicy-base6, gdamore-uart-base, chap-midi-nbase, chap-midi-base
Branch point for: gdamore-uart
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +9 -2 lines
Initialize the mixer delta value to 8 for the 1370 version. No
objections in tech-kern.

Revision 1.82: download - view: text, markup, annotated - select for diffs
Sat Jun 10 12:29:39 2006 UTC (18 years, 5 months ago) by rpaulo
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +13 -13 lines
KNF.

Revision 1.81: download - view: text, markup, annotated - select for diffs
Sat Dec 24 20:27:42 2005 UTC (18 years, 11 months ago) by perry
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, 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, elad-kernelauth-base, elad-kernelauth
Branch point for: yamt-pdpolicy, rpaulo-netinet-merge-pcb, chap-midi
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +3 -3 lines
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

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

Revision 1.66.2.11: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:06:01 2005 UTC (19 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.66.2.10: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66.2.10: +97 -93 lines
Sync with HEAD. Here we go again...

Revision 1.79: download - view: text, markup, annotated - select for diffs
Tue Jun 28 00:28:42 2005 UTC (19 years, 5 months ago) by thorpej
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.78: preferred, colored
Changes since revision 1.78: +97 -93 lines
Use ANSI function decls and static.

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

Revision 1.76.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:35:10 2005 UTC (19 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76: +12 -12 lines
sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.66.2.10: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:45:17 2005 UTC (19 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.66.2.9: preferred, colored
Changes since revision 1.66.2.9: +3 -3 lines
Sync with HEAD.

Hi Perry!

Revision 1.78: download - view: text, markup, annotated - select for diffs
Sun Feb 27 00:27:32 2005 UTC (19 years, 9 months ago) by perry
Branches: MAIN
CVS tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +3 -3 lines
nuke trailing whitespace

Revision 1.66.2.9: download - view: text, markup, annotated - select for diffs
Tue Feb 15 21:33:13 2005 UTC (19 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.66.2.8: preferred, colored
Changes since revision 1.66.2.8: +11 -11 lines
Sync with HEAD.

Revision 1.77: download - view: text, markup, annotated - select for diffs
Sun Feb 13 23:58:38 2005 UTC (19 years, 9 months ago) by fredb
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +11 -11 lines
"output.source" on the Ensoniq 1371 really should be "input.source". Making
it so lets the audio(4) interface -- play.port and play.gain -- attach
properly.  Analysis and patch provided by Joachim Kuebart in PR kern/29178.

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

Revision 1.76: download - view: text, markup, annotated - select for diffs
Sat Jan 15 15:19:52 2005 UTC (19 years, 10 months ago) by kent
Branches: MAIN
CVS tags: yamt-km-base2, yamt-km-base
Branch point for: yamt-km, kent-audio2
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +279 -241 lines
ansify and KNF

Revision 1.75: download - view: text, markup, annotated - select for diffs
Mon Jan 10 22:01:37 2005 UTC (19 years, 10 months ago) by kent
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +40 -71 lines
merge kent-audio1 branch, which introduces audio filter pipeline to the MI
audio framework


Summary of changes:

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

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

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

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

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

* all of audio HW drivers follow audio_hw_if and ac97 changes

Revision 1.74.2.2: download - view: text, markup, annotated - select for diffs
Sun Jan 9 08:42:46 2005 UTC (19 years, 10 months ago) by kent
Branches: kent-audio1
Diff to: previous 1.74.2.1: preferred, colored; branchpoint 1.74: preferred, colored; next MAIN 1.75: preferred, colored
Changes since revision 1.74.2.1: +6 -15 lines
audio_hw_if change
 * make open() and close() optional
 * add int (AUMODE_PLAY or AUMODE_RECORD) and audio_params_t parameters
 to round_blocksize()

Revision 1.74.2.1: download - view: text, markup, annotated - select for diffs
Sun Jan 2 20:03:11 2005 UTC (19 years, 11 months ago) by kent
Branches: kent-audio1
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +36 -58 lines
* adopt the filter pipeline framework
* follow ac97_attach() change

Revision 1.66.2.7: download - view: text, markup, annotated - select for diffs
Sun Nov 14 08:15:44 2004 UTC (20 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.66.2.6: preferred, colored
Changes since revision 1.66.2.6: +2 -22 lines
Sync with HEAD.

Revision 1.74: download - view: text, markup, annotated - select for diffs
Tue Nov 9 16:28:14 2004 UTC (20 years ago) by kent
Branches: MAIN
CVS tags: kent-audio1-beforemerge, kent-audio1-base
Branch point for: kent-audio1
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +2 -22 lines
remove mixer setting code in *_attach() because ac97_attach() does it.

Revision 1.66.2.6: download - view: text, markup, annotated - select for diffs
Tue Nov 2 07:52:09 2004 UTC (20 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.66.2.5: preferred, colored
Changes since revision 1.66.2.5: +6 -6 lines
Sync with HEAD.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Fri Oct 29 12:57:18 2004 UTC (20 years, 1 month ago) by yamt
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +6 -6 lines
constify audio_hw_if, midi_hw_if, and radio_hw_if.

Revision 1.66.2.5: download - view: text, markup, annotated - select for diffs
Fri Sep 24 10:53:27 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.66.2.4: preferred, colored
Changes since revision 1.66.2.4: +5 -5 lines
Sync with HEAD.

Revision 1.67.2.1: download - view: text, markup, annotated - select for diffs
Wed Sep 22 20:58:27 2004 UTC (20 years, 2 months ago) by jmc
Branches: netbsd-2-0
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-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
Diff to: previous 1.67: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67: +5 -5 lines
Pullup rev 1.72 (requested by kent in ticket #867)

ac97_host_if::reset() returns non-zero value if codec reset fails, and
ac97 is not attached in that case. PR#26973

Revision 1.72: download - view: text, markup, annotated - select for diffs
Wed Sep 22 12:20:25 2004 UTC (20 years, 2 months ago) by kent
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +5 -5 lines
ac97_host_if::reset() returns non-zero value if codec reset fails, and
ac97 is not attached in that case.

PR: kern/26973

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

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

Revision 1.66.2.2: download - view: text, markup, annotated - select for diffs
Thu Aug 12 11:41:44 2004 UTC (20 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.66.2.1: preferred, colored
Changes since revision 1.66.2.1: +21 -9 lines
Sync with HEAD.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Tue Aug 3 18:42:30 2004 UTC (20 years, 4 months ago) by drochner
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +21 -9 lines
Check return values of config_detach() for child devices and abort
our own detach() on errors.

Revision 1.66.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:49:06 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +33 -16 lines
Sync with HEAD

Revision 1.70: download - view: text, markup, annotated - select for diffs
Fri Jul 9 02:42:45 2004 UTC (20 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +6 -13 lines
Clean up.  Attempt to make these safer against stray interrupts.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Thu Jul 8 19:39:00 2004 UTC (20 years, 4 months ago) by drochner
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +26 -2 lines
support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)

Revision 1.68: download - view: text, markup, annotated - select for diffs
Fri Apr 23 21:13:06 2004 UTC (20 years, 7 months ago) by itojun
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +3 -3 lines
pass string length (= boundary info) to pci_devinfo so that we do not run over
the end of memory region

Revision 1.67: download - view: text, markup, annotated - select for diffs
Thu Dec 4 13:57:31 2003 UTC (21 years ago) by keihan
Branches: MAIN
CVS tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +4 -4 lines
netbsd.org -> NetBSD.org

This was the last commit of this kind to src/sys, which is now totally
"NetBSD.org clean".  Thanks for the patiance, and sorry for all the commits.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Sat May 3 18:11:33 2003 UTC (21 years, 7 months ago) by wiz
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +5 -5 lines
DMA, not dma nor Dma.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Sat Feb 1 06:23:38 2003 UTC (21 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +7 -6 lines
Add extensible malloc types, adapted from FreeBSD.  This turns
malloc types into a structure, a pointer to which is passed around,
instead of an int constant.  Allow the limit to be adjusted when the
malloc type is defined, or with a function call, as suggested by
Jonathan Stone.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Fri Jan 31 00:07:41 2003 UTC (21 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +11 -8 lines
Use aprint_*().

Revision 1.44.2.11: download - view: text, markup, annotated - select for diffs
Wed Jan 15 18:44:18 2003 UTC (21 years, 10 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.44.2.10: preferred, colored; branchpoint 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44.2.10: +42 -9 lines
Sync with HEAD.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Tue Jan 14 02:23:29 2003 UTC (21 years, 10 months ago) by mrg
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +42 -9 lines
add detach support

Revision 1.44.2.10: download - view: text, markup, annotated - select for diffs
Sun Dec 29 20:49:21 2002 UTC (21 years, 11 months ago) by thorpej
Branches: nathanw_sa
Diff to: previous 1.44.2.9: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.2.9: +25 -4 lines
Sync with HEAD.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Thu Dec 26 17:59:16 2002 UTC (21 years, 11 months ago) by pooka
Branches: MAIN
CVS tags: fvdl_fs64_base
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +25 -4 lines
For the ES1370 do "best effort" rate selection for the FM DAC. The
card contains only one clock, which is already used by the other
DAC. The FM DAC can handle a few fixed-frequency choices.

thanks to Matthew Green for testing

Revision 1.44.2.9: download - view: text, markup, annotated - select for diffs
Thu Dec 19 00:48:09 2002 UTC (21 years, 11 months ago) by thorpej
Branches: nathanw_sa
Diff to: previous 1.44.2.8: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.2.8: +15 -10 lines
Sync with HEAD.

Revision 1.48.10.1: download - view: text, markup, annotated - select for diffs
Sun Dec 15 16:27:34 2002 UTC (21 years, 11 months ago) by he
Branches: netbsd-1-6
CVS tags: 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
Diff to: previous 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48: +3 -3 lines
Pull up revision 1.59 (requested by pooka in ticket #1035):
  Don't use tsleep() in attach, use delay().  Makes the driver
  work properly with ``Ensoniq CT5880''-based audio card.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Sat Dec 14 17:52:47 2002 UTC (21 years, 11 months ago) by pooka
Branches: MAIN
CVS tags: gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +15 -10 lines
Silly me for assuming that the CT5880 cards could be identified by looking
at which ones had the Product ID CT5880. Try to get the checks right now.

Also add ES1373_8 to the list.

Revision 1.44.2.8: download - view: text, markup, annotated - select for diffs
Wed Dec 11 06:38:16 2002 UTC (21 years, 11 months ago) by thorpej
Branches: nathanw_sa
Diff to: previous 1.44.2.7: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.2.7: +25 -18 lines
Sync with HEAD.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Thu Dec 5 11:26:26 2002 UTC (22 years ago) by pooka
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +16 -10 lines
Recognize a few more CT5880 chips. Only cosmetic, does not
affect functionality.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Sat Nov 30 00:20:02 2002 UTC (22 years ago) by pooka
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +3 -3 lines
Don't use tsleep() in attach, use delay()

This change makes the driver work properly for the following card,
which used to function a bit weird:

eap0 at pci0 dev 10 function 0: Ensoniq CT5880 CT5880C (rev. 0x02)
eap0: interrupting at irq 9
eap0: TriTech TR28602 codec; no 3D stereo

Revision 1.58: download - view: text, markup, annotated - select for diffs
Sun Nov 24 12:06:12 2002 UTC (22 years ago) by scw
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +5 -4 lines
Fix uninitialised variable warnings.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Thu Nov 14 04:43:23 2002 UTC (22 years ago) by gson
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +7 -7 lines
eap.c 1.54 changed ES1371 specific code but failed to make the
corresponding cases to the ES1370 case, causing a panic when
attaching an ES1370.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Mon Nov 11 22:17:47 2002 UTC (22 years ago) by pooka
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +4 -4 lines
rename EAP_EN() to the more descriptive EAP_DAC_EN(), and
use it everywhere.

Revision 1.44.2.7: download - view: text, markup, annotated - select for diffs
Mon Nov 11 22:11:03 2002 UTC (22 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.44.2.6: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.2.6: +154 -66 lines
Catch up to -current

Revision 1.55: download - view: text, markup, annotated - select for diffs
Thu Nov 7 06:54:25 2002 UTC (22 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +4 -6 lines
Don't use newlines in string literals.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Mon Nov 4 16:34:25 2002 UTC (22 years, 1 month ago) by pooka
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +158 -68 lines
add support for the second DAC found on the chip. to attach the second
audio device, define EAP_USE_BOTH_DACS

Revision 1.44.2.6: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:42:59 2002 UTC (22 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.44.2.5: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.2.5: +6 -5 lines
Catch up to -current.

Revision 1.45.2.4: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:40:32 2002 UTC (22 years, 1 month ago) by jdolecek
Branches: kqueue
Diff to: previous 1.45.2.3: preferred, colored; branchpoint 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.2.3: +4 -5 lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.53: download - view: text, markup, annotated - select for diffs
Thu Oct 10 15:39:01 2002 UTC (22 years, 1 month ago) by pooka
Branches: MAIN
CVS tags: kqueue-beforemerge, kqueue-aftermerge
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +6 -4 lines
make a few debug printf's match reality

Revision 1.52: download - view: text, markup, annotated - select for diffs
Wed Oct 2 16:51:09 2002 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: kqueue-base
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +3 -3 lines
Add trailing ; to CFATTACH_DECL.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Mon Sep 30 20:37:16 2002 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +4 -5 lines
Use CFATTACH_DECL().

Revision 1.50: download - view: text, markup, annotated - select for diffs
Fri Sep 27 20:39:53 2002 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +3 -3 lines
Declare all cfattach structures const.

Revision 1.45.2.3: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:45:09 2002 UTC (22 years, 3 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.45.2.2: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.2.2: +11 -2 lines
sync kqueue branch with HEAD

Revision 1.44.2.5: download - view: text, markup, annotated - select for diffs
Thu Aug 1 02:45:12 2002 UTC (22 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.44.2.4: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.2.4: +10 -1 lines
Catch up to -current.

Revision 1.48.8.1: download - view: text, markup, annotated - select for diffs
Mon Jul 15 10:35:34 2002 UTC (22 years, 4 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48: +11 -2 lines
catch up with -current.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Thu Jul 4 02:20:22 2002 UTC (22 years, 5 months ago) by gson
Branches: MAIN
CVS tags: gehenna-devsw-base
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +11 -2 lines
Mask MCCB interrupts since they are not currently handled
and it is not clear how they should be handled.  Fixes
kern/17071.

Revision 1.45.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:56:31 2002 UTC (22 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.45.2.1: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.2.1: +6 -1 lines
Sync kqueue branch with -current.

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

Revision 1.48: download - view: text, markup, annotated - select for diffs
Tue Nov 13 07:48:42 2001 UTC (23 years ago) by lukem
Branches: MAIN
CVS tags: newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, ifpoll-base, eeh-devprop-base, eeh-devprop
Branch point for: netbsd-1-6, gehenna-devsw
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +4 -1 lines
add RCSID

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

Revision 1.44.2.3: download - view: text, markup, annotated - select for diffs
Mon Oct 8 20:11:12 2001 UTC (23 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.44.2.2: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.2.2: +3 -1 lines
Catch up to -current.

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

Revision 1.44.2.2: download - view: text, markup, annotated - select for diffs
Fri Sep 21 22:35:54 2001 UTC (23 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.44.2.1: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.2.1: +3 -3 lines
Catch up to -current.

Revision 1.45.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 13 01:15:53 2001 UTC (23 years, 2 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +3 -3 lines
Update the kqueue branch to HEAD.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Mon Sep 3 15:07:37 2001 UTC (23 years, 3 months ago) by reinoud
Branches: MAIN
CVS tags: thorpej-devvp-base2, thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-devvp
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +3 -3 lines
Fixed compiling error when AUDIO_DEBUG was switched on ...

Revision 1.44.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 21 20:04:34 2001 UTC (23 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +31 -22 lines
Catch up to -current.

Revision 1.40.2.2: download - view: text, markup, annotated - select for diffs
Tue May 1 10:02:12 2001 UTC (23 years, 7 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Diff to: previous 1.40.2.1: preferred, colored; branchpoint 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40.2.1: +31 -22 lines
Pull up revision 1.45 (requested by hubertf):
  Work around race condition by relatching the interrupt.  Makes
  the eap driver not hang on certain occasions.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Tue Apr 24 21:03:33 2001 UTC (23 years, 7 months ago) by mycroft
Branches: MAIN
CVS tags: thorpej_scsipi_beforemerge
Branch point for: kqueue
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +31 -22 lines
It appears there's a race condition when disabling a channel that causes us to
need to explicitly relatch the interrupt when firing it up again.  So, in the
trigger routines, explicitly disable and reenable the interrupt to relatch it,
like we do in the interrupt routine.

Also clean up some broken loop overrun checks.

My ES1371 seems to be more reliable now, but I'm not going to pretend to fully
understand this chip.

Revision 1.27.2.3: download - view: text, markup, annotated - select for diffs
Sun Feb 11 19:15:53 2001 UTC (23 years, 9 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.27.2.2: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27.2.2: +111 -197 lines
Sync with HEAD.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Sat Jan 27 18:53:33 2001 UTC (23 years, 10 months ago) by augustss
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_base
Branch point for: nathanw_sa
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +110 -197 lines
ANSIfy.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Sat Jan 27 18:37:01 2001 UTC (23 years, 10 months ago) by augustss
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -1 lines
Sleep a little when closing the midi device to allow the UART to drain.

Revision 1.27.2.2: download - view: text, markup, annotated - select for diffs
Fri Jan 5 17:36:03 2001 UTC (23 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.27.2.1: preferred, colored
Changes since revision 1.27.2.1: +2 -3 lines
Sync with HEAD

Revision 1.42: download - view: text, markup, annotated - select for diffs
Thu Dec 28 22:59:12 2000 UTC (23 years, 11 months ago) by sommerfeld
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -3 lines
Change pci_intr_map to get interrupt source information from a "struct
pci_attach_args *" instead of from four separate parameters which in
all cases were extracted from the same "struct pci_attach_args".

This both simplifies the driver api, and allows for alternate PCI
interrupt mapping schemes, such as one using the tables described in
the Intel Multiprocessor Spec which describe interrupt wirings for
devices behind pci-pci bridges based on the device's location rather
the bridge's location.

Tested on alpha and i386; welcome to 1.5Q

Revision 1.27.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 11:42:18 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +736 -274 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.40.2.1: download - view: text, markup, annotated - select for diffs
Fri Jun 30 16:27:50 2000 UTC (24 years, 5 months ago) by simonb
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +4 -4 lines
Pull up mmap paddr_t/off_t changes from trunk.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Mon Jun 26 04:56:24 2000 UTC (24 years, 5 months ago) by simonb
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +4 -4 lines
Change the kernel mmap interface so that the offset to map is an
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes.  Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".

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

Revision 1.39.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 17:07:21 2000 UTC (24 years, 5 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +2 -3 lines
Sync w/ netbsd-1-5-base.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Thu Jun 1 09:58:19 2000 UTC (24 years, 6 months ago) by augustss
Branches: MAIN
CVS tags: netbsd-1-5-base
Branch point for: netbsd-1-5
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -3 lines
Update URLs.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Mon May 15 01:27:47 2000 UTC (24 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -2 lines
ac97.h -> ac97var.h

Revision 1.38: download - view: text, markup, annotated - select for diffs
Mon May 1 17:15:41 2000 UTC (24 years, 7 months ago) by augustss
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +42 -46 lines
Change the way the codec is access to mimic how Linux&FreeBSD does it.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Sun Apr 30 21:59:58 2000 UTC (24 years, 7 months ago) by augustss
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +264 -171 lines
Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>

Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Apr 24 17:55:24 2000 UTC (24 years, 7 months ago) by augustss
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +7 -7 lines
Move a test if the MIDI is open outside a loop in the interrupt routine.
Some stylistic changes.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sun Mar 19 17:11:50 2000 UTC (24 years, 8 months ago) by soren
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +37 -262 lines
Make it a bit more clear which functions are specific to which models.
Split off register definitions into eapreg.h.
Remove duplicate codec reset.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sat Mar 11 06:42:37 2000 UTC (24 years, 8 months ago) by soren
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -2 lines
The shortened 1371 reset delay in revision 1.32 doesn't seem to be
quite enough for my 1373, so increase it some.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Mon Mar 6 03:18:11 2000 UTC (24 years, 9 months ago) by perry
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +11 -3 lines
Make Creative Soundblaster PCI 128's work -- from Masahiro Ishiyama
Note that on device close, there's a sharp pop that probably should be fixed.

Note also that the device is hanging the machine at times for brief
periods inside audio.c::audiogetinfo(), but I haven't yet figured out
why.

Revision 1.27.6.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:35:15 1999 UTC (24 years, 11 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27: +681 -90 lines
Pull up to last week's -current.

Revision 1.27.4.1: download - view: text, markup, annotated - select for diffs
Mon Nov 15 00:40:58 1999 UTC (25 years ago) by fvdl
Branches: fvdl-softdep
Diff to: previous 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27: +681 -90 lines
Sync with -current

Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Nov 2 17:48:01 1999 UTC (25 years, 1 month ago) by augustss
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, fvdl-softdep-base, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -2 lines
Shorten some delay()s.  From WITEK Wnuk <witek@atari.org>

Revision 1.31: download - view: text, markup, annotated - select for diffs
Tue Nov 2 05:40:59 1999 UTC (25 years, 1 month ago) by soren
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +49 -23 lines
Fix crash when both 1370 and 1371/1373 devices are configured.
Update documentation links.
XXX The initial volume of the 1371 mixers is set to 255. Should be ~200.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Nov 1 18:12:20 1999 UTC (25 years, 1 month ago) by augustss
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +18 -20 lines
Make little endian and big endian version of all functions
that deal with 16 bit samples.  Let the drivers decide which ones
to use.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Oct 29 23:03:18 1999 UTC (25 years, 1 month ago) by augustss
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +129 -1 lines
Add MIDI support.
Closes PR 8578.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Wed Oct 27 13:20:34 1999 UTC (25 years, 1 month ago) by augustss
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +520 -82 lines
Add support for ES1371.  From OpenBSD and Ezra Story <ezy@panix.com>.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Sep 1 07:32:31 1999 UTC (25 years, 3 months ago) by kleink
Branches: MAIN
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -4 lines
Don't make a human-readable device description being printed at attach time
depend on PCIVERBOSE.

Revision 1.25.4.1: download - view: text, markup, annotated - select for diffs
Mon Aug 2 22:03:54 1999 UTC (25 years, 4 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +7 -7 lines
Update from trunk.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Jul 10 16:46:19 1999 UTC (25 years, 4 months ago) by kleink
Branches: MAIN
CVS tags: chs-ubc2-base
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +7 -7 lines
Fix a buglet in the driver's DMA buffer list ipmlementation, causing the next-
in-list (wrong) descriptor structure of the buffer in question to be freed.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Feb 18 07:59:30 1999 UTC (25 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
Branch point for: chs-ubc2
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -3 lines
Pass the correct address (PCI bus address, not PA) to the card.
Works on an Alpha now.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Feb 18 05:46:38 1999 UTC (25 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +34 -28 lines
Minor code munging.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Feb 17 23:55:18 1999 UTC (25 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -2 lines
Fix a silly type.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Feb 17 21:44:56 1999 UTC (25 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +4 -5 lines
Update comments.

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

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

Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Nov 25 22:17:07 1998 UTC (26 years ago) by augustss
Branches: MAIN
CVS tags: kenh-if-detach-base, kenh-if-detach
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +10 -7 lines
Make the copyright header conform to the NetBSD template.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Nov 19 15:38:25 1998 UTC (26 years ago) by mrg
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -1 lines
fix problems in many d_mmap routines:
	- returned EOPNOTSUPP rather than -1.
	- no check for negative offset.
many of these fix potential security problems in these drivers.


XXX XXX XXX
the d_mmap cdev routine should be changed to have a prototype like:
	paddr_t (*d_mmap) __P((dev_t, off_t, int));

by someone!

Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Aug 25 04:56:01 1998 UTC (26 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: chs-ubc-base, chs-ubc
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -2 lines
Add some braces to make egcs happy.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Aug 17 21:16:16 1998 UTC (26 years, 3 months ago) by augustss
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +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.15: download - view: text, markup, annotated - select for diffs
Sat Aug 15 03:02:46 1998 UTC (26 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
Make copyright notices with my name consistent.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Aug 12 19:09:55 1998 UTC (26 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +5 -4 lines
Associate the preamp with the mic volume in the input class.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Aug 12 18:55:03 1998 UTC (26 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +4 -4 lines
Oops; fix typos.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Aug 12 18:47:43 1998 UTC (26 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +41 -5 lines
Add a knob to enable/disable the mic preamp.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Aug 10 01:27:34 1998 UTC (26 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +12 -6 lines
For consistency, only do the rate coupling in full-duplex mode.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Aug 9 22:11:48 1998 UTC (26 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +7 -13 lines
Minor cleanup to debugging cruft.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Aug 9 20:32:34 1998 UTC (26 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +284 -260 lines
Several things:
* Use the new trigger_{in,out}put interface.
* Allow the play and record channels to have different encodings (but the
  same sample rate).
* Play u-law and a-law as 16-bit data.  (This may not work yet...)

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Jul 6 11:12:21 1998 UTC (26 years, 5 months ago) by augustss
Branches: MAIN
CVS tags: eeh-paddr_t-base, eeh-paddr_t
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +62 -27 lines
Add mixer output selection.
From gson@araneus.fi (Andreas Gustafsson)

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Jun 8 06:55:54 1998 UTC (26 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +1 -9 lines
Nuke __BROKEN_INDIRECT_CONFIG.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue May 26 13:28:03 1998 UTC (26 years, 6 months ago) by augustss
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +22 -2 lines
Fix a recording problem that occurs when the EAP chip sends its
interrupt just BEFORE the dma has finished rather than after.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed May 6 19:21:45 1998 UTC (26 years, 7 months ago) by augustss
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +7 -23 lines
Remove some lint.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat May 2 08:21:10 1998 UTC (26 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -3 lines
Adjust PCLKDIV by 2 to correct the output sample rate.  (Unfortunately, this
isn't documented.)
Fix typo in mappage routine.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat May 2 02:36:30 1998 UTC (26 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
Oops; fix typo.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat May 2 02:34:53 1998 UTC (26 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -6 lines
Fix reading of the master volume, and a hack that seems to make stereo output
work correctly.  (Will check the documentation as soon as I can read it.)

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri May 1 21:54:33 1998 UTC (26 years, 7 months ago) by augustss
Branches: MAIN
Add a driver for the Ensoniq AudioPCI sound card.  The driver still
needs some testing, but it seems to produce sound.  The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>.  Thanks.

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>