The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.38.8.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:45 2012 UTC (5 weeks, 4 days ago) by yamt
Branch: yamt-pagecache
Changes since 1.38: +52 -32 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

sync with head

Revision 1.40 / (download) - annotate - [select for diffs], Thu Nov 24 03:35:59 2011 UTC (6 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, netbsd-6, 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-base, jmcneill-usbmp, HEAD
Changes since 1.39: +4 -4 lines
Diff to previous 1.39 (colored)

put back IPL_AUDIO and splaudio(), at the request of rmind.  they are
aliases and now we can easily revert audio to IPL_VM if necessary,
without having to revert the whole branch.

Revision 1.39 / (download) - annotate - [select for diffs], Wed Nov 23 23:07:35 2011 UTC (6 months ago) by jmcneill
Branch: MAIN
Changes since 1.38: +51 -31 lines
Diff to previous 1.38 (colored)

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

  Add MP locking to the audio drivers.

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

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

Welcome to 5.99.57.

Revision 1.38.10.2 / (download) - annotate - [select for diffs], Tue Nov 22 22:47:10 2011 UTC (6 months ago) by jmcneill
Branch: jmcneill-audiomp3
Changes since 1.38.10.1: +2 -3 lines
Diff to previous 1.38.10.1 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)

get rid of unused 'powerstate' callback in audio_hw_if

Revision 1.38.10.1 / (download) - annotate - [select for diffs], Sat Nov 19 21:49:43 2011 UTC (6 months ago) by jmcneill
Branch: jmcneill-audiomp3
Changes since 1.38: +53 -32 lines
Diff to previous 1.38 (colored)

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

Revision 1.37.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:53:37 2011 UTC (14 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.37: +2 -4 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

sync with head

Revision 1.38 / (download) - annotate - [select for diffs], Sat Nov 13 13:52:05 2010 UTC (18 months, 1 week ago) by uebayasi
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, jmcneill-audiomp3-base, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, jmcneill-audiomp3
Changes since 1.37: +2 -4 lines
Diff to previous 1.37 (colored)

Don't pull in the whole uvm(9) API to access only PAGE_SIZE and
some other constants.  These are provided by sys/param.h now.

Revision 1.32.4.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:43 2010 UTC (2 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.32.4.2: +4 -4 lines
Diff to previous 1.32.4.2 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)

sync with head

Revision 1.37 / (download) - annotate - [select for diffs], Thu Nov 26 15:17:09 2009 UTC (2 years, 5 months ago) by njoly
Branch: 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, uebayasi-xip-base, uebayasi-xip, matt-premerge-20091211
Branch point for: rmind-uvmplock
Changes since 1.36: +4 -4 lines
Diff to previous 1.36 (colored)

Cleanup interrupt establish error messages. Do not mix
aprint_error/aprint_normal/printf calls for a single line.

Revision 1.32.4.2 / (download) - annotate - [select for diffs], Sat May 16 10:41:33 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.32.4.1: +7 -8 lines
Diff to previous 1.32.4.1 (colored) to branchpoint 1.32 (colored)

sync with head

Revision 1.33.14.1 / (download) - annotate - [select for diffs], Wed May 13 17:20:24 2009 UTC (3 years ago) by jym
Branch: jym-xensuspend
Changes since 1.33: +7 -8 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.36 / (download) - annotate - [select for diffs], Tue May 12 08:23:00 2009 UTC (3 years ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored)

use device_private().
"looks good" ad@
XXX for the device_t/softc split, please check the driver that no cases have been missed.

Revision 1.35 / (download) - annotate - [select for diffs], Wed May 6 10:34:32 2009 UTC (3 years ago) by cegger
Branch: MAIN
Changes since 1.34: +6 -7 lines
Diff to previous 1.34 (colored)

struct device * -> device_t, no functional changes intended.

Revision 1.34 / (download) - annotate - [select for diffs], Wed May 6 09:25:15 2009 UTC (3 years ago) by cegger
Branch: MAIN
Changes since 1.33: +4 -4 lines
Diff to previous 1.33 (colored)

struct cfdata * -> cfdata_t, no functional changes intended.

Revision 1.33.12.1 / (download) - annotate - [select for diffs], Thu Dec 11 19:49:31 2008 UTC (3 years, 5 months ago) by ad
Branch: ad-audiomp2
Changes since 1.33: +58 -34 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Checkpoint work in progress.

Revision 1.30.16.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:38 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.30.16.1: +11 -21 lines
Diff to previous 1.30.16.1 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored)

