Commit Graph

9990 Commits

Author SHA1 Message Date
iedowse
885a9694bc Add a mechanism for associating a mutex with a callout when the
callout is first initialised, using a new function callout_init_mtx().
The callout system will acquire this mutex before calling the callout
function and release it on return.

In addition, the callout system uses the mutex to avoid most of the
complications and race conditions inherent in asynchronous timer
facilities, so mutex-protected callouts have much simpler semantics.
As long as the mutex is held when invoking callout_stop() or
callout_reset(), then these functions will guarantee that the callout
will be stopped, even if softclock() had already begun to process
the callout.

Existing Giant-locked callouts will automatically pick up the new
race-free semantics. This should close a number of race conditions
in the USB code and probably other areas of the kernel too.

There should be no change in behaviour for "MP-safe" callouts; these
still need to use the techniques mentioned in timeout(9) to avoid
race conditions.
2005-02-07 02:47:33 +00:00
njl
044b41bb7e Note changes to throttling sysctls and new power_profile(8) cpufrq support. 2005-02-06 21:31:41 +00:00
phk
1af887fe98 Document NO_GPIB 2005-02-06 16:46:49 +00:00
delphij
3dd08ed15f Document NO_NETCAT. 2005-02-06 14:59:03 +00:00
rushani
c60affc837 List the LSI 320-2E PCI-Express controller as supported.
Reviewed by:	scottl@
2005-02-06 10:49:28 +00:00
glebius
7f034c9f34 Manpage for ng_ipfw node. 2005-02-05 17:53:44 +00:00
brueffer
41c528217b Remove Xref to nonexistant ifmedia.4
MFC after:	3 days
2005-02-05 15:03:22 +00:00
brueffer
9d041423b5 Remove last traces of le.4
MFC after:	3 days
2005-02-05 14:57:19 +00:00
brueffer
6a6bfa9dfa Remove Xref to nonexistant cap.3
Ok'ed by:	rwatson
MFC after:	3 days
2005-02-05 14:16:35 +00:00
brueffer
983c33d127 - replace pointers to XF86Config with xorg.conf
- remove outdated XFree86 3.3.1 information
- bump .Dd

MFC after:	3 days
2005-02-05 14:09:09 +00:00
brueffer
36e8a51a0c Remove last traces of lomac.4
MFC after:	3 days
2005-02-05 13:52:21 +00:00
brueffer
f2bc2200a5 Backout last commit, lomac_enable is still valid. Just Xref mac_lomac.4
instead of lomac.4.
2005-02-05 13:44:29 +00:00
brueffer
d0d7ed3880 Xref mac_lomac.4 instead of lomac.4
MFC after:	3 days
2005-02-05 13:36:33 +00:00
brueffer
c1c4e26bed Remove last traces of lomac(4)
MFC after:	3 days
2005-02-05 13:29:20 +00:00
ru
a7fbfc9eab Verify that SYNOPSIS section compiles. 2005-02-05 11:31:31 +00:00
ru
3a8387bd86 Added the SYNOPSIS section. 2005-02-05 11:30:59 +00:00
jkoshy
b0f32c379f Note that functions alq_flush() and alq_post() should not be called in
contexts where sleeping is disallowed.

Pointed out by:	ru
2005-02-05 02:39:07 +00:00
pjd
03d733ba6a Improve EIO error description and mention that it can also occur while
writting.

MFC after:	3 days
2005-02-04 11:18:46 +00:00
brueffer
90f763f3f4 Manpage for Olicom Token Ring adapters, based on input by mdodd.
Reviewed by:	mdodd
MFC after:	1 week
2005-02-04 01:48:27 +00:00
ru
f01116dd05 Reflect recent code changes. 2005-02-03 13:33:34 +00:00
ru
0e256fdd59 Added ASCII version of the NGM_EIFACE_GET_IFNAME message, "getifname". 2005-02-03 11:52:42 +00:00
ceri
d28fac4752 Improve English a little. 2005-01-30 13:27:59 +00:00
yar
0ec8b23ab8 Document the recent change to the default status of VLAN support in em(4).
MFC after:	1 day
2005-01-30 12:29:06 +00:00
yar
20f50efab6 Document the user-controlled VLAN_MTU capability of fxp(4).
Bump .Dd accordingly.

