1382 Commits

Author SHA1 Message Date
maxim
e0f79f0a90 MFC rev. 1.13: remove LK_REENABLE and LK_NOPAUSE lockinit(9) flags,
add LK_NOSHARE.
2006-06-27 08:04:55 +00:00
rwatson
1fdce3be4a Merge sysctl.9:1.1-1.3, Makefile:1.274, sysctl_add_oid.9:1.21,
sysctl_ctx_init.9 from HEAD to RELENG_6:

  Add a basic man page for the sysctl(9) macro interfaces.  Previously man
  pages existed only for the dynamic sysctl interfaces.  There's probably
  more complete and accurate content, better advice, etc, that could be
  added here.

  Per scottl's suggest, add a small piece of moralizing text regarding the
  fact that sysctl names quickly get embedded in system configuration files,
  libraries, third party applications, and even books, so renaming and
  removing names after they've been published is a tricky issue.
--
  Fix typo.

  Submitted by:   Antoine Brodin <antoine dot brodin@laposte dot net>
--
  Fix a couple of typos and other minor nits

  Reviewed by:    rwatson
2006-06-08 23:02:15 +00:00
simon
1dfe424ccb MFC 1.2+1.3:
- Unbreak and fix markup.
- VFS_LOCK_GIANT and VFS_UNLOCK_GIANT are actually defined in sys/mount.h,
  so also include sys/mount.h in SYNOPSIS.
2006-05-27 12:58:47 +00:00
jmg
e9265d9ae0 MFC: v1.18 and v.120
Sprinkle a few stars where they belong.
2006-05-11 13:43:17 +00:00
maxim
aea92a9e0c MFC rev. 1.7: fix prototype for SYSCALL_MODULE(9).
Approved by:	re (kensmith)
2006-05-01 20:32:56 +00:00
cvs2svn
c527d79620 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2006-04-28 23:21:37 +00:00
andre
95720c6256 MFC of import of OpenBSD's sys/sys/hash.h providing generic 32bit hash functions.
Approved by:	re
2006-04-04 19:50:02 +00:00
cvs2svn
f67356168f This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2006-03-28 23:59:08 +00:00
sam
87fb33de86 MFC: promote fast ipsec's m_clone routine for public use; it is renamed
m_unshare and the caller can now control how mbufs are allocated

Approved by:	re (hrs)
2006-03-23 23:24:33 +00:00
hrs
0f63b4d607 MFC:
Fix version number when the feature was added.

Submitted by:	Yoshihiko Sarumaru (mistral at imasy dot or dot jp)
PR:		docs/93801 and docs/93803
Approved by:	re (kensmith)
2006-03-23 07:41:33 +00:00
jmg
70efe36b03 MFC: sleep.9 v1.47
>  allow timo to be 0 when mtx is not NULL (KASSERT allowed this as
>  pointed out by jhb)

Approved by:	re (scottl)
2006-02-25 21:50:20 +00:00
mlaier
91f5858c74 MFC:
firmware(9) is a subsystem to load binary data into the kernel via a
  specially crafted module.  There are several handrolled sollutions to this
  problem in the tree already which will be replaced with this.  They
  include iwi(4), ipw(4), ispfw(4) and digi(4).

Approved by: re(scottl)
2006-02-23 02:13:32 +00:00
cvs2svn
de143a5b92 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2006-02-03 01:35:37 +00:00
joel
2d6cdc2b7e MFC: s/5.5/6.0/ in HISTORY section. 2006-01-24 17:02:39 +00:00
scottl
71356689e5 MFC: another iteration in making this page match reality. 2005-12-08 01:41:54 +00:00
jhb
63eda3c6d8 MFC:
- mdoc sweep
- Use .fn to markup untimeout.
- Reword a confusing sentence.
2005-12-05 20:07:33 +00:00
jhb
9e084d0c26 MFC: Clarify when the softc is added and add a xref to DEVICE_PROBE. 2005-11-04 22:10:13 +00:00
jhb
3fe89cd406 MFC: Correct a reference to microtime that was rendered as bintime. 2005-11-04 22:08:40 +00:00
jhb
c921ab0db7 MFC: Update the critical(9) manpage including dropping references to
cpu_critical_*() as they no longer exist.

Approved by:	re (kensmith)
2005-10-14 18:34:29 +00:00
jhb
603cac3a99 MFC: Add atomic_fetchadd(9) operation for types int and 32.
Other small updates to atomic(9) include:
- Note that arm and ppc don't provide 64-bit atomic ops.
- Update sample code.

