Commit graph

2102 commits

Author SHA1 Message Date
Bosko Milekic f73f120bec Change M_WAIT to M_TRYWAIT, the new name of the flag. 2000-12-24 03:08:17 +00:00
Julian Elischer 589f6ed8ce Divorce the kernel binary ABI version number from the message
format version number. (userland programs should not need to be
recompiled when the netgraph kernel internal ABI is changed.

Also fix modules that don;t handle the fact that a caller may not supply
a return message pointer. (benign at the moment because the calling code
checks, but that will change)
2000-12-18 20:03:32 +00:00
John Baldwin aea5b8ffe1 Catch up to the changes to the kthread API. 2000-12-15 20:39:35 +00:00
Ruslan Ermilov 88544700ca mdoc(7) police: added missing .Os call. 2000-12-14 13:58:15 +00:00
Ruslan Ermilov d003b7796c mdoc(7) police: removed duplicate .Os calls. 2000-12-14 12:40:48 +00:00
Ruslan Ermilov ed40311694 mdoc(7) police: removed history info from the .Os FreeBSD call. 2000-12-14 11:52:05 +00:00
Sheldon Hearn 67e35919d6 Grammar fix. 2000-12-14 09:36:49 +00:00
Ruslan Ermilov 1405da432e mdoc(7) police: add a missing .Os, change the list type to ``tagged''. 2000-12-14 08:55:32 +00:00
John Baldwin ea84acd6ad Document the MA_RECURSED and MA_NOTRECURSED assertion flags as well as
the MTX_QUIET flag.
2000-12-13 23:30:43 +00:00
Dag-Erling Smørgrav 863edaec4d Add sbuf(9) man page with links to API function names.
Reviewed by:	ru
2000-12-13 19:53:37 +00:00
Assar Westerlund 9a6f618efe document TUNSIFINFO, TUNGIFINFO, TUNSIFPID, TUNSIFHEAD, TUNGIFHEAD 2000-12-13 13:40:42 +00:00
Julian Elischer 859a4d166c Reviewed by: Archie@freebsd.org
This clears out my outstanding netgraph changes.
There is a netgraph change of design in the offing and this is to some
extent a superset of soem of the new functionality and some of the old
functionality that may be removed.

This code works as before, but allows some new features that I want to
work with and evaluate. It is the basis for a version of netgraph
with integral locking for SMP use.

This is running on my test machine with no new problems :-)
2000-12-12 18:52:14 +00:00
Ruslan Ermilov 965061ea67 mdoc(7) police: Add a missing .Os. 2000-12-12 15:38:44 +00:00
Archie Cobbs e449cfc4c7 Document /usr/include/isc.
Noticed by:	ru
2000-12-12 05:19:10 +00:00
Ruslan Ermilov d7b336c076 mdoc(7) police: use canonical form of .Dd macro. 2000-12-11 15:47:53 +00:00
Ruslan Ermilov d41608a89c Document /usr/include/netnatm and /usr/share/sendmail. 2000-12-11 13:41:57 +00:00
John Baldwin baeb94c70d Fix some nits in the globs used to describe the various sets of atomic
operations.

Submitted by:	jake, jasone
2000-12-08 22:10:28 +00:00
Archie Cobbs 894fbb6682 Fix typo.
Submitted by:	Ben Smithurst <csxbcs@comp.leeds.ac.uk>
2000-12-08 21:01:47 +00:00
Marcel Moolenaar d50575082a Add Linuxulator manpage. Derived from i386 version. 2000-12-08 02:52:26 +00:00
Marcel Moolenaar f9e5924cbe The osfulator can be compiled-in now:
o  add kernel option to the synopsis.
o  remove "only as module" from bugs.

Reviewed by: sheldonh
2000-12-08 02:49:01 +00:00
Sheldon Hearn 27b7ba4bb1 Fix bogon in previous commit, whereby the contents of SUBDIR were lost
in the assignment of man4.alpha!

This prevented the man4.i386 pages from being installed.

