Commit Graph

1907 Commits

Author SHA1 Message Date
Alfred Perlstein
0b0d531efb Document the DELAY() function. 2000-11-22 03:38:32 +00:00
Bosko Milekic
5d4050cc5d Add description of M_WRITABLE macro and new M_RDONLY flag. Try my best to
conform to line break mdoc FreeBSD standards, although I am new to this.

Reviewed by: sheldonh
2000-11-21 22:29:31 +00:00
Mark Murray
a28724c2c2 Add new man page to the mix. 2000-11-21 20:31:51 +00:00
Mark Murray
6323c703f7 Whitespace-only change. Tidy up, alphabetise and wrap. 2000-11-21 20:28:48 +00:00
Mark Murray
5855006767 Add a consistent API to a feature that most modern CPUs have; a fast
counter register in-CPU.

This is to be used as a fast "timer", where linearity is more important
than time, and multiple lines in the linearity caused by multiple CPUs
in an SMP machine is not a problem.

This adds no code whatsoever to the FreeBSD kernel until it is actually
used, and then as a single-instruction inline routine (except for the
80386 and 80486 where it is some more inline code around nanotime(9).

Reviewed by:	bde, kris, jhb
2000-11-21 19:55:21 +00:00
Ruslan Ermilov
a8e0cb75cc mdoc(7) police: fixed the section reference to the mdoc.samples(7). 2000-11-21 08:12:23 +00:00
Ruslan Ermilov
4b66483fd8 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 18:41:33 +00:00
Sheldon Hearn
88927276f9 Document the libcompat entry for the .Lb macro.
Submitted by:	phantom
2000-11-20 16:14:08 +00:00
Sheldon Hearn
3d8a8abc28 Fix bug in rev 1.7:
Use a paragraph marker (Pp) instead of a blank line.
2000-11-20 16:06:00 +00:00
Sheldon Hearn
7061ab237b Fix a bug that's survived since rev 1.1:
Don't mark the word "file" up as a pathname in "/etc/group file".  For
the sake of consistency with rev 1.18, use Nm instead of "Pa /etc/group"
and break "file" onto the next line.
2000-11-20 16:05:09 +00:00
Sheldon Hearn
82bad969b8 Fix problems introduced in rev 1.16:
* Hard sentence break.

* Using Nm for the file in the first paragraph made the use of Pa in the
  second paragraph look silly.
2000-11-20 16:01:50 +00:00
Sheldon Hearn
1692a4f147 Fix problems introduced in rev 1.18:
* Broken (sectionless) cross-reference to nsswitch.conf.
* Trailing whitespace.
2000-11-20 15:56:22 +00:00
Sheldon Hearn
54c7f1620a Connect the new man4.alpha to the build. 2000-11-20 13:16:44 +00:00
Sheldon Hearn
1b2da3b0e4 Document the osf1 module.
Submitted by:	gallatin
2000-11-20 12:59:08 +00:00
Sheldon Hearn
5cd66fd5a0 Fix broken cross-reference to linprocfs(5). 2000-11-20 12:49:11 +00:00
Ben Smithurst
aabbf63eef Fix typo; s/demon/daemon/
PR:		22955, 22956
Submitted by:	Jimmy Olgeni <olgeni@uli.it>
2000-11-20 10:15:38 +00:00
Ben Smithurst
d641426e5a Fix typo.
PR:		22923
Submitted by:	Jimmy Olgeni <olgeni@uli.it>
2000-11-18 20:19:26 +00:00
Ben Smithurst
f414612af0 Fix typos.
PR:		22922
Submitted by:	Jimmy Olgeni <olgeni@uli.it>
2000-11-18 20:18:34 +00:00
Ben Smithurst
7a41bbd47b Fix another typo.
PR:		22924
Submitted by:	Jimmy Olgeni <olgeni@uli.it>
2000-11-18 20:16:47 +00:00
Ruslan Ermilov
218d216271 mdoc(7) police: eliminate warnings. 2000-11-17 15:40:57 +00:00
Ruslan Ermilov
251c176f41 mdoc(7) police: use certified section headers wherever possible. 2000-11-17 11:44:16 +00:00
Ben Smithurst
0381c6e5ba Fix typos.
PR:		22901, 22902
Submitted by:	Jimmy Olgeni <olgeni@uli.it>
2000-11-17 09:16:29 +00:00
Ben Smithurst
d5c58b9b78 fix typo; compliment -> complement.
PR:		22840
Submitted by:	Jimmy Olgeni <olgeni@uli.it>
2000-11-16 12:19:19 +00:00
Ben Smithurst
3e8a697e32 remove trailing fullstop from SEE ALSO.
Reviewed by:	grog
2000-11-16 11:42:11 +00:00
Archie Cobbs
6e8d625628 New netgraph node type ng_one2many(4). 2000-11-16 05:58:33 +00:00
Archie Cobbs
c3427a5cc8 Add ichsmb.4 to the list. 2000-11-16 03:43:56 +00:00
Alfred Perlstein
a984db451a install/build accf_* manpages 2000-11-16 00:57:52 +00:00
Alfred Perlstein
16fb0774c2 Xref accf_http and accf_data 2000-11-15 22:54:06 +00:00
Alfred Perlstein
9d6bbf9b1e Document the accf_data accept filter: "dataready" 2000-11-15 22:53:02 +00:00
Alfred Perlstein
9d3a32814d Document the accf_http accept filter "httpready". 2000-11-15 22:46:21 +00:00
Ben Smithurst
6fe89339b9 remove fullstops from the end of .Xr lines in SEE ALSO sections. 2000-11-15 16:00:07 +00:00
Ben Smithurst
b02eeb5c33 Add a newline character at the end of this file, it was missing which
resulted in ugly errors from 'diff'.
2000-11-15 13:34:41 +00:00
Ruslan Ermilov
192d7a5f22 Spell the author's name correctly. 2000-11-14 13:43:43 +00:00
Ruslan Ermilov
b82f5db0ac Spell the des's name correctly. 2000-11-14 13:19:26 +00:00
Ruslan Ermilov
8e8536e1c2 Spell the sos's name correctly. 2000-11-14 13:09:12 +00:00
Ruslan Ermilov
b5c508fba3 Use Fx macro wherever possible. 2000-11-14 11:20:58 +00:00
Ben Smithurst
cffeda3ce2 fix a typo; abso -> also
PR:		22806
Submitted by:	Jimmy Olgeni <olgeni@uli.it>
2000-11-13 20:36:06 +00:00
John Baldwin
ab7e1991c0 Beef up the description of the kernel thread API.
Reviewed by:	sheldonh, jasone
2000-11-13 20:34:20 +00:00
John Baldwin
dc4e9f1a03 Describe the new software interrupt thread functionality.
Reviewed by:	sheldonh, jasone
2000-11-13 20:18:42 +00:00
John Baldwin
eaca618337 Add a manpage to document the atomic operations including a quick treatment
of memory barriers and the newish atomic variants that include them.

Reviewed by:	sheldonh
2000-11-13 20:08:17 +00:00
David Malone
9704bfcdfb Change a "xlint(1)" to a ".Xr lint 1" and add a reference in the see also
section.
2000-11-13 16:18:46 +00:00
Mike Pritchard
ec9a57e8ac Do not terminate the SEE ALSO section example with a period.
The cross-reference list should not be terminated with any
type of punctuation at the end of the line.

Pointed-out-by: sheldonh
2000-11-13 15:54:47 +00:00
Sheldon Hearn
6cfaa4a7de Sort NAMES section and separate Nm arguments from trailing punctuation. 2000-11-13 13:12:44 +00:00
Ben Smithurst
422d857731 * Fix inconsistency between "int" and "num"; as far as I can see they mean
the same thing in this context.
* Only include one fullstop in the SEE ALSO line.

PR:		22658
Submitted by:	Yoshihiko Sarumaru <mistral@imasy.or.jp>
2000-11-11 19:16:05 +00:00
Ruslan Ermilov
726b61ab5f Avoid use of direct troff requests in mdoc(7) manual pages. 2000-11-10 17:46:15 +00:00
Archie Cobbs
3918c80b80 Now almost all Ethernet drivers support bridging.
Noticed by:	gallatin
2000-11-10 16:58:13 +00:00
Jeroen Ruigrok van der Werven
b2a80a67da Document that the 3c905C-TX is supported aside from Dell equipment. 2000-11-10 15:35:37 +00:00
Sheldon Hearn
25f1a2e9f9 Miscellaneous content fixes:
* xref sysctl
* do not mark kern.ipc.mbuf_wait up as a function argument.
* do not mix case of function argument names
* a mbuf -> an mbuf
* if -> whether
* typos
2000-11-10 10:22:49 +00:00
Sheldon Hearn
e73145f651 Whitespace only: fix hard sentence breaks now, before people really
get stuck into this page.
2000-11-10 10:08:34 +00:00
John Baldwin
c5f3b30e68 Replace non-existent 'mtx_t' typedef'd type with 'struct mtx'. 2000-11-10 01:51:55 +00:00
Alfred Perlstein
ce900f0398 Manpage incorrectly states that STAILQ_REMOVE_HEAD takes an arg
called 'elm'.  It doesn't take an arg 'elm', it simply removes the
element at the head of the list.
2000-11-09 23:34:39 +00:00
Jeroen Ruigrok van der Werven
6913c296f7 Change .Os FreeBSD 5.0 to .Os FreeBSD.
PR:		22684
Submitted by:	Akinori YAMADA <yamada-a@nextcom.co.jp>
2000-11-09 05:05:17 +00:00
Warner Losh
322040325e Add sn to files to install 2000-11-08 06:32:40 +00:00
Warner Losh
c1ecac83cc simple sn man page, since we're missing one right now 2000-11-08 06:30:55 +00:00
Ruslan Ermilov
888bb0ddd2 Fixed typo: .ar -> .Ar 2000-11-06 15:18:56 +00:00
Ruslan Ermilov
a9a88e5db1 -mdoc cleanup: replace custom .ES/.EE macros with literal display. 2000-11-06 12:37:45 +00:00
Ruslan Ermilov
97781a0aa9 Fixed typo: .PB -> .El 2000-11-06 12:19:35 +00:00
Ruslan Ermilov
672300f7c7 Fixed typo: .SY -> .Sy 2000-11-06 09:17:44 +00:00
Sheldon Hearn
9fde3dc5ba Update the SYNOPSIS to reflect that the driver can be loaded as a module.
While here, I also updated the kernel config style, although I wouldn't
recommend doing this for the whole of section 4 yet, since our kernel
config style is still in a state of flux.
2000-11-02 14:23:53 +00:00
Bosko Milekic
bfd597212a Fixup some wrong statements in the new mbuf(9) man page.
Also introduce a bunch of (missed?) macros and functions.
This man page still needs a lot of work, most likely a re-ordering
of the macros/functions, and a more complete, more accurate, listing of
available routines.
A good and worthy start nonetheless.
2000-11-01 23:02:19 +00:00
Mike Pritchard
86907e17ce Mdoc style fixes.
PR:		docs/22445
2000-11-01 11:17:33 +00:00
John Baldwin
7e56ee52c8 Catch up to mutexes becoming MI: machine/mutex.h -> sys/mutex.h 2000-11-01 00:39:27 +00:00
Jeroen Ruigrok van der Werven
29c9277956 Fix a fundamental error. The device is not owned by the parent
bus before allocation.  The resource is.

Asked about by:	julian on -current
Verified by:	msmith
2000-10-31 13:16:47 +00:00
Scott Long
96b8a53d48 Update to reflect that the XPT device can accept path inquiry commands.
Reviewed by:	gibbs
2000-10-30 23:33:39 +00:00
Sheldon Hearn
6296795713 Whitespace only:
* Remove hard sentence breaks.
 * Remove trailing whitespace.
 * Separate macro arguments from trailing punctuation with whitespace.
2000-10-30 19:49:26 +00:00
Ruslan Ermilov
dc5a40409d Add pfil.9 manpage to build after a repository copy. 2000-10-30 09:16:18 +00:00
Poul-Henning Kamp
cf9fa8e725 Move suser() and suser_xxx() prototypes and a related #define from
<sys/proc.h> to <sys/systm.h>.

Correctly document the #includes needed in the manpage.

Add one now needed #include of <sys/systm.h>.
Remove the consequent 48 unused #includes of <sys/proc.h>.
2000-10-29 16:06:56 +00:00
Jeroen Ruigrok van der Werven
47f9d42dab Break a line more appropriately. 2000-10-29 13:37:13 +00:00
Jeroen Ruigrok van der Werven
b705e4512b Whitespace only commit. 2000-10-29 13:33:57 +00:00
Jeroen Ruigrok van der Werven
eae4fc8ef3 Update the twe manpage to correspond with the latest source changes.
Submitted by:	msmith
2000-10-29 13:31:24 +00:00
Chris D. Faulhaber
2d45aed6bc Remove obsolete /dev/drum references
Reviewed by:	alex, asmodai, billf
2000-10-29 12:19:52 +00:00
Nik Clayton
54b93a1055 RBG -> RGB
PR:		docs/21724
Submitted by:	TOGAWA Satoshi <toga@puyo.org>
2000-10-28 23:25:41 +00:00
MIHIRA Sanpei Yoshiro
33eb563d67 add PC-Card melody beep(PC Card bus, kludge version)
Original idea from:	PAO3
2000-10-28 13:35:34 +00:00
Alexander Langer
b7f4c6bf0e Use EX_USAGE in an example, as the SAME manual page describes a
few lines higher.

PR:		22371
Submitted by:	andrew@ugh.net.au
2000-10-28 10:02:23 +00:00
Jeroen Ruigrok van der Werven
8c615a5285 Add some more information to the AUTHORS section.
Remove unnecessary duplication of asr after the .Nm macro.
2000-10-28 09:56:34 +00:00
Mike Pritchard
096ed6644a Typo fix. 2000-10-27 20:55:15 +00:00
Matt Jacob
f2998370b7 update man page to reflect new support 2000-10-27 16:12:53 +00:00
Jeroen Ruigrok van der Werven
e87b9f2824 Use FreeBSD.org, not freebsd.org, as has been the precedent. 2000-10-27 16:05:39 +00:00
Jeroen Ruigrok van der Werven
90165ebba8 Please welcome the asr manpage [no, not alt.sysadmin.recovery], but
the Adaptec SCSI RAID cards.

Submitted by:	msmith, scottl, Mark Salyzyn
2000-10-27 15:54:34 +00:00
John Baldwin
7dbdc1bff4 Add in MLINKS for all of the various mutex functions to mutex.9 2000-10-26 23:54:10 +00:00
John Baldwin
2c3d0ee6f4 - Document MUTEX_DECLARE and MTX_COLD
- Clean up some minor nits
2000-10-26 23:53:12 +00:00
John Baldwin
26fdc7e05b Add a note that the spl() API is deprecated in favor of mutexes. 2000-10-26 23:30:01 +00:00
Nik Clayton
de06f907d1 Add a prototype mbuf.9 man page. Probably needs work, but it's a good
start.

PR:             docs/22053
Submitted by:   Yar Tikhiy <yar@comp.chem.msu.su>
2000-10-26 23:15:47 +00:00
Jeroen Ruigrok van der Werven
7e06ffaa30 Add and install the uscanner manpage.
Reviewed by:	n_hibma
Prodded by:	grog
2000-10-26 15:36:36 +00:00
Jeroen Ruigrok van der Werven
eddc45e797 Update @freebsd.org email addresses to @FreeBSD.org as is the
precedent.
2000-10-26 15:30:44 +00:00
Søren Schmidt
169d20b2ce Add the ATA_ENABLE_TAGS option 2000-10-25 08:25:37 +00:00
Julian Elischer
ed2f9d4e88 Change archie's and my email addresses from Whistle.com to FreeBSD.org 2000-10-24 18:01:45 +00:00
Mike Pritchard
2e283b0a0c Correct the description of a few options to reflect that commands and/or
the results that they actualy use/generate.

PR:		docs/22267
Submitted by:	SUZUKI Koichi <koich@cac.co.jp>
2000-10-24 13:54:17 +00:00
Mark Murray
e5e600c900 Add some very crude man pages to try to induce folk to work on them.
Agreed to work on them:	jasone
2000-10-24 03:33:24 +00:00
Poul-Henning Kamp
1921a06d6a Introduce the M_ZERO flag to malloc(9)
Instead of:

        foo = malloc(sizeof(foo), M_WAIT);
        bzero(foo, sizeof(foo));

You can now (and please do) use:

        foo = malloc(sizeof(foo), M_WAIT | M_ZERO);

In the future this will enable us to do idle-time pre-zeroing of
malloc-space.
2000-10-20 17:54:55 +00:00
Mike Pritchard
18157703d5 Remove bogus xref.
PR:		docs/22125
Submitted by:	Keith Jones <keith@sse0691.bri.hp.com>
2000-10-20 05:59:51 +00:00
Josef Karthauser
c5bb0e9394 Scripts should contain a comment block describing what the script does. 2000-10-19 18:18:35 +00:00
Josef Karthauser
22bbcf38a7 Reference Larry Wall's perlstyle man page, and recommend it's use where
entries in this guide don't override it.

Requested by:	markm

Comment on tabulation style.
2000-10-18 21:57:37 +00:00
Josef Karthauser
e6e692447c Use 'unless' instead of 'if (! ... )' where it improves readability. 2000-10-18 18:01:35 +00:00
Josef Karthauser
32d219825c Opening braces should be at the end of the controlling line. Else
and elsif belong on the same line as the closing brace for the
previous if or elsif block.

Suggested by:	des
2000-10-18 17:48:10 +00:00
Josef Karthauser
a2a307a14d Contract a statement that's too verbose. 2000-10-18 17:34:43 +00:00
Josef Karthauser
a669270dee There are enough examples of using 'my $var = ...' definitions, so remove
one.
2000-10-18 17:32:21 +00:00
Josef Karthauser
a4d70fdb47 All variables should be commented.
Local variables should be separated from function arguments by a
blank line.

Suggested by:	des
2000-10-18 17:25:59 +00:00
Josef Karthauser
ab6f5f0d9c Make subroutine prototypes mandatory.
The main code should be wrapped in a MAIN:{ ... } declaration.

Suggested by:	des
2000-10-18 17:21:54 +00:00
Josef Karthauser
d17bce98be Fix the places that I missed last commit: 'vars' not 'var'. 2000-10-18 17:12:07 +00:00