Approved by:	re (scottl)
2005-10-06 18:12:06 +00:00
rwatson
8a0d15098c Merge Makefile:1.262, namei.9:1.27, and VFS_LOCK_GIANT.9:1.1 from
HEAD to RELENG_6:

  Add discussion of Giant, the MPSAFE flag, and NDHASGIANT() to namei(9).

  Add a VFS_LOCK_GIANT(9)/VFS_UNLOCK_GIANT(9) man page.

  Discussed with: jeff

Approved by:	re (hrs)
2005-09-25 18:51:45 +00:00
keramida
754be4de67 MFC: a lot of manpage fixes from HEAD.
Approved by:	re (hrs)
2005-09-24 01:59:40 +00:00
jhb
40676a22c1 MFC: Several improvements to the manual page including mentioning that
mtx_trylock() only works with MTX_DEF mutexes.

Approved by:	re (kensmith)
2005-09-21 21:09:36 +00:00
cvs2svn
2b4d75fb47 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2005-09-21 20:08:25 +00:00
glebius
c2a779c946 MFC:
Make callout_reset() return a non-zero value if a pending callout
  was rescheduled. If there was no pending callout, then return 0.

  Reviewed by:    iedowse, cperciva

Approved by:	re (kensmith)
2005-09-12 13:43:34 +00:00
rodrigc
cbd091d33d MFC: VOP_LISTEXTATTR.9, 1.7
Update man page to reflect the fact that VOP_LISTEXTATTR
  does not return a list of ASCII NUL terminated strings.
  Instead, a list of attribute names is returned, where each
  list entry consists of one byte for the name length, followed
  by the name, without a terminating ASCII NUL.
  This in similar to change 1.17 to extattr_get_file.2

Reviewed by:	rwatson, ru
Approved by:	re (hrs)
2005-08-31 00:27:35 +00:00
keramida
0467614a12 MFC spelling fixes of several manpages.
Approved by:	re (kensmith)

The merged revisions/files are:

Revision  Path
1.10      src/lib/libarchive/archive_entry.3
1.21      src/lib/libarchive/archive_read.3
1.8       src/lib/libautofs/libautofs.3
1.10      src/lib/libc/net/inet6_rth_space.3
1.8       src/lib/libc/posix1e/acl_get_entry.3
1.15      src/lib/libc/posix1e/mac.3
1.7       src/lib/libc/posix1e/mac_prepare.3
1.37      src/lib/libc/stdtime/strftime.3
1.16      src/lib/libc/sys/kse.2
1.8       src/lib/libc/sys/uuidgen.2
1.4       src/share/man/man4/man4.i386/acpi_ibm.4
1.6       src/share/man/man4/man4.i386/acpi_panasonic.4
1.40      src/share/man/man4/man4.i386/ep.4
1.6       src/share/man/man4/man4.i386/pbio.4
1.5       src/share/man/man4/man4.i386/snc.4
1.2       src/share/man/man4/man4.sparc64/openprom.4
1.4       src/share/man/man4/man4.sparc64/snd_audiocs.4
1.11      src/share/man/man4/witness.4
1.3       src/share/man/man5/devfs.conf.5
1.51      src/share/man/man9/ifnet.9
1.7       src/share/man/man9/printf.9
1.12      src/usr.bin/file2c/file2c.1
1.27      src/usr.bin/indent/indent.1
1.17      src/usr.bin/lockf/lockf.1
1.90      src/usr.bin/make/make.1
1.45      src/usr.bin/systat/systat.1
1.19      src/usr.bin/truss/truss.1
1.33      src/usr.bin/xinstall/install.1
1.11      src/usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.8
1.4       src/usr.sbin/bluetooth/sdpd/sdpd.8
1.9       src/usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.3
1.36      src/usr.sbin/i4b/isdnd/isdnd.rc.5
1.53      src/usr.sbin/mtree/mtree.8
1.8       src/usr.sbin/ndiscvt/ndiscvt.8
1.13      src/usr.sbin/ntp/doc/ntpdc.8
1.26      src/usr.sbin/pppd/pppd.8
1.40      src/usr.sbin/syslogd/syslog.conf.5
1.5       src/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.conf.5
2005-08-18 15:01:27 +00:00
murray
f3fc5b4aa0 MFC: r1.15 - Fix typo.
Approved by:	re (kensmith)
2005-08-14 18:48:54 +00:00
sam
d1cf2bfbff MFC: m_align
Approved by:	re (kensmith)
2005-08-10 17:02:29 +00:00
brueffer
51d3b424ae MFC: rev. 1.11
Mention that the softc is zeroed after allocation.