Reported by:	Masayuki FUKUI <fukui@sonic.nm.fujitsu.co.jp>
2000-12-06 08:45:03 +00:00
Nik Clayton 3cfa3ff7a1 Add make.conf(5). 2000-11-30 12:10:18 +00:00
Nik Clayton 8786063f1f Typo police. 2000-11-29 14:27:20 +00:00
Sheldon Hearn bbb6bd4e0e Looks like my last round of suggestions didn't make it in. Fix invalid
cross-references.
2000-11-29 10:29:28 +00:00
Mark Newton 4657706b8a Add streams(4) and svr4(4) to man4.i386 Makefile (yes, I know this should
have happened with the last commit).
2000-11-29 09:53:22 +00:00
Mark Newton 0553a1b07b Introduce svr4(4) and streams(4).
Reviewed by:	sheldonh
2000-11-29 09:50:11 +00:00
Sheldon Hearn e2d7360d81 Fix invalid comments. 2000-11-27 14:28:35 +00:00
Daniel Harris b13034ed0f compatability -> compatibility
PR:		23112
Submitted by:	Jimmy Olgeni <olgeni@uli.it>
2000-11-26 23:43:15 +00:00
Jeroen Ruigrok van der Werven 0d59faf64a Document EI_OSABI and EI_ABIVERSION.
Requested by: obrien
2000-11-24 10:42:21 +00:00
Ben Smithurst 47f77d8c57 Mention mergemaster(8).
Submitted by:	obrien
2000-11-24 10:22:08 +00:00
Daniel C. Sobral 232095104e Add a brief warning about devclass and multiple device driver attachments. 2000-11-23 17:19:54 +00:00
Ben Smithurst 7c20a49391 Use a more generic name for the compiler cross-reference. (cc instead of
gcc.)

Suggested by:	sheldonh (not sholdonh)
2000-11-23 14:44:45 +00:00
Ben Smithurst a81996b6b8 * Say that ps, top, etc, "may not work" with the new kernel, rather than
"will not work", as in many cases they will.

Suggested by:	sholdonh

* Add cross-references to reboot(8) and shutdown(8)
2000-11-23 14:19:50 +00:00
Ben Smithurst 3faf5fc932 Add an example to explain the basic procedure to build the world.
Suggested by:	obrien
2000-11-23 14:00:26 +00:00
David E. O'Brien 5e514c64f7 Remove "NODESCRYPTLINKS" it has been superseeded by "passwd_format"
in /etc/login.conf.
2000-11-22 20:37:40 +00:00
Alexey Zelkin 950c15fcef o fix a typo in copyright part: mdoc comment starts with .\", not ,\"
o few mdoc(7) fixes

PR:		docs/13218
2000-11-22 18:00:50 +00:00
Alexey Zelkin fd3e41837b remove bogus Xref to lsdev(8)
PR:		docs/13218
2000-11-22 17:57:44 +00:00
Ruslan Ermilov b92a189eb9 mdoc(7) police: Er macro usage cleanup. 2000-11-22 16:11:48 +00:00
Ben Smithurst 786aa69adc Add two new manual pages to document the various options available in
make.conf, and the /usr/src building process.

PR:		22676
Submitted by:	Mike Meyer <mwm@mired.org>
Reviewed by:	nik, sheldonh
2000-11-22 14:04:26 +00:00
Ruslan Ermilov 68161b6b7d mdoc(7) police: fixed typo. 2000-11-22 13:49:11 +00:00
Ruslan Ermilov ea3d1f093f mdoc(7) police: add the missing and required .Dd macro call. 2000-11-22 13:31:01 +00:00
Ruslan Ermilov f4d874a1db mdoc(7) police: do not split author names in the AUTHORS section. 2000-11-22 09:35:58 +00:00
Ruslan Ermilov 2ba69799de Make An macro understand two special arguments, -nosplit
and -split.  See the mdoc.samples(7) manpage for details.

Reviewed by:	sheldonh
2000-11-22 08:39:17 +00:00
Ruslan Ermilov ae9fd6288c mdoc(7) police: minor cleanup. 2000-11-22 08:19:15 +00:00
Alfred Perlstein a0ae47cd48 Install DELAY(9). 2000-11-22 03:44:55 +00:00
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
Josef Karthauser e77c53b0be Correction: 'use vars ..' not 'use var'.
Submitted by:	des
2000-10-17 15:50:22 +00:00
Josef Karthauser fa0be99954 Build and install the perl.style(7) manual page. 2000-10-17 15:33:29 +00:00
Josef Karthauser e79ac7ee3a Reclarify variable definition blocks.
Ask programmers to use modules where possible instead of reinventing
  the wheel.