MFC after:	3 days
2005-01-30 12:15:14 +00:00
yar
3c06de23de Bump the document date since its content has changed. 2005-01-30 12:13:13 +00:00
yar
fa9897222f Revise the part on VLAN support in physical interfaces.
MFC after:	1 week
2005-01-30 12:06:02 +00:00
yar
8eed1be1fd Update the list of VLAN-aware interface types.
MFC after:	3 days
2005-01-30 10:59:50 +00:00
jkoshy
a37be2d715 Bring the prototype for alq_open() in line with the code.
Add a section on locking.
2005-01-30 10:21:04 +00:00
ru
e1559d6a6e Start sentences from a capital letter.
Submitted by:	Joel Dahl
2005-01-29 20:05:07 +00:00
phk
e2e185e368 Describe 'u' and 'U' in sequence mode. 2005-01-29 16:34:10 +00:00
ru
1c19ffd486 Fixed whitespace at EOL and double word.
Uncompact enumaration to make it look better.
2005-01-28 21:18:14 +00:00
ru
85b6200242 Mark lists as in the rest of section 9 manpages. 2005-01-28 10:48:52 +00:00
ru
2e89798459 Mark lists as in the rest of section 9 manpages.
Submitted by:	Joel Dahl (mostly)
2005-01-28 10:43:05 +00:00
ru
880172dcf3 Polish the formatting. 2005-01-27 10:30:53 +00:00
phk
c867c148a5 Update the information, (and likely break all formatting rules). 2005-01-27 09:29:52 +00:00
ru
5391cb9508 Add a few colons.
Submitted by:	Joel Dahl
2005-01-26 20:50:52 +00:00
ssouhlal
8b0970ecd4 Bump the document date.
Forgotten by:	ssouhlal, simon, trhodes
Approved by:	grehan (mentor)
2005-01-26 06:46:00 +00:00
jmallett
3a3fcc332c Linkage with -lobjc requires -lpthread nowadays. 2005-01-26 00:17:03 +00:00
maxim
9748840f3a Add FreeBSD 4.11. 2005-01-25 19:16:09 +00:00
akiyama
da21c0aa41 Add support for new chips, PL-2303X and PL-2303HX.
Bump document date.

MFC after:	1 week
2005-01-25 15:58:53 +00:00
ssouhlal
83dad33e17 Mention that 'options ALQ' is required when using KTR_ALQ.
Approved by:	simon, trhodes, grehan (mentor)
2005-01-25 14:17:38 +00:00
charnier
ebd0a44c32 spell "file system" correctly
Approved by:	ru
2005-01-24 20:06:16 +00:00
iedowse
29a34551e1 Attempt to describe the race conditions that must be considered
when using the callout subsystem. Show how the callout_pending(),
callout_active() and callout_deactivate() macros can be used to
achieve simpler race-free callout semantics in many situations.
2005-01-23 17:42:48 +00:00
gnn
c6bc06c657 Submitted by: George V. Neville-Neil (gnn at freebsd dot org)
Reviewed by: Kame Project (including Itojun-san, Jinmei-san and Suzuki-san)
Approved by: Robert Watson (robert at freebsd dot org)
Obtained from:	Kame Project and OpenBSD

Replace manual pages that may have violated the IETF's Copyright.

All come from the Kame tree.

Several were from OpenBSD except for ip6.4, and the inet6* pages which were
rewritten by me.

All of the text is new and drawn from reading the code and
documentation.
2005-01-23 16:02:48 +00:00
gnn
2231fe9f4d Submitted by: George V. Neville-Neil (gnn at freebsd dot org)
Approved by: Robert Watson (robert at freebsd dot org)

