654 Commits

Author SHA1 Message Date
alex
085bf061f4 Add a manpage for the DEV_MODULE kernel macro. 2001-03-11 17:30:08 +00:00
alex
7620114ca9 Use type of modeventhand_t for the event handler (defined in module.h).
Add a reference to module(9) for more info about the event handler.
2001-03-11 17:07:20 +00:00
alex
93f23e8292 Fix brain damage: s/CDEV_MODULE/DEV_MODULE/ 2001-03-11 16:52:17 +00:00
alex
6610a558f7 Add MODULE_DEPEND.9 and MODULE_VERSION.9 2001-03-11 14:42:38 +00:00
alex
fc8e179d62 Add a manpage for the MODULE_DEPEND macro. 2001-03-11 14:33:34 +00:00
alex
227b97706e Add a manpage for the MODULE_VERSION macro. 2001-03-11 14:33:15 +00:00
alex
22925ff281 Add calls to MODULE_VERSION and MODULE_DEPEND to the EXAMPLE. 2001-03-11 14:18:23 +00:00
alex
a8d215e3c1 Cross references between the DEVICE_*(9) manual pages. 2001-03-10 19:53:38 +00:00
alex
369d42d428 Add references to the various DEVICE_*(9) manpages, otherwise people
don't even know about these.
2001-03-10 19:42:26 +00:00
alex
af8db25151 Add DEVICE_IDENTIFY.9 2001-03-10 19:37:27 +00:00
alex
68ca2c53a3 Add a manpage for the last of the driver's functions, the identify
routine.

PR:		18654
Submitted by:	myself (reworked today)
2001-03-10 19:34:42 +00:00
alex
11a9fa5bfe Two mdoc fixes:
- .Os is used without "FreeBSD" nowadays.
- remove hard sentence breaks.
2001-03-10 19:12:46 +00:00
bp
e9b6e3c42c Add documentation for mchain API.
Reviewed by:	asmodai, ru (mbchain.9)
2001-03-10 06:10:48 +00:00
alex
8080165a1b Add module.9 and DECLARE_MODULE.9 2001-03-09 14:16:46 +00:00
alex
4b52e64a12 Add a general manpage about kernel modules, similar to driver(9).
Reviewed by:	dfr, ru
2001-03-09 14:12:43 +00:00
alex
06c771f80f Add a manpage for the kernel macro DECLARE_MODULE.
Reviewed by:	dfr, ru
2001-03-09 14:11:56 +00:00
jhb
61d1517c16 Document the ithread_* API used to manage interrupt threads and their
list of handlers.
2001-03-09 03:30:20 +00:00
jhb
b1aac95920 Add 2001 to copyright. 2001-03-09 03:17:18 +00:00
jhb
4664d7c8cc - Add 2001 to copyright.
- Kthread functions return an error status, they don't set errno to an
  error status.
- Remove the BUGS section as all the bugs listed have been fixed now.
2001-03-09 03:09:30 +00:00
markm
58f4338eb4 Grammar police. 2001-03-06 10:19:12 +00:00
markm
f0fcbd1ff4 Fix markup.
Submitted by:	ru
2001-03-06 10:08:36 +00:00
ru
f42631d99b mdoc(7) police: Use Vt for variable types. 2001-03-06 08:22:10 +00:00
jhb
72b9c05ef5 Adjust swi.9 MLINKS to catch up to the new swi API. 2001-03-05 23:48:38 +00:00
jhb
1e5bfa2386 Catch up to the new swi API. 2001-03-05 23:47:34 +00:00
jasone
cd006e6a5c Implement shared/exclusive locks.
Reviewed by:	bmilekic, jake, jhb
2001-03-05 19:59:41 +00:00
markm
4ad8ae0ca1 Extra MLINKS to reflect expansion of BUS_SETUP_INTR(9) manpage. 2001-03-03 14:19:39 +00:00
markm
272222aea8 Add a whole lot of extra info. Lots was gained from reading code
or comments, and some is as a result of simply documenting the
entropy harvester.