Use 'chomp' not 'chop' please.
Fixup some mdoc.
2000-10-17 15:32:57 +00:00
Roger Hardiman 0eed4af9fa Fix error in sample code in the man page 2000-10-17 08:27:18 +00:00
Josef Karthauser 3194300995 An initial draft of a style guide for perl scripts in the tree. 2000-10-17 02:51:03 +00:00
Mark Murray 67297998c8 Add a man page for part of the PRNG API. 2000-10-14 16:16:42 +00:00
David E. O'Brien c13ded1868 Add `isoC-99' to the list of availble abbreviations. 2000-10-11 19:30:41 +00:00
Joseph Koshy 1f49176099 Minor doc tweaks: reorder the "SEE ALSO" section alphabetically; add
punctuation.
2000-10-11 10:46:12 +00:00
Archie Cobbs a3fef8df1c Minor clarification about the "bypass" hook. 2000-10-10 20:07:11 +00:00
Poul-Henning Kamp f6b5c74c35 Initiate deorbit burn sequence for <machine/mouse.h>.
Replace all in-tree uses with <sys/mouse.h> which repo-copied a few
moments ago from src/sys/i386/include/mouse.h by peter.
This is also the appropriate fix for exo-tree sources.

Put warnings in <machine/mouse.h> to discourage use.
November 15th 2000 the warnings will be converted to errors.
January 15th 2001 the <machine/mouse.h> files will be removed.
2000-10-09 08:08:36 +00:00
Poul-Henning Kamp 00d25f512c Initiate deorbit burn sequence for <machine/console.h>.
Replace all in-tree uses with necessary subset of <sys/{fb,kb,cons}io.h>.
This is also the appropriate fix for exo-tree sources.

Put warnings in <machine/console.h> to discourage use.
November 15th 2000 the warnings will be converted to errors.
January 15th 2001 the <machine/console.h> files will be removed.
2000-10-08 21:34:00 +00:00
Alexander Langer 278108f1f8 Give the post-fix example a better description.
PR:		21646
Submitted by:	"Peter Pentchev" <roam@orbitel.bg>
2000-10-07 14:34:26 +00:00
Brian Somers e6e7337683 Index: Makefile
===================================================================
RCS file: /home/ncvs/src/share/man/man9/Makefile,v
retrieving revision 1.75
diff -u -r1.75 Makefile
--- Makefile	2000/09/17 12:15:12	1.75
+++ Makefile	2000/10/06 23:24:26
@@ -69,6 +69,8 @@
 MLINKS+=make_dev.9 destroy_dev.9
 MLINKS+=malloc.9 FREE.9 malloc.9 MALLOC.9 malloc.9 free.9
 MLINKS+=mi_switch.9 cpu_switch.9
+MLINKS+=namei.9 NDINIT.9
+MLINKS+=namei.9 NDFREE.9
 MLINKS+=posix4.9 p1003_1b.9
 MLINKS+=psignal.9 gsignal.9 psignal.9 pgsignal.9
 MLINKS+=rtalloc.9 rtalloc1.9 rtalloc.9 rtalloc_ign.9
2000-10-06 23:29:11 +00:00
Archie Cobbs c74e4702c0 .Os FreeBSD instead of just plain .Os
Submitted by:	ru
2000-10-06 19:47:00 +00:00
Alexander Langer 2aac89be6d * I don't think that ed-devices are still "high performance ethernet device"s. Change that to "ethernet device".
* Update synopsis for the new config-style: just "device ed".

* PCI and PC Card devices are also supported.
2000-10-06 19:44:09 +00:00
Darren Reed 7a76642f3c This brings support for IP Filter into rc.network and rc.conf with
the appropriate documentation added to rc.conf(5).  If all goes well
with this over the next few weeks, the PR will be closed with the
pullup of patches back to 4-STABLE.

