1397 Commits

Author SHA1 Message Date
bms
b60ca7d2f2 MFC rev 1.53:
Remove obsolete polling members from documentation for struct ifnet.

Submitted by:	Aniruddha Bohra
2007-03-20 23:24:25 +00:00
jhb
e64bcc19a6 Fix mis-merge. 2007-02-23 20:56:27 +00:00
luigi
de1cc72279 MFC: sync firmware(9) and iwi(4) with the version in HEAD (the changes
are related and this is why the MFC is done together).
In detail:

firmware(9):
  Cleanup and document the implementation of firmware(9) based on
  a version that i posted earlier on the -current mailing list,
  and subsequent feedback received. See the commit log
	luigi       2007-02-15 17:21:31 UTC
  The core of the change is just in sys/firmware.h and kern/subr_firmware.c,
  while other files are just adaptation of the clients to the ABI change
  (const-ification of some parameters and hiding of internal info,
  so this is fully compatible at the binary level).

  Note that in RELENG_6 sys/arm/xscale/ixp425, sys/dev/ipw and
  sys/dev/mxge do not exist or have not been updated to use firmware(9).

iwi(4)
  + add debugging code IWI_LOCK_CHECK() to print (under sysctl debug.iwi)
    missing locks;
  + make sure that iwi_ioctl() wait until the previous iwi_cmd() terminates.
2007-02-22 19:10:48 +00:00
n_hibma
988e11e339 MFC the following commits:
Align the interfaces for the various watchdogs and make the interface
  behave as expected.

  Also:
  - Return an error if WD_PASSIVE is passed in to the ioctl as only
    WD_ACTIVE is implemented at the moment. See sys/watchdog.h for an
    explanation of the difference between WD_ACTIVE and WD_PASSIVE.
  - Remove the I_HAVE_TOTALLY_LOST_MY_SENSE_OF_HUMOR define. If you've
    lost your sense of humor, than don't add a define.

  Specific changes:

  i80321_wdog.c
    Don't roll your own passive watchdog tickle as this would defeat the
    purpose of an active (userland) watchdog tickle.

  ichwd.c / ipmi.c:
    WD_ACTIVE means active patting of the watchdog by a userland process,
    not whether the watchdog is active. See sys/watchdog.h.

  kern_clock.c:
    (software watchdog) Remove a check for WD_ACTIVE as this does not make
    sense here. This reverts r1.181.

  Revision  Changes    Path
  1.371     +1 -0      src/share/man/man4/Makefile
  1.8       +69 -25    src/share/man/man4/watchdog.4
  1.4       +7 -1      src/share/man/man9/watchdog.9
  1.3       +15 -11    src/sys/arm/xscale/i80321/i80321_wdog.c
  1.7       +12 -30    src/sys/dev/ichwd/ichwd.c
  1.8       +8 -17     src/sys/dev/ipmi/ipmi.c
  1.8       +3 -1      src/sys/dev/mk48txx/mk48txx.c
  1.4       +4 -1      src/sys/dev/watchdog/watchdog.c
  1.33      +9 -9      src/sys/i386/i386/elan-mmcr.c
  1.193     +3 -3      src/sys/kern/kern_clock.c
  1.4       +0 -4      src/sys/sys/watchdog.h

and

  Don't exit from watchdogd on receiving a signal if we cannot stop the watchdog.
  That'll require -KILL. This avoids resetting your system on one of the
  watchdogs that you cannot disable.

  Revision  Changes    Path
  1.15      +18 -11    src/usr.sbin/watchdogd/watchdogd.c

Reviewed by:	phk
2007-02-20 22:56:28 +00:00
brueffer
c4ee1d888b MFC: rev. 1.4
There is no isa(4) manpage, convert to normal text an join lines.
2007-02-15 17:29:55 +00:00
jhb
f1e13c4788 MFC: Sync up bus_dma(9) to rev 1.39 (except for rev 1.37 since 6.x doesn't
have a real bus_get_dma_tag()) and add MLINK for bus_dmamap_load_mbuf_sg().
Prompted by a user who noticed the bus_dmamap_sync ops stuff was still
wrong in 6.x.

Reported by:	Jason Harmening <jason.harmening at gmail>
2007-02-12 17:57:14 +00:00
danger
8b577d2188 - Sync with -HEAD
Approved by: trhodes (mentor), keramida (mentor)
2007-01-01 21:26:32 +00:00
ceri
eb94a6f60e MFC revisions 1.4 and 1.5.
Approved by:	ru
2006-12-31 17:41:49 +00:00
ceri
b74f9335d6 MFC the cr_cansee.9 and p_cansee.9 manuals.
Approved by:	ru
2006-12-31 17:41:19 +00:00
cvs2svn
c712674dad This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2006-12-13 02:37:49 +00:00
maxim
c20fbc1a73 MFC rev. 1.17: fix incorrect function name.
Approved by:	re (bmah)
2006-11-09 11:06:27 +00:00
kib
3b0afb13c5 MFC rev. 1.27:
Remove long untrue note about storing state information inside free items.

Approved by:	re (hrs), pjd (mentor)
2006-10-09 14:18:26 +00:00
pjd
953203a905 MFC: share/man/man9/Makefile 1.276
share/man/man9/sx.9	1.34

Document sx_xlocked(9).

Submitted by:	ssouhlal
2006-09-03 16:21:25 +00:00
kib
e45af505fa MFC rev.1.14:
Note that LK_UPGRADE may drop the shared lock before taking the
exclusive one.

Reviewed and edited by:	tegge
Approved by:	pjd (mentor)
2006-08-24 10:16:01 +00:00
maxim
dd507dfc57 MFC rev. 1.50: fix MTX_SYSINIT prototype. 2006-07-16 06:49:06 +00:00
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