Commit Graph

846 Commits

Author SHA1 Message Date
dyoung
061f5fc4ee Add a manual page to section 9 for rssadapt, the rate-adaptation
framework.
2004-03-29 04:14:03 +00:00
wiz
d811bd0251 Grammar fixes. 2004-03-24 23:51:18 +00:00
atatat
1449152ac6 Add man page for new sysctl_teardown() function. 2004-03-24 19:37:10 +00:00
snj
1d1d5cc0a9 Bump date for last; drop trailing whitespace. 2004-03-24 19:11:41 +00:00
atatat
4723bb21ba Bring sysctl man pages up to date (wrt new query interface, the
versioning, and descriptions).
2004-03-24 18:22:30 +00:00
pooka
ba81fe2a70 attempt to clarify bit about flags usage:
* remove mention to PR_URGENT, since it was removed from the code
    two years ago
  * mention PR_NOWAIT
2004-03-24 17:44:22 +00:00
snj
afedcd8968 We can't guarantee that the continuation will run at the specified IPL,
so desired_ipl is a better name than continue_ipl.

Suggested by jonathan@
2004-03-24 06:03:26 +00:00
snj
2a2b000f5a It's continue_ipl, not desired_ipl. 2004-03-24 01:29:37 +00:00
wiz
30f8c01691 .Nd should not end in a dot or start with an article;
there is no sleep(9); use Ar for function arguments; mark up
KCL_IPL* and IPL_* with .Dv; restore a "K" that was lost; use
even more .Dq for double-quoted strings; mark up author with .An.
2004-03-23 11:46:59 +00:00
snj
246c4b1ac6 Remove superfluous Nm. 2004-03-23 06:02:48 +00:00
snj
cc1e906a4d Bump date to match date this file was added. Drop trailing space. Clean
up ugly usage of Fn.  Correct Nm usage.  New sentence, new line.  Use Sq
and Dq for single and double quotes, respectively.  Listify.  Slight grammar
fixes.  Fix Fn usage.  Use Nx instead of NetBSD.  Remove unnecessary comma.

Over to you, wiz.
2004-03-23 06:00:08 +00:00
jonathan
7dceec999c Add kcont(9) to Makefile, comp set. 2004-03-23 00:59:47 +00:00
jonathan
5ba910f927 Commit draft kcont.9 (really, this time). 2004-03-23 00:47:18 +00:00
he
b38a526b83 The man-page symlink should be pckbport_set_inputhandler, not
pckbport_set_inputhandle -- make it so.
2004-03-21 11:49:28 +00:00
wiz
1f250009b5 New sentence, new line. Remove superfluous double quote.
Fix a typo.
2004-03-20 21:43:03 +00:00
bjh21
8808a41bd8 Kernel-internal documentation for pckbport. 2004-03-20 21:28:59 +00:00
cube
5e6e0e1b39 vn_close() expects an unlocked vnode. 2004-03-14 22:39:21 +00:00
wiz
0da2f82e03 Break line differently to tell groff that the sentence does not
end after e.g.
While the previous here obviously did.
Mark up NULL with Dv, and a function name with .Fn.
2004-03-13 20:50:17 +00:00
pooka
f389cf03c4 bump date
(oh, and as a side-effect, make description match modern reality)
2004-03-11 14:21:25 +00:00
wiz
45668e3378 Bump date for previous. 2004-03-08 23:02:40 +00:00
dbj
b90a643725 note that pool_init and pool_destroy should never be called
in interrupt context.
if this is not a desired restriction, then those functions
should be reviewed for safety, at least protecting pool_head_slock
with splvm()
2004-03-08 22:58:34 +00:00
wiz
26aafcf21c Be consistent in spelling "autoconfiguration" without a hyphen.
Noted by John Heasley.
2004-03-05 14:56:47 +00:00
jdolecek
d5693762c3 bump date for previous 2004-02-18 16:50:25 +00:00
wiz
15abe007fe Remove duplicate word. From Ognyan Kulev in PR 24472. 2004-02-18 15:24:25 +00:00
wiz
ca8578461e Remove superfluous double quotes, add back a comma
in an enumeration, and remove an article.
2004-02-18 13:46:18 +00:00
yamt
d448296d2d - document selnotify.
- add ref. to knote(9).
2004-02-18 13:35:46 +00:00
enami
beb14b71ef The source file is changed. 2004-02-18 08:54:30 +00:00
hannken
142e9d5deb Add a generic copy-on-write hook to add/remove functions that will be
called with every buffer written through spec_strategy().

Used by fss(4). Future file-system-internal snapshots will need them too.

Welcome to 1.6ZK

Approved by: Jason R. Thorpe <thorpej@netbsd.org>
2004-02-14 00:00:56 +00:00
wiz
a71e78c796 Bump date for previous, and break lines
so that macros only affect what they should.
2004-01-31 21:33:08 +00:00
fredb
7f674884ad Fix a couple of long-standing bugs in the volume control(s) part of the
audio device interface:

1) When attempting to match the appropriate mixer control, we weren't
checking the class label, but only the second level label, so for
devices that had both an "inputs.cd" and a "record.cd", for example,
we could never do the right thing except by chance. For this reason,
evidently, all the record masters were labeled (by the underlying
drivers) either "record.record" or "record.volume", to distinguish
from "outputs.master". We'll now accept "record.master", and document
that as the the new preferred way.

2) More importantly, the model was deficient. Selecting a port on many
chips completely disables most of the level controls, which doesn't play
nice with other applications which are trying to use the interface. Now,
selecting a port simply sets which mixer input control shall be changed,
setting state in the audio layer. In other words, the "mixerout" port
is really selected all the time, enabling the final stage mixer, and
setting "gain" sets the level of the appropriate input. It should be
possible for separate applications to each control the mic, dac, and cd
inputs at the same time using this interface, simply by reiterating their
port selections with each change, but applications that don't bother to
do that aren't any worse off than they were before.

The user is expected to set the master output with another application,
dedicated to that task. Though it is now meaningful to select "no port"
with the audio device interface, to manipulate the master output, there's
no particular reason for an audio device consumer to do that. (I added
the capability in order to restore the initial state of the audio device,
for testing purposes. It might also be useful to users of broken binary-
only applications.)

Observe that the mixer device interface (and so, "mixerctl") still
retains all capabilities, including the ability to set the actual input
port on the chip, overriding the level controls. No change is being made
to the mixer device interface. The mixer device simply presents all the
controls on the chip, with no attempt at abstraction, so there are no
bugs there.

The upshot is, that applications that have been trying to use the audio
device interface to change the volume, such as mplayer, now "just work".

I've tested these changes extensively with "eso" and "eap" since first
proposing them on tech-kern last January, and somewhat with "esm" and a
few others. This closes both PR kern/10221, and PR kern/17159.
2004-01-31 00:07:56 +00:00
jdolecek
3d22b8ae1a g/c obsolete cpu_wait(9)
reported in PR misc/24260 by Nicolas Joly
2004-01-28 17:44:25 +00:00
hannken
3db4e2acd8 Make VOP_STRATEGY(bp) a real VOP as discussed on tech-kern.
VOP_STRATEGY(bp) is replaced by one of two new functions:

- VOP_STRATEGY(vp, bp)  Call the strategy routine of vp for bp.
- DEV_STRATEGY(bp)      Call the d_strategy routine of bp->b_dev for bp.

DEV_STRATEGY(bp) is used only for block-to-block device situations.
2004-01-25 18:06:48 +00:00
wiz
7f313ca06a New sentence, new line; |fmt; misc fixes. 2004-01-23 19:50:43 +00:00
wiz
73c4c2d697 Sort sections, sort SEE ALSO; some gramamar fixes;
use more mdoc, |fmt. Add RCS Id.
2004-01-23 19:48:27 +00:00
wiz
9c2612888d Drop trailing whitespace. 2004-01-23 19:37:37 +00:00
wiz
528c020eb1 Fix typo. 2004-01-21 23:18:52 +00:00
atatat
6024d1b588 Man page for kernel's sysctl infrastructure. Thanks for being
patient.
2004-01-21 03:02:06 +00:00
pooka
614a86b119 pmap_{de,}activate() take struct lwp * now
+ bump date!
2004-01-20 10:40:03 +00:00
jdolecek
e23cd1a78a Import Gary Thorpe's netbsd-ppbus 1.3. This is NetBSD port
of FreeBSD Parallel Port Bus framework. Work in progress.
2004-01-19 23:22:23 +00:00
wiz
69680feba7 Add a comma. 2004-01-10 17:41:52 +00:00
hannken
ed68c4e34c Allow vfs_write_suspend() to wait if the file system is already
suspending.

Move vfs_write_suspend() and vfs_write_resume() from kern/vfs_vnops.c
to kern/vfs_subr.c.

Change vnode write gating in ufs/ffs/ffs_softdep.c (from FreeBSD).

When vnodes are throttled in softdep_trackbufs() check for
file system suspension every 10 msecs to avoid a deadlock.
2004-01-10 17:16:38 +00:00
wiz
e3ef1b438f Bump date for previous. 2004-01-08 09:24:31 +00:00
wiz
24a407cb79 Bump date for previous; break line
so that only relevant parts are marked up.
2004-01-08 09:14:35 +00:00
atatat
22361e5849 Remove more references to the old sysctl infrastructure. 2004-01-07 21:58:27 +00:00
christos
1315cbb0bc explain how trapsignal is used in the trap code. 2004-01-07 19:01:14 +00:00
wiz
039e343f6d Bump date for new history section. 2004-01-01 15:24:35 +00:00
mrg
4ce2a54a1f add a history section. 2004-01-01 05:43:08 +00:00
simonb
4af9ca0e52 Fix a tyop. 2003-12-21 23:41:00 +00:00
simonb
5a2890def3 Dump date for previous. 2003-12-21 07:42:11 +00:00
simonb
aabfbedffd Note that the fifth argument to pool_init() is "flags" and not "nitems". 2003-12-21 07:35:37 +00:00