PR:		20202
Submitted by:	Gerhard Sittig <Gerhard.Sittig@gmx.net>
Reviewed by:	Darren Reed <darrenr@freebsd.org>
Approved by:	Darren Reed <darrenr@freebsd.org>
Obtained from:	Gerhard Sittig <Gerhard.Sittig@gmx.net>
2000-10-06 12:24:45 +00:00
Paul Saab e8af5965e2 Correct who pioneered the accept filters and Yahoo!'s company name. 2000-10-06 10:51:24 +00:00
Ruslan Ermilov 25139dab53 Add missing escape sequences, -mdoc'ify. 2000-10-06 08:40:52 +00:00
Ruslan Ermilov f38ca148a6 Simple -mdoc fixes. 2000-10-06 08:33:43 +00:00
Archie Cobbs 0df7bc0fe3 Man page for the ichsmb SMBus controller driver. 2000-10-06 00:10:31 +00:00
Scott Long d6d17952ae The aac driver manual page
Reviewed by:	sheldonh@freebsd.org
2000-10-05 20:44:17 +00:00
Scott Long 7ddb84c9ba Add the manual page for the aac device.
Reviewed by:	sheldonh@freebsd.org
2000-10-05 20:42:42 +00:00
Bill Paul bd57768e0f Add the card ID for the Am79c975 PCnet/FAST III card. This is a variant
of the Am79c973 with "AlertIT Technology," whatever that is. Also mention
support for the PCnet/FAST III cards in the documentation. The
PCnet/FAST III chips have integrated 10/100 PHYs.
2000-10-05 19:40:19 +00:00
Sheldon Hearn 803516cb70 Mention pccard_beep.
Requested by:	sanpei
2000-10-05 07:22:58 +00:00
Brian Somers 944fae23f3 Add a unaligned_print option (alpha only)
Document osf1_enable

Submitted by:	Eric D. Futch <efutch@nyct.net>
PR:		21649
2000-10-04 18:58:46 +00:00
Mark Ovens b6cd2dbdc5 Change macros Em -> Dv.
Also removed hard sentence breaks introduced in my last commit.

Suggested by:	sheldonh
2000-10-03 22:51:27 +00:00
Bill Paul e0b8bc252f Add support for the AMD Am79c976 PCnet/PRO controller chip. For now
this just involves adding the chip ID to the supported list: the PCnet/PRO
is compatible with the PCnet/FAST+ and friends and should "just work"
with this driver.

Also try to handle mbuf allocation failures in the receive handler
more gracefully.
2000-10-03 18:11:36 +00:00
Søren Schmidt 6a0bf19b38 Update with all the new chipsets.. 2000-10-03 15:29:44 +00:00
Murray Stokely 05f976924e Fix typo : s/maintaince/maintenance/ 2000-10-03 07:38:41 +00:00
Archie Cobbs 2573be5c84 Add reference to file /usr/share/examples/netgraph/ether.bridge. 2000-10-01 21:17:27 +00:00
Mark Ovens 9ac7e0f1e2 SC_ALT_MOUSE_IMAGE is required for the mouse if SC_NO_FONT_LOADING or
VGA_NO_FONT_LOADING are used.

PR:		21626
Submitted by:	Vivek Khera <khera@kciLink.com>
2000-09-30 16:25:28 +00:00
Brian Feldman d29b305125 Document passwd_format further. 2000-09-30 00:37:44 +00:00
Ruslan Ermilov 3ea420e391 Document that net.inet.ip.fw.one_pass only affects dummynet(4).
Noticed by:	Peter Jeremy<peter.jeremy@alcatel.com.au>
2000-09-29 08:39:06 +00:00
Julian Elischer c43d7a219b Bring this a bit more up to date.
Remove the entire copy of ip_fw.h and just point readers at it as it
gets out of date..
Add mentions of dummynet and the fwd actions.

Still to do: Whoever did the 'stateful' stuff might mention it..
2000-09-29 06:55:02 +00:00
Mark Ovens 5042562822 Change paths, /modules -> /boot/kernel in FILES section
PR:		21635
Submitted by:	Mike Meyer <mwm@mired.org>
2000-09-29 01:53:39 +00:00
Mark Ovens 1c27a12286 Fixed broken path /etc/mailer.conf -> /etc/mail/mailer.conf
PR:		21586
Submitted by:	tim@desert.net
2000-09-27 07:46:14 +00:00
Mark Murray 4f1249a812 Huge improvement to the mutex man page.
o Document all the mutex calls, not just the entry and exit.

o Fix the mtx_t typedef (now is struct mtx).
2000-09-25 11:21:49 +00:00
Mark Murray 16aa79c236 Remove references to the defunct kern.timecounter.method sysctl variable. 2000-09-25 11:18:51 +00:00
Alexey Zelkin 2006c179e2 Document 'libusb' option for .Lb macro 2000-09-22 14:36:06 +00:00
Bill Paul 44ac671856 Make some small line-break tweaks.
Submitted by:	Sheldon Hearn
2000-09-21 20:43:15 +00:00
Robert Watson 28994ea06f o Bring VOP_GETACL(9) and VOP_GETEXTATTR(9) man page "LOCKS" sections in
sync with the implementation.  Vnode locks *are* required for these
  operations, as some underlying implementations will require them.

