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


Keyword substitution: kv
Default branch: MAIN


Revision 1.67: download - view: text, markup, annotated - select for diffs
Wed Dec 20 15:29:04 2023 UTC (11 months, 3 weeks ago) by thorpej
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +2 -3 lines
Remove unnecessary <sys/malloc.h>.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Mon Dec 11 13:06:06 2023 UTC (12 months ago) by mlelstv
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +3 -3 lines
Output is always 16bit, the internal audio data type may differ.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Thu Jun 2 16:22:27 2022 UTC (2 years, 6 months ago) by macallan
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +41 -20 lines
check platform-do-*-mute properties to find out the resp. GPIO's polarity
now this works properly on pmac7,3

Revision 1.64: download - view: text, markup, annotated - select for diffs
Wed Jun 1 06:05:47 2022 UTC (2 years, 6 months ago) by martin
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +5 -5 lines
Revert previous, the mask is intented to be like sc_output_mask, a bitmask
of active ports.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Wed Jun 1 05:47:37 2022 UTC (2 years, 6 months ago) by martin
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +5 -5 lines
In SNAPPER_OUTPUT_SELECT the "mask" is a bitmap of muted outputs, not
active outputs.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Wed Jun 1 05:42:52 2022 UTC (2 years, 6 months ago) by martin
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +6 -4 lines
Recognize the OF labels used for line output and headphone output on a
G5 powermac 7,3.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Sat Aug 7 16:18:58 2021 UTC (3 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +3 -5 lines
Merge thorpej-cfargs2.

Revision 1.60.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 4 02:39:49 2021 UTC (3 years, 4 months ago) by thorpej
Branches: thorpej-cfargs2
Diff to: previous 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60: +3 -5 lines
Adapt to CFARGS().

Revision 1.58.2.2: download - view: text, markup, annotated - select for diffs
Sun Aug 1 22:42:12 2021 UTC (3 years, 4 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.58.2.1: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58.2.1: +15 -10 lines
Sync with HEAD.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Fri Jul 2 10:14:07 2021 UTC (3 years, 5 months ago) by jmcneill
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base
Branch point for: thorpej-cfargs2
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +15 -10 lines
port-macppc/56289: kernel spinout on macppc when runing ATF tests with LOCKDEBUG

Move call to snapper_set_rate from trigger_output to commit_settings,
since the intr lock is not held when calling the latter.

Revision 1.58.2.1: download - view: text, markup, annotated - select for diffs
Thu May 13 00:47:25 2021 UTC (3 years, 7 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +3 -2 lines
Sync with HEAD.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Mon Apr 26 14:01:47 2021 UTC (3 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +3 -2 lines
snapper carries multiple interface attributes, so be explicit about
"onewirebus" when attaching to it.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Sat Apr 24 23:36:41 2021 UTC (3 years, 7 months ago) by thorpej
Branches: MAIN
Branch point for: thorpej-i2c-spi-conf
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +4 -3 lines
Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
  actually needed.
- Don't be explicit about what interface attribute is attaching if
  the device only has one.  (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
  situations, making is visibly easier to see when indirect config is
  in play, and allowing for future change in semantics.  (As of now,
  this is just a wrapper around config_match(), but that is an
  implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance.  This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).

Revision 1.55.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:29 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55: +122 -23 lines
Sync with HEAD.

Revision 1.57.2.1: download - view: text, markup, annotated - select for diffs
Sun Mar 21 21:09:02 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +4 -3 lines
Give config_found() the same variadic arguments treatment as
config_search().  This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls.  Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Thu Mar 11 19:36:11 2021 UTC (3 years, 9 months ago) by macallan
Branches: MAIN
CVS tags: thorpej-futex-base, thorpej-cfargs-base
Branch point for: thorpej-cfargs
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +106 -17 lines
add basic support for iMac G5 audio:
- match AOAShasta
- deal with headphone gpios labeled as lineout in OF
- set sc_mode to SNAPPER_IS_PCM3052 - OF makes it look like an unlabeled
  TAS3004
TODO:
- actually support pcm3052 instead of treating it like a sw codec

Revision 1.56: download - view: text, markup, annotated - select for diffs
Fri Mar 5 07:15:53 2021 UTC (3 years, 9 months ago) by rin
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +18 -8 lines
Convert to intr_establish_xname().

Revision 1.55: download - view: text, markup, annotated - select for diffs
Sat Aug 8 22:37:19 2020 UTC (4 years, 4 months ago) by macallan
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +108 -4 lines
add support for the onewire bus found in some macs, namely Quicksilver.
This can be used to read the EEPROM content from Apple Pro speakers, or to
hook up other onewire devices.

Revision 1.53.6.1: download - view: text, markup, annotated - select for diffs
Mon Apr 20 11:28:58 2020 UTC (4 years, 7 months ago) by bouyer
Branches: bouyer-xenpvh
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +6 -5 lines
Sync with HEAD

Revision 1.47.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:03:58 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.47.2.1: preferred, colored; branchpoint 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47.2.1: +160 -53 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.54: download - view: text, markup, annotated - select for diffs
Sat Apr 11 01:42:56 2020 UTC (4 years, 8 months ago) by macallan
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, bouyer-xenpvh-base2, bouyer-xenpvh-base1
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +6 -5 lines
don't try to read a 32bit property into a uint8_t.
Now headphone detection works properly on machines which have the gpio's
polarity reversed, like Quicksilver and TiBook.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Fri Sep 20 21:24:34 2019 UTC (5 years, 2 months ago) by macallan
Branches: MAIN
CVS tags: phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp, bouyer-xenpvh-base, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: bouyer-xenpvh
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +156 -50 lines
various minor fixes and updates:
- add (very) basic ONYX support. Treat as 16bit codec with software volume
  control. Makes basic audio work on PCIe G5
- correctly detect TAS3001 without 'compatible' property, now this works on
  Quicksilver
- mute line input on TAS3001 - it's unconnected on Quicksilver and causes noise
- make more of an effort to match codecs to i2sbus instances, needed on G5 and
  some other models with software 'modems'

Revision 1.47.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:06:28 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +126 -254 lines
Sync with HEAD

Revision 1.52: download - view: text, markup, annotated - select for diffs
Sat Jun 8 08:02:37 2019 UTC (5 years, 6 months ago) by isaki
Branches: MAIN
CVS tags: phil-wifi-20190609, 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-9
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +5 -3 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.51: download - view: text, markup, annotated - select for diffs
Thu May 16 23:39:37 2019 UTC (5 years, 6 months ago) by macallan
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +6 -6 lines
switch the default input to line in, to avoid feedback noise on laptops
should probably just mute the input, I need to read the datasheet again...

Revision 1.50: download - view: text, markup, annotated - select for diffs
Wed May 8 13:40:15 2019 UTC (5 years, 7 months ago) by isaki
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +105 -222 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.49.2.3: download - view: text, markup, annotated - select for diffs
Sat May 4 07:20:08 2019 UTC (5 years, 7 months ago) by isaki
Branches: isaki-audio2
Diff to: previous 1.49.2.2: preferred, colored; branchpoint 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49.2.2: +3 -3 lines
Move dev/audio_if.h -> dev/audio/audio_if.h

Revision 1.49.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 22 12:30:26 2019 UTC (5 years, 7 months ago) by isaki
Branches: isaki-audio2
Diff to: previous 1.49.2.1: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.2.1: +94 -228 lines
Adapt to audio2.
- New audio filter can access softc so it's simple.
- Clear rval of fixphase on halt.

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

Revision 1.49: download - view: text, markup, annotated - select for diffs
Sat Mar 16 12:09:57 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.48: preferred, colored
Changes since revision 1.48: +17 -30 lines
Use C99 style struct initializer to audio_hw_if.

Revision 1.43.2.3: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:55:37 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.43.2.2: preferred, colored; branchpoint 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43.2.2: +6 -6 lines
Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.48: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:29:25 2018 UTC (6 years, 3 months ago) by riastradh
Branches: MAIN
CVS tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +6 -6 lines
Rename min/max -> uimin/uimax for better honesty.

These functions are defined on unsigned int.  The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.

HOWEVER!  Some subsystems have

	#define min(a, b)	((a) < (b) ? (a) : (b))
	#define max(a, b)	((a) > (b) ? (a) : (b))

even though our standard name for that is MIN/MAX.  Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.

To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.

I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:

cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))

It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.

Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate.  But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all.  (Who knows, maybe in some cases integer
truncation is actually intended!)

Revision 1.43.2.2: download - view: text, markup, annotated - select for diffs
Mon May 21 04:36:01 2018 UTC (6 years, 6 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.43.2.1: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.2.1: +4 -6 lines
Sync with HEAD

Revision 1.47: download - view: text, markup, annotated - select for diffs
Fri May 4 17:20:34 2018 UTC (6 years, 7 months ago) by macallan
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521
Branch point for: phil-wifi
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +4 -6 lines
use obio_space_map() to map DMA registers, now this works on both G5 and
32bit hardware

Revision 1.43.2.1: download - view: text, markup, annotated - select for diffs
Fri Mar 30 06:20:11 2018 UTC (6 years, 8 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +60 -32 lines
Resolve conflicts between branch and HEAD

Revision 1.46: download - view: text, markup, annotated - select for diffs
Thu Mar 29 18:34:32 2018 UTC (6 years, 8 months ago) by macallan
Branches: MAIN
CVS tags: pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +7 -3 lines
explicitly enable the i2s part in the keylargo FCR
now this works on my PCI-X G5

Revision 1.45: download - view: text, markup, annotated - select for diffs
Thu Mar 29 06:56:54 2018 UTC (6 years, 8 months ago) by macallan
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +21 -2 lines
deal with PowerMac7,* mac-io/i2s/sound reg properties
now we map the right registers on G5 and get DMA interrupts. Still no sound
but - well - progress

Revision 1.44: download - view: text, markup, annotated - select for diffs
Sat Mar 24 16:22:48 2018 UTC (6 years, 8 months ago) by macallan
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +36 -31 lines
don't poke GPIOs directly, use obio_*() access functions, now this
has a chance of working on G5 where we can't just BAT-map everything with
paddr == busaddr.
Doesn't play audio yet but things like headphone detection work.

Revision 1.38.4.1: download - view: text, markup, annotated - select for diffs
Tue Mar 13 17:09:15 2018 UTC (6 years, 9 months ago) by snj
Branches: netbsd-6
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +4 -4 lines
Pull up following revision(s) (requested by sevan in ticket #1522):
	sys/arch/macppc/dev/snapper.c: 1.42
Fix issue with audio being downpitched, thanks to <nat>
"it seems that snapper_init should be called before audio_attach_mi, as
snapper
init is setting the rate to 44100 after the hardware format has been
configured
by audio_attach_mi.
audio_attach_mi should be the last thing called during an attach of an audio
device so the audio device is ready to be configured when audio_attach_mi is
called."
Resolves PR port-macppc/52949

Revision 1.39.4.1: download - view: text, markup, annotated - select for diffs
Mon Feb 19 19:41:43 2018 UTC (6 years, 9 months ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-2-RELEASE
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +4 -4 lines
Pull up following revision(s) (requested by sevan in ticket #1559):
	sys/arch/macppc/dev/snapper.c: 1.42
Fix issue with audio being downpitched, thanks to <nat>
"it seems that snapper_init should be called before audio_attach_mi, as
snapper
init is setting the rate to 44100 after the hardware format has been
configured
by audio_attach_mi.
audio_attach_mi should be the last thing called during an attach of an audio
device so the audio device is ready to be configured when audio_attach_mi is
called."
Resolves PR port-macppc/52949

Revision 1.41.6.1: download - view: text, markup, annotated - select for diffs
Sun Feb 4 12:43:57 2018 UTC (6 years, 10 months ago) by martin
Branches: netbsd-8
CVS tags: 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
Diff to: previous 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41: +4 -4 lines
Pull up following revision(s) (requested by sevan in ticket #520):
	sys/arch/macppc/dev/snapper.c: revision 1.42
Fix issue with audio being downpitched, thanks to <nat>
"it seems that snapper_init should be called before audio_attach_mi, as
snapper
init is setting the rate to 44100 after the hardware format has been
configured
by audio_attach_mi.
audio_attach_mi should be the last thing called during an attach of an audio
device so the audio device is ready to be configured when audio_attach_mi is
called."
Resolves PR port-macppc/52949

Revision 1.43: download - view: text, markup, annotated - select for diffs
Mon Jan 29 19:33:39 2018 UTC (6 years, 10 months ago) by macallan
Branches: MAIN
CVS tags: pgoyette-compat-base, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -6 lines
remove some leftover references to ki2c in comments
no functional change

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sat Jan 27 16:21:47 2018 UTC (6 years, 10 months ago) by sevan
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +4 -4 lines
Fix issue with audio being downpitched, thanks to <nat>

"it seems that snapper_init should be called before audio_attach_mi, as snapper
init is setting the rate to 44100 after the hardware format has been configured
by audio_attach_mi.

audio_attach_mi should be the last thing called during an attach of an audio
device so the audio device is ready to be configured when audio_attach_mi is
called."

Resolves PR port-macppc/52949

Revision 1.38.8.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:25 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.38.8.1: preferred, colored; branchpoint 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38.8.1: +3 -3 lines
update from HEAD

Revision 1.39.6.2: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:44 2017 UTC (7 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.39.6.1: preferred, colored; branchpoint 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39.6.1: +3 -3 lines
Sync with HEAD

Revision 1.39.10.2: download - view: text, markup, annotated - select for diffs
Wed Apr 26 02:53:04 2017 UTC (7 years, 7 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.39.10.1: preferred, colored; branchpoint 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39.10.1: +3 -3 lines
Sync with HEAD

Revision 1.40.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:30 2017 UTC (7 years, 7 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +3 -3 lines
Sync with HEAD

Revision 1.41: download - view: text, markup, annotated - select for diffs
Fri Mar 31 08:38:13 2017 UTC (7 years, 8 months ago) by msaitoh
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Branch point for: netbsd-8
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -3 lines
 Remove extra 0x. This bug was added when replacing bitmask_snprintf(9) with
snprintb(3) (in between NetBSD 5 and 6). Old bitmask_snprint(9) didn't add
0x" automatically for hexadecimal value, so old code used it with "0x%s".

Revision 1.39.6.1: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:55:31 2016 UTC (8 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +4 -4 lines
Sync with HEAD

Revision 1.39.10.1: download - view: text, markup, annotated - select for diffs
Tue Jul 26 03:24:17 2016 UTC (8 years, 4 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +4 -4 lines
Sync with HEAD

Revision 1.40: download - view: text, markup, annotated - select for diffs
Fri Jul 15 22:10:47 2016 UTC (8 years, 4 months ago) by macallan
Branches: MAIN
CVS tags: pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, localcount-20160914, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +4 -4 lines
adjust to dbdma changes

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

Revision 1.36.8.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:39:56 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.36.8.1: preferred, colored; branchpoint 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36.8.1: +5 -6 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.38.12.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:16 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +5 -6 lines
sync with head

Revision 1.39: download - view: text, markup, annotated - select for diffs
Fri Mar 14 21:59:41 2014 UTC (10 years, 9 months ago) by mrg
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, riastradh-drm2-base3, pgoyette-localcount-base, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, 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
Branch point for: pgoyette-localcount, nick-nhusb, netbsd-7
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +5 -6 lines
remove various set-but-unused variables.

Revision 1.36.8.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:06:37 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +27 -10 lines
sync with head

Revision 1.38: download - view: text, markup, annotated - select for diffs
Thu Nov 24 03:35:57 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-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, 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, netbsd-6
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +7 -7 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.37: download - view: text, markup, annotated - select for diffs
Wed Nov 23 23:07:30 2011 UTC (13 years ago) by jmcneill
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +31 -14 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.36.10.2: download - view: text, markup, annotated - select for diffs
Tue Nov 22 22:47:03 2011 UTC (13 years ago) by jmcneill
Branches: jmcneill-audiomp3
Diff to: previous 1.36.10.1: preferred, colored; branchpoint 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36.10.1: +2 -3 lines
get rid of unused 'powerstate' callback in audio_hw_if

Revision 1.36.10.1: download - view: text, markup, annotated - select for diffs
Tue Nov 22 05:54:54 2011 UTC (13 years ago) by macallan
Branches: jmcneill-audiomp3
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +32 -14 lines
convert snapper
code from mrg, tested on my iBook G4

Revision 1.33.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:50:59 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +89 -82 lines
sync with head

Revision 1.36: download - view: text, markup, annotated - select for diffs
Fri Nov 12 12:26:29 2010 UTC (14 years, 1 month ago) by phx
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, 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: yamt-pagecache, jmcneill-audiomp3
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +13 -10 lines
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 - view: text, markup, annotated - select for diffs
Fri Oct 22 07:21:24 2010 UTC (14 years, 1 month ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +78 -74 lines
Sync with HEAD (-D20101022).

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sat Oct 16 18:22:37 2010 UTC (14 years, 1 month ago) by phx
Branches: MAIN
CVS tags: uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +68 -43 lines
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 - view: text, markup, annotated - select for diffs
Sat Oct 9 03:31:50 2010 UTC (14 years, 2 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.25.18.2: preferred, colored; branchpoint 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25.18.2: +12 -33 lines
sync with head

Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Sep 9 00:24:59 2010 UTC (14 years, 3 months ago) by macallan
Branches: MAIN
CVS tags: yamt-nfs-mp-base11
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +12 -33 lines
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 - view: text, markup, annotated - select for diffs
Thu Mar 11 15:02:36 2010 UTC (14 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.25.18.1: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.18.1: +7 -3 lines
sync with head

Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Nov 5 05:37:30 2009 UTC (15 years, 1 month ago) by dyoung
Branches: 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
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +7 -3 lines
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 - view: text, markup, annotated - select for diffs
Wed May 13 17:18:01 2009 UTC (15 years, 7 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +6 -6 lines
Sync with HEAD.

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

Revision 1.25.18.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:11:29 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +107 -80 lines
sync with head.

Revision 1.30.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:34:20 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.30.2.1: preferred, colored; branchpoint 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.2.1: +6 -6 lines
Sync with HEAD.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Mar 18 16:00:13 2009 UTC (15 years, 8 months ago) by cegger
Branches: 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
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +6 -6 lines
bzero -> memset

Revision 1.30.2.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:16:26 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -4 lines
Sync with HEAD.

Revision 1.25.14.3: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:14 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.25.14.2: preferred, colored; branchpoint 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25.14.2: +1 -2 lines
Sync with HEAD.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Tue Dec 16 22:35:24 2008 UTC (15 years, 11 months ago) by christos
Branches: MAIN
CVS tags: nick-hppapmap-base2, mjf-devfs2-base
Branch point for: jym-xensuspend
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -4 lines
replace bitmask_snprintf(9) with snprintb(3)

Revision 1.28.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:15:52 2008 UTC (16 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +11 -9 lines
Sync with HEAD.

Revision 1.25.20.2: download - view: text, markup, annotated - select for diffs
Fri Oct 10 22:29:05 2008 UTC (16 years, 2 months ago) by skrll
Branches: wrstuden-revivesa
Diff to: previous 1.25.20.1: preferred, colored; branchpoint 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25.20.1: +11 -9 lines
Sync with HEAD.

Revision 1.25.14.2: download - view: text, markup, annotated - select for diffs
Sun Sep 28 10:40:03 2008 UTC (16 years, 2 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.25.14.1: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.14.1: +9 -7 lines
Sync with HEAD.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Fri Sep 26 03:38:25 2008 UTC (16 years, 2 months ago) by macallan
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4, 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, 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
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +9 -7 lines
use access functions to mess with obio's registers

Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Sep 26 03:20:30 2008 UTC (16 years, 2 months ago) by macallan
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +4 -4 lines
use min(255, blah) to cap volume instead of masking the upper bits out

Revision 1.13.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 25 20:29:56 2008 UTC (16 years, 2 months ago) by bouyer
Branches: netbsd-4
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +315 -145 lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 23 04:30:31 2008 UTC (16 years, 5 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +95 -69 lines
Sync w/ -current. 34 merge conflicts to follow.

Revision 1.25.14.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:22:23 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +95 -69 lines
Sync with HEAD.

Revision 1.25.16.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:32:23 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +95 -69 lines
sync with head.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri May 16 03:49:54 2008 UTC (16 years, 7 months ago) by macallan
Branches: 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
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +61 -61 lines
sprinkle static

Revision 1.27: download - view: text, markup, annotated - select for diffs
Thu May 15 20:11:00 2008 UTC (16 years, 7 months ago) by macallan
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +26 -2 lines
listen to PMF volume control events
With this volume vontrol via keyboard works on my iBook G4.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu May 15 19:47:09 2008 UTC (16 years, 7 months ago) by macallan
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +15 -13 lines
struct device -> device_t

Revision 1.16.2.4: download - view: text, markup, annotated - select for diffs
Mon Dec 3 18:37:21 2007 UTC (17 years ago) by ad
Branches: vmlocking
Diff to: previous 1.16.2.3: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.2.3: +3 -3 lines
Sync with HEAD.

Revision 1.24.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 19 00:46:37 2007 UTC (17 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +3 -3 lines
Sync with HEAD.

Revision 1.5.6.5: download - view: text, markup, annotated - select for diffs
Thu Nov 15 11:43:06 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.5.6.4: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.6.4: +3 -3 lines
sync with head.

Revision 1.22.2.2: download - view: text, markup, annotated - select for diffs
Tue Nov 13 15:58:44 2007 UTC (17 years, 1 month ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.22.2.1: preferred, colored; branchpoint 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22.2.1: +1 -1 lines
Sync with HEAD

Revision 1.20.12.3: download - view: text, markup, annotated - select for diffs
Sun Nov 11 16:46:41 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.20.12.2: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.12.2: +3 -3 lines
Sync with HEAD.

Revision 1.20.14.2: download - view: text, markup, annotated - select for diffs
Thu Nov 8 10:59:36 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.20.14.1: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.14.1: +3 -3 lines
sync with -HEAD

Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Nov 7 19:47:01 2007 UTC (17 years, 1 month ago) by garbled
Branches: 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
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -3 lines
Convert macppc to shared ofw_autoconf.c.  Compile tested only.

Revision 1.20.14.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:18:41 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +400 -220 lines
sync with HEAD

Revision 1.5.6.4: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:27:05 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.5.6.3: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.6.3: +400 -220 lines
sync with head.

Revision 1.20.12.2: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:42:48 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.20.12.1: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.12.1: +315 -162 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.22.2.1: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:36:02 2007 UTC (17 years, 1 month ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +315 -162 lines
Sync with HEAD.

Revision 1.16.2.3: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:13:22 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.16.2.2: preferred, colored
Changes since revision 1.16.2.2: +315 -162 lines
Sync with head.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Oct 18 22:03:09 2007 UTC (17 years, 1 month ago) by macallan
Branches: MAIN
CVS tags: jmcneill-base
Branch point for: mjf-devfs
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +291 -149 lines
cleanup, various fixes and TAS3001 / Tumbler support
from Marco Trillo in PR37076

Revision 1.21.2.2: download - view: text, markup, annotated - select for diffs
Thu Oct 18 08:32:10 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.21.2.1: preferred, colored; branchpoint 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21.2.1: +33 -22 lines
sync with head.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Oct 17 19:55:19 2007 UTC (17 years, 1 month ago) by garbled
Branches: MAIN
CVS tags: yamt-x86pmap-base4
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +33 -22 lines
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 - view: text, markup, annotated - select for diffs
Tue Oct 9 13:38:10 2007 UTC (17 years, 2 months ago) by ad
Branches: vmlocking
Diff to: previous 1.16.2.1: preferred, colored
Changes since revision 1.16.2.1: +116 -89 lines
Sync with head.

Revision 1.21.2.1: download - view: text, markup, annotated - select for diffs
Sat Oct 6 15:35:09 2007 UTC (17 years, 2 months ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -5 lines
sync with head.

Revision 1.20.4.5: download - view: text, markup, annotated - select for diffs
Wed Oct 3 19:24:15 2007 UTC (17 years, 2 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.20.4.4: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.4.4: +3 -3 lines
Sync with HEAD

Revision 1.20.12.1: download - view: text, markup, annotated - select for diffs
Tue Oct 2 18:27:31 2007 UTC (17 years, 2 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +116 -89 lines
Sync with HEAD.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Thu Sep 27 08:49:33 2007 UTC (17 years, 2 months ago) by dogcow
Branches: MAIN
CVS tags: yamt-x86pmap-base3, yamt-x86pmap-base2, vmlocking-base, ppcoea-renovation-base
Branch point for: bouyer-xenamd64
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -5 lines
struct cfattach -> CFATTACH_DECL; compiles again.

Revision 1.20.4.4: download - view: text, markup, annotated - select for diffs
Thu Sep 27 07:13:54 2007 UTC (17 years, 2 months ago) by macallan
Branches: ppcoea-renovation
Diff to: previous 1.20.4.3: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.4.3: +3 -5 lines
use CFATTACH_DECL()

Revision 1.20.4.3: download - view: text, markup, annotated - select for diffs
Wed Sep 19 22:19:59 2007 UTC (17 years, 2 months ago) by macallan
Branches: ppcoea-renovation
Diff to: previous 1.20.4.2: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.4.2: +115 -85 lines
sync with HEAD

Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Sep 17 13:15:20 2007 UTC (17 years, 2 months ago) by aymeric
Branches: MAIN
CVS tags: yamt-x86pmap-base
Branch point for: yamt-x86pmap
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +114 -85 lines
add support for the "tumbler" as found at least on iBook G3/600.
quick OK macallan@

Revision 1.5.6.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:27:38 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.5.6.2: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.6.2: +110 -12 lines
sync with head.

Revision 1.20.4.2: download - view: text, markup, annotated - select for diffs
Wed Aug 8 05:41:20 2007 UTC (17 years, 4 months ago) by macallan
Branches: ppcoea-renovation
Diff to: previous 1.20.4.1: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.4.1: +4 -4 lines
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 - view: text, markup, annotated - select for diffs
Wed Jul 11 20:00:40 2007 UTC (17 years, 5 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +109 -11 lines
Sync with head.

Revision 1.20.4.1: download - view: text, markup, annotated - select for diffs
Thu Jun 7 20:30:44 2007 UTC (17 years, 6 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +32 -22 lines
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 - view: text, markup, annotated - select for diffs
Sun Apr 15 16:02:51 2007 UTC (17 years, 8 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.15.2.1: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.2.1: +109 -11 lines
sync with head.

Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 10 13:22:44 2007 UTC (17 years, 8 months ago) by ad
Branches: vmlocking
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +109 -11 lines
Sync with head.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Apr 4 02:14:57 2007 UTC (17 years, 8 months ago) by jmcneill
Branches: 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
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +14 -17 lines
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 - view: text, markup, annotated - select for diffs
Tue Apr 3 13:11:21 2007 UTC (17 years, 8 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +99 -6 lines
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 - view: text, markup, annotated - select for diffs
Tue Apr 3 03:26:52 2007 UTC (17 years, 8 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +13 -5 lines
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 - view: text, markup, annotated - select for diffs
Thu Mar 29 19:27:29 2007 UTC (17 years, 8 months ago) by reinoud
Branches: reinoud-bufcleanup
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +3 -3 lines
Pullup to -current

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Mar 25 23:38:22 2007 UTC (17 years, 8 months ago) by macallan
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3 lines
fix typo

Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:49:06 2007 UTC (17 years, 9 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2 lines
Sync with HEAD.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Feb 28 04:21:51 2007 UTC (17 years, 9 months ago) by thorpej
Branches: MAIN
Branch point for: vmlocking, reinoud-bufcleanup, mjf-ufs-trans
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2 lines
TRUE -> true, FALSE -> false

Revision 1.12.2.2: download - view: text, markup, annotated - select for diffs
Fri Jan 12 01:00:53 2007 UTC (17 years, 11 months ago) by ad
Branches: newlock2
Diff to: previous 1.12.2.1: preferred, colored; branchpoint 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.2.1: +96 -53 lines
Sync with head.

Revision 1.5.6.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:46:26 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.5.6.1: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.6.1: +466 -132 lines
sync with head.

Revision 1.12.4.2: download - view: text, markup, annotated - select for diffs
Mon Dec 18 11:42:05 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.12.4.1: preferred, colored; branchpoint 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.4.1: +96 -53 lines
sync with head.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Dec 17 21:26:04 2006 UTC (17 years, 11 months ago) by macallan
Branches: 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
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -9 lines
don't pretend to support 8kHz since the chip really doesn't
noticed by Marco Trillo

Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Dec 11 02:17:53 2006 UTC (18 years ago) by macallan
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +96 -47 lines
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 - view: text, markup, annotated - select for diffs
Sat Nov 18 21:29:24 2006 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +12 -10 lines
Sync with head.

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

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Sep 24 03:47:09 2006 UTC (18 years, 2 months ago) by jmcneill
Branches: 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
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +12 -10 lines
Don't use // for comments.

Revision 1.8.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:41:05 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +364 -75 lines
sync with head

Revision 1.9.2.1: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:23:20 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +362 -73 lines
sync with head.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Aug 23 03:25:31 2006 UTC (18 years, 3 months ago) by macallan
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.11: preferred, colored
Changes since revision 1.11: +29 -23 lines
use gain table for master volume as well

Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Aug 23 02:56:32 2006 UTC (18 years, 3 months ago) by macallan
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +20 -19 lines
fix some KNF nits

Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Aug 11 20:37:43 2006 UTC (18 years, 4 months ago) by macallan
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +321 -39 lines
Add audio input support. From Magnus Henoch, fixes PR 32664

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

Revision 1.8.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:37:41 2006 UTC (18 years, 7 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +3 -3 lines
Sync with head.

Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Wed Mar 1 09:27:58 2006 UTC (18 years, 9 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +3 -3 lines
sync with head.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Feb 23 05:37:47 2006 UTC (18 years, 9 months ago) by thorpej
Branches: 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
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3 lines
Use device_parent().

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Dec 24 22:45:35 2005 UTC (18 years, 11 months ago) by perry
Branches: MAIN
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3 lines
bare asm -> __asm

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:18:03 2005 UTC (19 years ago) by christos
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +1 -1 lines
merge ktrace-lwp.

Revision 1.1.4.8: download - view: text, markup, annotated - select for diffs
Thu Nov 10 13:57:27 2005 UTC (19 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.1.4.7: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.4.7: +229 -18 lines
Sync with HEAD. Here we go again...

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Aug 10 14:32:08 2005 UTC (19 years, 4 months ago) by macallan
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
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +229 -18 lines
- 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 - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:15 2005 UTC (19 years, 7 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +11 -4 lines
sync with -current

Revision 1.4.4.1: download - view: text, markup, annotated - select for diffs
Sat Feb 12 18:17:36 2005 UTC (19 years, 10 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +11 -4 lines
sync with head.

Revision 1.1.4.7: download - view: text, markup, annotated - select for diffs
Fri Feb 4 11:44:33 2005 UTC (19 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.1.4.6: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.4.6: +11 -4 lines
Sync with HEAD.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Jan 25 19:05:22 2005 UTC (19 years, 10 months ago) by briggs
Branches: 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, kent-audio2-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +11 -4 lines
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 - view: text, markup, annotated - select for diffs
Mon Jan 17 19:29:57 2005 UTC (19 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.1.4.5: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.4.5: +111 -240 lines
Sync with HEAD.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Jan 15 15:19:51 2005 UTC (19 years, 11 months ago) by kent
Branches: MAIN
CVS tags: yamt-km-base
Branch point for: yamt-km, kent-audio2
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +86 -123 lines
ansify and KNF

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Jan 10 22:01:36 2005 UTC (19 years, 11 months ago) by kent
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +33 -125 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.2.2.2: download - view: text, markup, annotated - select for diffs
Sun Jan 9 08:42:45 2005 UTC (19 years, 11 months ago) by kent
Branches: kent-audio1
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.1: +6 -13 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.2.2.1: download - view: text, markup, annotated - select for diffs
Mon Jan 3 16:45:00 2005 UTC (19 years, 11 months ago) by kent
Branches: kent-audio1
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +28 -113 lines
adopt the filter pipeline framework

Revision 1.1.4.5: download - view: text, markup, annotated - select for diffs
Tue Nov 2 07:50:36 2004 UTC (20 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.1.4.4: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.4.4: +2 -2 lines
Sync with HEAD.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Oct 29 12:57:16 2004 UTC (20 years, 1 month ago) by yamt
Branches: MAIN
CVS tags: kent-audio1-beforemerge, kent-audio1-base
Branch point for: kent-audio1
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
constify audio_hw_if, midi_hw_if, and radio_hw_if.

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

Revision 1.1.4.3: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:36:56 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.1.4.2: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.4.2: +1 -1 lines
Sync with HEAD.

Revision 1.1.4.2: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:37:21 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.1.4.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.4.1: +1399 -0 lines
Sync with HEAD

Revision 1.1.4.1
Sat Dec 27 02:19:34 2003 UTC (20 years, 11 months ago) by skrll
Branches: ktrace-lwp
FILE REMOVED
Changes since revision 1.1: +0 -1399 lines
file snapper.c was added on branch ktrace-lwp on 2004-08-03 10:37:21 +0000

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Dec 27 02:19:34 2003 UTC (20 years, 11 months ago) by grant
Branches: MAIN
CVS tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
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.

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>