Approved by:	re (hrs)
2005-08-06 07:26:42 +00:00
scottl
930f4f73bd MFC: Don't cross-reference VFS_START.9 anymore.
Approved by: re
2005-07-27 02:11:20 +00:00
scottl
7e373004fa MFC: Don't reference VFS_START.9 in the Makefile anymore.
Approved by: re
2005-07-27 02:10:45 +00:00
hmp
9b7585dee0 Remove the VFS_START(9) manual page because it's no longer relevant. The
entry point was removed as its only consumer was MFS.

MFC of revision 1.13 of src/share/man/man9/VFS_START.9

Approved by:	re (hrs)
2005-07-26 23:59:55 +00:00
cvs2svn
dd2adf2c10 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2005-07-11 04:14:43 +00:00
hmp
6b954a1933 Use 'manual page' instead of 'man page' for consistency.
Approved by:	re (hrs)
2005-06-28 20:15:19 +00:00
ru
9371e8fe47 Overhaul the markup.
OK'ed by:	imp
Approved by:	re (blanket)
2005-06-25 08:59:05 +00:00
ru
1c089d8fdd (Mostly) markup fixes.
Approved by:	re (blanket)
2005-06-16 18:46:17 +00:00
ru
10fbbd3d56 Assorted markup fixes and minor wordsmithing.
Approved by:	re
2005-06-15 13:31:23 +00:00
hmp
da66553c81 Add a cross-reference to the pmap_page_init(9) manual page.
Approved by:	re
2005-06-15 00:21:02 +00:00
imp
33cc47a30d Don a flack jacket and start to document the FreeBSD bus_space
implementation.  I took the NetBSD man page, and hacked it to, I hope,
to reflect the preliminary version of the bus space that Justin Gibbs
committed as part of the CAM integration in FreeBSD 3.0.

This isn't perfect, but it is better than we have now (which is, ahem,
nothing).  Please coordinate changes to the file through me through
the 6.0 release.

Approved by: re (blanket for this one file)
2005-06-14 03:40:01 +00:00
hmp
0f7cdb3916 Update prototype for function pmap_init(), it no longer has the arguments
phys_start and phys_end.

Remove a stale documentation not about dis/uncontiguous memory.

Update manual page date while I am around these ends.

Reviewed by:	alc
2005-06-10 17:19:27 +00:00
hmp
13706d36de Add manual page for newly added pmap_page_init(9) function, part of the
PMAP KPI.

Reviewed-by:	alc
2005-06-10 17:16:16 +00:00
brooks
567ba9b00a Stop embedding struct ifnet at the top of driver softcs. Instead the
struct ifnet or the layer 2 common structure it was embedded in have
been replaced with a struct ifnet pointer to be filled by a call to the
new function, if_alloc(). The layer 2 common structure is also allocated
via if_alloc() based on the interface type. It is hung off the new
struct ifnet member, if_l2com.

This change removes the size of these structures from the kernel ABI and
will allow us to better manage them as interfaces come and go.

Other changes of note:
 - Struct arpcom is no longer referenced in normal interface code.
   Instead the Ethernet address is accessed via the IFP2ENADDR() macro.
   To enforce this ac_enaddr has been renamed to _ac_enaddr.
 - The second argument to ether_ifattach is now always the mac address
   from driver private storage rather than sometimes being ac_enaddr.

Reviewed by:	sobomax, sam
2005-06-10 16:49:24 +00:00
brooks
121a997522 Add missing Va in ifi_epoch entry. 2005-06-06 00:21:28 +00:00
hmp
f04f851b05 Accomodate for parameter name change, 'cnp' to 'data'.
Submitted-by: 	Andrew R. Reiter <arr@watson.org>
2005-05-24 12:33:29 +00:00
njl
9ab8d98ce5 Document that the returned pointer should be freed even if the number
of items returned is 0.
2005-05-20 05:04:22 +00:00
glebius
4ae1073a42 Document taskqueue_drain(). 2005-05-19 18:31:42 +00:00
obrien
80ba7fc395 Clarify the header. 2005-05-17 15:03:50 +00:00
ru
3449204d8b Recover the original Berkeley RCS id, and fix the description of
format for source files when it comes to $FreeBSD$.
2005-05-17 14:20:42 +00:00
keramida
dea3063720 Remove a duplicate 'comment' to fix the syntax of a sentence. 2005-05-17 01:25:57 +00:00