The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.63 / (download) - annotate - [select for diffs], Fri Feb 9 22:08:36 2024 UTC (2 months, 1 week ago) by andvar
Branch: MAIN
CVS Tags: HEAD
Changes since 1.62: +3 -3 lines
Diff to previous 1.62 (colored)

fix spelling mistakes, mainly in comments and log messages.

Revision 1.61.6.1 / (download) - annotate - [select for diffs], Sun Jan 14 15:24:06 2024 UTC (3 months ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3
Changes since 1.61: +3 -3 lines
Diff to previous 1.61 (colored) next main 1.62 (colored)

Pull up following revision(s) (requested by chs in ticket #542):

	sys/dev/pci/yds.c: revision 1.69
	sys/dev/pci/cmpci.c: revision 1.61
	sys/dev/pci/sv.c: revision 1.62
	sys/dev/pci/fms.c: revision 1.50

mpu / opl: add an interface attribute to config_found() calls for these

specify an interface attribute when attaching mpu and opl devices.
the PCI devices that are the parents of these midi devices
(cmpci, eso, fms, sv, yds) have two interface attributes:
"audiobus", and also one named the same as the parent device,
eg. "cmpci" has an interface attribute named "cmpci".
we must specify the latter one to attach these children.

Revision 1.62 / (download) - annotate - [select for diffs], Mon Jan 8 18:37:24 2024 UTC (3 months, 1 week ago) by chs
Branch: MAIN
Changes since 1.61: +3 -3 lines
Diff to previous 1.61 (colored)

mpu / opl: add an interface attribute to config_found() calls for these

specify an interface attribute when attaching mpu and opl devices.
the PCI devices that are the parents of these midi devices
(cmpci, eso, fms, sv, yds) have two interface attributes:
"audiobus", and also one named the same as the parent device,
eg. "cmpci" has an interface attribute named "cmpci".
we must specify the latter one to attach these children.

Revision 1.61 / (download) - annotate - [select for diffs], Sat Aug 7 16:19:14 2021 UTC (2 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RC2, netbsd-10-0-RC1, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored)

Merge thorpej-cfargs2.

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

Adapt to CFARGS().

Revision 1.60 / (download) - annotate - [select for diffs], Sat Apr 24 23:36:57 2021 UTC (2 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-cfargs2
Changes since 1.59: +3 -3 lines
Diff to previous 1.59 (colored)

Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

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

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

Sync with HEAD.

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

Give config_found() the same variadic arguments treatment as
config_search().  This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls.  Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.

Revision 1.59 / (download) - annotate - [select for diffs], Sat Feb 6 12:55:34 2021 UTC (3 years, 2 months ago) by isaki
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-cfargs-base
Branch point for: thorpej-cfargs
Changes since 1.58: +3 -2 lines
Diff to previous 1.58 (colored)

Add a missing mutex_spin_exit().

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

Sync with HEAD

Revision 1.57.6.1 / (download) - annotate - [select for diffs], Mon Apr 20 11:29:07 2020 UTC (4 years ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.57: +6 -3 lines
Diff to previous 1.57 (colored) next main 1.58 (colored)

Sync with HEAD

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

Fix round_blocksize not to return 0.

Revision 1.52.10.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:45 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.52.10.1: +3 -3 lines
Diff to previous 1.52.10.1 (colored) to branchpoint 1.52 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.56.2.1 / (download) - annotate - [select for diffs], Wed Nov 27 14:03:14 2019 UTC (4 years, 4 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Changes since 1.56: +3 -3 lines
Diff to previous 1.56 (colored) next main 1.57 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #492):

	sys/dev/pci/sv.c: revision 1.57
	sys/dev/pci/eso.c: revision 1.72
	sys/dev/ieee1394/fwohci.c: revision 1.144

Fix operand priority of bit op vs ternary operator.

Revision 1.57 / (download) - annotate - [select for diffs], Mon Oct 28 18:38:43 2019 UTC (4 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp, bouyer-xenpvh-base, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: bouyer-xenpvh
Changes since 1.56: +3 -3 lines
Diff to previous 1.56 (colored)

Fix operand priority of bit op vs ternary operator.

Revision 1.52.10.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:27 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.52: +47 -162 lines
Diff to previous 1.52 (colored)

Sync with HEAD

Revision 1.56 / (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-20190609, netbsd-9-base
Branch point for: netbsd-9
Changes since 1.55: +5 -3 lines
Diff to previous 1.55 (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.55 / (download) - annotate - [select for diffs], Wed May 8 13:40:19 2019 UTC (4 years, 11 months ago) by isaki
Branch: MAIN
Changes since 1.54: +29 -137 lines
Diff to previous 1.54 (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.54.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.54.2.2: +3 -3 lines
Diff to previous 1.54.2.2 (colored) to branchpoint 1.54 (colored) next main 1.55 (colored)

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

Revision 1.54.2.2 / (download) - annotate - [select for diffs], Mon Apr 29 09:30:18 2019 UTC (4 years, 11 months ago) by isaki
Branch: isaki-audio2
Changes since 1.54.2.1: +28 -143 lines
Diff to previous 1.54.2.1 (colored) to branchpoint 1.54 (colored)

Adapt to audio2.
- Drop INDEPENDENT property.  Both play and rec seems to share the
  sample rate (however, they require different calculations?).
- XXX It's better to modify frequency list more strictly.
- Remove obsoleted and empty methods.

Revision 1.54.2.1 / (download) - annotate - [select for diffs], Sun Apr 21 05:11:22 2019 UTC (5 years ago) by isaki
Branch: isaki-audio2
Changes since 1.54: +17 -10 lines
Diff to previous 1.54 (colored)

Use C99 style struct initializer to audio_format.

Revision 1.54 / (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.53: +20 -30 lines
Diff to previous 1.53 (colored)

Use C99 style struct initializer to audio_hw_if.

Revision 1.52.8.1 / (download) - annotate - [select for diffs], Wed Dec 26 14:02:00 2018 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.52: +4 -3 lines
Diff to previous 1.52 (colored) next main 1.53 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.53 / (download) - annotate - [select for diffs], Sun Dec 9 11:14:02 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.52: +4 -3 lines
Diff to previous 1.52 (colored)

use pci_intr_establish_xname() everywhere

Revision 1.46.8.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:29 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.46.8.2: +8 -9 lines
Diff to previous 1.46.8.2 (colored) to branchpoint 1.46 (colored) next main 1.47 (colored)

update from HEAD

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

Sync with HEAD

Revision 1.52 / (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-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, 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.51: +2 -4 lines
Diff to previous 1.51 (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.50.6.1 / (download) - annotate - [select for diffs], Wed Oct 5 20:55:55 2016 UTC (7 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.50: +10 -9 lines
Diff to previous 1.50 (colored)

Sync with HEAD

Revision 1.51 / (download) - annotate - [select for diffs], Thu Jul 14 10:19:06 2016 UTC (7 years, 9 months ago) by msaitoh
Branch: MAIN
CVS Tags: 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, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.50: +10 -9 lines
Diff to previous 1.50 (colored)

- Use aprint*() more in xxx_attach().
- Add missing aprint_naive("\n").
- Remove extra spaces and tabs.
- KNF.

Revision 1.46.8.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:48 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.46.8.1: +6 -8 lines
Diff to previous 1.46.8.1 (colored) to branchpoint 1.46 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.44.12.3 / (download) - annotate - [select for diffs], Thu May 22 11:40:33 2014 UTC (9 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.44.12.2: +6 -8 lines
Diff to previous 1.44.12.2 (colored) to branchpoint 1.44 (colored) next main 1.45 (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.47.2.2 / (download) - annotate - [select for diffs], Sun May 18 17:45:44 2014 UTC (9 years, 11 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.47.2.1: +4 -3 lines
Diff to previous 1.47.2.1 (colored) to branchpoint 1.47 (colored) next main 1.48 (colored)

sync with head

Revision 1.50 / (download) - annotate - [select for diffs], Sat Mar 29 19:28:25 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, 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
Branch point for: nick-nhusb
Changes since 1.49: +4 -3 lines
Diff to previous 1.49 (colored)

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

Revision 1.49 / (download) - annotate - [select for diffs], Tue Mar 18 18:20:42 2014 UTC (10 years, 1 month ago) by riastradh
Branch: MAIN
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored)

Merge riastradh-drm2 to HEAD.

Revision 1.47.2.1 / (download) - annotate - [select for diffs], Wed Aug 28 23:59:26 2013 UTC (10 years, 7 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.47: +4 -7 lines
Diff to previous 1.47 (colored)

sync with head

Revision 1.47.8.1 / (download) - annotate - [select for diffs], Tue Jul 23 21:07:36 2013 UTC (10 years, 8 months ago) by riastradh
Branch: riastradh-drm2
Changes since 1.47: +4 -7 lines
Diff to previous 1.47 (colored) next main 1.48 (colored)

sync with HEAD

Revision 1.48 / (download) - annotate - [select for diffs], Wed Jul 17 21:26:29 2013 UTC (10 years, 9 months ago) by soren
Branch: MAIN
CVS Tags: riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1
Changes since 1.47: +4 -7 lines
Diff to previous 1.47 (colored)

A few "isa" files are so tightly integrated into the x86 platform code
as to not really be part of the optional isa bus autoconf machinery.

Allows configuring a kernel like so:

include "arch/amd64/conf/GENERIC"
no isa

Revision 1.46.8.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:02:29 2012 UTC (11 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.46: +12 -12 lines
Diff to previous 1.46 (colored)

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

Revision 1.44.12.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:21:53 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.44.12.1: +12 -12 lines
Diff to previous 1.44.12.1 (colored) to branchpoint 1.44 (colored)

sync with head

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

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

Revision 1.44.12.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:57 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.44: +130 -82 lines
Diff to previous 1.44 (colored)

sync with head

Revision 1.46 / (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.45: +4 -4 lines
Diff to previous 1.45 (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.45 / (download) - annotate - [select for diffs], Wed Nov 23 23:07:36 2011 UTC (12 years, 4 months ago) by jmcneill
Branch: MAIN
Changes since 1.44: +131 -83 lines
Diff to previous 1.44 (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.44.14.2 / (download) - annotate - [select for diffs], Tue Nov 22 22:47:10 2011 UTC (12 years, 4 months ago) by jmcneill
Branch: jmcneill-audiomp3
Changes since 1.44.14.1: +2 -3 lines
Diff to previous 1.44.14.1 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored)

get rid of unused 'powerstate' callback in audio_hw_if

Revision 1.44.14.1 / (download) - annotate - [select for diffs], Sat Nov 19 21:49:44 2011 UTC (12 years, 5 months ago) by jmcneill
Branch: jmcneill-audiomp3
Changes since 1.44: +131 -82 lines
Diff to previous 1.44 (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.38.4.4 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:59 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.38.4.3: +4 -4 lines
Diff to previous 1.38.4.3 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)

sync with head

Revision 1.44 / (download) - annotate - [select for diffs], Thu Nov 26 15:17:10 2009 UTC (14 years, 4 months ago) by njoly
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, matt-premerge-20091211, 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.43: +4 -4 lines
Diff to previous 1.43 (colored)

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

Revision 1.38.4.3 / (download) - annotate - [select for diffs], Wed Aug 19 18:47:17 2009 UTC (14 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.38.4.2: +3 -3 lines
Diff to previous 1.38.4.2 (colored) to branchpoint 1.38 (colored)

sync with head.

Revision 1.43 / (download) - annotate - [select for diffs], Tue Aug 18 11:12:05 2009 UTC (14 years, 8 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, jym-xensuspend-nbase
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored)

comparision with a string literal by "==" can't work (found by gcc-4.4.1),
replace with strcmp()

Revision 1.38.4.2 / (download) - annotate - [select for diffs], Sat May 16 10:41:40 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.38.4.1: +9 -10 lines
Diff to previous 1.38.4.1 (colored) to branchpoint 1.38 (colored)

sync with head

Revision 1.39.14.1 / (download) - annotate - [select for diffs], Wed May 13 17:20:29 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.39: +9 -10 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

Sync with HEAD.

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

Revision 1.42 / (download) - annotate - [select for diffs], Tue May 12 08:23:01 2009 UTC (14 years, 11 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, jymxensuspend-base, jym-xensuspend-base
Changes since 1.41: +4 -4 lines
Diff to previous 1.41 (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.41 / (download) - annotate - [select for diffs], Wed May 6 10:34:33 2009 UTC (14 years, 11 months ago) by cegger
Branch: MAIN
Changes since 1.40: +7 -8 lines
Diff to previous 1.40 (colored)

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

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

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

Revision 1.39.12.2 / (download) - annotate - [select for diffs], Fri Dec 12 23:06:58 2008 UTC (15 years, 4 months ago) by ad
Branch: ad-audiomp2
Changes since 1.39.12.1: +4 -4 lines
Diff to previous 1.39.12.1 (colored) to branchpoint 1.39 (colored) next main 1.40 (colored)

Checkpoint work in progress.

Revision 1.39.12.1 / (download) - annotate - [select for diffs], Thu Dec 11 19:49:31 2008 UTC (15 years, 4 months ago) by ad
Branch: ad-audiomp2
Changes since 1.39: +130 -83 lines
Diff to previous 1.39 (colored)

Checkpoint work in progress.

Revision 1.37.16.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:43 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.37: +9 -18 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

Sync with HEAD.

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

sync with head.

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

sync with head.

Revision 1.39 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:55 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.38: +2 -9 lines
Diff to previous 1.38 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.38 / (download) - annotate - [select for diffs], Thu Apr 10 19:13:38 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.37: +9 -11 lines
Diff to previous 1.37 (colored)

use aprint_*_dev and device_xname

Revision 1.36.16.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:29:31 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

sync with HEAD

Revision 1.30.2.4 / (download) - annotate - [select for diffs], Sat Oct 27 11:33:30 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.30.2.3: +3 -3 lines
Diff to previous 1.30.2.3 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored)

sync with head.

Revision 1.36.14.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:46:55 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored) next main 1.37 (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.36.20.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:39:19 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

Sync with HEAD.

Revision 1.36.2.1 / (download) - annotate - [select for diffs], Tue Oct 23 20:09:18 2007 UTC (16 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

Sync with head.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Oct 19 12:00:55 2007 UTC (16 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, ad-socklock-base1
Branch point for: mjf-devfs2
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

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

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

sync with head.

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

Sync with HEAD.

Revision 1.36 / (download) - annotate - [select for diffs], Sun Mar 4 06:02:25 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.35: +3 -3 lines
Diff to previous 1.35 (colored)

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

Revision 1.35.6.1 / (download) - annotate - [select for diffs], Tue Feb 27 14:16:36 2007 UTC (17 years, 1 month ago) by ad
Branch: ad-audiomp
Changes since 1.35: +106 -58 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

Add MP locking for audio drivers.

Revision 1.30.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:48:48 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.30.2.1: +7 -4 lines
Diff to previous 1.30.2.1 (colored) to branchpoint 1.30 (colored)

sync with head.

Revision 1.33.4.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:17:47 2006 UTC (17 years, 4 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.33.4.1: +12 -12 lines
Diff to previous 1.33.4.1 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored)

sync with head.

Revision 1.33.2.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:33 2006 UTC (17 years, 5 months ago) by ad
Branch: newlock2
Changes since 1.33: +6 -4 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Sync with head.

Revision 1.35 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:10 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.34: +12 -12 lines
Diff to previous 1.34 (colored)

__unused removal on arguments; approved by core.

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

sync with head

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

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

Revision 1.31.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:52:19 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.31: +4 -3 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

sync with head

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

sync with head.

Revision 1.33 / (download) - annotate - [select for diffs], Sun Sep 3 06:26:27 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.32: +3 -2 lines
Diff to previous 1.32 (colored)

add missing initializer

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

sync with head.

Revision 1.31.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:16 2006 UTC (18 years ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

Sync with head.

Revision 1.31.10.1 / (download) - annotate - [select for diffs], Wed Apr 19 03:25:38 2006 UTC (18 years ago) by elad
Branch: elad-kernelauth
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

sync with head.

Revision 1.31.8.1 / (download) - annotate - [select for diffs], Mon Mar 13 09:07:27 2006 UTC (18 years, 1 month ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

sync with head.

Revision 1.32 / (download) - annotate - [select for diffs], Wed Mar 8 23:46:27 2006 UTC (18 years, 1 month ago) by lukem
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, simonb-timecounters-base, peter-altq-base, peter-altq, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

Use the SI capitalization for "Hz", "kHz", and "MHz" in comments and strings.
Add a space between numbers and Hz unit.

Revision 1.31 / (download) - annotate - [select for diffs], Sun Dec 11 12:22:50 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, elad-kernelauth
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

merge ktrace-lwp.

Revision 1.22.2.7 / (download) - annotate - [select for diffs], Thu Nov 10 14:06:03 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.22.2.6: +61 -67 lines
Diff to previous 1.22.2.6 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

Sync with HEAD. Here we go again...

Revision 1.30 / (download) - annotate - [select for diffs], Tue Jun 28 00:28:42 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.29: +58 -67 lines
Diff to previous 1.29 (colored)

Use ANSI function decls and static.

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Sun May 1 18:21:37 2005 UTC (18 years, 11 months ago) by tron
Branch: netbsd-3
CVS Tags: 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
Changes since 1.28: +5 -2 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

Pull up revision 1.29 (requested by hannken in ticket #222):
sv_set_params(): avoid null pointer dereference when `setmode' is 0.
Reviewed by: Lennart Augustsson <augustss@netbsd.org>

Revision 1.29 / (download) - annotate - [select for diffs], Sat Apr 30 15:24:51 2005 UTC (18 years, 11 months ago) by hannken
Branch: MAIN
Changes since 1.28: +5 -2 lines
Diff to previous 1.28 (colored)

sv_set_params(): avoid null pointer dereference when `setmode' is 0.

Reviewed by: Lennart Augustsson <augustss@netbsd.org>

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

sync with -current

Revision 1.27.4.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:35:12 2005 UTC (19 years, 1 month ago) by yamt
Branch: yamt-km
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.22.2.6 / (download) - annotate - [select for diffs], Fri Mar 4 16:45:26 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.22.2.5: +3 -3 lines
Diff to previous 1.22.2.5 (colored) to branchpoint 1.22 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.28 / (download) - annotate - [select for diffs], Sun Feb 27 00:27:34 2005 UTC (19 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, kent-audio2-base
Branch point for: netbsd-3
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)

nuke trailing whitespace

Revision 1.22.2.5 / (download) - annotate - [select for diffs], Mon Jan 17 19:31:26 2005 UTC (19 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.22.2.4: +382 -463 lines
Diff to previous 1.22.2.4 (colored) to branchpoint 1.22 (colored)

Sync with HEAD.

Revision 1.27 / (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-base2, yamt-km-base
Branch point for: yamt-km, kent-audio2
Changes since 1.26: +354 -397 lines
Diff to previous 1.26 (colored)

ansify and KNF

Revision 1.26 / (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.25: +44 -82 lines
Diff to previous 1.25 (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.25.2.2 / (download) - annotate - [select for diffs], Sun Jan 9 08:42:46 2005 UTC (19 years, 3 months ago) by kent
Branch: kent-audio1
Changes since 1.25.2.1: +7 -15 lines
Diff to previous 1.25.2.1 (colored) to branchpoint 1.25 (colored) next main 1.26 (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.25.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.25: +39 -69 lines
Diff to previous 1.25 (colored)

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

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

Sync with HEAD.

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

constify audio_hw_if, midi_hw_if, and radio_hw_if.

Revision 1.22.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:31:07 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.22.2.2: +2 -2 lines
Diff to previous 1.22.2.2 (colored) to branchpoint 1.22 (colored)

Fix the sync with head I botched.

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

Sync with HEAD.

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

Sync with HEAD

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

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

Revision 1.23 / (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.22: +2 -12 lines
Diff to previous 1.22 (colored)

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

Revision 1.22 / (download) - annotate - [select for diffs], Sat May 3 18:11:37 2003 UTC (20 years, 11 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Branch point for: ktrace-lwp
Changes since 1.21: +6 -6 lines
Diff to previous 1.21 (colored)

DMA, not dma nor Dma.

Revision 1.21 / (download) - annotate - [select for diffs], Sat Feb 22 04:58:43 2003 UTC (21 years, 2 months ago) by tsutsui
Branch: MAIN
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored)

{HZ,hz,hZ} -> Hz

Revision 1.20 / (download) - annotate - [select for diffs], Thu Feb 20 12:24:05 2003 UTC (21 years, 2 months ago) by hannken
Branch: MAIN
Changes since 1.19: +33 -6 lines
Diff to previous 1.19 (colored)

The SonicVibes DMA is broken and only works on 24-bit addresses.  As long
as bus_dmamem_alloc_range() is missing we use the ISA dma tag on i386.

The iorange for the dma registers now gets allocated near the used range.
Chances are high, that this range is valid on this PCI bus.

This one is really ugly :-)

Approved by: Lennart Augustsson <augustss@netbsd.org>

Revision 1.19 / (download) - annotate - [select for diffs], Sat Feb 1 06:23:39 2003 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.18: +7 -6 lines
Diff to previous 1.18 (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.12.2.4 / (download) - annotate - [select for diffs], Fri Oct 18 02:43:20 2002 UTC (21 years, 6 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.12.2.3: +3 -4 lines
Diff to previous 1.12.2.3 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

Catch up to -current.

Revision 1.12.4.3 / (download) - annotate - [select for diffs], Thu Oct 10 18:41:13 2002 UTC (21 years, 6 months ago) by jdolecek
Branch: kqueue
Changes since 1.12.4.2: +4 -5 lines
Diff to previous 1.12.4.2 (colored) to branchpoint 1.12 (colored) next main 1.13 (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.18 / (download) - annotate - [select for diffs], Wed Oct 2 16:51:55 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

Add trailing ; to CFATTACH_DECL.

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

Use CFATTACH_DECL().

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

Declare all cfattach structures const.

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

Sync kqueue branch with -current.

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

Catch up to -current.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Nov 13 07:48:49 2001 UTC (22 years, 5 months ago) by lukem
Branch: MAIN
CVS Tags: newlock-base, newlock, 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, ifpoll-base, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Changes since 1.14: +4 -1 lines
Diff to previous 1.14 (colored)

add RCSID

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

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

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

Catch up to -current.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Oct 3 00:04:52 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.13: +2 -1 lines
Diff to previous 1.13 (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.12.2.1 / (download) - annotate - [select for diffs], Fri Aug 24 00:10:22 2001 UTC (22 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.12: +7 -5 lines
Diff to previous 1.12 (colored)

Catch up with -current.

Revision 1.12.4.1 / (download) - annotate - [select for diffs], Fri Aug 3 04:13:22 2001 UTC (22 years, 8 months ago) by lukem
Branch: kqueue
Changes since 1.12: +7 -5 lines
Diff to previous 1.12 (colored)

update to -current

Revision 1.13 / (download) - annotate - [select for diffs], Thu Jul 19 17:47:18 2001 UTC (22 years, 9 months ago) by kleink
Branch: MAIN
CVS Tags: thorpej-devvp-base2, thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-devvp
Changes since 1.12: +7 -5 lines
Diff to previous 1.12 (colored)

Hint BUS_DMA_READ and BUS_DMA_WRITE.

Revision 1.9.2.2 / (download) - annotate - [select for diffs], Fri Jan 5 17:36:18 2001 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.9.2.1: +2 -3 lines
Diff to previous 1.9.2.1 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

Sync with HEAD

Revision 1.12 / (download) - annotate - [select for diffs], Thu Dec 28 22:59:15 2000 UTC (23 years, 3 months ago) by sommerfeld
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: nathanw_sa, kqueue
Changes since 1.11: +2 -3 lines
Diff to previous 1.11 (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.9.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 11:42:37 2000 UTC (23 years, 5 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.9: +9 -9 lines
Diff to previous 1.9 (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.10.6.1 / (download) - annotate - [select for diffs], Fri Jun 30 16:27:50 2000 UTC (23 years, 9 months ago) by simonb
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, netbsd-1-5-ALPHA2
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Pull up mmap paddr_t/off_t changes from trunk.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Jun 26 04:56:25 2000 UTC (23 years, 9 months ago) by simonb
Branch: MAIN
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (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.9.6.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:35:24 1999 UTC (24 years, 3 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.9: +6 -6 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Pull up to last week's -current.

Revision 1.9.4.1 / (download) - annotate - [select for diffs], Mon Nov 15 00:41:11 1999 UTC (24 years, 5 months ago) by fvdl
Branch: fvdl-softdep
Changes since 1.9: +6 -6 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Sync with -current

Revision 1.10 / (download) - annotate - [select for diffs], Mon Nov 1 18:12:21 1999 UTC (24 years, 5 months ago) by augustss
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, netbsd-1-5-base, minoura-xpg4dl-base, minoura-xpg4dl, fvdl-softdep-base, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase
Branch point for: netbsd-1-5
Changes since 1.9: +6 -6 lines
Diff to previous 1.9 (colored)

Make little endian and big endian version of all functions
that deal with 16 bit samples.  Let the drivers decide which ones
to use.

Revision 1.7.2.1.2.2 / (download) - annotate - [select for diffs], Mon Aug 2 22:02:30 1999 UTC (24 years, 8 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.7.2.1.2.1: +7 -7 lines
Diff to previous 1.7.2.1.2.1 (colored) to branchpoint 1.7.2.1 (colored) next main 1.8 (colored)

Update from trunk.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Jul 10 16:46:19 1999 UTC (24 years, 9 months ago) by kleink
Branch: MAIN
CVS Tags: chs-ubc2-base
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep
Changes since 1.8: +7 -7 lines
Diff to previous 1.8 (colored)

Fix a buglet in the driver's DMA buffer list ipmlementation, causing the next-
in-list (wrong) descriptor structure of the buffer in question to be freed.

Revision 1.7.2.1.2.1 / (download) - annotate - [select for diffs], Mon Jun 21 01:18:42 1999 UTC (24 years, 10 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.7.2.1: +0 -0 lines
Diff to previous 1.7.2.1 (colored)

Sync w/ -current.

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Wed Apr 14 17:32:24 1999 UTC (25 years ago) by jonathan
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame
Branch point for: chs-ubc2
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

Pull up 1.8 delta (initialize 'p' for lame gcc-2.7.2.2 flow analysis) to 1.4.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Apr 14 03:26:34 1999 UTC (25 years ago) by jonathan
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

initialize 'p' for lame gcc-2.7.2.2 flow analysis.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Mar 22 07:58:55 1999 UTC (25 years, 1 month ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-4-base
Branch point for: netbsd-1-4
Changes since 1.6: +12 -1 lines
Diff to previous 1.6 (colored)

Make 48KHz output work.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Feb 19 02:27:59 1999 UTC (25 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.5: +6 -1 lines
Diff to previous 1.5 (colored)

This is an utterly revolting hack to work around the previously mentioned
lossage.  On the Alpha, we force the buffers to be allocated through the SGMAP
so that the PCI bus addresses are low enough.
At least it's only one line of code...

Revision 1.5 / (download) - annotate - [select for diffs], Thu Feb 18 09:22:17 1999 UTC (25 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.4: +17 -10 lines
Diff to previous 1.4 (colored)

Pass the correct address (PCI bus address, not PA) to the card.
Also fix some typos and add more debugging printf()s.
This would work on the Alpha, but the card I have appears to have the upper
address bits chopped off, and the ring buffer gets mapped using the DGMAP,
which uses the upper bits.  Boom.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Feb 18 00:55:36 1999 UTC (25 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.3: +47 -47 lines
Diff to previous 1.3 (colored)

spaces -> tabs

Revision 1.3 / (download) - annotate - [select for diffs], Thu Feb 18 00:54:19 1999 UTC (25 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.2: +214 -173 lines
Diff to previous 1.2 (colored)

A few things:
* Use the trigger interface.
* Permit different encodings for record and playback.
* Set AUDIO_PROP_INDEPENDENT.
* Fix the mmap(2) hole again.
* Use 16-bit mode for a-law and u-law playback.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Feb 17 02:37:42 1999 UTC (25 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.1: +12 -11 lines
Diff to previous 1.1 (colored)

Pass the direction to the allocm and round_buffersize methods.
Some drivers need this to properly allocate DMAable memory.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Dec 10 18:47:19 1998 UTC (25 years, 4 months ago) by augustss
Branch: MAIN

Add a driver for the S3 SonicVibes chip.  From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.

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>