Sync with HEAD.

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:34:19 2008 UTC (4 years ago) by yamt
Branch: yamt-pf42
Changes since 1.32: +2 -9 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

sync with head.

Revision 1.32.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:24:43 2008 UTC (4 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.32: +2 -9 lines
Diff to previous 1.32 (colored)

sync with head.

Revision 1.33 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:54 2008 UTC (4 years ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, 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-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base
Branch point for: jym-xensuspend, ad-audiomp2
Changes since 1.32: +2 -9 lines
Diff to previous 1.32 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.32 / (download) - annotate - [select for diffs], Thu Apr 10 19:13:36 2008 UTC (4 years, 1 month ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base
Branch point for: yamt-pf42, yamt-nfs-mp
Changes since 1.31: +13 -16 lines
Diff to previous 1.31 (colored)

use aprint_*_dev and device_xname

Revision 1.30.16.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:50 2008 UTC (4 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.30: +7 -5 lines
Diff to previous 1.30 (colored)

Sync with HEAD.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Apr 1 13:35:39 2008 UTC (4 years, 1 month ago) by xtraeme
Branch: MAIN
Changes since 1.30: +7 -5 lines
Diff to previous 1.30 (colored)

Fix fallout from device_t/softc split to mpu(4):
always pass the mpu_softc to mpu_intr(). Found by Takeshi Nakayama.

Revision 1.29.16.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:28:51 2007 UTC (4 years, 6 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.29: +4 -4 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

sync with HEAD

Revision 1.24.2.3 / (download) - annotate - [select for diffs], Sat Oct 27 11:32:45 2007 UTC (4 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.24.2.2: +4 -4 lines
Diff to previous 1.24.2.2 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored)

sync with head.

Revision 1.29.14.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:46:00 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.29: +4 -4 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Sync with HEAD.

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

Revision 1.29.20.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:38:56 2007 UTC (4 years, 7 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.29: +4 -4 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Sync with HEAD.

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Tue Oct 23 20:08:53 2007 UTC (4 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.29: +4 -4 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Sync with head.

Revision 1.30 / (download) - annotate - [select for diffs], Fri Oct 19 12:00:43 2007 UTC (4 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, ad-socklock-base1
Branch point for: mjf-devfs2
Changes since 1.29: +4 -4 lines
Diff to previous 1.29 (colored)

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

Revision 1.24.2.2 / (download) - annotate - [select for diffs], Mon Sep 3 14:36:50 2007 UTC (4 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.24.2.1: +3 -3 lines
Diff to previous 1.24.2.1 (colored) to branchpoint 1.24 (colored)

sync with head.

Revision 1.28.4.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:55:14 2007 UTC (5 years, 2 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

Sync with HEAD.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Mar 4 06:02:18 2007 UTC (5 years, 2 months ago) by christos
Branch: 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
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.28.6.1 / (download) - annotate - [select for diffs], Tue Feb 27 14:16:34 2007 UTC (5 years, 2 months ago) by ad
Branch: ad-audiomp
Changes since 1.28: +31 -6 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

Add MP locking for audio drivers.

Revision 1.24.2.1 / (download) - annotate - [select for diffs], Sat Dec 30 20:48:43 2006 UTC (5 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.24: +13 -11 lines
Diff to previous 1.24 (colored)

sync with head.

Revision 1.26.4.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:17:42 2006 UTC (5 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.26.4.1: +14 -14 lines
Diff to previous 1.26.4.1 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored)

sync with head.

Revision 1.26.2.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:29 2006 UTC (5 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.26: +10 -9 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Sync with head.

Revision 1.28 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:08 2006 UTC (5 years, 6 months ago) by christos
Branch: 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
Changes since 1.27: +14 -14 lines
Diff to previous 1.27 (colored)

__unused removal on arguments; approved by core.

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

sync with head

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

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

Revision 1.25.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:52:16 2006 UTC (5 years, 8 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.25: +5 -4 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

sync with head

Revision 1.25.8.1 / (download) - annotate - [select for diffs], Sun Sep 3 15:24:22 2006 UTC (5 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.25: +5 -4 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

sync with head.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Aug 30 02:00:26 2006 UTC (5 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.25: +5 -4 lines
Diff to previous 1.25 (colored)

static goes first

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

merge ktrace-lwp.

Revision 1.18.2.5 / (download) - annotate - [select for diffs], Thu Nov 10 14:06:01 2005 UTC (6 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.18.2.4: +58 -59 lines
Diff to previous 1.18.2.4 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored)

Sync with HEAD. Here we go again...

Revision 1.24 / (download) - annotate - [select for diffs], Tue Jun 28 00:28:42 2005 UTC (6 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: yamt-lazymbuf
Changes since 1.23: +58 -59 lines
Diff to previous 1.23 (colored)

Use ANSI function decls and static.

Revision 1.18.2.4 / (download) - annotate - [select for diffs], Mon Jan 17 19:31:24 2005 UTC (7 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.18.2.3: +237 -325 lines
Diff to previous 1.18.2.3 (colored) to branchpoint 1.18 (colored)

Sync with HEAD.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Jan 15 15:19:52 2005 UTC (7 years, 4 months ago) by kent
Branch: 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, matt-timespec, kent-audio2-base, kent-audio2
Changes since 1.22: +194 -228 lines
Diff to previous 1.22 (colored)

ansify and KNF

Revision 1.22 / (download) - annotate - [select for diffs], Mon Jan 10 22:01:37 2005 UTC (7 years, 4 months ago) by kent
Branch: MAIN
Changes since 1.21: +55 -109 lines
Diff to previous 1.21 (colored)

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


Summary of changes:

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

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

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

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

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

* all of audio HW drivers follow audio_hw_if and ac97 changes

Revision 1.21.2.2 / (download) - annotate - [select for diffs], Sun Jan 9 08:42:46 2005 UTC (7 years, 4 months ago) by kent
Branch: kent-audio1
Changes since 1.21.2.1: +8 -25 lines
Diff to previous 1.21.2.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

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

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Sun Jan 2 20:03:11 2005 UTC (7 years, 4 months ago) by kent
Branch: kent-audio1
Changes since 1.21: +49 -86 lines
Diff to previous 1.21 (colored)

* adopt the filter pipeline framework
* follow ac97_attach() change

Revision 1.18.2.3 / (download) - annotate - [select for diffs], Sun Nov 14 08:15:44 2004 UTC (7 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.18.2.2: +2 -22 lines
Diff to previous 1.18.2.2 (colored) to branchpoint 1.18 (colored)

Sync with HEAD.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Nov 9 16:28:14 2004 UTC (7 years, 6 months ago) by kent
Branch: MAIN
CVS Tags: kent-audio1-beforemerge, kent-audio1-base
Branch point for: kent-audio1
Changes since 1.20: +2 -22 lines
Diff to previous 1.20 (colored)

remove mixer setting code in *_attach() because ac97_attach() does it.

Revision 1.18.2.2 / (download) - annotate - [select for diffs], Tue Nov 2 07:52:10 2004 UTC (7 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.18.2.1: +3 -3 lines
Diff to previous 1.18.2.1 (colored) to branchpoint 1.18 (colored)

Sync with HEAD.

Revision 1.20 / (download) - annotate - [select for diffs], Fri Oct 29 12:57:18 2004 UTC (7 years, 6 months ago) by yamt
Branch: MAIN
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

constify audio_hw_if, midi_hw_if, and radio_hw_if.

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Fri Sep 24 10:53:28 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.18: +5 -4 lines
Diff to previous 1.18 (colored)

Sync with HEAD.

Revision 1.18.4.1 / (download) - annotate - [select for diffs], Wed Sep 22 20:58:23 2004 UTC (7 years, 8 months ago) by jmc
Branch: 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
Changes since 1.18: +5 -4 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Pullup rev 1.19 (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.19 / (download) - annotate - [select for diffs], Wed Sep 22 12:20:25 2004 UTC (7 years, 8 months ago) by kent
Branch: MAIN
Changes since 1.18: +5 -4 lines
Diff to previous 1.18 (colored)

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.18 / (download) - annotate - [select for diffs], Sat May 3 18:11:34 2003 UTC (9 years ago) by wiz
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0, ktrace-lwp
Changes since 1.17: +6 -6 lines
Diff to previous 1.17 (colored)

DMA, not dma nor Dma.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Feb 1 06:23:39 2003 UTC (9 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.16: +7 -6 lines
Diff to previous 1.16 (colored)

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

Revision 1.16 / (download) - annotate - [select for diffs], Fri Jan 31 00:07:42 2003 UTC (9 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.15: +13 -10 lines
Diff to previous 1.15 (colored)

Use aprint_*().

Revision 1.9.2.3 / (download) - annotate - [select for diffs], Fri Oct 18 02:43:01 2002 UTC (9 years, 7 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.9.2.2: +5 -6 lines
Diff to previous 1.9.2.2 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

Catch up to -current.

Revision 1.9.4.2 / (download) - annotate - [select for diffs], Thu Oct 10 18:40:36 2002 UTC (9 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.9.4.1: +6 -7 lines
Diff to previous 1.9.4.1 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.15 / (download) - annotate - [select for diffs], Wed Oct 2 16:51:14 2002 UTC (9 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

Add trailing ; to CFATTACH_DECL.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Sep 30 20:37:22 2002 UTC (9 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.13: +4 -5 lines
Diff to previous 1.13 (colored)

Use CFATTACH_DECL().

Revision 1.13 / (download) - annotate - [select for diffs], Fri Sep 27 20:39:58 2002 UTC (9 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

Declare all cfattach structures const.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Sep 27 15:37:25 2002 UTC (9 years, 8 months ago) by provos
Branch: MAIN
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

remove trailing \n in panic().  approved perry.

Revision 1.9.4.1 / (download) - annotate - [select for diffs], Thu Jan 10 19:56:35 2002 UTC (10 years, 4 months ago) by thorpej
Branch: kqueue
Changes since 1.9: +5 -1 lines
Diff to previous 1.9 (colored)

Sync kqueue branch with -current.

Revision 1.9.2.2 / (download) - annotate - [select for diffs], Wed Nov 14 19:15:13 2001 UTC (10 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.9.2.1: +4 -1 lines
Diff to previous 1.9.2.1 (colored) to branchpoint 1.9 (colored)

Catch up to -current.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Nov 13 07:48:42 2001 UTC (10 years, 6 months ago) by lukem
Branch: MAIN
CVS Tags: newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, ifpoll-base, ifpoll, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Changes since 1.10: +4 -1 lines
Diff to previous 1.10 (colored)

add RCSID

Revision 1.9.6.1 / (download) - annotate - [select for diffs], Thu Oct 11 00:02:10 2001 UTC (10 years, 7 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Catch up with -current. Fix some bogons in the sparc64 kbd/ms
attach code. cd18xx conversion provided by mrg.

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Mon Oct 8 20:11:13 2001 UTC (10 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored)

Catch up to -current.

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

Add a new optional method, dev_ioctl, to the audio hardware driver interface.
It is called when an unrecognized ioctl() is performed on a device,
thus allowing ioctl()s that frob the hardware driver (like loading
microcode).

Revision 1.7.2.5 / (download) - annotate - [select for diffs], Fri Jan 5 17:36:04 2001 UTC (11 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.7.2.4: +2 -3 lines
Diff to previous 1.7.2.4 (colored) next main 1.8 (colored)

Sync with HEAD

Revision 1.9 / (download) - annotate - [select for diffs], Thu Dec 28 22:59:12 2000 UTC (11 years, 4 months ago) by sommerfeld
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-devvp-base2, thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-devvp, nathanw_sa, kqueue
Changes since 1.8: +2 -3 lines
Diff to previous 1.8 (colored)

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.5.4.2 / (download) - annotate - [select for diffs], Wed Dec 13 23:09:01 2000 UTC (11 years, 5 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Changes since 1.5.4.1: +5 -1 lines
Diff to previous 1.5.4.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

Pull up revision 1.8 (requested by abs):
  Make this build without ``mpu at fms''.

Revision 1.7.2.4 / (download) - annotate - [select for diffs], Fri Dec 8 09:12:31 2000 UTC (11 years, 5 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.7.2.3: +5 -1 lines
Diff to previous 1.7.2.3 (colored)

Sync with HEAD.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Dec 7 14:12:30 2000 UTC (11 years, 5 months ago) by abs
Branch: MAIN
Changes since 1.7: +5 -1 lines
Diff to previous 1.7 (colored)

Wrap call to mpu_intr in NMPU - nowbuildswithout 'mpu at fms' in config

Revision 1.7.2.3 / (download) - annotate - [select for diffs], Wed Nov 22 16:04:02 2000 UTC (11 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.7.2.2: +5 -3 lines
Diff to previous 1.7.2.2 (colored)

Sync with HEAD.

Revision 1.7.2.2 / (download) - annotate - [select for diffs], Mon Nov 20 11:42:19 2000 UTC (11 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.7.2.1: +959 -0 lines
Diff to previous 1.7.2.1 (colored)

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

Revision 1.7.2.1, Tue Nov 14 18:42:55 2000 UTC (11 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.7: +0 -961 lines
FILE REMOVED

file fms.c was added on branch thorpej_scsipi on 2000-11-20 11:42:19 +0000

Revision 1.7 / (download) - annotate - [select for diffs], Tue Nov 14 18:42:55 2000 UTC (11 years, 6 months ago) by thorpej
Branch: MAIN
Branch point for: thorpej_scsipi
Changes since 1.6: +5 -3 lines
Diff to previous 1.6 (colored)

NBPG -> PAGE_SIZE

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

Pull up mmap paddr_t/off_t changes from trunk.

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

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

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

Revision 1.5 / (download) - annotate - [select for diffs], Mon May 15 01:27:47 2000 UTC (12 years ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-5-base, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

ac97.h -> ac97var.h

Revision 1.4 / (download) - annotate - [select for diffs], Sat Apr 8 03:50:48 2000 UTC (12 years, 1 month ago) by tsarna
Branch: MAIN
Changes since 1.3: +17 -11 lines
Diff to previous 1.3 (colored)

Fix fms_free like auvia_free

Revision 1.3.6.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:35:16 1999 UTC (12 years, 5 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.3: +1 -1 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Pull up to last week's -current.

Revision 1.3.4.2 / (download) - annotate - [select for diffs], Mon Nov 15 00:41:00 1999 UTC (12 years, 6 months ago) by fvdl
Branch: fvdl-softdep
Changes since 1.3.4.1: +953 -0 lines
Diff to previous 1.3.4.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Sync with -current

Revision 1.3.4.1, Tue Nov 2 17:48:01 1999 UTC (12 years, 6 months ago) by fvdl
Branch: fvdl-softdep
Changes since 1.3: +0 -953 lines
FILE REMOVED

file fms.c was added on branch fvdl-softdep on 1999-11-15 00:41:00 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Tue Nov 2 17:48:01 1999 UTC (12 years, 6 months ago) by augustss
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, fvdl-softdep-base, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase
Branch point for: wrstuden-devbsize, fvdl-softdep
Changes since 1.2: +21 -14 lines
Diff to previous 1.2 (colored)

Shorten some delay()s.  From WITEK Wnuk <witek@atari.org>

Revision 1.2 / (download) - annotate - [select for diffs], Mon Nov 1 23:26:58 1999 UTC (12 years, 6 months ago) by augustss
Branch: MAIN
Changes since 1.1: +108 -59 lines
Diff to previous 1.1 (colored)

Fold some long lines and make it compile with the new auconv functions.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Nov 1 20:43:12 1999 UTC (12 years, 6 months ago) by augustss
Branch: MAIN

Add FM801 audio device driver.  From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.

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




CVSweb <webmaster@jp.NetBSD.org>