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.67 / (download) - annotate - [select for diffs], Wed Dec 20 15:29:04 2023 UTC (3 months, 3 weeks ago) by thorpej
Branch: MAIN
CVS Tags: HEAD
Changes since 1.66: +2 -3 lines
Diff to previous 1.66 (colored)

Remove unnecessary <sys/malloc.h>.

Revision 1.66 / (download) - annotate - [select for diffs], Mon Dec 11 13:06:06 2023 UTC (4 months ago) by mlelstv
Branch: MAIN
Changes since 1.65: +3 -3 lines
Diff to previous 1.65 (colored)

Output is always 16bit, the internal audio data type may differ.

Revision 1.65 / (download) - annotate - [select for diffs], Thu Jun 2 16:22:27 2022 UTC (22 months, 1 week ago) by macallan
Branch: 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
Changes since 1.64: +41 -20 lines
Diff to previous 1.64 (colored)

check platform-do-*-mute properties to find out the resp. GPIO's polarity
now this works properly on pmac7,3

Revision 1.64 / (download) - annotate - [select for diffs], Wed Jun 1 06:05:47 2022 UTC (22 months, 1 week ago) by martin
Branch: MAIN
Changes since 1.63: +5 -5 lines
Diff to previous 1.63 (colored)

Revert previous, the mask is intented to be like sc_output_mask, a bitmask
of active ports.

Revision 1.63 / (download) - annotate - [select for diffs], Wed Jun 1 05:47:37 2022 UTC (22 months, 1 week ago) by martin
Branch: MAIN
Changes since 1.62: +5 -5 lines
Diff to previous 1.62 (colored)

In SNAPPER_OUTPUT_SELECT the "mask" is a bitmap of muted outputs, not
active outputs.

Revision 1.62 / (download) - annotate - [select for diffs], Wed Jun 1 05:42:52 2022 UTC (22 months, 1 week ago) by martin
Branch: MAIN
Changes since 1.61: +6 -4 lines
Diff to previous 1.61 (colored)

Recognize the OF labels used for line output and headphone output on a
G5 powermac 7,3.

Revision 1.61 / (download) - annotate - [select for diffs], Sat Aug 7 16:18:58 2021 UTC (2 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2
Changes since 1.60: +3 -5 lines
Diff to previous 1.60 (colored)

Merge thorpej-cfargs2.

Revision 1.60.2.1 / (download) - annotate - [select for diffs], Wed Aug 4 02:39:49 2021 UTC (2 years, 8 months ago) by thorpej
Branch: thorpej-cfargs2
Changes since 1.60: +3 -5 lines
Diff to previous 1.60 (colored) next main 1.61 (colored)

Adapt to CFARGS().

Revision 1.58.2.2 / (download) - annotate - [select for diffs], Sun Aug 1 22:42:12 2021 UTC (2 years, 8 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.58.2.1: +15 -10 lines
Diff to previous 1.58.2.1 (colored) next main 1.59 (colored)

Sync with HEAD.

Revision 1.60 / (download) - annotate - [select for diffs], Fri Jul 2 10:14:07 2021 UTC (2 years, 9 months ago) by jmcneill
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base
Branch point for: thorpej-cfargs2
Changes since 1.59: +15 -10 lines
Diff to previous 1.59 (colored)

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) - annotate - [select for diffs], Thu May 13 00:47:25 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.58: +3 -2 lines
Diff to previous 1.58 (colored)

Sync with HEAD.

Revision 1.59 / (download) - annotate - [select for diffs], Mon Apr 26 14:01:47 2021 UTC (2 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.58: +3 -2 lines
Diff to previous 1.58 (colored)

snapper carries multiple interface attributes, so be explicit about
"onewirebus" when attaching to it.

Revision 1.58 / (download) - annotate - [select for diffs], Sat Apr 24 23:36:41 2021 UTC (2 years, 11 months ago) by thorpej
Branch: MAIN
Branch point for: thorpej-i2c-spi-conf
Changes since 1.57: +4 -3 lines
Diff to previous 1.57 (colored)

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) - annotate - [select for diffs], Sat Apr 3 22:28:29 2021 UTC (3 years ago) by thorpej
Branch: thorpej-futex
Changes since 1.55: +122 -23 lines
Diff to previous 1.55 (colored) next main 1.56 (colored)

Sync with HEAD.

Revision 1.57.2.1 / (download) - annotate - [select for diffs], Sun Mar 21 21:09:02 2021 UTC (3 years ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.57: +4 -3 lines
Diff to previous 1.57 (colored) next main 1.58 (colored)

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) - annotate - [select for diffs], Thu Mar 11 19:36:11 2021 UTC (3 years, 1 month ago) by macallan
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-cfargs-base
Branch point for: thorpej-cfargs
Changes since 1.56: +106 -17 lines
Diff to previous 1.56 (colored)

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) - annotate - [select for diffs], Fri Mar 5 07:15:53 2021 UTC (3 years, 1 month ago) by rin
Branch: MAIN
Changes since 1.55: +18 -8 lines
Diff to previous 1.55 (colored)

