The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.34.2.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.34.2.1: +2 -13 lines
Diff to previous 1.34.2.1 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)

Merge changes from current as of 20200406

Revision 1.38.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.38: +2 -13 lines
Diff to previous 1.38 (colored) next main 1.39 (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.38.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.38: +2 -13 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

Sync with head.

Revision 1.39 / (download) - annotate - [select for diffs], Sat Feb 29 06:34:30 2020 UTC (4 years, 1 month 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-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, thorpej-altq-separation-base, thorpej-altq-separation, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, 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, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3, HEAD
Changes since 1.38: +2 -13 lines
Diff to previous 1.38 (colored)

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.34.2.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.34: +53 -115 lines
Diff to previous 1.34 (colored)

Sync with HEAD

Revision 1.38 / (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.37: +4 -14 lines
Diff to previous 1.37 (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.37 / (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.36: +35 -76 lines
Diff to previous 1.36 (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.36.2.3 / (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.36.2.2: +3 -3 lines
Diff to previous 1.36.2.2 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored)

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

Revision 1.36.2.2 / (download) - annotate - [select for diffs], Sat Apr 27 12:57:54 2019 UTC (4 years, 11 months ago) by isaki
Branch: isaki-audio2
Changes since 1.36.2.1: +22 -71 lines
Diff to previous 1.36.2.1 (colored) to branchpoint 1.36 (colored)

Adapt to audio2.

Revision 1.36.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.36: +16 -8 lines
Diff to previous 1.36 (colored)

Use C99 style struct initializer to audio_format.

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

Use C99 style struct initializer to audio_hw_if.

Revision 1.33.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.33.8.1: +4 -4 lines
Diff to previous 1.33.8.1 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.35 / (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.34: +4 -4 lines
Diff to previous 1.34 (colored)

use pci_intr_establish_xname() everywhere

Revision 1.33.8.1 / (download) - annotate - [select for diffs], Mon Jun 25 07:25:51 2018 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)

Sync with HEAD

Revision 1.34 / (download) - annotate - [select for diffs], Sat Jun 23 06:45:51 2018 UTC (5 years, 9 months ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Branch point for: phil-wifi
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)

constify

Revision 1.30.8.3 / (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.30.8.2: +0 -2 lines
Diff to previous 1.30.8.2 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored)

update from HEAD

Revision 1.32.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.32: +2 -4 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Sync with HEAD

Revision 1.33 / (download) - annotate - [select for diffs], Thu Jun 1 02:45:10 2017 UTC (6 years, 10 months ago) by chs
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, pgoyette-compat-base, 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
Branch point for: pgoyette-compat
Changes since 1.32: +2 -4 lines
Diff to previous 1.32 (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.30.8.2 / (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.30.8.1: +4 -3 lines
Diff to previous 1.30.8.1 (colored) to branchpoint 1.30 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.28.8.3 / (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.28.8.2: +4 -3 lines
Diff to previous 1.28.8.2 (colored) to branchpoint 1.28 (colored) next main 1.29 (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.31.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:39 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.31: +4 -3 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

sync with head

Revision 1.32 / (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.31: +4 -3 lines
Diff to previous 1.31 (colored)

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

Revision 1.30.8.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:02:13 2012 UTC (11 years, 4 months ago) by tls
Branch: tls-maxphys
Changes since 1.30: +15 -14 lines
Diff to previous 1.30 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.28.8.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:21:23 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.28.8.1: +15 -14 lines
Diff to previous 1.28.8.1 (colored) to branchpoint 1.28 (colored)

sync with head

Revision 1.31 / (download) - annotate - [select for diffs], Sat Oct 27 17:18:28 2012 UTC (11 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Changes since 1.30: +15 -14 lines
Diff to previous 1.30 (colored)

split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.

Revision 1.28.8.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:42 2012 UTC (11 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.28: +60 -22 lines
Diff to previous 1.28 (colored)

sync with head

Revision 1.30 / (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-base5, yamt-pagecache-base4, 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, 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
Branch point for: tls-maxphys
Changes since 1.29: +4 -4 lines
Diff to previous 1.29 (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.29 / (download) - annotate - [select for diffs], Wed Nov 23 23:07:33 2011 UTC (12 years, 4 months ago) by jmcneill
Branch: MAIN
Changes since 1.28: +59 -21 lines
Diff to previous 1.28 (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.28.10.2 / (download) - annotate - [select for diffs], Tue Nov 22 22:47:07 2011 UTC (12 years, 4 months ago) by jmcneill
Branch: jmcneill-audiomp3
Changes since 1.28.10.1: +2 -3 lines
Diff to previous 1.28.10.1 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored)

get rid of unused 'powerstate' callback in audio_hw_if

Revision 1.28.10.1 / (download) - annotate - [select for diffs], Sat Nov 19 21:49:40 2011 UTC (12 years, 4 months ago) by jmcneill
Branch: jmcneill-audiomp3
Changes since 1.28: +61 -22 lines
Diff to previous 1.28 (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.27.2.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:53:35 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.27: +2 -4 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

sync with head

Revision 1.28 / (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.27: +2 -4 lines
Diff to previous 1.27 (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.26.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:29 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.26: +4 -4 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Sync with HEAD.

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

sync with head

Revision 1.27 / (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.26: +4 -4 lines
Diff to previous 1.26 (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.26 / (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.25: +4 -4 lines
Diff to previous 1.25 (colored)

Expand PMF_FN_* macros.

Revision 1.25 / (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.24: +4 -4 lines
Diff to previous 1.24 (colored)

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

Revision 1.20.4.2 / (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.20.4.1: +5 -6 lines
Diff to previous 1.20.4.1 (colored) to branchpoint 1.20 (colored)

sync with head

Revision 1.21.14.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.21: +5 -6 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

Sync with HEAD.

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

Revision 1.24 / (download) - annotate - [select for diffs], Tue May 12 08:22:59 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.23: +3 -3 lines
Diff to previous 1.23 (colored)

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

Revision 1.23 / (download) - annotate - [select for diffs], Wed May 6 10:34:32 2009 UTC (14 years, 11 months ago) by cegger
Branch: MAIN
Changes since 1.22: +4 -5 lines
Diff to previous 1.22 (colored)

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

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

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

Revision 1.21.12.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.21.12.2: +4 -2 lines
Diff to previous 1.21.12.2 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

Fix locking for ac97.

Revision 1.21.12.2 / (download) - annotate - [select for diffs], Fri Dec 12 23:06:57 2008 UTC (15 years, 4 months ago) by ad
Branch: ad-audiomp2
Changes since 1.21.12.1: +10 -11 lines
Diff to previous 1.21.12.1 (colored) to branchpoint 1.21 (colored)

Checkpoint work in progress.

Revision 1.21.12.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.21: +51 -13 lines
Diff to previous 1.21 (colored)

Convert some more drivers.

Revision 1.18.10.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.18.10.1: +13 -21 lines
Diff to previous 1.18.10.1 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored)

Sync with HEAD.

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

sync with head.

Revision 1.20.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.20: +2 -9 lines
Diff to previous 1.20 (colored)

sync with head.

Revision 1.21 / (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-base3, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-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, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base
Branch point for: jym-xensuspend, ad-audiomp2
Changes since 1.20: +2 -9 lines
Diff to previous 1.20 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.20 / (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.19: +15 -16 lines
Diff to previous 1.19 (colored)

use aprint_*_dev and device_xname

Revision 1.18.10.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.18: +4 -4 lines
Diff to previous 1.18 (colored)

Sync with HEAD.

Revision 1.18.6.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.18: +4 -4 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

sync with head.

Revision 1.16.16.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:44 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.16.16.2: +4 -4 lines
Diff to previous 1.16.16.2 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

sync with HEAD

Revision 1.10.2.5 / (download) - annotate - [select for diffs], Mon Mar 17 09:15:10 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.2.4: +4 -4 lines
Diff to previous 1.10.2.4 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

sync with head.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Feb 29 06:13:39 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, ad-socklock-base1
Changes since 1.18: +4 -4 lines
Diff to previous 1.18 (colored)

Use PMF_FN_ARGS, PMF_FN_PROTO.

Revision 1.10.2.4 / (download) - annotate - [select for diffs], Mon Jan 21 09:43:36 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.2.3: +14 -44 lines
Diff to previous 1.10.2.3 (colored) to branchpoint 1.10 (colored)

sync with head

Revision 1.16.16.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:53:33 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.16.16.1: +14 -44 lines
Diff to previous 1.16.16.1 (colored) to branchpoint 1.16 (colored)

sync with HEAD

Revision 1.17.4.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:46:40 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.17: +14 -44 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

Sync with head.

Revision 1.17.6.1 / (download) - annotate - [select for diffs], Tue Dec 11 15:31:45 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-kmem
Changes since 1.17: +14 -44 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

sync with head.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Dec 9 20:28:05 2007 UTC (16 years, 4 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, vmlocking2-base3, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.17: +14 -44 lines
Diff to previous 1.17 (colored)

Merge jmcneill-pm branch.

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

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

Revision 1.16.16.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:28:38 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

sync with HEAD

Revision 1.16.14.3 / (download) - annotate - [select for diffs], Tue Nov 6 14:27:20 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.16.14.2: +8 -11 lines
Diff to previous 1.16.14.2 (colored) to branchpoint 1.16 (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.10.2.3 / (download) - annotate - [select for diffs], Sat Oct 27 11:32:34 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.2.2: +3 -3 lines
Diff to previous 1.10.2.2 (colored) to branchpoint 1.10 (colored)

sync with head.

Revision 1.16.14.2 / (download) - annotate - [select for diffs], Fri Oct 26 15:45:53 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.16.14.1: +3 -3 lines
Diff to previous 1.16.14.1 (colored) to branchpoint 1.16 (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.16.20.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:38:48 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Sync with HEAD.

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Tue Oct 23 20:08:45 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Sync with head.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Oct 19 12:00:40 2007 UTC (16 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, mjf-devfs, jmcneill-pm-base, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: yamt-kmem, vmlocking2
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

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

Revision 1.16.14.1 / (download) - annotate - [select for diffs], Thu Oct 4 18:31:57 2007 UTC (16 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.16: +16 -43 lines
Diff to previous 1.16 (colored)

Convert to generic PCI power handler.

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

sync with head.

Revision 1.15.4.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:55:10 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.15: +5 -5 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

Sync with HEAD.

Revision 1.16 / (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-idlelwp-base8, vmlocking-base, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: vmlocking, matt-armv6, jmcneill-pm, bouyer-xenamd64
Changes since 1.15: +5 -5 lines
Diff to previous 1.15 (colored)

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

Revision 1.15.6.1 / (download) - annotate - [select for diffs], Tue Feb 27 14:16:13 2007 UTC (17 years, 1 month ago) by ad
Branch: ad-audiomp
Changes since 1.15: +39 -6 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

Add MP locking for audio drivers.

Revision 1.10.2.1 / (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.10: +17 -14 lines
Diff to previous 1.10 (colored)

sync with head.

Revision 1.12.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.12.4.1: +14 -14 lines
Diff to previous 1.12.4.1 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

sync with head.

Revision 1.12.2.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:28 2006 UTC (17 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.12: +16 -14 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Sync with head.

Revision 1.15 / (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-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, post-newlock2-merge, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, ad-audiomp-base
Branch point for: yamt-idlelwp, ad-audiomp
Changes since 1.14: +14 -14 lines
Diff to previous 1.14 (colored)

__unused removal on arguments; approved by core.

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

sync with head

Revision 1.14 / (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.13: +18 -17 lines
Diff to previous 1.13 (colored)

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

Revision 1.13 / (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.12: +4 -3 lines
Diff to previous 1.12 (colored)

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

Revision 1.11.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.11: +3 -2 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

sync with head

Revision 1.11.8.1 / (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.11: +3 -2 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

sync with head.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Aug 27 23:53:10 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.11: +3 -2 lines
Diff to previous 1.11 (colored)

add missing initializer

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

merge ktrace-lwp.

Revision 1.1.2.7 / (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.1.2.6: +73 -72 lines
Diff to previous 1.1.2.6 (colored) next main 1.2 (colored)

Sync with HEAD. Here we go again...

Revision 1.10 / (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-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: yamt-lazymbuf
Changes since 1.9: +69 -68 lines
Diff to previous 1.9 (colored)

Use ANSI function decls and static.

Revision 1.9 / (download) - annotate - [select for diffs], Mon May 30 04:35:22 2005 UTC (18 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.8: +6 -6 lines
Diff to previous 1.8 (colored)

- const poisoning
- avoid variable shadowing.

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:05 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

sync with -current

Revision 1.1.2.6 / (download) - annotate - [select for diffs], Mon Jan 24 08:35:26 2005 UTC (19 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.1.2.5: +3 -3 lines
Diff to previous 1.1.2.5 (colored)

Sync with HEAD.

Revision 1.1.2.5 / (download) - annotate - [select for diffs], Mon Jan 17 19:31:23 2005 UTC (19 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.1.2.4: +104 -102 lines
Diff to previous 1.1.2.4 (colored)

Sync with HEAD.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jan 17 12:24:37 2005 UTC (19 years, 2 months ago) by augustss
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
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

Make it compile with debug.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Jan 15 15:19:52 2005 UTC (19 years, 3 months ago) by kent
Branch: MAIN
Branch point for: kent-audio2
Changes since 1.6: +81 -69 lines
Diff to previous 1.6 (colored)

ansify and KNF

Revision 1.6 / (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.5: +25 -35 lines
Diff to previous 1.5 (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.5.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.5.2.1: +6 -21 lines
Diff to previous 1.5.2.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (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.5.2.1 / (download) - annotate - [select for diffs], Sun Jan 2 20:03:10 2005 UTC (19 years, 3 months ago) by kent
Branch: kent-audio1
Changes since 1.5: +21 -16 lines
Diff to previous 1.5 (colored)

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

Revision 1.1.2.4 / (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.1.2.3: +50 -173 lines
Diff to previous 1.1.2.3 (colored)

Sync with HEAD.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Nov 16 19:33:56 2004 UTC (19 years, 5 months ago) by augustss
Branch: MAIN
CVS Tags: kent-audio1-beforemerge, kent-audio1-base
Branch point for: kent-audio1
Changes since 1.4: +5 -5 lines
Diff to previous 1.4 (colored)

Add RECORD to the conversion table, otherwise we panic on boot.
The fact that we cannot record (yet) is found out later anyway.

Revision 1.1.2.3 / (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.1.2.2: +6 -19 lines
Diff to previous 1.1.2.2 (colored)

Sync with HEAD.

Revision 1.4 / (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.3: +48 -171 lines
Diff to previous 1.3 (colored)

adopt auconv_set_converter()

Revision 1.3 / (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.2: +6 -15 lines
Diff to previous 1.2 (colored)

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

Revision 1.2 / (download) - annotate - [select for diffs], Tue Nov 9 15:57:11 2004 UTC (19 years, 5 months ago) by kent
Branch: MAIN
Changes since 1.1: +2 -6 lines
Diff to previous 1.1 (colored)

remove unnecessary ac97-related code

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Tue Oct 19 15:56:57 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.1.2.1: +1197 -0 lines
Diff to previous 1.1.2.1 (colored)

Sync with HEAD

Revision 1.1.2.1, Sun Oct 10 16:37:07 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.1: +0 -1197 lines
FILE REMOVED

file auacer.c was added on branch ktrace-lwp on 2004-10-19 15:56:57 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Sun Oct 10 16:37:07 2004 UTC (19 years, 6 months ago) by augustss
Branch: MAIN
Branch point for: ktrace-lwp

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.

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>