This still needs work: could a newbus guru pleazse follow up
and fix.extend my (no doubt) obvious mistakes!
2001-03-03 14:13:53 +00:00
ru
df8b1abba5 mdoc(7) police: in -offset clause, spell the ``indent'' correctly. 2001-03-02 09:38:50 +00:00
ru
2d4d97b177 Fix the rest of formatting. 2001-03-02 08:09:19 +00:00
imp
105d968610 Add link for resource_query_unit, now documented in the
resource_query_string man page.
2001-03-02 04:32:50 +00:00
imp
fa03534383 Flesh out this man page a bit more. Add information about
resource_query_unit and improve the descriptions of the parameters
passed to these functions.

Plus a couple minor formatting/markup changes:
o Quote -1 as \-1.
o .Dq hints to match resource_int_value().
2001-03-02 04:30:16 +00:00
asmodai
20155d87d9 Correct English used. 2001-03-01 09:37:38 +00:00
ru
028bd93906 Numerous formatting/content fixes. 2001-03-01 09:11:16 +00:00
asmodai
d202e7235d Hook Warner's resource_* manpages to the build.
This includes appropriate MLINKS for the other functions contained
within them.
2001-03-01 09:06:57 +00:00
asmodai
65a378a0df Remove leading . from .Nd description. 2001-03-01 09:02:01 +00:00
asmodai
ad9a725f7e Fix typo: the the -> to the. 2001-03-01 09:01:43 +00:00
imp
b3f8c9cab9 Document the resource_*_value and resource_query_string families of
functions.  These man pages likely need some markup work, so I've
specifically not added them to the Makefile yet.
2001-03-01 04:28:40 +00:00
ben
c2f1a1810b Expand
if ((foo = bar()) != 0)

to
	foo = bar();
	if (foo != 0)

Submitted by:	phk
2001-02-21 20:43:55 +00:00
ben
855f3f1d18 Don't suggest
if (error = function(a1, a2))

since it causes a warning with -Wall.  Change it so it has an explicit test
against zero,

	if ((error = function(a1, a2)) != 0)
2001-02-21 12:10:19 +00:00
ru
b69ecef78b mdoc(7) police: sanitize previous revision changes. 2001-02-16 09:05:48 +00:00
bmilekic
778f80298c Document recently-implemented m_getm(). 2001-02-16 03:23:04 +00:00
bde
5655168b87 Fixed bitrot in synopsis. The Lite2 change from int to u_long for ioctl
command numbers had not reached here.
2001-02-15 12:54:34 +00:00
bde
c68f867ba3 Fixed rotted-as-committed pseudo-prototype for VFS_CHECKXP(). It had not
caught up with the changes to avoid storing socket addresses in mbufs,
although the VFS_CHECKEXP() code had to since it was committed 2 years
after those changes.

Fixed formatting in this prototype.
2001-02-15 12:41:44 +00:00
bde
38a7348ede Fixed bitrot in synopsis (some const poisoning had not reached here). 2001-02-15 12:27:11 +00:00
bde
f8f709338a Fixed missing and wrong includes in synopsis. The prerequisites for
using bus_alloc_resource(), etc., are especially unobvious, but were
especially wrong (<sys/resource.h> has nothing to do with the resources
documented here...).  Order and format the includes as correctly as
possible (a layering violation makes <machine/bus.h> a prerequisite for
<sys/rman.h>).
2001-02-15 12:21:44 +00:00
bde
096a6c0dc7 Fixed missing include in synopsis.
Added evil #define of ACCEPT_FILTER_MODULE to synopsis.  Some of
the functions defined in this man page aren't declared unless
ACCEPT_FILTER_MOD is defined before including <sys/socketvar.h>.
2001-02-15 11:58:38 +00:00
bde
4cfcac144d Fixed missing and/or wrong and/or extra includes in synopsis. 2001-02-15 11:47:31 +00:00
ru
de1cfc6d8f mdoc(7) cleanup. 2001-02-12 10:56:50 +00:00
bmilekic
0f9122defa Catch up to mutex API changes. 2001-02-12 03:14:57 +00:00
ru
5addfd60d6 mdoc(7) police: Change -filled displays (which just happen
to be the same as -ragged in the current implementation) to
-ragged.  With mdocNG, -filled displays produce the correct
output, formatted and justified to both margins.
2001-02-07 13:45:30 +00:00