Convert to intr_establish_xname().

Revision 1.55 / (download) - annotate - [select for diffs], Sat Aug 8 22:37:19 2020 UTC (3 years, 8 months ago) by macallan
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.54: +108 -4 lines
Diff to previous 1.54 (colored)

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) - annotate - [select for diffs], Mon Apr 20 11:28:58 2020 UTC (3 years, 11 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.53: +6 -5 lines
Diff to previous 1.53 (colored) next main 1.54 (colored)

Sync with HEAD

Revision 1.47.2.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:03:58 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.47.2.1: +160 -53 lines
Diff to previous 1.47.2.1 (colored) to branchpoint 1.47 (colored) next main 1.48 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.54 / (download) - annotate - [select for diffs], Sat Apr 11 01:42:56 2020 UTC (4 years ago) by macallan
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, bouyer-xenpvh-base2, bouyer-xenpvh-base1
Changes since 1.53: +6 -5 lines
Diff to previous 1.53 (colored)

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) - annotate - [select for diffs], Fri Sep 20 21:24:34 2019 UTC (4 years, 6 months ago) by macallan
Branch: 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
Changes since 1.52: +156 -50 lines
Diff to previous 1.52 (colored)

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) - annotate - [select for diffs], Mon Jun 10 22:06:28 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.47: +126 -254 lines
Diff to previous 1.47 (colored)

Sync with HEAD

Revision 1.52 / (download) - annotate - [select for diffs], Sat Jun 8 08:02:37 2019 UTC (4 years, 10 months ago) by isaki
Branch: MAIN
CVS Tags: phil-wifi-20190609, netbsd-9-base, 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
Changes since 1.51: +5 -3 lines
Diff to previous 1.51 (colored)

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) - annotate - [select for diffs], Thu May 16 23:39:37 2019 UTC (4 years, 10 months ago) by macallan
Branch: MAIN
Changes since 1.50: +6 -6 lines
Diff to previous 1.50 (colored)

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) - annotate - [select for diffs], Wed May 8 13:40:15 2019 UTC (4 years, 11 months ago) by isaki
Branch: MAIN
Changes since 1.49: +105 -222 lines
Diff to previous 1.49 (colored)

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) - annotate - [select for diffs], Sat May 4 07:20:08 2019 UTC (4 years, 11 months ago) by isaki
Branch: isaki-audio2
Changes since 1.49.2.2: +3 -3 lines
Diff to previous 1.49.2.2 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored)

Move dev/audio_if.h -> dev/audio/audio_if.h

Revision 1.49.2.2 / (download) - annotate - [select for diffs], Mon Apr 22 12:30:26 2019 UTC (4 years, 11 months ago) by isaki
Branch: isaki-audio2
Changes since 1.49.2.1: +94 -228 lines
Diff to previous 1.49.2.1 (colored) to branchpoint 1.49 (colored)

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) - annotate - [select for diffs], Sun Apr 21 05:11:21 2019 UTC (4 years, 11 months ago) by isaki
Branch: isaki-audio2
Changes since 1.49: +25 -8 lines
Diff to previous 1.49 (colored)

Use C99 style struct initializer to audio_format.

Revision 1.49 / (download) - annotate - [select for diffs], Sat Mar 16 12:09:57 2019 UTC (5 years, 1 month ago) by isaki
Branch: MAIN
CVS Tags: isaki-audio2-base
Branch point for: isaki-audio2
Changes since 1.48: +17 -30 lines
Diff to previous 1.48 (colored)

Use C99 style struct initializer to audio_hw_if.