Obtained from:	TrustedBSD Project
2000-09-21 18:51:48 +00:00
Bill Paul 73334a4329 Add a new driver for the AMD PCnet/FAST, FAST+ and Home PCI adapters.
Previously, these cards were supported by the lnc driver (and they
still are, but the pcn driver will claim them first), which is fine
except the lnc driver runs them in 16-bit LANCE compatibility mode.
The pcn driver runs these chips in 32-bit mode and uses the RX alignment
feature to achieve zero-copy receive. (Which puts it in the same
class as the xl, fxp and tl chipsets.) This driver is also MI, so it
will work on the x86 and alpha platforms. (The lnc driver is still
needed to support non-PCI cards. At some point, I'll need to newbusify
it so that it too will me MI.)

The Am79c978 HomePNA adapter is also supported.
2000-09-20 17:30:22 +00:00
Brian Somers df470af5f8 Put temporary output in ${TMPDIR:-/tmp}
If $<basedir>_output is not set, don't redirect output

PR:	21395
2000-09-19 22:15:00 +00:00
Archie Cobbs e653127edf NGM_BPF_{G,S}ET_FILTER should be NGM_BPF_{G,S}ET_PROGRAM. 2000-09-19 21:34:43 +00:00
Mark Ovens 081cb6b302 Added missing .It macros
PR:		21215
Submitted by:	Osamu MIHARA
2000-09-18 23:00:15 +00:00
Alexander Langer 77f3abec92 Reference DRIVER_MODULE.9 2000-09-17 12:20:08 +00:00
Alexander Langer 72f8c78baf Add DRIVER_MODULE.9, the manual page describing the kernel driver
declaration macro.
Thanks to Sheldon for a big patch with language/mdoc fixes.

Reviewed by:	asmodai, sheldonh
2000-09-17 12:15:12 +00:00
Poul-Henning Kamp 0aa16c1a77 Fix a cut&paste mistake. 2000-09-16 14:37:41 +00:00
Brian Somers 9ed55d1192 Another overhaul of the periodic stuff.
All periodic sub-scripts <larf> now have their return codes interpreted
by periodic(8).  Output may be masked based on variable values in
periodic.conf.

It's also now possible to email periodic output to arbitrary addresses,
or to send it to a log file, examples of which can be found in
newsyslog.conf.

The upshot of it all should be no discernable changes to the default
behaviour of periodic(8).

PR:	21250
2000-09-14 17:19:15 +00:00
Ruslan Ermilov e30177e024 Follow BSD/OS and NetBSD, keep the ip_id field in network order all the time.
Requested by:	wollman
2000-09-14 14:42:04 +00:00
Julian Elischer 5dccc9f05b Fix small typo in sample code.
Submitted by: Jean-Marc Zucconi <jmz@FreeBSD.org>
2000-09-13 13:37:48 +00:00
David Malone ef01ff6408 Add kbdmap.5 to build.
Refer to kbdmap(5) from a few man pages.
Remove it from TODO list.
Add missing FreeBSD tags.

PR:		19260
2000-09-13 09:16:57 +00:00
Jake Burkholder e66ccea4a1 Add scant documentation for msleep. 2000-09-11 00:52:31 +00:00
David Malone 8f53d1f12d pmcd_value is actually a quad_t. 2000-09-10 14:35:20 +00:00
Jason Evans 0384fff8c5 Major update to the way synchronization is done in the kernel. Highlights
include:

* Mutual exclusion is used instead of spl*().  See mutex(9).  (Note: The
  alpha port is still in transition and currently uses both.)

* Per-CPU idle processes.

* Interrupts are run in their own separate kernel threads and can be
  preempted (i386 only).

Partially contributed by:	BSDi (BSD/OS)
Submissions by (at least):	cp, dfr, dillon, grog, jake, jhb, sheldonh
2000-09-07 01:33:02 +00:00
Jacques Vidrine 248aee623c Add nsswitch support. By creating an /etc/nsswitch.conf file, you can
configure FreeBSD so that various databases such as passwd and group can be
looked up using flat files, NIS, or Hesiod.

