Commit Graph

5427 Commits

Author SHA1 Message Date
John Baldwin efd39a2f76 mtx_try_enter() returns an int, not void. 2001-02-02 00:49:17 +00:00
Ruslan Ermilov d0353b836e mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
Julian Elischer c4b5eea4e2 Add the ability to declare ore-ride methods on a per-hook basis
for the rcvdata() and rcvmsg() methods.

Also bring the man page up to sync with my last commit. (and this one)
2001-01-31 20:46:00 +00:00
Ben Smithurst d13241e146 Document the mpsafe argument to callout_init().
PR:		24529
Submitted by:	harti brandt <brandt@fokus.gmd.de>
Reviewed by:	jlemon
2001-01-31 12:17:45 +00:00
Julian Elischer 1acb27c64a Implement direct support for semipersistant nodes.
(e.g. ethernet nodes are persistent until you rip out the hardware)
Use this support in the ethernet and sample nodes.
Add some more abstraction on the 'item's so that  node and
hook reference counting can be checked easier.
Slight man page correction.
Make pppoe type dependent on ethernet type.
Clean up node shutdown a little.
Move a mutex from MTX_SPIN to MTX_DEF (oops)
Fix small ref-counting bug.
remove warning on one2many type.
2001-01-30 20:51:52 +00:00
Brian Somers afcf65b56b Allow the output of /etc/security to be logged or mailed to different
users in line with ${daily,weekly,monthly}_output using a new
$daily_status_security_output variable.