Revision 1.43.2.3 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:37 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.43.2.2: +6 -6 lines
Diff to previous 1.43.2.2 (colored) to branchpoint 1.43 (colored) next main 1.44 (colored)

Sync with HEAD

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

Revision 1.48 / (download) - annotate - [select for diffs], Mon Sep 3 16:29:25 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906
Changes since 1.47: +6 -6 lines
Diff to previous 1.47 (colored)

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) - annotate - [select for diffs], Mon May 21 04:36:01 2018 UTC (5 years, 10 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.43.2.1: +4 -6 lines
Diff to previous 1.43.2.1 (colored) to branchpoint 1.43 (colored)

Sync with HEAD

Revision 1.47 / (download) - annotate - [select for diffs], Fri May 4 17:20:34 2018 UTC (5 years, 11 months ago) by macallan
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521
Branch point for: phil-wifi
Changes since 1.46: +4 -6 lines
Diff to previous 1.46 (colored)

use obio_space_map() to map DMA registers, now this works on both G5 and
32bit hardware

Revision 1.43.2.1 / (download) - annotate - [select for diffs], Fri Mar 30 06:20:11 2018 UTC (6 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.43: +60 -32 lines
Diff to previous 1.43 (colored)

Resolve conflicts between branch and HEAD

Revision 1.46 / (download) - annotate - [select for diffs], Thu Mar 29 18:34:32 2018 UTC (6 years ago) by macallan
Branch: MAIN
CVS Tags: pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330
Changes since 1.45: +7 -3 lines
Diff to previous 1.45 (colored)

explicitly enable the i2s part in the keylargo FCR
now this works on my PCI-X G5

Revision 1.45 / (download) - annotate - [select for diffs], Thu Mar 29 06:56:54 2018 UTC (6 years ago) by macallan
Branch: MAIN
Changes since 1.44: +21 -2 lines
Diff to previous 1.44 (colored)

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) - annotate - [select for diffs], Sat Mar 24 16:22:48 2018 UTC (6 years ago) by macallan
Branch: MAIN
Changes since 1.43: +36 -31 lines
Diff to previous 1.43 (colored)

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) - annotate - [select for diffs], Tue Mar 13 17:09:15 2018 UTC (6 years, 1 month ago) by snj
Branch: netbsd-6
Changes since 1.38: +4 -4 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

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) - annotate - [select for diffs], Mon Feb 19 19:41:43 2018 UTC (6 years, 1 month ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-2-RELEASE
Changes since 1.39: +4 -4 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

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) - annotate - [select for diffs], Sun Feb 4 12:43:57 2018 UTC (6 years, 2 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Changes since 1.41: +4 -4 lines
Diff to previous 1.41 (colored) next main 1.42 (colored)

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) - annotate - [select for diffs], Mon Jan 29 19:33:39 2018 UTC (6 years, 2 months ago) by macallan
Branch: MAIN
CVS Tags: pgoyette-compat-base, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.42: +3 -6 lines
Diff to previous 1.42 (colored)

remove some leftover references to ki2c in comments
no functional change

Revision 1.42 / (download) - annotate - [select for diffs], Sat Jan 27 16:21:47 2018 UTC (6 years, 2 months ago) by sevan
Branch: MAIN
Changes since 1.41: +4 -4 lines
Diff to previous 1.41 (colored)

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) - annotate - [select for diffs], Sun Dec 3 11:36:25 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.38.8.1: +3 -3 lines
Diff to previous 1.38.8.1 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)

update from HEAD

Revision 1.39.6.2 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:44 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.39.6.1: +3 -3 lines
Diff to previous 1.39.6.1 (colored) to branchpoint 1.39 (colored) next main 1.40 (colored)

Sync with HEAD

Revision 1.39.10.2 / (download) - annotate - [select for diffs], Wed Apr 26 02:53:04 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.39.10.1: +3 -3 lines
Diff to previous 1.39.10.1 (colored) to branchpoint 1.39 (colored) next main 1.40 (colored)

Sync with HEAD

Revision 1.40.2.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:30 2017 UTC (6 years, 11 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored) next main 1.41 (colored)

Sync with HEAD

