Commit Graph

1107 Commits

Author SHA1 Message Date
David Malone
83676de9d5 Add a man page for the kernel part of bpf. I made some edits to the
man page after Orla, so the mistakes are probably mine. Leave a
note on the door welcoming the mdoc police.

Submitted by: Orla McGann <orly@cnri.dit.ie>
2004-05-19 20:39:22 +00:00
Lukas Ertl
d8a224e86b An access count change is a prerequisite for doing I/O, so
change 'or' to 'and'.

Pointed out by:  pjd@
2004-05-18 12:37:47 +00:00
Lukas Ertl
a2d7d4d7c6 These hyphens don't need to be escaped.
Pointed out by:  pjd@
2004-05-18 12:36:12 +00:00
Lukas Ertl
797bac4b53 Fix spelling errors (I forgot that one in my last commit of GEOM man pages). 2004-05-18 12:12:07 +00:00
Lukas Ertl
eaad868d16 Update several GEOM related manual pages:
*) Fix spelling errors.
  *) Better english.
  *) Re-phrasing.

Not Reviewed by:  pjd (one week timeout)
Approved by:      grog (mentor)
2004-05-18 11:33:37 +00:00
Hiten Pandya
11053af551 Add rman_get_device(9) to SYNOPSIS, .Nm and MLINK it to
rman(9).
2004-05-17 21:25:02 +00:00
Hiten Pandya
a1bd700ab1 mdoc(7) police:
* remove an extra comma at the end of the .Nm list
2004-05-14 16:57:27 +00:00
Warner Losh
1c1bc2f7f7 Add some verbage over the difference between BUS_ADD_CHILD and
device_add_child.  The former calls the latter.

Pointed out by: jhb
2004-05-13 20:54:49 +00:00
Warner Losh
a1013c5773 o Add cautions about multiple adds of the device
o Remove setting the description of the device (that is more properly done in
  probe).
o Remove setting the driver, as it is unnecessary
o Add pseudo code to ensure that the device isn't added to the tree already.
o remove some now unreferenced routines
2004-05-13 20:31:05 +00:00
Warner Losh
cf39dca90c Add caveats about adding devices in the IDENTIFY context. 2004-05-13 20:29:40 +00:00
Warner Losh
aebc6093f9 The DEVICE_IDENTIFY man page refers to this, create a dummy one
directing people to device_add_child.
2004-05-13 20:28:18 +00:00
Hiten Pandya
2db6331792 Add a comma after `e.g.', so that mdoc does not add two whitespaces
automatically.

Noticed by: 	Ruslan Ermilov <ru at FreeBSD.org>
2004-05-11 14:13:52 +00:00
Hiten Pandya
2b55fc2e9c Document the 'fdidx' argument of VOP_OPEN(9).
PR:          	56911
Noticed by: 	Jun Su <junsu@m-net.arbornet.org>
2004-05-10 23:17:09 +00:00
Hiten Pandya
b188a3eb74 Correct misinformation, vm_map_remove(9) is the `exported' version of
vm_map_delete(9), not vm_map_remove(9).
2004-05-05 10:59:50 +00:00
Hiten Pandya
d5a8819cb7 mdoc(7) police:
* correctly place parenthisized sentences
	* remove hard sentence breaks
	* use .Vt instead of .Fn
2004-05-05 10:47:19 +00:00
Hiten Pandya
34e82feb02 Make the manual page consistent and add a cross-reference to wakeup(9). 2004-05-05 10:01:06 +00:00
Maxim Konovalov
6c0137067b o Document m_getcl(9).
Submitted by:	Gleb Smirnoff
MFC after:	2 weeks
2004-05-04 14:53:34 +00:00
Maxim Konovalov
01e7fdafa7 o Add a missed description for m_free(9).
Optained from:	NetBSD
MFC after:	1 week
2004-04-28 14:53:49 +00:00
Ruslan Ermilov
ab92d65550 Make whatis(1) happy. 2004-04-16 06:26:09 +00:00
Mark Murray
a8bd95a571 Do a style fixup on the example function. 2004-04-15 07:24:10 +00:00
Warner Losh
565e9d9bc4 Move advise from DEVICE_PROBE.9 about where to probe children. 2004-04-11 06:37:50 +00:00
Warner Losh
a545630488 Document more clearly that a probe routine:
Should have no side effects
	Must not hold resources when it returns
	May be called multiple times if it returns < 0.

Remove the bad advise that the probe routine should look for children
for devices that implement busses.  This is more properly reserved for
the attach routine.
2004-04-11 06:37:21 +00:00
Colin Percival
2c1bb20746 Introduce a callout_drain() function. This acts in the same manner as
callout_stop(), except that if the callout being stopped is currently
in progress, it blocks attempts to reset the callout and waits until the
callout is completed before it returns.

This makes it possible to clean up callout-using code safely, e.g.,
without potentially freeing memory which is still being used by a callout.