PR:	24643
2001-01-30 10:24:18 +00:00
Dag-Erling Smørgrav f5fccbbcb4 Style police.
Submitted by:	ru
2001-01-29 08:59:30 +00:00
Julian Elischer d30293b3ff Add a new distribution algorythm to the 'one2many' node type.
The new method is 'flood' (in addition to the old round-robin)
in which incoming packets are sent to more than one outgoing hook.
(I'm not sure what Rogier is using this for but it seems generally useful
and isn't much extra)

Submitted by:   Rogier R. Mulhuijzen (drwilco@drwilco.net )
2001-01-28 15:37:06 +00:00
Dag-Erling Smørgrav ea48868bf6 Add MLINKS for sbuf_clear() and sbuf_overflowed(). 2001-01-28 00:19:10 +00:00
Dag-Erling Smørgrav e499b74df0 Document the changes in subr_sbuf.c rev. 1.2. 2001-01-28 00:18:54 +00:00
Dag-Erling Smørgrav 0aa028ffe9 Add a man page for the zone allocator. 2001-01-27 19:13:08 +00:00
Julian Elischer 99fb5c821a correct documentation to match code. 2001-01-26 11:36:46 +00:00
Ben Smithurst f9a2828541 remove reference to nonexistent ugen(4) manual page.
PR:		24622
Submitted by:	Ernst de Haan <ernst@jollem.com>
2001-01-25 10:44:06 +00:00
Ruslan Ermilov f28291801d Mdoc(7)ify the previous revision. 2001-01-24 09:45:19 +00:00
Ruslan Ermilov 9aa16122c1 mdoc(7) police: fixed some minor formatting/spelling errors. 2001-01-24 09:41:17 +00:00
Matt Jacob fad5d2b1f8 Hmm. This must be a first. The man page was updated *before* the source.
Correct some slight inaccuracies in the man page.
2001-01-23 23:24:48 +00:00
John Baldwin ef7b803dcd - Activate runqueue.9, scheduler.9, and sleepqueue.9 along with appropriate
MLINKS.
- Update MLINKS for mi_switch.9.
2001-01-23 19:38:45 +00:00
John Baldwin 8861ba5bc8 Catch up to the new way that the scheduling code works since the original
SMPng commit.  Also document the new cpu_throw function (currently only
on i386).

Reviewed by:	sheldonh
2001-01-23 19:28:14 +00:00
John Baldwin 969843e476 Document the various functions and variables used by the current
scheduler code.  Includes a rough description of the various priority
values stored in struct proc as well as priority propagation.

Reviewed by:	chris
2001-01-23 19:26:21 +00:00
John Baldwin 533ef7852a Document the current organization and helper functions used to implement
the sleep queues used by msleep/wakeup and friends.

Submitted by:	sheldonh
2001-01-23 19:24:35 +00:00
John Baldwin 40abbce7a6 Document the current organization of the run queues and the various
functions used to manage them.

Reviewed by:	sheldonh
2001-01-23 19:23:42 +00:00
Ruslan Ermilov d4b2ddba44 mdoc(7) police: use macros wherever possible, remove hard sentence breaks. 2001-01-22 13:08:59 +00:00
Ruslan Ermilov fb7912f8ba Prepare for mdoc(7)NG. 2001-01-22 10:44:54 +00:00
Doug Barton f8c1282a0b Add the options of which cron program to run, and specifying flags
to it.

PR:		conf/24358
Submitted by:	Gerhard Sittig <Gerhard.Sittig@gmx.net>
2001-01-21 20:57:38 +00:00
Jason Evans d1c1b8413e Remove MUTEX_DECLARE() and MTX_COLD. Instead, postpone full mutex
initialization until after malloc() is safe to call, then iterate through
all mutexes and complete their initialization.

This change is necessary in order to avoid some circular bootstrapping
dependencies.
2001-01-21 07:52:20 +00:00
Ruslan Ermilov c5083414f8 mdoc(7) police: removed leading whitespaces that are not inside
Bd/Ed; these hardly degrade the quality of the produced output.
2001-01-19 14:15:40 +00:00
Jun-ichiro itojun Hagino cf2e52f3de BSD/OS was called BSD/386 prior to 2.0. 2001-01-19 07:36:36 +00:00
Ruslan Ermilov 404d68d48f mdoc(7) police: add missing .Ed call. 2001-01-18 17:23:15 +00:00
Ben Smithurst cb507c094f remove reference to nonexistent screenmap(5) manual page.
PR:		24305
Submitted by:	Marco van de Voort <marcov@stack.nl>
2001-01-18 11:59:01 +00:00
Ruslan Ermilov 9c48887207 mdoc(7) police:
Use proper macros for variables and their types, removed
hard sentence breaks, added a bunch of cross references.
2001-01-18 09:42:50 +00:00
Jeroen Ruigrok van der Werven 047efaadd5 Add a smal line of text which indicates I am working on updating
this.  <almost exactly 6 years after Garrett>
2001-01-18 07:19:25 +00:00
Andrey A. Chernov 4d18cd83d1 Add Greek collate
PR:		24324
Submitted by:	past@netmode.ntua.gr
2001-01-17 16:47:28 +00:00
Andrey A. Chernov c6257e4afd Add Greek keyboard
PR:		24324
Submitted by:	past@netmode.ntua.gr
2001-01-17 16:27:47 +00:00
Andrey A. Chernov 51347d4e77 Add iso07 fonts
PR:		24324
Submitted by:	past@netmode.ntua.gr
2001-01-17 15:57:22 +00:00
Andrey A. Chernov 74d7bac3c7 Add Greek support
PR:		24324
Submitted by:	past@netmode.ntua.gr
2001-01-17 13:43:20 +00:00
Andrey A. Chernov fd4d93e56c Add Greek support
PR:		24324
Submitted by:	past@netmode.ntua.gr
2001-01-17 13:30:16 +00:00
Ben Smithurst 6164dd8137 document ${KERNEL}
PR:		24404
Submitted by:	Mike Meyer <mwm@mired.org>
2001-01-17 11:51:43 +00:00
Ben Smithurst 92fbe861c6 Actually add build.7 to the Makefile, 2 months late.
PR:		24405
Submitted by:	Mike Meyer <mwm@mired.org>
2001-01-17 11:11:02 +00:00
John Baldwin a0d195d235 sysinstall.8 lives in src/usr.sbin/sysinstall now and gets installed via
normal means, so remove the hack to install it.
2001-01-17 03:33:04 +00:00
Ruslan Ermilov e207e465df Prepare for mdoc(7)NG. 2001-01-16 09:32:40 +00:00
Ruslan Ermilov 9431f1fc08 Prepare for mdoc(7)NG. 2001-01-16 09:24:36 +00:00
Ruslan Ermilov 55f4342b4e mdoc(7) police: use .Fa for function arguments, use .Vt for variable type. 2001-01-16 08:53:04 +00:00
Jason Evans 238510fc46 Implement condition variables. 2001-01-16 01:00:43 +00:00
Ruslan Ermilov 8fbaa337ac man(7) -> mdoc(7). 2001-01-15 17:54:19 +00:00
Ruslan Ermilov ba9b8036bd Simplify some mdoc(7) constructs. 2001-01-15 17:22:16 +00:00
Mark Murray 47608b56e1 Add a missing argument for SYSCTL_ADD_OPAQUE.
Fix the examples at the end which were horribly broken.
2001-01-14 16:43:41 +00:00
Duncan Barclay 63b1256c9e Correct a typo in a product name.
Pointed Out By: ru
2001-01-13 23:50:52 +00:00
Chris Costello 3c5969ca27 The prototype for cpu_switch() was changed in revision 1.111 of
<sys/proc.h>

PR:		24311
Submitted by:	Robert Drehmel <robert@gizmo.quizbot.org>
2001-01-13 19:00:49 +00:00
Chris Costello d7a0ba44f9 o Clear up explanations of various entries (includes spelling, grammar,
punctuation, and explanations that are just plain wrong)
o Add missing entries
o Remove entries for directories that do not exist

Submitted by:	Rich Morin <rdm@cfcl.com> (for the most part)
2001-01-13 18:38:00 +00:00
Ben Smithurst 4f38ddf643 fix typo; file -> files
Submitted by:	Alexey Dokuchaev <danfe@inet.ssc.nsu.ru>
2001-01-13 17:49:34 +00:00
Ben Smithurst 69c0804d32 Only install sysinstall.8 if the release/sysinstall directory exists. This
fixes the world for people without src-release.

PR:		24122
Submitted by:	Steven G. Kargl <kargl@apl.washington.edu>
2001-01-13 05:50:19 +00:00
Ruslan Ermilov a05c0d110e Oops, the previous did not work with current mdoc(7). 2001-01-12 16:02:58 +00:00
Ruslan Ermilov b77b3c00be mdoc(7) police: Ft/Vt now accept punctuation-type arguments. 2001-01-12 15:46:56 +00:00
Duncan Barclay b89157597f Add manual for ray driver.
Reviewed by:	ru
2001-01-11 22:38:10 +00:00
Archie Cobbs ed3ebc7c4d Add these key bindings for tcsh users in interactive mode:
bindkey "^W" backward-delete-word
    bindkey -k up history-search-backward
    bindkey -k down history-search-forward

Reviewed by:    -current
2001-01-10 17:35:28 +00:00
Ruslan Ermilov adefd3f66c Fixed mdoc(7)NG warnings introduced in the previous revision. 2001-01-09 15:20:58 +00:00
Julian Elischer 30400f03aa Part 2 of the netgraph rewrite.
This is mostly cosmetic changes, (though I caught a bug or two while
makeing them)
Reviewed by:	archie@freebsd.org
2001-01-08 05:34:06 +00:00
Julian Elischer 069154d55f Rewrite of netgraph to start getting ready for SMP.
This version is functional and is aproaching solid..
notice I said APROACHING. There are many node types I cannot test
I have tested: echo hole ppp socket vjc iface tee bpf async tty
The rest compile and "Look" right.  More changes to follow.
DEBUGGING is enabled in this code to help if people have problems.
2001-01-06 00:46:47 +00:00
Maxim Sobolev e0a5f02bc3 Add getenv(3) and setenv(3) into ``See also'' section. 2001-01-01 23:26:54 +00:00
Ben Smithurst b216577963 Install sysinstall.8 as part of buildworld.
PR:		19818
Submitted by:	Brian Candler <B.Candler@pobox.com>
2001-01-01 23:17:11 +00:00
Ben Smithurst b4660c3783 Remove comma after final .Nm entry before .Nd 2000-12-30 18:58:15 +00:00
Ben Smithurst 83c1fbc27f Remove CIRCLEQ manual page links now that CIRCLEQ has been axed. 2000-12-30 18:54:35 +00:00
Alexey Zelkin f5ad3be5c6 Get rid of deprecated ru_SU.* locales. ru_RU.* will be used instead. 2000-12-29 14:58:35 +00:00
Ruslan Ermilov 4263595653 Prepare for mdoc(7)NG. 2000-12-29 14:08:20 +00:00
Poul-Henning Kamp 24b85d18c5 CIRCLEQs are a disgrace to everything Knuth taught us in Volume 1 Chapter 2.
Retire them before anybody starts to use them again.

Use TAILQ instead, it provides the same functionality.
2000-12-29 09:55:40 +00:00
Ruslan Ermilov 3136363f3e Prepare for mdoc(7)NG. 2000-12-29 09:18:45 +00:00
Ben Smithurst 97948d2dee fix typos.
PR:		23934
Submitted by:	Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>
2000-12-29 01:58:47 +00:00
Ben Smithurst 265733aa2d Add some text saying that this page may occasionally be out of date with the
real make.conf.
2000-12-29 01:54:39 +00:00
Peter Wemm e36a59f7a7 Add $FreeBSD$ 2000-12-29 01:23:57 +00:00
Ruslan Ermilov 1f4335a6c5 Mdoc(7)ify. 2000-12-28 16:18:43 +00:00
Dag-Erling Smørgrav c4b267dc7e Retire kernfs (userland part). 2000-12-28 12:59:57 +00:00
Bosko Milekic f73f120bec Change M_WAIT to M_TRYWAIT, the new name of the flag. 2000-12-24 03:08:17 +00:00
Mike Smith 730fe95ed4 Merge vendor/device information from another database, but keep the
current format.  The new database also has subvendor/subdevice ID
information, which we aren't using for now.  This adds 272 new vendors
and 376 new device identifiers, as well as cleaning out some of the
bad entries in the previous revision.

We now combine data from:
	http://www.yourvote.com/pci
	http://members.hyperlink.com.au/~chart/pci.htm
2000-12-22 10:17:37 +00:00
Warner Losh 6715fca911 o Add cardbus support (use pci attachment for now)
<bde>
o Add comments in some places to clarify some points.
o Don't typedef sc_p.  This isn't usually done in the drivers and may
  cause problems in teh future if C goes the C++ route of requiring
  one and only one definition for each and every type.  Instead use
  the current convetion of expanding struct ${1}_softc * inline needed.
o change some comments to be more style(9)-like.
o Define and use DEV2SOFTC to encapsulate storing/getting softc from a
  dev_t.  This also takes care of the missing cast from the examples.
o Define and use DEVICE2SOFTC, similar to DEV2SOFTC for getting the
  softc from a device_t.
</bde>

We still should have this generate foo_{isa,pci,pccard,cardbus,eisa}.c
and foovar.h from templates of some sort, but I was too lazy to do
that in this commit.  I did document it in the comments, however.

Note: bde-like corrections made with the help of my my portable
plastic bde icon.  Results with the real bde may vary with use.
2000-12-18 21:08:53 +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
Wolfram Schneider 6aec809c4d Added BSD/OS 4.2 2000-12-17 18:44:42 +00:00
Wolfram Schneider 8ae86891d1 Added NetBSD 1.5 2000-12-17 11:50:33 +00:00
Wolfram Schneider ea930425b9 Added releases dates for BSD/OS
Added BSD/OS releases up to 4.1

Submitted by: seebs@plethora.net (Peter Seebach), Jeff Polk <polk@BSDI.COM>

BSDI -> BSD/OS
Reorder 4.4BSD Lite2
2000-12-17 11:46:54 +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
Dag-Erling Smørgrav 7892746ed4 Add a reference to the fetch(3) man page. 2000-12-10 13:24:41 +00:00
Bruce Evans 247ff8f1e5 Actually install pci_vendors. 2000-12-10 08:06:36 +00:00
David E. O'Brien 1a37aa566b Add `_PATH_DEVZERO'.
Use _PATH_* where where possible.
2000-12-09 09:35:55 +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
Jason Evans aabafca098 Do not check for existence of ${_dir}/kern/ , because for modules that set
.PATH to ${.CURDIR}/[...]/kern , the "exists" expression will fail for the
form exists(${.CURDIR}/[...]/kern/).  This appears to be happening because
make is searching for the argument to "exists" by using .PATH rather than a
relative search, because .PATH and the argument match at the beginning.
Additionally, make appears to consider a path that starts with ${.CURDIR}
as relative, even though it expands to an absolute path.

The reason that most people aren't seeing this problem is that the absolute
paths of /usr/src/sys and /sys are also searched, so as long as the kernel
source can be found in at least one of those places, no problems surface.
This problem was inadvertently introduced on 1 December 2000, with the
addition of the sysvipc modules.
2000-12-08 20:36:32 +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