Revision 1.41 / (download) - annotate - [select for diffs], Fri Mar 31 08:38:13 2017 UTC (7 years ago) by msaitoh
Branch: 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
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

 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) - annotate - [select for diffs], Wed Oct 5 20:55:31 2016 UTC (7 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.39: +4 -4 lines
Diff to previous 1.39 (colored)

Sync with HEAD

Revision 1.39.10.1 / (download) - annotate - [select for diffs], Tue Jul 26 03:24:17 2016 UTC (7 years, 8 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.39: +4 -4 lines
Diff to previous 1.39 (colored)

Sync with HEAD

Revision 1.40 / (download) - annotate - [select for diffs], Fri Jul 15 22:10:47 2016 UTC (7 years, 9 months ago) by macallan
Branch: 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
Changes since 1.39: +4 -4 lines
Diff to previous 1.39 (colored)

adjust to dbdma changes

Revision 1.38.8.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:11 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.38: +5 -6 lines
Diff to previous 1.38 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.36.8.2 / (download) - annotate - [select for diffs], Thu May 22 11:39:56 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.36.8.1: +5 -6 lines
Diff to previous 1.36.8.1 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored)

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) - annotate - [select for diffs], Sun May 18 17:45:16 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.38: +5 -6 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

sync with head

Revision 1.39 / (download) - annotate - [select for diffs], Fri Mar 14 21:59:41 2014 UTC (10 years, 1 month ago) by mrg
Branch: 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
Changes since 1.38: +5 -6 lines
Diff to previous 1.38 (colored)

remove various set-but-unused variables.

Revision 1.36.8.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:06:37 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.36: +27 -10 lines
Diff to previous 1.36 (colored)

sync with head

Revision 1.38 / (download) - annotate - [select for diffs], Thu Nov 24 03:35:57 2011 UTC (12 years, 4 months ago) by mrg
Branch: 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
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 (12 years, 4 months 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 (12 years, 4 months 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 (12 years, 4 months 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 (13 years, 1 month 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 (13 years, 5 months ago) by phx
Branch: 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
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 (13 years, 5 months 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 (13 years, 6 months 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 (13 years, 6 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 (13 years, 7 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 (14 years, 1 month 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 (14 years, 5 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 (14 years, 11 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 (14 years, 11 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 (14 years, 11 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 (15 years ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, 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 (15 years, 2 months 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 (15 years, 2 months 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 (15 years, 4 months 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 (15 years, 5 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 (15 years, 6 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 (15 years, 6 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 (15 years, 6 months ago) by macallan
Branch: 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
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 (15 years, 6 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 (15 years, 6 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 (15 years, 9 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 (15 years, 10 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 (15 years, 10 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 (15 years, 11 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 (15 years, 11 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 (15 years, 11 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 (16 years, 4 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 (16 years, 4 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 (16 years, 5 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 (16 years, 5 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 (16 years, 5 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 (16 years, 5 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 (16 years, 5 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 (16 years, 5 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 (16 years, 5 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 (16 years, 5 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 (16 years, 5 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 (16 years, 5 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 (16 years, 5 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 (16 years, 6 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 (16 years, 6 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 (16 years, 6 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 (16 years, 6 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 (16 years, 6 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 (16 years, 6 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 (16 years, 6 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 (16 years, 6 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 (16 years, 6 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 (16 years, 7 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 (16 years, 7 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 (16 years, 8 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 (16 years, 9 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 (16 years, 10 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 (17 years 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 (17 years 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 (17 years 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 (17 years 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 (17 years 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 (17 years 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 (17 years 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 (17 years, 1 month 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 (17 years, 1 month 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 (17 years, 3 months 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 (17 years, 3 months 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 (17 years, 3 months 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 (17 years, 4 months 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 (17 years, 4 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 (17 years, 4 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 (17 years, 5 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 (17 years, 6 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 (17 years, 7 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 (17 years, 7 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 (17 years, 7 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 (17 years, 7 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 (17 years, 8 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 (17 years, 9 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 (17 years, 11 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 (18 years, 1 month 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 (18 years, 1 month 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 (18 years, 3 months 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 (18 years, 4 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 (18 years, 5 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 (18 years, 8 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 (18 years, 11 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 (19 years, 2 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 (19 years, 2 months 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 (19 years, 2 months 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, 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 (19 years, 3 months 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 (19 years, 3 months 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 (19 years, 3 months 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 (19 years, 3 months 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 (19 years, 3 months 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 (19 years, 5 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 (19 years, 5 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 (19 years, 6 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 (19 years, 6 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 (19 years, 8 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 (20 years, 3 months 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 (20 years, 3 months 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>