= Hesiod has been added to libc (see hesiod(3)).

= A library routine for parsing nsswitch.conf and invoking callback
  functions as specified has been added to libc (see nsdispatch(3)).

= The following C library functions have been modified to use nsdispatch:
    . getgrent, getgrnam, getgrgid
    . getpwent, getpwnam, getpwuid
    . getusershell
    . getaddrinfo
    . gethostbyname, gethostbyname2, gethostbyaddr
    . getnetbyname, getnetbyaddr
    . getipnodebyname, getipnodebyaddr, getnodebyname, getnodebyaddr

= host.conf has been removed from src/etc.  rc.network has been modified
  to warn that host.conf is no longer used at boot time.  In addition, if
  there is a host.conf but no nsswitch.conf, the latter is created at boot
  time from the former.

Obtained from:	NetBSD
2000-09-06 18:16:48 +00:00
David E. O'Brien 1a3ad32399 The kernel is now known as `kernel.ko' and it and its matching modules
live in ``/boot/kernel/''.
2000-09-06 17:51:31 +00:00
Sheldon Hearn 9c13074187 Add a missing article. 2000-09-01 13:06:57 +00:00
Ruslan Ermilov 03b34269aa `ip_id' now expected in host byte order when IP_HDRINCL is in use. 2000-09-01 12:37:11 +00:00
Archie Cobbs aebf2d1dee New netgraph node type for Ethernet bridging. 2000-09-01 01:37:25 +00:00
Sheldon Hearn 04d234a3cf Apply common line-breaking to the previous delta. 2000-08-30 08:07:06 +00:00
Mike Smith e312f62103 Update the amr.4 manpage for changes in the driver. 2000-08-30 08:00:36 +00:00
Bill Paul 5809aaba67 Update xl(4) man page to mention a whole bunch of supported cards,
including the 3c556 and 3c556B.
2000-08-28 21:25:37 +00:00
Doug Rabson 21c58b8d40 Document kobj_class_compile_static(). 2000-08-28 21:17:46 +00:00
Sheldon Hearn b24e6a5a39 Whitespace-only change: fix hard sentence breaks in previous commit. 2000-08-28 10:11:56 +00:00
Alexey Zelkin b166438d50 Apply fixes from NetBSD to bring this manual page into reallity.
Inspired by: ru & 4.4BSD Design and Implementation
Obtained from: NetBSD
2000-08-28 09:27:28 +00:00
Sheldon Hearn 7e8d13394d Replace the thumb-suck phrase "system call vector translation" with
something that people who like tomato juice prefer.
2000-08-25 08:18:50 +00:00
Sheldon Hearn 735a59b412 Whitepace-only: normalize line-breaking. 2000-08-24 09:33:44 +00:00
Sheldon Hearn 16c6835275 Import the new linux(4) manual page, which will be useful when the
linux(8) utility and manual page go away.
2000-08-24 07:29:04 +00:00
Sheldon Hearn 2735f2ae1e Miscellaneous fixes:
amr -> Nm
	Cross-reference the AUTHORS section properly.
2000-08-23 09:17:53 +00:00
Sheldon Hearn 969e972b5d Normalize the diagnostics list. 2000-08-23 09:13:56 +00:00
Sheldon Hearn e4f1873c64 Miscellaneous fixes:
* Clear extraneous argument to the Os macro.
  * Place the name description on the Nd line.
  * Mark sub-sections up with Ss, not Sh.
  * Don't double-quote "Login" when "login prompt" is perfectly
    good English.
2000-08-23 09:05:19 +00:00
Sheldon Hearn 4ffd01a1a2 Whitespace-only change: normalize line-breaking. 2000-08-23 08:57:59 +00:00
Sheldon Hearn 4f713f8b4d Misc: mlx -> Nm 2000-08-23 08:52:43 +00:00
Sheldon Hearn 3750188ad2 Whitespace-only changes: split over-long lines. 2000-08-23 08:50:34 +00:00
Sheldon Hearn 51f63d32df Normalize diagnostics list. 2000-08-23 08:47:26 +00:00
Sheldon Hearn f60eac6f5d Whitespace-only change: apply normal line breaking style. 2000-08-23 08:42:42 +00:00
Sheldon Hearn 437697e7c7 Miscellaneous fixes: mly -> Nm and eg. -> e.g. . 2000-08-23 08:35:07 +00:00
Sheldon Hearn 367022ebe2 Normalize the diagnostics list. 2000-08-23 08:33:21 +00:00
Sheldon Hearn e9d412af6b Whitespace-only change: apply normal line-breaking style. 2000-08-23 08:22:22 +00:00
Mike Smith 521fcafefe Add a manpage for the new 'mly' driver. 2000-08-23 03:24:32 +00:00
Bill Paul c1e6727a77 Mention that the LinkSys LNE100TX v4.0/4.1 is supported. 2000-08-23 00:44:23 +00:00
Bill Paul a4a8dc7443 Mention that the Netgear FA311 is supported as well as the FA312. 2000-08-23 00:41:44 +00:00
Jeroen Ruigrok van der Werven 7847690b9d The Internet isn't by a long shot just DARPA anymore. Reflect reality.
Inspired by:	-current mailinglist
2000-08-22 15:29:04 +00:00
Sheldon Hearn 26007eb801 Document ibcs2_loaders and provide a default for it in
etc/defaults/rc.conf .
2000-08-18 09:37:50 +00:00
Nick Sayer 83e6c3a401 Remove the warning about recording on the Solo. The workarounds appear
to clear up the hwptr problems.
2000-08-17 18:30:59 +00:00
Sheldon Hearn a948e10a1c Clear extraneous arguments to the name (Nm) macro.
Mark PRISON_ROOT and EPERM as defined values (Dv).
2000-08-17 08:17:16 +00:00
Mark Murray 58ea82758e Mention more functions in the headers so whatis(1) can find them, and
create links to functions so added found.
2000-08-16 19:53:38 +00:00
Mark Murray dfea8241e6 Grammar police; make the English style more consistent throughout,
and give suser_xxx some more airtime.
2000-08-16 19:52:03 +00:00
Mark Murray 38bd736e76 Grammar police; "has been written by" --> "was written by". 2000-08-15 15:23:46 +00:00
Mark Murray 4fea914dda Improve the cross-references. 2000-08-15 15:14:13 +00:00
Mark Murray 3e36b6ef41 Fix grammar and a function name. 2000-08-15 15:09:13 +00:00
Sheldon Hearn cd529d800f Fix nit in previous delta: trailing punctuation arguments to mdoc
macros must be whitespace separated.
2000-08-15 07:36:08 +00:00
Archie Cobbs 81e88a0696 Document three new control messages. 2000-08-15 01:17:44 +00:00
Gregory Neil Shapiro 2216e2a2cd Complete migration of aliases file to /etc/mail/aliases.
The maintainers of share/examples/diskless/README.TEMPLATING and mergemaster
have been contacted so those may be updated as well.
2000-08-13 18:38:58 +00:00
Hajimu UMEMOTO 8ad6d022ca Add output of per battery information to apm(1).
New ioctl APMIO_GETPWSTATUS is introduced.

Reviewed by:	-mobile and -current folks (no objection)
2000-08-13 17:05:27 +00:00
Greg Lehey 3345a38272 Correct path name.
Submitted-by:	Crist J. Clark	<cjclark@alum.mit.com>
2000-08-13 07:48:32 +00:00
John Polstra 30a77b76ff Make the word "ldconfig" a bona fide cross-reference, and clarify
that this option has an effect only during system start-up.

Submitted by:	sheldonh
2000-08-11 17:15:37 +00:00
Sheldon Hearn 669a846df8 Fix hard sentence break and inappropriate use of the Pa macro in
the previous delta.
2000-08-11 08:12:44 +00:00
John Polstra 297bb90667 Describe ldconfig_insecure. 2000-08-11 04:20:30 +00:00
Bill Fumerola dbc777e3f2 1000bassT -> 1000baseT 2000-08-10 19:47:32 +00:00
Nick Sayer aef2860eef Document support for the Solo 1.
Requested by: sheldonh
2000-08-10 15:01:01 +00:00
Brian Somers 2fb35bc311 Correct a typo
Spotted by: Jimmy Olgeni <olgeni@uli.it>
2000-08-10 00:26:50 +00:00
Brian Somers e2323071e6 Allow a ppp_user specification to run ppp at startup
PR:		20258
2000-08-10 00:13:02 +00:00
Mike Smith d8981a2913 Update to mention support for 6x000 series controllers. 2000-08-08 18:50:33 +00:00