Reviewed by:	mux, gallatin, rwatson, jhb
2004-04-06 23:08:49 +00:00
Mark Murray
dccd431fa6 Fix some syntax errors in examples. These were discovered when trying
to follow the examples concerned.
2004-04-06 20:16:10 +00:00
Ruslan Ermilov
df4956d2a4 - Overdue bump of the document date.
- Fixed markup.
- Minor wordsmithing.
2004-04-06 19:49:21 +00:00
Ruslan Ermilov
f48cbcdecc Assorted mdoc(7) fixes. 2004-04-01 07:54:27 +00:00
Mike Silbersack
bdf861859a Fix last commit to conform to mdoc style.
Submitted by:	hmp
2004-04-01 07:36:56 +00:00
Mike Silbersack
a61bc764ce Document the m_defrag function. (Mostly copied from the description
in uipc_mbuf.c)
2004-04-01 06:50:21 +00:00
Bruce M Simpson
0c22b2b981 Add David Young's descriptive text for the radiotap interface.
Add David Young to copyright comments.
2004-03-31 02:57:30 +00:00
Hiten Pandya
bc216e3cd2 Mdoc Police:
* Use .Fa instead of .Pa for function arguments.

	* Utilize the .Po/.Pc commands for parenthesis
	  so the format is not ruined.

Inspired by: pjd's last commit to this file
2004-03-29 19:42:21 +00:00
Pawel Jakub Dawidek
449dfbbc83 Note that we can pass NULL as 4th argument for copystr() and copyinstr()
functions.

With little mdoc(7) help from:	hmp
2004-03-29 19:23:45 +00:00
Pawel Jakub Dawidek
030f6f3558 The topology lock is not needed for g_error_provider() function.
Discussed with:	phk
2004-03-24 15:12:17 +00:00
Pawel Jakub Dawidek
67e4206588 Added a note, that g_access() function cannot failed when dc[rwe] <= 0. 2004-03-24 14:42:26 +00:00
Pawel Jakub Dawidek
06bb88dcb2 Functions:
- g_new_geomf(),
	- g_new_providerf(),
	- g_new_consumer()

cannot failed (by returning NULL), so don't scare programmers.
2004-03-24 14:25:46 +00:00
Nate Lawson
bdffb39f34 Add bus_alloc_resource_any(9), which does bus_alloc_resource() with the
appropriate default values.  Document it in the manpage.

Submitted by:	Mark Santcroos <marks@ripe.net>
Reviewed by:	imp, dfr, bde
Abstains:	bde
2004-03-17 17:40:34 +00:00
Don Lewis
ec0791be40 Change len pararmeter from u_int to size_t.
Document vslock() return values.
2004-03-15 10:05:27 +00:00
John Baldwin
bf0e60bbbb Rewrite sleepqueue manpage to catch up to the new sleep queue interface. 2004-03-12 19:07:18 +00:00
Pawel Jakub Dawidek
378f3f5a17 mdoc(7): New sentence should start on new line.
Pointed out by:	hmp
2004-03-11 22:22:03 +00:00
Pawel Jakub Dawidek
8217df6de8 Add reference to the g_access(9) manual page. 2004-03-11 19:53:22 +00:00
Pawel Jakub Dawidek
9e5681745a Connect g_access(9) to the build. 2004-03-11 19:51:14 +00:00
Pawel Jakub Dawidek
dde2befebc Add manual page for g_access(9) GEOM function. 2004-03-11 19:23:48 +00:00
John Baldwin
f5531a094d - Document cv_broadcastpri().
- Remove references to cv_waitq_*() as they no longer exist.
2004-03-10 15:57:25 +00:00
Bruce M Simpson
017b3034bd Update pmap_pinit(9) to reflect pmap_pinit2() removal by alc. 2004-03-08 15:07:14 +00:00
Josef El-Rayes
2cd7fe4dc1 Document kernel functions securelevel_gt and securelevel_ge.
Approved by:            simon(mentor)
Submitted by:           Christian S.J. Peron <maneo@bsdpro.com>
PR:                     docs/62331
mdoc(7) cleanup by:     ru
2004-03-07 15:22:08 +00:00
Joseph Koshy
9cfa00a649 Link in contigmalloc(9) to the build. 2004-03-06 08:01:16 +00:00
Joseph Koshy
d7f29ce72b Cross-reference contigmalloc(9). 2004-03-06 02:13:03 +00:00
Joseph Koshy
c4e99bb025 A manual page for contigmalloc(9).
Reviewed by:	ru
2004-03-06 02:09:17 +00:00
Warner Losh
4eebf56527 Add warning about loading/unloading drivers and identify 2004-03-05 22:21:18 +00:00
Ruslan Ermilov
3cea578f5a This interface doesn't return any values.
Submitted by:	Mark Santcroos
2004-03-05 16:38:01 +00:00
Bruce M Simpson
904fd6bae5 Fix a typo. 2004-03-05 02:50:28 +00:00