Remove files in preparation for replacement with totally new versions
of the manual pages.

Update the Makefile to handle the new file to be added.
2005-01-23 15:41:10 +00:00
bms
40a1c8b345 Fix markup.
Submitted by:	ru
2005-01-22 21:54:29 +00:00
bms
86980c5775 Add a note about the slot number not necessarily indicating the physical
location of a PCI device in the system chassis.
Remove the note about PAE.
Update document date.
Update my email address.
Update copyright.

MFC after:	1 week
2005-01-22 21:14:46 +00:00
ru
9b901be794 Fixed macro abuse. 2005-01-21 20:51:09 +00:00
ru
22937d31bc Fixed xrefs. 2005-01-21 20:50:39 +00:00
ru
b8a9faaaa3 Fixed punctuation in xrefs. 2005-01-21 20:48:00 +00:00
ru
41e43fe860 Fixed xref. 2005-01-21 12:01:00 +00:00
ru
3666aefb6a Fixed xref. 2005-01-21 10:48:35 +00:00
ru
21e7b4e73c Fixed macro abuse. 2005-01-21 10:46:36 +00:00
ru
0f1929cc0e Fixed xrefs. 2005-01-21 10:35:40 +00:00
ru
3732ee2c4e Fixed xref. 2005-01-21 10:17:17 +00:00
ru
7a3e657c56 Sort sections. 2005-01-21 08:36:40 +00:00
ru
e892f32ba8 Fixes to previous revision:
- bump document date
- break hard sentence break
- remove whitespace at EOL
2005-01-21 07:55:17 +00:00
wes
353c32f9f8 Document the shiny new WITHOUT_MODULES knob in make.conf.
PR:		kern/76225
Prodded by:	ru@, brueffer@
MFC after:	2 weeks
2005-01-21 03:51:07 +00:00
imp
ec6d4fb4e2 Add intersil chip names we know we support since some OEMs use them
very transparently.
2005-01-20 18:33:07 +00:00
imp
5d98a96208 Note SENAO SL-2511CD support 2005-01-20 17:48:01 +00:00
glebius
d4d1359bb9 log(9) requires sys/syslog.h.
MFC after:	3 days
2005-01-20 10:26:42 +00:00
ru
c047ae5475 Use the standard section name. 2005-01-18 20:54:50 +00:00
ru
d2fbbfa446 The rest of manpages spell this "PSEUDOCODE". 2005-01-18 20:37:11 +00:00
seanc
557809eac4 Synchronize with notes in GENERIC and note the kernel dependency on scbus(4).
MFC after:      7 days
2005-01-18 20:23:47 +00:00
brueffer
fcec19ccf2 Typo fixes.
MFC after:	3 days
2005-01-18 18:13:03 +00:00
brueffer
13da49151e Capitalize Windows and fix a typo.
Submitted by:	markus
MFC after:	3 days
2005-01-18 17:53:35 +00:00
ru
ffafa9a9bb Folded two SEE ALSO sections into one. 2005-01-18 09:13:42 +00:00
trhodes
2f3725fd68 S_ISVTX -> S_ISTXT to reflect the code. 2005-01-18 01:27:44 +00:00
ru
83b13e4cb5 Document the new EXIT STATUS section. 2005-01-16 22:26:05 +00:00
ru
f4ba20999d Added the EXIT STATUS section. 2005-01-16 22:22:28 +00:00
obrien
a8c5c0fe7e Move -Wunused-parameter from WARNS level 3 level 4.
Also break long lines -- note that the '\' must be up against the last
character of a line to keep command-line spacing proper.

