The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.86.2.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:46 2021 UTC (3 years ago) by thorpej
Branch: thorpej-futex
Changes since 1.86: +2 -6 lines
Diff to previous 1.86 (colored) next main 1.87 (colored)

Sync with HEAD.

Revision 1.87 / (download) - annotate - [select for diffs], Sat Feb 6 09:45:17 2021 UTC (3 years, 2 months ago) by isaki
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, 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, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.86: +2 -6 lines
Diff to previous 1.86 (colored)

Hold sc_intr_lock in open()/close().
vtbl->{lock,unlock} (in fact ac97_{lock,unlock}) don't seem to need
releasing an interrupt lock.
Confirmed on auich.

Revision 1.78.10.3 / (download) - annotate - [select for diffs], Tue Apr 21 18:42:16 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.78.10.2: +4 -1 lines
Diff to previous 1.78.10.2 (colored) to branchpoint 1.78 (colored) next main 1.79 (colored)

Sync with HEAD

Revision 1.85.4.1 / (download) - annotate - [select for diffs], Mon Apr 20 11:29:04 2020 UTC (3 years, 11 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.85: +6 -3 lines
Diff to previous 1.85 (colored) next main 1.86 (colored)

Sync with HEAD

Revision 1.86 / (download) - annotate - [select for diffs], Sun Apr 19 08:18:19 2020 UTC (3 years, 11 months ago) by isaki
Branch: MAIN
CVS Tags: phil-wifi-20200421, bouyer-xenpvh-base2, bouyer-xenpvh-base1
Branch point for: thorpej-futex
Changes since 1.85: +6 -3 lines
Diff to previous 1.85 (colored)

Fix round_blocksize not to return 0.

Revision 1.78.10.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:08 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.78.10.1: +3 -4 lines
Diff to previous 1.78.10.1 (colored) to branchpoint 1.78 (colored)

Merge changes from current as of 20200406

Revision 1.84.2.1 / (download) - annotate - [select for diffs], Sat Mar 21 15:31:50 2020 UTC (4 years ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE
Changes since 1.84: +3 -4 lines
Diff to previous 1.84 (colored) next main 1.85 (colored)

Pull up following revision(s) (requested by isaki in ticket #792):

	sys/arch/amiga/dev/aucc.c: revision 1.48
	sys/dev/pci/auixp.c: revision 1.49
	sys/dev/pci/gcscaudio.c: revision 1.19
	sys/dev/pci/auich.c: revision 1.159
	sys/dev/sbus/dbri.c: revision 1.42
	sys/dev/pci/auvia.c: revision 1.85
	sys/dev/pci/auacer.c: revision 1.39

Drop 512 bytes limit on auvia_round_blocksize().

This fixes attach on 6 channels device.
PR kern/55017.

round_blocksize must return a multiple of the framesize.
aucc(4) supports 3 channels mode.

round_blocksize must return a multiple of the framesize
even if passed blocksize is greater than the upper limit.

round_blocksize must return a multiple of the framesize.

It's not divisible when blk=GCSCAUDI_PRD_SIZE_MAX and channels=4.
round_blocksize must return a multiple of the framesize
even if 6 channels mode.

I believe that keeping "good alignment" is just a wish, not constraint.

Revision 1.84.4.1 / (download) - annotate - [select for diffs], Sat Feb 29 20:19:10 2020 UTC (4 years, 1 month ago) by ad
Branch: ad-namecache
Changes since 1.84: +3 -4 lines
Diff to previous 1.84 (colored) next main 1.85 (colored)

Sync with head.

Revision 1.85 / (download) - annotate - [select for diffs], Fri Feb 28 13:31:03 2020 UTC (4 years, 1 month ago) by isaki
Branch: MAIN
CVS Tags: phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base, ad-namecache-base3
Branch point for: bouyer-xenpvh
Changes since 1.84: +3 -4 lines
Diff to previous 1.84 (colored)

Drop 512 bytes limit on auvia_round_blocksize().
This fixes attach on 6 channels device.
PR kern/55017.

Revision 1.78.10.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:15 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.78: +81 -165 lines
Diff to previous 1.78 (colored)

Sync with HEAD

Revision 1.84 / (download) - annotate - [select for diffs], Sat Jun 8 08:02:38 2019 UTC (4 years, 10 months ago) by isaki
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: netbsd-9, ad-namecache
Changes since 1.83: +4 -14 lines
Diff to previous 1.83 (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.83 / (download) - annotate - [select for diffs], Wed May 8 13:40:18 2019 UTC (4 years, 11 months ago) by isaki
Branch: MAIN
Changes since 1.82: +61 -127 lines
Diff to previous 1.82 (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.82.2.4 / (download) - annotate - [select for diffs], Sat May 4 07:20:10 2019 UTC (4 years, 11 months ago) by isaki
Branch: isaki-audio2
Changes since 1.82.2.3: +3 -3 lines
Diff to previous 1.82.2.3 (colored) to branchpoint 1.82 (colored) next main 1.83 (colored)

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

Revision 1.82.2.3 / (download) - annotate - [select for diffs], Fri May 3 06:19:42 2019 UTC (4 years, 11 months ago) by isaki
Branch: isaki-audio2
Changes since 1.82.2.2: +0 -0 lines
Diff to previous 1.82.2.2 (colored) to branchpoint 1.82 (colored)

Remove unnecessary header file.

Revision 1.82.2.2 / (download) - annotate - [select for diffs], Sat Apr 27 13:52:55 2019 UTC (4 years, 11 months ago) by isaki
Branch: isaki-audio2
Changes since 1.82.2.1: +40 -128 lines
Diff to previous 1.82.2.1 (colored) to branchpoint 1.82 (colored)

Adapt to audio2.
- auvia_set_params_sub is also renamed because caller auvia_set_params
  is renamed to auvia_set_format.

Revision 1.82.2.1 / (download) - annotate - [select for diffs], Sun Apr 21 05:11:22 2019 UTC (4 years, 11 months ago) by isaki
Branch: isaki-audio2
Changes since 1.82: +42 -20 lines
Diff to previous 1.82 (colored)

Use C99 style struct initializer to audio_format.

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

Use C99 style struct initializer to audio_hw_if.

Revision 1.81 / (download) - annotate - [select for diffs], Sat Mar 16 04:41:09 2019 UTC (5 years, 1 month ago) by isaki
Branch: MAIN
Changes since 1.80: +3 -3 lines
Diff to previous 1.80 (colored)

Fix (probably) typo.  SLINEAR_LE -> ULINEAR_LE.

Revision 1.78.8.2 / (download) - annotate - [select for diffs], Wed Dec 26 14:01:49 2018 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.78.8.1: +4 -3 lines
Diff to previous 1.78.8.1 (colored) to branchpoint 1.78 (colored) next main 1.79 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.80 / (download) - annotate - [select for diffs], Sun Dec 9 11:14:01 2018 UTC (5 years, 4 months ago) by jdolecek
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226
Changes since 1.79: +4 -3 lines
Diff to previous 1.79 (colored)

use pci_intr_establish_xname() everywhere

Revision 1.78.8.1 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:51 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.78: +3 -3 lines
Diff to previous 1.78 (colored)

Sync with HEAD

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

Revision 1.79 / (download) - annotate - [select for diffs], Mon Sep 3 16:29:32 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
CVS Tags: pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906
Changes since 1.78: +3 -3 lines
Diff to previous 1.78 (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.75.8.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:07 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.75.8.1: +0 -2 lines
Diff to previous 1.75.8.1 (colored) to branchpoint 1.75 (colored) next main 1.76 (colored)

update from HEAD

Revision 1.77.6.1 / (download) - annotate - [select for diffs], Mon Aug 28 17:52:05 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.77: +2 -4 lines
Diff to previous 1.77 (colored) next main 1.78 (colored)

Sync with HEAD

Revision 1.78 / (download) - annotate - [select for diffs], Thu Jun 1 02:45:11 2017 UTC (6 years, 10 months ago) by chs
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, phil-wifi-base, pgoyette-compat-base, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.77: +2 -4 lines
Diff to previous 1.77 (colored)

remove checks for failure after memory allocation calls that cannot fail:

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

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

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

Rebase to HEAD as of a few days ago.

Revision 1.73.8.2 / (download) - annotate - [select for diffs], Thu May 22 11:40:24 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.73.8.1: +4 -5 lines
Diff to previous 1.73.8.1 (colored) to branchpoint 1.73 (colored) next main 1.74 (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.75.12.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:39 2014 UTC (9 years, 11 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.75: +4 -5 lines
Diff to previous 1.75 (colored) next main 1.76 (colored)

sync with head

Revision 1.77 / (download) - annotate - [select for diffs], Sat Mar 29 19:28:24 2014 UTC (10 years ago) by christos
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, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: nick-nhusb
Changes since 1.76: +4 -3 lines
Diff to previous 1.76 (colored)

make pci_intr_string and eisa_intr_string take a buffer and a length
instead of relying in local static storage.

Revision 1.76 / (download) - annotate - [select for diffs], Wed Oct 16 18:20:16 2013 UTC (10 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.75: +2 -4 lines
Diff to previous 1.75 (colored)

remove unused variables.

Revision 1.73.8.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:43 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.73: +151 -61 lines
Diff to previous 1.73 (colored)

sync with head

Revision 1.75 / (download) - annotate - [select for diffs], Thu Nov 24 03:35:58 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, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Changes since 1.74: +4 -4 lines
Diff to previous 1.74 (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.74 / (download) - annotate - [select for diffs], Wed Nov 23 23:07:34 2011 UTC (12 years, 4 months ago) by jmcneill
Branch: MAIN
Changes since 1.73: +150 -60 lines
Diff to previous 1.73 (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.73.10.2 / (download) - annotate - [select for diffs], Tue Nov 22 22:47:08 2011 UTC (12 years, 4 months ago) by jmcneill
Branch: jmcneill-audiomp3
Changes since 1.73.10.1: +2 -3 lines
Diff to previous 1.73.10.1 (colored) to branchpoint 1.73 (colored) next main 1.74 (colored)

get rid of unused 'powerstate' callback in audio_hw_if

Revision 1.73.10.1 / (download) - annotate - [select for diffs], Sat Nov 19 21:49:41 2011 UTC (12 years, 5 months ago) by jmcneill
Branch: jmcneill-audiomp3
Changes since 1.73: +152 -61 lines
Diff to previous 1.73 (colored)

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

Revision 1.72.2.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:53:36 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.72: +2 -4 lines
Diff to previous 1.72 (colored) next main 1.73 (colored)

sync with head

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

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

Revision 1.71.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:30 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.71: +4 -4 lines
Diff to previous 1.71 (colored) next main 1.72 (colored)

Sync with HEAD.

Revision 1.64.4.4 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:43 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.64.4.3: +6 -6 lines
Diff to previous 1.64.4.3 (colored) to branchpoint 1.64 (colored) next main 1.65 (colored)

sync with head

Revision 1.72 / (download) - annotate - [select for diffs], Wed Feb 24 22:37:59 2010 UTC (14 years, 1 month ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1
Branch point for: rmind-uvmplock
Changes since 1.71: +4 -4 lines
Diff to previous 1.71 (colored)

A pointer typedef entails trading too much flexibility to declare const
and non-const types, and the kernel uses both const and non-const
PMF qualifiers and device suspensors, so change the pmf_qual_t and
device_suspensor_t typedefs from "pointers to const" to non-pointer,
non-const types.

Revision 1.71 / (download) - annotate - [select for diffs], Fri Jan 8 19:56:51 2010 UTC (14 years, 3 months ago) by dyoung
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.70: +4 -4 lines
Diff to previous 1.70 (colored)

Expand PMF_FN_* macros.

Revision 1.70 / (download) - annotate - [select for diffs], Thu Nov 26 15:17:08 2009 UTC (14 years, 4 months ago) by njoly
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.69: +4 -4 lines
Diff to previous 1.69 (colored)

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

Revision 1.64.4.3 / (download) - annotate - [select for diffs], Sat May 16 10:41:32 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.64.4.2: +21 -20 lines
Diff to previous 1.64.4.2 (colored) to branchpoint 1.64 (colored)

sync with head

Revision 1.67.8.1 / (download) - annotate - [select for diffs], Wed May 13 17:20:23 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.67: +21 -20 lines
Diff to previous 1.67 (colored) next main 1.68 (colored)

Sync with HEAD.

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

Revision 1.69 / (download) - annotate - [select for diffs], Wed May 6 18:25:28 2009 UTC (14 years, 11 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.68: +19 -18 lines
Diff to previous 1.68 (colored)

device_t/softc split
tested by jakllsch@

Revision 1.68 / (download) - annotate - [select for diffs], Tue May 5 21:50:15 2009 UTC (14 years, 11 months ago) by cegger
Branch: MAIN
Changes since 1.67: +4 -4 lines
Diff to previous 1.67 (colored)

struct cfdata * -> cfdata_t

Revision 1.64.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:12:54 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.64.4.1: +7 -2 lines
Diff to previous 1.64.4.1 (colored) to branchpoint 1.64 (colored)

sync with head.

Revision 1.62.6.4 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:59 2009 UTC (15 years, 3 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.62.6.3: +2 -0 lines
Diff to previous 1.62.6.3 (colored) to branchpoint 1.62 (colored) next main 1.63 (colored)

Sync with HEAD.

Revision 1.67.6.3 / (download) - annotate - [select for diffs], Sat Dec 13 13:38:00 2008 UTC (15 years, 4 months ago) by ad
Branch: ad-audiomp2
Changes since 1.67.6.2: +14 -2 lines
Diff to previous 1.67.6.2 (colored) to branchpoint 1.67 (colored) next main 1.68 (colored)

Fix locking for ac97.

Revision 1.67.6.2 / (download) - annotate - [select for diffs], Thu Dec 11 19:49:30 2008 UTC (15 years, 4 months ago) by ad
Branch: ad-audiomp2
Changes since 1.67.6.1: +38 -37 lines
Diff to previous 1.67.6.1 (colored) to branchpoint 1.67 (colored)

Checkpoint work in progress.

Revision 1.67.6.1 / (download) - annotate - [select for diffs], Mon Dec 8 13:06:36 2008 UTC (15 years, 4 months ago) by ad
Branch: ad-audiomp2
Changes since 1.67: +131 -51 lines
Diff to previous 1.67 (colored)

Convert some more drivers.

Revision 1.66.2.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:16:37 2008 UTC (15 years, 6 months ago) by haad
Branch: haad-dm
Changes since 1.66: +4 -2 lines
Diff to previous 1.66 (colored) next main 1.67 (colored)

Sync with HEAD.

Revision 1.67 / (download) - annotate - [select for diffs], Sat Oct 11 20:08:15 2008 UTC (15 years, 6 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-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
Branch point for: jym-xensuspend, ad-audiomp2
Changes since 1.66: +4 -2 lines
Diff to previous 1.66 (colored)

Print a message on two previously silent error paths in auvia_attach.

Revision 1.65.2.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:35:05 2008 UTC (15 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.65: +5 -2 lines
Diff to previous 1.65 (colored) next main 1.66 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.58.6.1 / (download) - annotate - [select for diffs], Thu Sep 4 08:46:44 2008 UTC (15 years, 7 months ago) by skrll
Branch: wrstuden-fixsa
Changes since 1.58: +5 -2 lines
Diff to previous 1.58 (colored) next main 1.59 (colored)

Sync with netbsd-4.

Revision 1.58.2.1 / (download) - annotate - [select for diffs], Sun Jul 6 17:36:31 2008 UTC (15 years, 9 months ago) by bouyer
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base
Changes since 1.58: +5 -2 lines
Diff to previous 1.58 (colored) next main 1.59 (colored)

Pull up following revision(s) (requested by sborrill in ticket #1161):
	sys/dev/pci/auvia.c: revision 1.66
VT8233+ uses a different register base for capturing, tested by sborrill

Revision 1.65.4.1 / (download) - annotate - [select for diffs], Thu Jul 3 18:38:04 2008 UTC (15 years, 9 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.65: +5 -2 lines
Diff to previous 1.65 (colored) next main 1.66 (colored)

Sync with head.

Revision 1.62.6.3 / (download) - annotate - [select for diffs], Wed Jul 2 19:08:19 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.62.6.2: +3 -0 lines
Diff to previous 1.62.6.2 (colored) to branchpoint 1.62 (colored)

Sync with HEAD.

Revision 1.66 / (download) - annotate - [select for diffs], Tue Jul 1 12:43:03 2008 UTC (15 years, 9 months ago) by jmcneill
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base
Branch point for: haad-dm
Changes since 1.65: +5 -2 lines
Diff to previous 1.65 (colored)

VT8233+ uses a different register base for capturing, tested by sborrill

Revision 1.62.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:37 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.62.6.1: +15 -25 lines
Diff to previous 1.62.6.1 (colored) to branchpoint 1.62 (colored)

Sync with HEAD.

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

sync with head.

Revision 1.64.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:24:42 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.64: +2 -9 lines
Diff to previous 1.64 (colored)

sync with head.

Revision 1.65 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:54 2008 UTC (15 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa, simonb-wapbl
Changes since 1.64: +2 -9 lines
Diff to previous 1.64 (colored)

Remove clause 3 and 4 from TNF licenses

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

use aprint_*_dev and device_xname

Revision 1.62.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:48 2008 UTC (16 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.62: +52 -19 lines
Diff to previous 1.62 (colored)

Sync with HEAD.

Revision 1.62.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:15:47 2008 UTC (16 years ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.62: +52 -19 lines
Diff to previous 1.62 (colored) next main 1.63 (colored)

sync with head.

Revision 1.60.16.2 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:44 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.60.16.1: +55 -22 lines
Diff to previous 1.60.16.1 (colored) to branchpoint 1.60 (colored) next main 1.61 (colored)

sync with HEAD

Revision 1.52.2.6 / (download) - annotate - [select for diffs], Wed Feb 27 08:36:35 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.52.2.5: +52 -19 lines
Diff to previous 1.52.2.5 (colored) to branchpoint 1.52 (colored) next main 1.53 (colored)

sync with head.

Revision 1.63 / (download) - annotate - [select for diffs], Sat Feb 23 01:54:44 2008 UTC (16 years, 1 month ago) by dyoung
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, hpcarm-cleanup-base, ad-socklock-base1
Changes since 1.62: +52 -19 lines
Diff to previous 1.62 (colored)

Detach self and children.  Use device_t and accessors.  Use PMF_FN_*.

Revision 1.60.22.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:55 2008 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.60: +5 -5 lines
Diff to previous 1.60 (colored) next main 1.61 (colored)

Sync with HEAD.

Revision 1.52.2.5 / (download) - annotate - [select for diffs], Mon Jan 21 09:43:38 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.52.2.4: +15 -39 lines
Diff to previous 1.52.2.4 (colored) to branchpoint 1.52 (colored)

sync with head

Revision 1.61.2.1 / (download) - annotate - [select for diffs], Sat Jan 19 12:15:03 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.61: +5 -5 lines
Diff to previous 1.61 (colored) next main 1.62 (colored)

Sync with HEAD

Revision 1.62 / (download) - annotate - [select for diffs], Mon Jan 14 06:32:10 2008 UTC (16 years, 3 months ago) by tsutsui
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.61: +5 -5 lines
Diff to previous 1.61 (colored)

Use htole32() to write parameters to DMA descriptors for big endian machines.
Tested on Pegasos by mrg@ on port-ofppc.

Revision 1.60.16.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:53:35 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.60: +12 -36 lines
Diff to previous 1.60 (colored)

sync with HEAD

Revision 1.60.24.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:46:41 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.60: +12 -36 lines
Diff to previous 1.60 (colored) next main 1.61 (colored)

Sync with head.

Revision 1.60.26.1 / (download) - annotate - [select for diffs], Tue Dec 11 15:31:48 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-kmem
Changes since 1.60: +12 -36 lines
Diff to previous 1.60 (colored) next main 1.61 (colored)

sync with head.

Revision 1.61 / (download) - annotate - [select for diffs], Sun Dec 9 20:28:06 2007 UTC (16 years, 4 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, vmlocking2-base3, matt-armv6-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-merge1
Branch point for: bouyer-xeni386
Changes since 1.60: +12 -36 lines
Diff to previous 1.60 (colored)

Merge jmcneill-pm branch.

Revision 1.60.14.3 / (download) - annotate - [select for diffs], Sat Dec 8 16:21:24 2007 UTC (16 years, 4 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.60.14.2: +3 -3 lines
Diff to previous 1.60.14.2 (colored) to branchpoint 1.60 (colored) next main 1.61 (colored)

Rename pnp(9) -> pmf(9), as requested by many.

Revision 1.60.14.2 / (download) - annotate - [select for diffs], Tue Nov 6 14:27:21 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.60.14.1: +8 -11 lines
Diff to previous 1.60.14.1 (colored) to branchpoint 1.60 (colored)

Refactor PNP API:
- Make suspend/resume directly a device functionality. It consists of
  three layers (class logic, device logic, bus logic), all of them being
  optional. This replaces D0/D3 transitions.
- device_is_active returns true if the device was not disabled and was
  not suspended (even partially), device_is_enabled returns true if the
  device was enabled.
- Change pnp_global_transition into pnp_system_suspend and
  pnp_system_resume. Before running any suspend/resume handlers, check
  that all currently attached devices support power management and bail
  out otherwise. The latter is not done for the shutdown/panic case.
- Make the former bus-specific generic network handlers a class handler.
- Make PNP message like volume up/down/toogle PNP events. Each device
  can register what events they are interested in and whether the handler
  should be global or not.
- Introduce device_active API for devices to mark themselve in use from
  either the system or the device. Use this to implement the idle handling
  for audio and input devices. This is intended to replace most ad-hoc
  watchdogs as well.
- Fix somes situations in which audio resume would lose mixer settings.
- Make USB host controllers better deal with suspend in the light of
  shared interrupts.
- Flush filesystem cache on suspend.
- Flush disk caches on suspend. Put ATA disks into standby on suspend as
  well.
- Adopt drivers to use the new PNP API.
- Fix a critical bug in the generic cardbus layer that made D0->D3
  break.
- Fix ral(4) to set if_stop.
- Convert cbb(4) to the new PNP API.
- Apply the PCI Express SCI fix on resume again.

Revision 1.60.14.1 / (download) - annotate - [select for diffs], Thu Oct 4 19:10:13 2007 UTC (16 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.60: +15 -36 lines
Diff to previous 1.60 (colored)

Convert auvia(4) to PNP power management.

Revision 1.52.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:36:24 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.52.2.3: +3 -3 lines
Diff to previous 1.52.2.3 (colored) to branchpoint 1.52 (colored)

sync with head.

Revision 1.58.4.2 / (download) - annotate - [select for diffs], Mon Mar 12 05:55:11 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.58.4.1: +3 -3 lines
Diff to previous 1.58.4.1 (colored) to branchpoint 1.58 (colored) next main 1.59 (colored)

Sync with HEAD.

Revision 1.60 / (download) - annotate - [select for diffs], Sun Mar 4 06:02:16 2007 UTC (17 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-kmem-base, yamt-idlelwp-base8, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: yamt-kmem, vmlocking2, mjf-devfs, matt-armv6, jmcneill-pm
Changes since 1.59: +3 -3 lines
Diff to previous 1.59 (colored)

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

Revision 1.58.4.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:53:56 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-idlelwp
Changes since 1.58: +4 -4 lines
Diff to previous 1.58 (colored)

- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.59.2.1 / (download) - annotate - [select for diffs], Tue Feb 27 14:16:14 2007 UTC (17 years, 1 month ago) by ad
Branch: ad-audiomp
Changes since 1.59: +37 -8 lines
Diff to previous 1.59 (colored) next main 1.60 (colored)

Add MP locking for audio drivers.

Revision 1.52.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:10:20 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.52.2.2: +4 -4 lines
Diff to previous 1.52.2.2 (colored) to branchpoint 1.52 (colored)

sync with head.

Revision 1.59 / (download) - annotate - [select for diffs], Wed Feb 21 23:00:00 2007 UTC (17 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: ad-audiomp-base
Branch point for: ad-audiomp
Changes since 1.58: +4 -4 lines
Diff to previous 1.58 (colored)

Replace the Mach-derived boolean_t type with the C99 bool type.  A
future commit will replace use of TRUE and FALSE with true and false.

Revision 1.52.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:48:41 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.52.2.1: +78 -26 lines
Diff to previous 1.52.2.1 (colored) to branchpoint 1.52 (colored)

sync with head.

Revision 1.55.4.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:17:41 2006 UTC (17 years, 4 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.55.4.1: +11 -11 lines
Diff to previous 1.55.4.1 (colored) to branchpoint 1.55 (colored) next main 1.56 (colored)

sync with head.

Revision 1.55.2.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:28 2006 UTC (17 years, 5 months ago) by ad
Branch: newlock2
Changes since 1.55: +15 -15 lines
Diff to previous 1.55 (colored) next main 1.56 (colored)

Sync with head.

Revision 1.58 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:08 2006 UTC (17 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-base-1, post-newlock2-merge, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm
Branch point for: yamt-idlelwp, wrstuden-fixsa, netbsd-4
Changes since 1.57: +11 -11 lines
Diff to previous 1.57 (colored)

__unused removal on arguments; approved by core.

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

sync with head

Revision 1.57 / (download) - annotate - [select for diffs], Thu Oct 12 01:31:28 2006 UTC (17 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.56: +17 -18 lines
Diff to previous 1.56 (colored)

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

Revision 1.56 / (download) - annotate - [select for diffs], Sun Sep 24 03:53:09 2006 UTC (17 years, 6 months ago) by jmcneill
Branch: MAIN
Changes since 1.55: +4 -3 lines
Diff to previous 1.55 (colored)

Add "name" parameter to powerhook_establish, to aid debugging. No objections
on tech-kern@

Revision 1.53.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:52:16 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.53: +65 -13 lines
Diff to previous 1.53 (colored) next main 1.54 (colored)

sync with head

Revision 1.53.8.2 / (download) - annotate - [select for diffs], Sun Sep 3 15:24:21 2006 UTC (17 years, 7 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.53.8.1: +3 -2 lines
Diff to previous 1.53.8.1 (colored) to branchpoint 1.53 (colored) next main 1.54 (colored)

sync with head.

Revision 1.55 / (download) - annotate - [select for diffs], Mon Aug 28 00:02:21 2006 UTC (17 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.54: +3 -2 lines
Diff to previous 1.54 (colored)

add missing initializer

Revision 1.53.8.1 / (download) - annotate - [select for diffs], Fri Aug 11 15:44:25 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.53: +64 -13 lines
Diff to previous 1.53 (colored)

sync with head

Revision 1.54 / (download) - annotate - [select for diffs], Thu Jul 27 15:35:01 2006 UTC (17 years, 8 months ago) by kent
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.53: +64 -13 lines
Diff to previous 1.53 (colored)

add support for AC'97 S/PDIF

Revision 1.52.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:05:03 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.52: +7 -2 lines
Diff to previous 1.52 (colored)

sync with head.

Revision 1.31.2.11 / (download) - annotate - [select for diffs], Sun Dec 11 10:28:57 2005 UTC (18 years, 4 months ago) by christos
Branch: ktrace-lwp
Changes since 1.31.2.10: +7 -2 lines
Diff to previous 1.31.2.10 (colored) next main 1.32 (colored)

Sync with head.

Revision 1.52.8.1 / (download) - annotate - [select for diffs], Tue Nov 29 21:23:14 2005 UTC (18 years, 4 months ago) by yamt
Branch: yamt-readahead
Changes since 1.52: +7 -2 lines
Diff to previous 1.52 (colored) next main 1.53 (colored)

sync with head.

Revision 1.53 / (download) - annotate - [select for diffs], Mon Nov 28 19:00:49 2005 UTC (18 years, 4 months ago) by rpaulo
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-readahead-base3, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, peter-altq-base, peter-altq, ktrace-lwp-base, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi
Branch point for: yamt-pdpolicy, rpaulo-netinet-merge-pcb
Changes since 1.52: +7 -2 lines
Diff to previous 1.52 (colored)

PR 32178: Nicolas Joly: VT8233 AC'97 Audio revision 0x10 small display
fix. I just changed the comment a bit.

Revision 1.31.2.10 / (download) - annotate - [select for diffs], Thu Nov 10 14:06:00 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.31.2.9: +69 -64 lines
Diff to previous 1.31.2.9 (colored)

Sync with HEAD. Here we go again...

Revision 1.52 / (download) - annotate - [select for diffs], Tue Jun 28 00:28:41 2005 UTC (18 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base2, yamt-readahead-base, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-readahead, yamt-lazymbuf
Changes since 1.51: +69 -64 lines
Diff to previous 1.51 (colored)

Use ANSI function decls and static.

Revision 1.36.2.2.2.1 / (download) - annotate - [select for diffs], Sun Jan 30 13:17:07 2005 UTC (19 years, 2 months ago) by he
Branch: netbsd-2
CVS Tags: 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
Changes since 1.36.2.2: +41 -4 lines
Diff to previous 1.36.2.2 (colored) next main 1.37 (colored)

Pull up revision 1.43 (requested by kent in ticket #949):
  Add support for suspending/resuming.  Fixes PR#26432.

Revision 1.31.2.9 / (download) - annotate - [select for diffs], Mon Jan 17 19:31:23 2005 UTC (19 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.31.2.8: +119 -121 lines
Diff to previous 1.31.2.8 (colored)

Sync with HEAD.

Revision 1.51 / (download) - annotate - [select for diffs], Sat Jan 15 15:19:52 2005 UTC (19 years, 3 months ago) by kent
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base, kent-audio2
Changes since 1.50: +84 -77 lines
Diff to previous 1.50 (colored)

ansify and KNF

Revision 1.50 / (download) - annotate - [select for diffs], Mon Jan 10 22:01:37 2005 UTC (19 years, 3 months ago) by kent
Branch: MAIN
Changes since 1.49: +37 -46 lines
Diff to previous 1.49 (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.49.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.49.2.1: +7 -22 lines
Diff to previous 1.49.2.1 (colored) to branchpoint 1.49 (colored) next main 1.50 (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.49.2.1 / (download) - annotate - [select for diffs], Sun Jan 2 20:03:11 2005 UTC (19 years, 3 months ago) by kent
Branch: kent-audio1
Changes since 1.49: +32 -26 lines
Diff to previous 1.49 (colored)

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

Revision 1.31.2.8 / (download) - annotate - [select for diffs], Mon Nov 29 07:24:15 2004 UTC (19 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.31.2.7: +75 -164 lines
Diff to previous 1.31.2.7 (colored)

Sync with HEAD.

Revision 1.49 / (download) - annotate - [select for diffs], Tue Nov 16 17:15:01 2004 UTC (19 years, 5 months ago) by xtraeme
Branch: MAIN
CVS Tags: kent-audio1-beforemerge, kent-audio1-base
Branch point for: kent-audio1
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored)

Fix typo.

Revision 1.31.2.7 / (download) - annotate - [select for diffs], Sun Nov 14 08:15:43 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.31.2.6: +13 -15 lines
Diff to previous 1.31.2.6 (colored)

Sync with HEAD.

Revision 1.48 / (download) - annotate - [select for diffs], Sat Nov 13 15:00:48 2004 UTC (19 years, 5 months ago) by kent
Branch: MAIN
Changes since 1.47: +74 -163 lines
Diff to previous 1.47 (colored)

adopt auconv_set_converter()

Revision 1.47 / (download) - annotate - [select for diffs], Wed Nov 10 04:22:31 2004 UTC (19 years, 5 months ago) by kent
Branch: MAIN
Changes since 1.46: +2 -4 lines
Diff to previous 1.46 (colored)

remove unused variable

Revision 1.46 / (download) - annotate - [select for diffs], Wed Nov 10 04:20:26 2004 UTC (19 years, 5 months ago) by kent
Branch: MAIN
Changes since 1.45: +8 -11 lines
Diff to previous 1.45 (colored)

move IS_FIXED_RATE(), SUPPORTS_4CH(), and SUPPORTS_6CH to ac97var.h

Revision 1.45 / (download) - annotate - [select for diffs], Mon Nov 8 06:20:58 2004 UTC (19 years, 5 months ago) by kent
Branch: MAIN
Changes since 1.44: +7 -4 lines
Diff to previous 1.44 (colored)

print dmesg correctly for VT8237

Revision 1.31.2.6 / (download) - annotate - [select for diffs], Tue Nov 2 07:52:09 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.31.2.5: +3 -3 lines
Diff to previous 1.31.2.5 (colored)

Sync with HEAD.

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

constify audio_hw_if, midi_hw_if, and radio_hw_if.

Revision 1.31.2.5 / (download) - annotate - [select for diffs], Tue Oct 19 15:56:57 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.31.2.4: +41 -4 lines
Diff to previous 1.31.2.4 (colored)

Sync with HEAD

Revision 1.43 / (download) - annotate - [select for diffs], Sun Oct 17 08:46:39 2004 UTC (19 years, 6 months ago) by kent
Branch: MAIN
Changes since 1.42: +41 -4 lines
Diff to previous 1.42 (colored)

add support for suspending/resuming.
patch provided by Rhialto in PR#26432

Revision 1.31.2.4 / (download) - annotate - [select for diffs], Fri Sep 24 10:53:27 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.31.2.3: +8 -5 lines
Diff to previous 1.31.2.3 (colored)

Sync with HEAD.

Revision 1.36.2.2 / (download) - annotate - [select for diffs], Wed Sep 22 20:58:15 2004 UTC (19 years, 6 months ago) by jmc
Branch: netbsd-2-0
CVS Tags: netbsd-2-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
Branch point for: netbsd-2
Changes since 1.36.2.1: +8 -5 lines
Diff to previous 1.36.2.1 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored)

Pullup rev 1.42 (requested by kent in ticket #867)

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

Revision 1.42 / (download) - annotate - [select for diffs], Wed Sep 22 12:20:25 2004 UTC (19 years, 6 months ago) by kent
Branch: MAIN
Changes since 1.41: +8 -5 lines
Diff to previous 1.41 (colored)

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

PR: kern/26973

Revision 1.31.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:31:01 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.31.2.2: +2 -2 lines
Diff to previous 1.31.2.2 (colored)

Fix the sync with head I botched.

Revision 1.31.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:49:02 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.31.2.1: +0 -0 lines
Diff to previous 1.31.2.1 (colored)

Sync with HEAD.

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:49:06 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.31: +49 -24 lines
Diff to previous 1.31 (colored)

Sync with HEAD

Revision 1.41 / (download) - annotate - [select for diffs], Fri Jul 9 02:42:45 2004 UTC (19 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.40: +4 -2 lines
Diff to previous 1.40 (colored)

Clean up.  Attempt to make these safer against stray interrupts.

Revision 1.40 / (download) - annotate - [select for diffs], Fri Jul 9 01:02:32 2004 UTC (19 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.39: +2 -9 lines
Diff to previous 1.39 (colored)

There's no need to halt the input and output pipes in the close routine --
audio_close() takes care of this.

Revision 1.39 / (download) - annotate - [select for diffs], Thu Apr 22 00:17:12 2004 UTC (20 years ago) by itojun
Branch: MAIN
Changes since 1.38: +5 -4 lines
Diff to previous 1.38 (colored)

sprintf -> snprintf

Revision 1.38 / (download) - annotate - [select for diffs], Mon Apr 12 15:44:53 2004 UTC (20 years ago) by jmmv
Branch: MAIN
Changes since 1.37: +6 -6 lines
Diff to previous 1.37 (colored)

Be consistent with other messages: output "VIA Technologies" instead of
only "VIA".  Also add a missing "Audio" word to a message.
Closes PR kern/25152 by Nicolas Joly.

Revision 1.36.2.1 / (download) - annotate - [select for diffs], Thu Apr 1 05:23:14 2004 UTC (20 years ago) by jmc
Branch: netbsd-2-0
Changes since 1.36: +8 -2 lines
Diff to previous 1.36 (colored)

Pullup rev 1.37 (requested by jmcneill in ticket #36)

Don't allow block sizes < 288 bytes on VT823x chips. PR#22788

Revision 1.37 / (download) - annotate - [select for diffs], Wed Mar 31 21:10:04 2004 UTC (20 years ago) by jmcneill
Branch: MAIN
Changes since 1.36: +8 -2 lines
Diff to previous 1.36 (colored)

Don't allow block sizes < 288 bytes on VT823x chips (patch from kent@).
Fixes kern/22788.

Revision 1.36 / (download) - annotate - [select for diffs], Thu Mar 25 23:07:09 2004 UTC (20 years ago) by xtraeme
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.35: +4 -4 lines
Diff to previous 1.35 (colored)

err fix previous (return -> break) in case statement.

Revision 1.35 / (download) - annotate - [select for diffs], Thu Mar 25 22:48:43 2004 UTC (20 years ago) by xtraeme
Branch: MAIN
Changes since 1.34: +4 -6 lines
Diff to previous 1.34 (colored)

There are two revisions of the VT8235 audio chipset (0x50 and 0x60), so
print any of them as VT8235, approved by martin@.

Revision 1.34 / (download) - annotate - [select for diffs], Thu Mar 25 10:20:27 2004 UTC (20 years ago) by martin
Branch: MAIN
Changes since 1.33: +30 -8 lines
Diff to previous 1.33 (colored)

Better identify some revisions of via 823* audio chips.
From PR kern/24906.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Oct 30 01:58:17 2003 UTC (20 years, 5 months ago) by simonb
Branch: MAIN
Changes since 1.32: +3 -4 lines
Diff to previous 1.32 (colored)

Remove some assigned-to but otherwise unused variables.

Revision 1.32 / (download) - annotate - [select for diffs], Sun Sep 14 14:48:17 2003 UTC (20 years, 7 months ago) by jmmv
Branch: MAIN
Changes since 1.31: +9 -5 lines
Diff to previous 1.31 (colored)

Enable auvia_reset_codec's code and wait until the card is available.
Fixes 'invalid codec' problems (at least with AD1980).  Ok'ed by tsarna@.

Revision 1.31 / (download) - annotate - [select for diffs], Sat May 3 18:11:32 2003 UTC (20 years, 11 months ago) by wiz
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.30: +6 -6 lines
Diff to previous 1.30 (colored)

DMA, not dma nor Dma.

Revision 1.30 / (download) - annotate - [select for diffs], Sat Feb 1 06:23:38 2003 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.29: +7 -6 lines
Diff to previous 1.29 (colored)

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

Revision 1.29 / (download) - annotate - [select for diffs], Fri Jan 31 00:07:40 2003 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.28: +15 -12 lines
Diff to previous 1.28 (colored)

Use aprint_*().

Revision 1.11.2.7 / (download) - annotate - [select for diffs], Mon Nov 11 22:11:02 2002 UTC (21 years, 5 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.11.2.6: +17 -6 lines
Diff to previous 1.11.2.6 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

Catch up to -current

Revision 1.28 / (download) - annotate - [select for diffs], Mon Nov 4 16:38:49 2002 UTC (21 years, 5 months ago) by kent
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.27: +19 -8 lines
Diff to previous 1.27 (colored)

auvia_set_params:
For a fixed-rate codec, when AUMODE_RECORD and AUDIO_ENCODING_MULAW or
AUDIO_ENCODING_ALAW, use AUDIO_ENCODING_SLINEAR_LE/16bit for native encoding
instead of AUDIO_ENCODING_ULINEAR/8bit because aurateconv does not support
sampling rate conversion for 8 bit PCM.
This change fixes PR kern/18834.

Revision 1.11.2.6 / (download) - annotate - [select for diffs], Fri Oct 18 02:42:55 2002 UTC (21 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.11.2.5: +279 -159 lines
Diff to previous 1.11.2.5 (colored) to branchpoint 1.11 (colored)

Catch up to -current.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Oct 16 15:27:28 2002 UTC (21 years, 6 months ago) by kent
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-aftermerge
Changes since 1.26: +162 -120 lines
Diff to previous 1.26 (colored)

Support for 4ch/6ch audio playback with VT8233/VT8235.

Revision 1.11.4.4 / (download) - annotate - [select for diffs], Thu Oct 10 18:40:27 2002 UTC (21 years, 6 months ago) by jdolecek
Branch: kqueue
Changes since 1.11.4.3: +6 -7 lines
Diff to previous 1.11.4.3 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

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

Revision 1.26 / (download) - annotate - [select for diffs], Tue Oct 8 13:10:24 2002 UTC (21 years, 6 months ago) by kent
Branch: MAIN
Changes since 1.25: +23 -31 lines
Diff to previous 1.25 (colored)

- Enable in-kernel sampling rate conversion for fixed-rate codec
- Remove VRA/VRM enabling in auvia_attach()
- Use ac97_codec_if::set_rate()
- Return no AUDIO_PROPS_MMAP for fixed-rate codec
- Remove unused variables in auvia_softc

Revision 1.25 / (download) - annotate - [select for diffs], Mon Oct 7 16:28:24 2002 UTC (21 years, 6 months ago) by kent
Branch: MAIN
Changes since 1.24: +10 -2 lines
Diff to previous 1.24 (colored)

Revive VIA8233_RP_DXS_[LR]VOL in auvia_trigger_*().

Revision 1.24 / (download) - annotate - [select for diffs], Sun Oct 6 23:14:25 2002 UTC (21 years, 6 months ago) by kent
Branch: MAIN
Changes since 1.23: +21 -29 lines
Diff to previous 1.23 (colored)

- auvia_trigger_output(): correct register;
	AUVIA_RP_CONTROL -> AUVIA_RP_MODE
- auvia_trigger_output(), auvia_trigger_input(): Remove DXS_[LR]VOL setting.
- whitespace

Revision 1.23 / (download) - annotate - [select for diffs], Sun Oct 6 16:33:36 2002 UTC (21 years, 6 months ago) by kent
Branch: MAIN
Changes since 1.22: +6 -6 lines
Diff to previous 1.22 (colored)

Add some constant symbols for AC97 registers and values based on OpenBSD.
Rename some symbols to sync with OpenBSD:
	AC97_REG_EXTENDED_ID
	-> AC97_REG_EXT_AUDIO_ID
	AC97_REG_EXTENDED_STATUS
	-> AC97_REG_EXT_AUDIO_CTRL
	AC97_CODEC_DOES_VRA/AC97_ENAB_VRA
	-> AC97_EXT_AUDIO_VRA
	AC97_CODEC_DOES_MICVRA/AC97_ENAB_MICVRA
	-> AC97_EXT_AUDIO_VRM

ac97feature: "mic channel" -> "dedicated mic channel"
ac97_attach(): print extended capabilities; VRA, DRA, SPDIF, VRM, CDAC,
SDAC, LDAC.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Oct 5 18:08:30 2002 UTC (21 years, 6 months ago) by kent
Branch: MAIN
Changes since 1.21: +160 -73 lines
Diff to previous 1.21 (colored)

Add support for VIA VT8233/VT8235.  The patch was provided by Ola Eriksson
<ola at mreriksson dot net> in PR kern/18375.  It is based on auvia of
OpenBSD.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Oct 2 16:51:03 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-base
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

Add trailing ; to CFATTACH_DECL.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Sep 30 20:37:09 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.19: +4 -5 lines
Diff to previous 1.19 (colored)

Use CFATTACH_DECL().

Revision 1.19 / (download) - annotate - [select for diffs], Fri Sep 27 20:39:46 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

Declare all cfattach structures const.

Revision 1.18 / (download) - annotate - [select for diffs], Fri Sep 27 15:37:24 2002 UTC (21 years, 6 months ago) by provos
Branch: MAIN
Changes since 1.17: +4 -4 lines
Diff to previous 1.17 (colored)

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

Revision 1.11.4.3 / (download) - annotate - [select for diffs], Sun Jun 23 17:47:34 2002 UTC (21 years, 9 months ago) by jdolecek
Branch: kqueue
Changes since 1.11.4.2: +13 -4 lines
Diff to previous 1.11.4.2 (colored) to branchpoint 1.11 (colored)

catch up with -current on kqueue branch

Revision 1.11.2.5 / (download) - annotate - [select for diffs], Wed Apr 17 00:06:00 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.11.2.4: +6 -1 lines
Diff to previous 1.11.2.4 (colored) to branchpoint 1.11 (colored)

Catch up to -current.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Apr 2 16:02:38 2002 UTC (22 years ago) by fvdl
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, gehenna-devsw-base, gehenna-devsw
Changes since 1.16: +8 -3 lines
Diff to previous 1.16 (colored)

Return 0 when no interrupt was handled.

Revision 1.11.2.4 / (download) - annotate - [select for diffs], Mon Apr 1 07:46:19 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.11.2.3: +6 -2 lines
Diff to previous 1.11.2.3 (colored) to branchpoint 1.11 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.16 / (download) - annotate - [select for diffs], Sat Mar 16 21:45:49 2002 UTC (22 years, 1 month ago) by jmcneill
Branch: MAIN
CVS Tags: eeh-devprop-base, eeh-devprop
Changes since 1.15: +2 -3 lines
Diff to previous 1.15 (colored)

Backout addition of the VIA VT8233.

Revision 1.15 / (download) - annotate - [select for diffs], Sat Mar 16 17:20:05 2002 UTC (22 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.14: +8 -3 lines
Diff to previous 1.14 (colored)

Add support for the VT8233 AC'97.

Revision 1.11.4.2 / (download) - annotate - [select for diffs], Thu Jan 10 19:56:27 2002 UTC (22 years, 3 months ago) by thorpej
Branch: kqueue
Changes since 1.11.4.1: +5 -1 lines
Diff to previous 1.11.4.1 (colored) to branchpoint 1.11 (colored)

Sync kqueue branch with -current.

Revision 1.11.2.3 / (download) - annotate - [select for diffs], Wed Nov 14 19:15:07 2001 UTC (22 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.11.2.2: +4 -1 lines
Diff to previous 1.11.2.2 (colored) to branchpoint 1.11 (colored)

Catch up to -current.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Nov 13 07:48:41 2001 UTC (22 years, 5 months ago) by lukem
Branch: MAIN
CVS Tags: newlock-base, newlock, ifpoll-base
Changes since 1.13: +4 -1 lines
Diff to previous 1.13 (colored)

add RCSID

Revision 1.12.2.1 / (download) - annotate - [select for diffs], Thu Oct 11 00:02:09 2001 UTC (22 years, 6 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

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

Revision 1.11.2.2 / (download) - annotate - [select for diffs], Mon Oct 8 20:11:10 2001 UTC (22 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.11.2.1: +2 -1 lines
Diff to previous 1.11.2.1 (colored) to branchpoint 1.11 (colored)

Catch up to -current.

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

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

Revision 1.11.4.1 / (download) - annotate - [select for diffs], Sat Aug 25 06:16:22 2001 UTC (22 years, 7 months ago) by thorpej
Branch: kqueue
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Merge Aug 24 -current into the kqueue branch.

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Fri Aug 24 00:10:00 2001 UTC (22 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Catch up with -current.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Aug 4 22:15:56 2001 UTC (22 years, 8 months ago) by jdolecek
Branch: MAIN
CVS Tags: thorpej-devvp-base2, thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-devvp
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

It seems the fixed rate versions are actually fixed at 48 kHz, not 44.1 kHz.

Revision 1.7.2.6 / (download) - annotate - [select for diffs], Mon Mar 12 13:31:03 2001 UTC (23 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.7.2.5: +2 -1 lines
Diff to previous 1.7.2.5 (colored) next main 1.8 (colored)

Sync with HEAD.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Feb 19 21:14:49 2001 UTC (23 years, 2 months ago) by fvdl
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: nathanw_sa, kqueue
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored)

Switch line in mute off by default.

Revision 1.7.2.5 / (download) - annotate - [select for diffs], Fri Jan 5 17:36:02 2001 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.7.2.4: +7 -15 lines
Diff to previous 1.7.2.4 (colored)

Sync with HEAD

Revision 1.10 / (download) - annotate - [select for diffs], Fri Jan 5 03:33:39 2001 UTC (23 years, 3 months ago) by augustss
Branch: MAIN
Changes since 1.9: +6 -13 lines
Diff to previous 1.9 (colored)

Don't make local defines for stuff that's already in ac97reg.h.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Dec 28 22:59:11 2000 UTC (23 years, 3 months ago) by sommerfeld
Branch: MAIN
Changes since 1.8: +2 -3 lines
Diff to previous 1.8 (colored)

Change pci_intr_map to get interrupt source information from a "struct
pci_attach_args *" instead of from four separate parameters which in
all cases were extracted from the same "struct pci_attach_args".

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

Tested on alpha and i386; welcome to 1.5Q

Revision 1.7.2.4 / (download) - annotate - [select for diffs], Wed Dec 13 15:50:08 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.7.2.3: +12 -6 lines
Diff to previous 1.7.2.3 (colored)

Sync with HEAD (for UBC fixes).

Revision 1.8 / (download) - annotate - [select for diffs], Sun Dec 10 15:43:02 2000 UTC (23 years, 4 months ago) by jdolecek
Branch: MAIN
Changes since 1.7: +12 -6 lines
Diff to previous 1.7 (colored)

do not try to get/set sample rate on codecs which don't support variable
rate audio - always report/use fixed rate of 44100 for them, so that the
other audio code DTRT

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

Sync with HEAD.

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

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

Revision 1.7.2.1, Wed Nov 15 21:06:33 2000 UTC (23 years, 5 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.7: +0 -967 lines
FILE REMOVED

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

Revision 1.7 / (download) - annotate - [select for diffs], Wed Nov 15 21:06:33 2000 UTC (23 years, 5 months ago) by jdolecek
Branch: MAIN
Branch point for: thorpej_scsipi
Changes since 1.6: +5 -7 lines
Diff to previous 1.6 (colored)

if AC97_CODEC_DOES_VRA is not supported, only print warning than
hw Variable Rate Audio is not supported and continue attaching the driver.
This is I believe more correct than what was done in rev 1.5

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

NBPG -> PAGE_SIZE

Revision 1.3.4.2 / (download) - annotate - [select for diffs], Fri Sep 1 08:35:48 2000 UTC (23 years, 7 months ago) by jdolecek
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA
Changes since 1.3.4.1: +7 -2 lines
Diff to previous 1.3.4.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

pullup rev. 1.5 (approved by thorpej):
rev. H apparently doesn't set AC97_CODEC_DOES_VRA bit but works ok with
this driver, so only require the bit set for revisions < H

Revision 1.5 / (download) - annotate - [select for diffs], Fri Sep 1 00:02:04 2000 UTC (23 years, 7 months ago) by jdolecek
Branch: MAIN
Changes since 1.4: +7 -2 lines
Diff to previous 1.4 (colored)

even through the integrated audio on my MSI 694D Pro
does not set AC97_CODEC_DOES_VRA in AC97_REG_EXT_AUDIO_ID request, it
works okay; only require the bit set for revision < 'H'

Revision 1.3.4.1 / (download) - annotate - [select for diffs], Fri Jun 30 16:27:49 2000 UTC (23 years, 9 months ago) by simonb
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-ALPHA2
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored)

Pull up mmap paddr_t/off_t changes from trunk.

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

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

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

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

ac97.h -> ac97var.h

Revision 1.2 / (download) - annotate - [select for diffs], Sat Apr 8 03:33:58 2000 UTC (24 years ago) by tsarna
Branch: MAIN
Changes since 1.1: +26 -12 lines
Diff to previous 1.1 (colored)

Fix auvia_free, clean up more on close, and be more careful in interrupt
handler.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Mar 31 04:45:28 2000 UTC (24 years ago) by tsarna
Branch: MAIN

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.

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>