1366 Commits

Author SHA1 Message Date
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
sam
cf5f51b531 update for recent api changes 2005-05-01 02:12:44 +00:00
glebius
d08a0ddeaa Manpage for unit allocator functions.
Reviewed by:	phk
2005-04-20 19:11:05 +00:00
jkoshy
4af1f1c996 Bring API documentation for sleepqueue(9) in sync with the code
in -current.

Reviewed by:	ru
2005-04-19 16:30:25 +00:00
jkoshy
99db97547a Document taskqueue_run_fast(). Markup 'Giant' with ".Va".
Reviewed by:	ru
2005-04-19 16:23:00 +00:00
rwatson
04a7b2d379 Modify the alq(9) alq_open() API to accept a file creation mode, rather
than defaulting the cmode argument to vn_open() to 0.  Supply a default
argument of ALQ_DEFAULT_CMODE (0600) in current callers.

Discussed with/pointed out by:	hmp
Reveiwed by:	jeff, hmp
MFC after:	3 days
2005-04-16 12:12:27 +00:00
jkoshy
8f065aa9a9 Add a 'SEE ALSO' section. 2005-04-15 14:46:59 +00:00
pjd
ece924aa28 Add missing links.
MFC after:	2 weeks
2005-04-15 10:57:34 +00:00
pjd
e401f53792 Create links to crypto.9 for every crypto(9) function.
OK'ed by:	sam
MFC after:	2 weeks
2005-04-09 18:38:54 +00:00
njl
0add27a8f0 Hook up new man page for devclass_get_drivers() to build
Reminded by:	ru
2005-04-07 17:27:14 +00:00
njl
f9c3ff58ce Document that devclass_get_maxunit(9) returns one greater than the current
highest unit.

Reviewed by:	dfr
MFC after:	2 weeks
2005-04-04 15:37:59 +00:00
njl
8a0ce01e92 Add devclass_get_drivers(9) which provides an array of pointers to driver
instances in a given devclass.  This is useful for systems that want to
call code in driver static methods, similar to device_identify().

Reviewed by:	dfr
MFC after:	2 weeks
2005-04-04 15:26:51 +00:00
brueffer
9ace7d5e0b Bump .Dd for the previous commit. 2005-03-28 10:28:57 +00:00
brueffer
4a77c83cbd The make_dev(9) functions no longer handle dev_ts, but struct cdevs.
PR:		78172
Submitted by:	"Wojciech A. Koszek" <dunstan@freebsd.czest.pl>
MFC after:	3 days
2005-03-28 08:57:07 +00:00
jmg
19da85af4a add m_copyup function.. This can be used to help make our ip stack less
alignment restrictive, and help performance on some ethernet cards which
currently copy the entire packet a couple bytes to get the packet aligned
properly...

Wordsmithing by:	dwhite
Obtained from:	NetBSD (code only)
I'll clean it up later:	rwatson
2005-03-17 19:34:57 +00:00
imp
8f67ba140a Clarify that the end argument meaning for rman_reserve_resource_bound
is the highest acceptable value for the ending of the resource being
allocated.  One could also believe that it is the highest starting
value of the resource.  The code definitely expects the former, but I
could find no documentation of this apart from TFSC.
2005-03-15 23:58:55 +00:00
phk
50400e94bb Mangle a manpage. 2005-03-14 15:38:34 +00:00