Requested by:	rwatson
2005-01-16 21:18:16 +00:00
obrien
5568092622 Use >= so we can use the actual WARNS levels. 2005-01-16 21:08:31 +00:00
ru
d363defbc0 Removed .Re without a matching .Rs. 2005-01-16 16:53:13 +00:00
wollman
b4f71d121d Latest IERS Bulletin C (#29): no leap second on 2005-06-30.
Obtained from:	http://hpiers.obspm.fr/eoppc/bul/bulc/bulletinc.dat
2005-01-15 21:53:24 +00:00
scottl
69d36fcdfb Document bus_dmamap_load_mbuf_sg() 2005-01-15 20:50:52 +00:00
jkoshy
e2a9113a2b Move the LOCKING section to before the EXAMPLES section.
Make example locking calls in the EXAMPLES section.

Reviewed by:	keramida
2005-01-15 16:01:19 +00:00
ru
782f61552a Fixed troff warnings. 2005-01-15 12:49:11 +00:00
ru
d26afd541d Eliminate macro calls inside literal displays. 2005-01-15 12:28:01 +00:00
ru
70eec6f87a Fixed markup. 2005-01-15 12:25:47 +00:00
ru
0e1d4dc7c9 Use lists where appropriate. 2005-01-15 12:24:49 +00:00
ru
3d85fc9b03 A shorter version of the format string. 2005-01-15 12:24:26 +00:00
ru
73b05940f1 Fixed macro abuse. 2005-01-15 12:23:59 +00:00
ru
c71a57d3ca Markup style. 2005-01-15 11:22:13 +00:00
ru
6417752e92 Overhaul the markup. 2005-01-15 11:12:40 +00:00
ru
94126d00b4 Markup fixes. 2005-01-14 20:23:58 +00:00
ru
e7cc3fe6d8 Markup fixes. 2005-01-14 17:22:51 +00:00
dds
9dd6141c7e Fix the pbio include file installation process and the
corresponding documentation.

Noticed by: ru
Reviewed by: ru
2005-01-14 14:18:19 +00:00
ru
2d56795677 Markup and grammar fixes. 2005-01-14 10:53:55 +00:00
ru
55782966df Markup nit. 2005-01-14 10:49:09 +00:00
ru
1b3edbd3d1 Tiny markup fixes. 2005-01-14 10:46:08 +00:00
ru
f68d2087b9 Markup fixes. 2005-01-14 10:41:05 +00:00
ru
7a0379a67c Markup fixes. 2005-01-14 10:33:39 +00:00
ru
d53a5d1142 Markup fixes. 2005-01-14 09:40:13 +00:00
ru
70a6f32223 Markup fixes. 2005-01-14 09:28:17 +00:00
ru
a8c4cacc3e "The ... function" and minor markup nits. 2005-01-13 16:46:49 +00:00
ru
edcc53cc21 Markup nits. 2005-01-13 16:37:26 +00:00
ru
e2195b8bcf Removed stray quotes. 2005-01-13 16:30:53 +00:00
ru
1d0efb6bd2 Improved markup. 2005-01-13 11:22:29 +00:00
ru
60e2749be9 Markup nits, and fix sentences to start from a capital letter. 2005-01-13 11:09:58 +00:00
ru
17b51a3306 Nits. 2005-01-13 10:10:34 +00:00
ru
007d29aae3 Nits. 2005-01-13 09:33:06 +00:00
ru
024faad271 Scheduled mdoc(7) sweep. 2005-01-12 21:48:25 +00:00
keramida
4b344b0b27 A few more mdoc fixes I missed in the suggestions of Ruslan. 2005-01-12 21:43:09 +00:00
keramida
a80074d407 Cross-reference the newly added example.9 2005-01-12 20:56:15 +00:00
keramida
4264f66616 Link mdoc/example.9 to the build. 2005-01-12 20:55:01 +00:00
keramida
aebf880d1a Add a sample manpage for section 9.
Suggested by:	simon
Reviewed by:	ru
2005-01-12 20:49:25 +00:00
ru
817a6cb022 Sort xrefs. 2005-01-12 10:22:58 +00:00
ru
a6a100526d Scheduled mdoc(7) sweep. 2005-01-12 10:14:43 +00:00
brueffer
791b211a0c - list the Hama USB RS-232 Serial Adapter as supported
- bump .Dd

PR:		76088
Submitted by:	Benjamin Lutz <benlutz@datacomm.ch>
MFC after:	3 days
2005-01-11 23:16:20 +00:00
trhodes
cc16ecf4b0 List RFCs under SEE ALSO.
PR:	46918
2005-01-11 21:08:39 +00:00
simon
1084f4d9ac Document that MODULE_DEPEND does not change runtime initialization
order.

Mostly submitted by:	scottl
Discussed on:		cvs-src/src-committers
2005-01-11 20:56:03 +00:00
ru
cae75ee299 Forgot to submit a fixed version of this script to Simon. 2005-01-10 18:54:55 +00:00
simon
7dc1b0c123 Add support files for using text from the POSIX specification in
FreeBSD manual pages:

- POSIX-copyright contains copyright text to be used in manual pages
  which has POSIX text inserted.
- deshallify.sh is a shell script which removes many of the ``shall''
  statements from the POSIX text and therefore making the text more
  readable.

Real work to make this happen by:	nectar, ru
2005-01-10 18:09:17 +00:00
keramida
82f6dbbbed mdoc style nit: "\-" should only be used to represent a minus sign.
Suggested by:	ru
2005-01-10 16:31:39 +00:00
keramida
0c3ea39ac6 /usr/lib doesn't contain only archive (ar(1) style) libraries. Shared
libraries live there too.  Also point to ar(1) which contains a nice
description of what an 'archive library' is.

PR:		docs/76056
Submitted by:	Enrique Matías Sanchez <cronopios@gmail.com>
MFC after:	3 days
2005-01-10 16:06:13 +00:00
brueffer
065a3c3266 - add the Eagle Tech NE200T
- bump .Dd
2005-01-10 09:18:09 +00:00
ru
8466f09c0d Unbreak the install. 2005-01-10 09:04:13 +00:00
imp
8e0b41a135 Finish removal of matcd 2005-01-10 08:37:01 +00:00
keramida
587dd95b4b Fix typos and add .Pp after the end of a display to separate the
displayed text from the paragraph right after it.
2005-01-09 22:49:24 +00:00
trhodes
32dbe1c9e7 Remove the meteor helper files, imp removed the driver and manual page
over a year ago.
2005-01-09 21:21:25 +00:00
ru
24bdd9ea52 Revert previous revision. Including bsd.compat.mk is necessary
both from sys.mk (to handle old knobs set in /etc/make.conf),
and from here (to handle old knobs set in individual makefiles).
2005-01-09 12:55:47 +00:00
trhodes
07cfcb7755 [NO]MAN -> NO_[MAN].
Bump doc date.
2005-01-08 09:21:35 +00:00
brueffer
3969b24d31 Remove the LSI MegaRAID SATA 150-2, this is a SiL 3112 based software RAID
device.

Submitted by:	Martin Nilsson <martin@gneto.com>
MFC after:	3 days
2005-01-08 03:07:49 +00:00
keramida
60b48ba413 Reorganize the DESCRIPTION section, using .Bl lists to separate the
descriptions of items from each other and have related things appear
in the same nesting 'level'.

The .Fn function/macro, and bump document date.

Reviewed by:	jkoshy
2005-01-07 19:41:00 +00:00
maxim
f966b643b6 Finish src part VFS_INIT.9 removal. Need to check www/. 2005-01-07 15:38:21 +00:00
keramida
d0c8626d65 The .Fn macro. 2005-01-07 14:10:59 +00:00
keramida
070993d17f The .Fn macro and addition of .Fa in the tag width of the
argument description list.
2005-01-07 14:01:08 +00:00
keramida
ae38ead4b8 - The .Fn macro and description of the struct statfs' type of sbp'.
- List of struct statfs fields that are related to file systems, much
  like the list in stat.2 for the userlevel `struct stat'.
- Bump document date.
2005-01-07 12:56:04 +00:00
keramida
96e30a8273 The .Fn macro, document `flags' argument & bump document date. 2005-01-07 12:14:43 +00:00
keramida
a0afb54e76 Trim excessively verbose sentence. 2005-01-07 12:01:11 +00:00
keramida
80e53c87a6 The .Fn macro 2005-01-07 11:45:59 +00:00
keramida
f1fcad746f Move the description of MNT_FORCE closer to mntflags and use a .Bl
list for the valid flag values.  This way, if VFS_UNMOUNT(9) supports
more flags in the future, adding a single list item is going to be
easy and all the flags are going to be in one place.
2005-01-07 11:45:11 +00:00
keramida
f0899638ba The .Fn macro. 2005-01-07 11:39:36 +00:00
keramida
d09528619a There is no VFS_INIT(9).
Approved by:	phk
2005-01-07 11:34:05 +00:00
keramida
16244e418e The VFS_MOUNT() macro expects only 2 arguments in the nmount world
(since revision 1.173 of src/sys/sys/mount.h).

Update its prototype, the argument list description and bump the date.
2005-01-07 10:57:33 +00:00
keramida
e5f635beeb Use a .Bl -tag list instead of plain .Pp paragraphs for describing the
macro arguments expected by SYSCALL_MODULE().

MFC after:	3 days
2005-01-07 09:02:40 +00:00
keramida
d79468da20 Fix time-travel bug.
Noticed by:	krion
2005-01-07 09:00:19 +00:00
keramida
4469698b50 Avoid overusing "these" by breaking a long sentence in 2 smaller ones.
MFC after:	3 days
2005-01-07 08:51:10 +00:00
keramida
cfc971c33a Convert the descriptions of module versions to an explicit list and
note that these versions numbers refer to moddepend, not the current
module.

MFC after:	3 days
2005-01-07 08:44:31 +00:00
keramida
09dd50f15c Syntax nit.
MFC after:	3 days
2005-01-07 08:31:09 +00:00
cperciva
69e3b33000 Point out that tsleep(... , 0) is not permitted if the Giant lock is not
held.  (It causes a "sleeping without a mutex" assertion failure in
msleep.)

MFC after:	3 days
2005-01-07 02:41:45 +00:00
keramida
d48e9e9ea1 Use .Fn function_name
MFC after:	3 days
2005-01-06 17:33:38 +00:00
keramida
ffcbf9596c Use .Fn function_name
MFC after:	3 days
2005-01-06 17:25:11 +00:00
keramida
93963ed8d5 Properly cross-reference pccard(4).
MFC after:	3 days
2005-01-06 17:19:56 +00:00
keramida
a45c3571b3 - Use .Fn for marking up function-like macro names.
- Improve the wording in a few places.
- Add the email address of Doug Rabson in the AUTHORS section.
- Link to devfs(5) with an .Xr

MFC after:	3 days
2005-01-06 17:17:29 +00:00
keramida
0656c5b050 . Use a .Bl list for describing macro arguments.
. Various wordign fixes.
. Bump document date.

MFC after:	3 days
2005-01-06 17:16:01 +00:00
keramida
1d4742efe6 . Use a -tag instead of an -inset list, which makes the arguments of the
macro stand out more clearly.
. Various other wording fixes.
. Bump document date.
2005-01-06 17:14:21 +00:00
keramida
09400f2d09 Use .Fn function_name.
MFC after:	3 days
2005-01-06 17:11:56 +00:00
keramida
7eafabc241 Add missing .It in list tag.
MFC after:	3 days
2005-01-06 17:08:51 +00:00
keramida
96aac8e900 Fix .Nd description and bump document date.
MFC after:	3 days
2005-01-06 17:07:57 +00:00