The NetBSD Project

CVS log for src/sys/arch/macppc/dev/snapper.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.38 / (download) - annotate - [select for diffs], Thu Nov 24 03:35:57 2011 UTC (2 months, 2 weeks ago) by mrg
Branch: MAIN
CVS Tags: jmcneill-usbmp-base, jmcneill-usbmp, HEAD
Changes since 1.37: +7 -7 lines
Diff to previous 1.37 (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.37 / (download) - annotate - [select for diffs], Wed Nov 23 23:07:30 2011 UTC (2 months, 2 weeks ago) by jmcneill
Branch: MAIN
Changes since 1.36: +31 -14 lines
Diff to previous 1.36 (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.36.10.2 / (download) - annotate - [select for diffs], Tue Nov 22 22:47:03 2011 UTC (2 months, 2 weeks ago) by jmcneill
Branch: jmcneill-audiomp3
Changes since 1.36.10.1: +2 -3 lines
Diff to previous 1.36.10.1 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored)

get rid of unused 'powerstate' callback in audio_hw_if

Revision 1.36.10.1 / (download) - annotate - [select for diffs], Tue Nov 22 05:54:54 2011 UTC (2 months, 2 weeks ago) by macallan
Branch: jmcneill-audiomp3
Changes since 1.36: +32 -14 lines
Diff to previous 1.36 (colored)

convert snapper
code from mrg, tested on my iBook G4

Revision 1.33.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:50:59 2011 UTC (11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.33: +89 -82 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

sync with head

Revision 1.36 / (download) - annotate - [select for diffs], Fri Nov 12 12:26:29 2010 UTC (14 months, 4 weeks ago) by phx
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, uebayasi-xip-base7, uebayasi-xip-base6, rmind-uvmplock-nbase, rmind-uvmplock-base, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, jmcneill-audiomp3-base, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jmcneill-audiomp3
Changes since 1.35: +13 -10 lines
Diff to previous 1.35 (colored)

Get the dma registers from the soundbus property. This should work with all
snapper-compatible hardware.
Tested on PowerBook G4, MacMini and iBook G4. Failed on the PowerBook before.

Revision 1.33.2.1 / (download) - annotate - [select for diffs], Fri Oct 22 07:21:24 2010 UTC (15 months, 2 weeks ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.33: +78 -74 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Sync with HEAD (-D20101022).

Revision 1.35 / (download) - annotate - [select for diffs], Sat Oct 16 18:22:37 2010 UTC (15 months, 3 weeks ago) by phx
Branch: MAIN
CVS Tags: uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3
Changes since 1.34: +68 -43 lines
Diff to previous 1.34 (colored)

Find all GPIOs in OF also on newer PowerBooks.
Do not use a GPIO or establish an interrupt when it was not found.
To be done: We should use bus_space(9) for reading/writing GPIOs.

Revision 1.25.18.3 / (download) - annotate - [select for diffs], Sat Oct 9 03:31:50 2010 UTC (16 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.25.18.2: +12 -33 lines
Diff to previous 1.25.18.2 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored)

sync with head

Revision 1.34 / (download) - annotate - [select for diffs], Thu Sep 9 00:24:59 2010 UTC (17 months ago) by macallan
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11
Changes since 1.33: +12 -33 lines
Diff to previous 1.33 (colored)

get rid of custom PMF event handlers, instead do what the upper layer expects
so volume control via PMF still works

Revision 1.25.18.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:02:36 2010 UTC (23 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.25.18.1: +7 -3 lines
Diff to previous 1.25.18.1 (colored) to branchpoint 1.25 (colored)

sync with head

Revision 1.33 / (download) - annotate - [select for diffs], Thu Nov 5 05:37:30 2009 UTC (2 years, 3 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base10, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.32: +7 -3 lines
Diff to previous 1.32 (colored)

In awacs(4) and snapper(4), use deviter(9) instead of accessing
alldevs directly.

In pbms(4), delete some unused debugging macros, expand USB
compatibility macros, and add a child-detachment routine.  Simplify
pbms(4) deactivation and detachment.

These changes are compile-tested, only.

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:18:01 2009 UTC (2 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.31: +6 -6 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

Sync with HEAD.

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

Revision 1.25.18.1 / (download) - annotate - [select for diffs], Mon May 4 08:11:29 2009 UTC (2 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.25: +107 -80 lines
Diff to previous 1.25 (colored)

sync with head.

Revision 1.30.2.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:34:20 2009 UTC (2 years, 9 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.30.2.1: +6 -6 lines
Diff to previous 1.30.2.1 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored)

Sync with HEAD.

Revision 1.32 / (download) - annotate - [select for diffs], Wed Mar 18 16:00:13 2009 UTC (2 years, 10 months 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, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jymxensuspend-base
Changes since 1.31: +6 -6 lines
Diff to previous 1.31 (colored)

bzero -> memset

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:16:26 2009 UTC (3 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.30: +3 -4 lines
Diff to previous 1.30 (colored)

Sync with HEAD.

Revision 1.25.14.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:14 2009 UTC (3 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.25.14.2: +1 -2 lines
Diff to previous 1.25.14.2 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored)

Sync with HEAD.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Dec 16 22:35:24 2008 UTC (3 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: nick-hppapmap-base2, mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.30: +3 -4 lines
Diff to previous 1.30 (colored)

replace bitmask_snprintf(9) with snprintb(3)

Revision 1.28.4.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:15:52 2008 UTC (3 years, 3 months ago) by haad
Branch: haad-dm
Changes since 1.28: +11 -9 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

Sync with HEAD.

Revision 1.25.20.2 / (download) - annotate - [select for diffs], Fri Oct 10 22:29:05 2008 UTC (3 years, 4 months ago) by skrll
Branch: wrstuden-revivesa
Changes since 1.25.20.1: +11 -9 lines
Diff to previous 1.25.20.1 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored)

Sync with HEAD.

Revision 1.25.14.2 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:03 2008 UTC (3 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.25.14.1: +9 -7 lines
Diff to previous 1.25.14.1 (colored) to branchpoint 1.25 (colored)

Sync with HEAD.

Revision 1.30 / (download) - annotate - [select for diffs], Fri Sep 26 03:38:25 2008 UTC (3 years, 4 months ago) by macallan
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, 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, 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, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap
Changes since 1.29: +9 -7 lines
Diff to previous 1.29 (colored)

use access functions to mess with obio's registers

Revision 1.29 / (download) - annotate - [select for diffs], Fri Sep 26 03:20:30 2008 UTC (3 years, 4 months ago) by macallan
Branch: MAIN
Changes since 1.28: +4 -4 lines
Diff to previous 1.28 (colored)

use min(255, blah) to cap volume instead of masking the upper bits out

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Thu Sep 25 20:29:56 2008 UTC (3 years, 4 months ago) by bouyer
Branch: netbsd-4
Changes since 1.13: +315 -145 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

pullup the following revisions, requested my macallan in ticket 616:
	sys/arch/macppc/dev/snapper.c		1.14-1.21
- proper support for 24bit audio on TAS3004 / snapper codecs
- fix sample rate setup bugs ( otherwise the chip would always stay in
  44.1kHz )
- add support for the codecs found in G4 Mac Minis ( AOAKeylargo and
  AOAK2 ), which don't have hardware volume control
- add support for 'tumbler' codecs found in some iBook G3 models

Revision 1.25.20.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:30:31 2008 UTC (3 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.25: +95 -69 lines
Diff to previous 1.25 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.25.14.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:23 2008 UTC (3 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.25: +95 -69 lines
Diff to previous 1.25 (colored)

Sync with HEAD.

Revision 1.25.16.1 / (download) - annotate - [select for diffs], Sun May 18 12:32:23 2008 UTC (3 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.25: +95 -69 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

sync with head.

Revision 1.28 / (download) - annotate - [select for diffs], Fri May 16 03:49:54 2008 UTC (3 years, 8 months ago) by macallan
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, hpcarm-cleanup-nbase
Branch point for: haad-dm
Changes since 1.27: +61 -61 lines
Diff to previous 1.27 (colored)

sprinkle static

Revision 1.27 / (download) - annotate - [select for diffs], Thu May 15 20:11:00 2008 UTC (3 years, 8 months ago) by macallan
Branch: MAIN
Changes since 1.26: +26 -2 lines
Diff to previous 1.26 (colored)

listen to PMF volume control events
With this volume vontrol via keyboard works on my iBook G4.

Revision 1.26 / (download) - annotate - [select for diffs], Thu May 15 19:47:09 2008 UTC (3 years, 8 months ago) by macallan
Branch: MAIN
Changes since 1.25: +15 -13 lines
Diff to previous 1.25 (colored)

struct device -> device_t

Revision 1.16.2.4 / (download) - annotate - [select for diffs], Mon Dec 3 18:37:21 2007 UTC (4 years, 2 months ago) by ad
Branch: vmlocking
Changes since 1.16.2.3: +3 -3 lines
Diff to previous 1.16.2.3 (colored) next main 1.17 (colored)

Sync with HEAD.

Revision 1.24.2.1 / (download) - annotate - [select for diffs], Mon Nov 19 00:46:37 2007 UTC (4 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

Sync with HEAD.

Revision 1.5.6.5 / (download) - annotate - [select for diffs], Thu Nov 15 11:43:06 2007 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5.6.4: +3 -3 lines
Diff to previous 1.5.6.4 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

sync with head.

Revision 1.22.2.2 / (download) - annotate - [select for diffs], Tue Nov 13 15:58:44 2007 UTC (4 years, 2 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.22.2.1: +1 -1 lines
Diff to previous 1.22.2.1 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

Sync with HEAD

Revision 1.20.12.3 / (download) - annotate - [select for diffs], Sun Nov 11 16:46:41 2007 UTC (4 years, 2 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.20.12.2: +3 -3 lines
Diff to previous 1.20.12.2 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

Sync with HEAD.

Revision 1.20.14.2 / (download) - annotate - [select for diffs], Thu Nov 8 10:59:36 2007 UTC (4 years, 3 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.20.14.1: +3 -3 lines
Diff to previous 1.20.14.1 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

sync with -HEAD

Revision 1.25 / (download) - annotate - [select for diffs], Wed Nov 7 19:47:01 2007 UTC (4 years, 3 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base2, yamt-nfs-mp-base, 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, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-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: yamt-pf42, yamt-nfs-mp, wrstuden-revivesa, mjf-devfs2
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

Convert macppc to shared ofw_autoconf.c.  Compile tested only.

Revision 1.20.14.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:18:41 2007 UTC (4 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.20: +400 -220 lines
Diff to previous 1.20 (colored)

sync with HEAD

Revision 1.5.6.4 / (download) - annotate - [select for diffs], Sat Oct 27 11:27:05 2007 UTC (4 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5.6.3: +400 -220 lines
Diff to previous 1.5.6.3 (colored) to branchpoint 1.5 (colored)

sync with head.

Revision 1.20.12.2 / (download) - annotate - [select for diffs], Fri Oct 26 15:42:48 2007 UTC (4 years, 3 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.20.12.1: +315 -162 lines
Diff to previous 1.20.12.1 (colored) to branchpoint 1.20 (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.22.2.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:36:02 2007 UTC (4 years, 3 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.22: +315 -162 lines
Diff to previous 1.22 (colored)

Sync with HEAD.

Revision 1.16.2.3 / (download) - annotate - [select for diffs], Tue Oct 23 20:13:22 2007 UTC (4 years, 3 months ago) by ad
Branch: vmlocking
Changes since 1.16.2.2: +315 -162 lines
Diff to previous 1.16.2.2 (colored)

Sync with head.

Revision 1.24 / (download) - annotate - [select for diffs], Thu Oct 18 22:03:09 2007 UTC (4 years, 3 months ago) by macallan
Branch: MAIN
CVS Tags: jmcneill-base
Branch point for: mjf-devfs
Changes since 1.23: +291 -149 lines
Diff to previous 1.23 (colored)

cleanup, various fixes and TAS3001 / Tumbler support
from Marco Trillo in PR37076

Revision 1.21.2.2 / (download) - annotate - [select for diffs], Thu Oct 18 08:32:10 2007 UTC (4 years, 3 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.21.2.1: +33 -22 lines
Diff to previous 1.21.2.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

sync with head.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Oct 17 19:55:19 2007 UTC (4 years, 3 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4
Changes since 1.22: +33 -22 lines
Diff to previous 1.22 (colored)

Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.

Revision 1.16.2.2 / (download) - annotate - [select for diffs], Tue Oct 9 13:38:10 2007 UTC (4 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.16.2.1: +116 -89 lines
Diff to previous 1.16.2.1 (colored)

Sync with head.

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Sat Oct 6 15:35:09 2007 UTC (4 years, 4 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.21: +3 -5 lines
Diff to previous 1.21 (colored)

sync with head.

Revision 1.20.4.5 / (download) - annotate - [select for diffs], Wed Oct 3 19:24:15 2007 UTC (4 years, 4 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.20.4.4: +3 -3 lines
Diff to previous 1.20.4.4 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

Sync with HEAD

Revision 1.20.12.1 / (download) - annotate - [select for diffs], Tue Oct 2 18:27:31 2007 UTC (4 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.20: +116 -89 lines
Diff to previous 1.20 (colored)

Sync with HEAD.

Revision 1.22 / (download) - annotate - [select for diffs], Thu Sep 27 08:49:33 2007 UTC (4 years, 4 months ago) by dogcow
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, vmlocking-base, ppcoea-renovation-base
Branch point for: bouyer-xenamd64
Changes since 1.21: +3 -5 lines
Diff to previous 1.21 (colored)

struct cfattach -> CFATTACH_DECL; compiles again.

Revision 1.20.4.4 / (download) - annotate - [select for diffs], Thu Sep 27 07:13:54 2007 UTC (4 years, 4 months ago) by macallan
Branch: ppcoea-renovation
Changes since 1.20.4.3: +3 -5 lines
Diff to previous 1.20.4.3 (colored) to branchpoint 1.20 (colored)

use CFATTACH_DECL()

Revision 1.20.4.3 / (download) - annotate - [select for diffs], Wed Sep 19 22:19:59 2007 UTC (4 years, 4 months ago) by macallan
Branch: ppcoea-renovation
Changes since 1.20.4.2: +115 -85 lines
Diff to previous 1.20.4.2 (colored) to branchpoint 1.20 (colored)

sync with HEAD

Revision 1.21 / (download) - annotate - [select for diffs], Mon Sep 17 13:15:20 2007 UTC (4 years, 4 months ago) by aymeric
Branch: MAIN
CVS Tags: yamt-x86pmap-base
Branch point for: yamt-x86pmap
Changes since 1.20: +114 -85 lines
Diff to previous 1.20 (colored)

add support for the "tumbler" as found at least on iBook G3/600.
quick OK macallan@

Revision 1.5.6.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:27:38 2007 UTC (4 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5.6.2: +110 -12 lines
Diff to previous 1.5.6.2 (colored) to branchpoint 1.5 (colored)

sync with head.

Revision 1.20.4.2 / (download) - annotate - [select for diffs], Wed Aug 8 05:41:20 2007 UTC (4 years, 6 months ago) by macallan
Branch: ppcoea-renovation
Changes since 1.20.4.1: +4 -4 lines
Diff to previous 1.20.4.1 (colored) to branchpoint 1.20 (colored)

don't bus_space_map(PAGE_SIZE) - use the actual length OF tells us instead
We need this since the new, shared bus_space_* stuff actually keeps track of
what ranges are mapped

Revision 1.16.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:00:40 2007 UTC (4 years, 7 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.16: +109 -11 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Sync with head.

Revision 1.20.4.1 / (download) - annotate - [select for diffs], Thu Jun 7 20:30:44 2007 UTC (4 years, 8 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.20: +32 -22 lines
Diff to previous 1.20 (colored)

Convert macppc to powerpc bus_space.  Lots of work here from Matt Thomas,
as well as the common ofwoea code from myself.  Compile tested only,
still probably needs some fine tuning.

Also in this commit:
Convert macppc to new shared ofwoea routines.
Lots of KNF.

Revision 1.15.2.2 / (download) - annotate - [select for diffs], Sun Apr 15 16:02:51 2007 UTC (4 years, 9 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.15.2.1: +109 -11 lines
Diff to previous 1.15.2.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

sync with head.

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Tue Apr 10 13:22:44 2007 UTC (4 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.16: +109 -11 lines
Diff to previous 1.16 (colored)

Sync with head.

Revision 1.20 / (download) - annotate - [select for diffs], Wed Apr 4 02:14:57 2007 UTC (4 years, 10 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: ppcoea-renovation, matt-armv6, jmcneill-pm
Changes since 1.19: +14 -17 lines
Diff to previous 1.19 (colored)

Simplify sw volume control, attach to AOAK2 as well, make mono work as
well as stereo, and print a friendlier message when we don't find a
hardware mixer.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Apr 3 13:11:21 2007 UTC (4 years, 10 months ago) by jmcneill
Branch: MAIN
Changes since 1.18: +99 -6 lines
Diff to previous 1.18 (colored)

In the AOAKeylargo case, there is no hardware volume control. Instead,
implement volume control in software via audio filter framework.

XXX: audio filter framework doesn't let me pass parameters from the hw
     softc to the filter, so the volume variables are globals for now.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Apr 3 03:26:52 2007 UTC (4 years, 10 months ago) by jmcneill
Branch: MAIN
Changes since 1.17: +13 -5 lines
Diff to previous 1.17 (colored)

Match AOAKeylargo, and don't make finding deq a requirement. Sound now
comes out of my last gen G4 Mac Mini, minus mixer controls. ok macallan@

Revision 1.16.6.1 / (download) - annotate - [select for diffs], Thu Mar 29 19:27:29 2007 UTC (4 years, 10 months ago) by reinoud
Branch: reinoud-bufcleanup
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Pullup to -current

Revision 1.17 / (download) - annotate - [select for diffs], Sun Mar 25 23:38:22 2007 UTC (4 years, 10 months ago) by macallan
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

fix typo

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:49:06 2007 UTC (4 years, 11 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

Sync with HEAD.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Feb 28 04:21:51 2007 UTC (4 years, 11 months ago) by thorpej
Branch: MAIN
Branch point for: vmlocking, reinoud-bufcleanup, mjf-ufs-trans
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

TRUE -> true, FALSE -> false

Revision 1.12.2.2 / (download) - annotate - [select for diffs], Fri Jan 12 01:00:53 2007 UTC (5 years ago) by ad
Branch: newlock2
Changes since 1.12.2.1: +96 -53 lines
Diff to previous 1.12.2.1 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

Sync with head.

Revision 1.5.6.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:46:26 2006 UTC (5 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5.6.1: +466 -132 lines
Diff to previous 1.5.6.1 (colored) to branchpoint 1.5 (colored)

sync with head.

Revision 1.12.4.2 / (download) - annotate - [select for diffs], Mon Dec 18 11:42:05 2006 UTC (5 years, 1 month ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.12.4.1: +96 -53 lines
Diff to previous 1.12.4.1 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

sync with head.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Dec 17 21:26:04 2006 UTC (5 years, 1 month ago) by macallan
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, post-newlock2-merge, newlock2-nbase, newlock2-base, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.14: +3 -9 lines
Diff to previous 1.14 (colored)

don't pretend to support 8kHz since the chip really doesn't
noticed by Marco Trillo

Revision 1.14 / (download) - annotate - [select for diffs], Mon Dec 11 02:17:53 2006 UTC (5 years, 2 months ago) by macallan
Branch: MAIN
Changes since 1.13: +96 -47 lines
Diff to previous 1.13 (colored)

actually change the sample rate when asked to.
Fix provided by Marco Trillo in PR35204
While there also enable 24bit I/O.

Revision 1.12.2.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:29:24 2006 UTC (5 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.12: +12 -10 lines
Diff to previous 1.12 (colored)

Sync with head.

Revision 1.12.4.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:04:50 2006 UTC (5 years, 3 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.12: +12 -10 lines
Diff to previous 1.12 (colored)

sync with head

Revision 1.13 / (download) - annotate - [select for diffs], Sun Sep 24 03:47:09 2006 UTC (5 years, 4 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-splraiseipl-base3, yamt-splraiseipl-base2, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, 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, matt-nb4-arm-base, matt-nb4-arm
Branch point for: netbsd-4
Changes since 1.12: +12 -10 lines
Diff to previous 1.12 (colored)

Don't use // for comments.

Revision 1.8.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:41:05 2006 UTC (5 years, 5 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.8: +364 -75 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

sync with head

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Sun Sep 3 15:23:20 2006 UTC (5 years, 5 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.9: +362 -73 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

sync with head.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Aug 23 03:25:31 2006 UTC (5 years, 5 months ago) by macallan
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.11: +29 -23 lines
Diff to previous 1.11 (colored)

use gain table for master volume as well

Revision 1.11 / (download) - annotate - [select for diffs], Wed Aug 23 02:56:32 2006 UTC (5 years, 5 months ago) by macallan
Branch: MAIN
Changes since 1.10: +20 -19 lines
Diff to previous 1.10 (colored)

fix some KNF nits

Revision 1.10 / (download) - annotate - [select for diffs], Fri Aug 11 20:37:43 2006 UTC (5 years, 6 months ago) by macallan
Branch: MAIN
Changes since 1.9: +321 -39 lines
Diff to previous 1.9 (colored)

Add audio input support. From Magnus Henoch, fixes PR 32664

Revision 1.5.6.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:53:13 2006 UTC (5 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5: +232 -21 lines
Diff to previous 1.5 (colored)

sync with head.

Revision 1.8.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:37:41 2006 UTC (5 years, 9 months ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Sync with head.

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Wed Mar 1 09:27:58 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

sync with head.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Feb 23 05:37:47 2006 UTC (5 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, 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
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Use device_parent().

Revision 1.8 / (download) - annotate - [select for diffs], Sat Dec 24 22:45:35 2005 UTC (6 years, 1 month ago) by perry
Branch: MAIN
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

bare asm -> __asm

Revision 1.7 / (download) - annotate - [select for diffs], Sun Dec 11 12:18:03 2005 UTC (6 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.6: +1 -1 lines
Diff to previous 1.6 (colored)

merge ktrace-lwp.

Revision 1.1.4.8 / (download) - annotate - [select for diffs], Thu Nov 10 13:57:27 2005 UTC (6 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.1.4.7: +229 -18 lines
Diff to previous 1.1.4.7 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD. Here we go again...

Revision 1.6 / (download) - annotate - [select for diffs], Wed Aug 10 14:32:08 2005 UTC (6 years, 6 months ago) by macallan
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
Changes since 1.5: +229 -18 lines
Diff to previous 1.5 (colored)

- don't call ki2c private functions anymore, use iic_exec() to be a good i2c citizen
- use the deq driver to find the mixer device
- add controls for bass and treble

Revision 1.4.2.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:15 2005 UTC (6 years, 9 months ago) by kent
Branch: kent-audio2
Changes since 1.4: +11 -4 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

sync with -current

Revision 1.4.4.1 / (download) - annotate - [select for diffs], Sat Feb 12 18:17:36 2005 UTC (6 years, 11 months ago) by yamt
Branch: yamt-km
Changes since 1.4: +11 -4 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

sync with head.

Revision 1.1.4.7 / (download) - annotate - [select for diffs], Fri Feb 4 11:44:33 2005 UTC (7 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.1.4.6: +11 -4 lines
Diff to previous 1.1.4.6 (colored) to branchpoint 1.1 (colored)

Sync with HEAD.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Jan 25 19:05:22 2005 UTC (7 years ago) by briggs
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, 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
Branch point for: yamt-lazymbuf
Changes since 1.4: +11 -4 lines
Diff to previous 1.4 (colored)

Ensure i/o commands are allocated on 16-byte boundary by allocating 15
extra bytes and adjusting array starts.
Issue pointed out on port-macppc by Michael Lorenz.

Also remove extra print of the device name on attach().

Revision 1.1.4.6 / (download) - annotate - [select for diffs], Mon Jan 17 19:29:57 2005 UTC (7 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.1.4.5: +111 -240 lines
Diff to previous 1.1.4.5 (colored) to branchpoint 1.1 (colored)

Sync with HEAD.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Jan 15 15:19:51 2005 UTC (7 years ago) by kent
Branch: MAIN
CVS Tags: yamt-km-base
Branch point for: yamt-km, kent-audio2
Changes since 1.3: +86 -123 lines
Diff to previous 1.3 (colored)

ansify and KNF

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jan 10 22:01:36 2005 UTC (7 years, 1 month ago) by kent
Branch: MAIN
Changes since 1.2: +33 -125 lines
Diff to previous 1.2 (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.2.2.2 / (download) - annotate - [select for diffs], Sun Jan 9 08:42:45 2005 UTC (7 years, 1 month ago) by kent
Branch: kent-audio1
Changes since 1.2.2.1: +6 -13 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (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.2.2.1 / (download) - annotate - [select for diffs], Mon Jan 3 16:45:00 2005 UTC (7 years, 1 month ago) by kent
Branch: kent-audio1
Changes since 1.2: +28 -113 lines
Diff to previous 1.2 (colored)

adopt the filter pipeline framework

Revision 1.1.4.5 / (download) - annotate - [select for diffs], Tue Nov 2 07:50:36 2004 UTC (7 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.1.4.4: +2 -2 lines
Diff to previous 1.1.4.4 (colored) to branchpoint 1.1 (colored)

Sync with HEAD.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Oct 29 12:57:16 2004 UTC (7 years, 3 months ago) by yamt
Branch: MAIN
CVS Tags: kent-audio1-beforemerge, kent-audio1-base
Branch point for: kent-audio1
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

constify audio_hw_if, midi_hw_if, and radio_hw_if.

Revision 1.1.4.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:18:19 2004 UTC (7 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.1.4.3: +1 -1 lines
Diff to previous 1.1.4.3 (colored) to branchpoint 1.1 (colored)

Fix the sync with head I botched.

Revision 1.1.4.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:36:56 2004 UTC (7 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.1.4.2: +1 -1 lines
Diff to previous 1.1.4.2 (colored) to branchpoint 1.1 (colored)

Sync with HEAD.

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:37:21 2004 UTC (7 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.1.4.1: +1399 -0 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored)

Sync with HEAD

Revision 1.1.4.1, Sat Dec 27 02:19:34 2003 UTC (8 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.1: +0 -1399 lines
FILE REMOVED

file snapper.c was added on branch ktrace-lwp on 2004-08-03 10:37:21 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Sat Dec 27 02:19:34 2003 UTC (8 years, 1 month ago) by grant
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Branch point for: ktrace-lwp

add support for the Keywest I2C and snapper audio device, as found on
some iBook and PowerBook models.

this driver was written by Tsubai Masanari and further hacked on by
Jared D. McNeill to work on his iBook.

the driver is limited (master volume control only, and I haven't
tested recording) but has been functioning perfectly on my PowerBook
g4 DVI (ivory) for some time.

ok'd by matt.

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>