Commit Graph

11630 Commits

Author SHA1 Message Date
gabor
2d464d773d - Add myself as erwin's mentee
Reviewed by:	flz
2007-03-30 17:20:22 +00:00
marck
ecd724238b Add my mentor tree neighbours. 2007-03-30 17:19:59 +00:00
ahze
8a46183e20 Add tmclaugh to my list 2007-03-30 17:17:46 +00:00
pav
f68b9b4a34 Add adamw's orphans 2007-03-30 17:12:58 +00:00
flz
73687f6a0e Add stub files to keep track of the mentor/mentee relationships.
Have a look at committers-ports.dot for a start.

Simple command to generate the graph is:

$ dot -T png -o file.png file.dot

Dot can be installed via graphics/graphviz.

Discussed on:	-developers
2007-03-30 16:56:38 +00:00
imp
e2cbeb2260 Document that EPERM is returned when the calling thread does not have
the mutex locked.  Also tweak the wording to make it more consistant
between pthread_cond_wait and pthread_cond_tiedwait.

Confirmed with the opengroup's web site that this is a valid return
value.  Wording used specifically not that of opengroup's online man
pages.

MFC After: 1 week
2007-03-30 04:10:04 +00:00
des
38ebab58b2 Add missing El.
MFC after:	1 week
2007-03-29 10:11:22 +00:00
brueffer
5eebf0cb81 New sentence -> new line 2007-03-28 21:21:22 +00:00
maxim
95fe219a6a o Trim unneeded backslash. 2007-03-28 04:43:55 +00:00
maxim
4ac0fc62a4 o Actually add MLINKs for priv(9) functions. 2007-03-28 04:41:50 +00:00
n_hibma
0e3337c04f Clarify the definition of the watchdog kernel interface by moving a sentence up
to the sentence it references.
2007-03-27 21:23:20 +00:00
brueffer
a0403e7fbe Add MLINKs for priv(9) functions. 2007-03-27 21:20:57 +00:00
yar
cee18f9ca8 Introduce a new toy interface, edsc(4). It's a discard interface
imitating an Ethernet device, so vlan(4) and if_bridge(4) can be
attached to it for testing and benchmarking purposes.  Its source
can be an introduction to the anatomy of a network interface driver
due to its simplicity as well as to a bunch of comments in it.
2007-03-26 04:39:18 +00:00
maxim
dd13276916 o While the script is correct and works well in sh(1) make it
works in tcsh(1) which does not support <<- redirection.

PR:		docs/110097
Submitted by:	Sameh Ghane
2007-03-24 01:39:24 +00:00
jhb
29a0e4d380 Rename the cv_*wait*() functions to _cv_*wait*() and change their second
argument from a mutex to a lock_object.  Add cv_*wait*() wrapper macros
that accept either a mutex, rwlock, or sx lock as the second argument and
convert it to a lock_object and then call _cv_*wait*().  Basically, the
visible difference is that you can now use rwlocks and sx locks with
condition variables using the same API as with mutexes.
2007-03-21 22:22:13 +00:00
bms
52a90d88fa Document net.link.tap.up_on_open.
PR:		110383
Submitted by:	Frank Behrens
MFC after:	2 weeks
2007-03-19 18:27:00 +00:00
delphij
d9b60cf6fa - Remove an unneeded comma
- Remove a redundant .Xc
 - Spell "Largely" as it should.
2007-03-19 07:49:11 +00:00
julian
f0adcfa59c More corrections, this time from Wojciech Koszek 2007-03-18 19:28:44 +00:00
julian
218f75032c Spelling and whitespace fixes from Dunne Whitty 2007-03-18 18:57:38 +00:00
bms
1342a3e1d5 Point out that PIM is the way to go.
MFC after:	3 days
2007-03-18 15:34:57 +00:00
bms
d0cd4f87d4 Document a major IGMP related annoyance.
Add comments about IGMP bits which will go when we take SSM.
Xref multicast(4).

MFC after:	3 days
2007-03-18 15:31:06 +00:00
njl
29d911985b Explain more about the "C" qualifier for Celsius.
MFC after:	3 days
2007-03-18 00:57:07 +00:00
bmah
95ed006b48 Remove an extra "The".
MFC after:	3 days
2007-03-16 16:07:49 +00:00
brueffer
48dd701262 Add missing @ 2007-03-15 16:12:08 +00:00
simokawa
b29f3e2838 Add a description about hw.firewire.hold_count.
MFC: after 3 days
PR: kern/93083
2007-03-15 14:44:03 +00:00
brueffer
9fd234be34 Mention the first RELENG_6 release to include this driver.
MFC after:	3 days
2007-03-15 13:08:50 +00:00
brueffer
3a1f6a52ea Fix markup and reword a sentence to actually make sense. 2007-03-14 20:09:23 +00:00
julian
20a6b768be fix braino in markup. 2007-03-14 17:33:16 +00:00
bms
243428b8ef Remove obsolete polling members from documentation for struct ifnet.
Submitted by:	Aniruddha Bohra
MFC after:	5 days
2007-03-14 13:19:50 +00:00
brueffer
9f07de3caa Add missing punctuation. 2007-03-14 08:03:20 +00:00
kmacy
12b5a0eec5 fix wording blunder 2007-03-14 07:49:45 +00:00
brueffer
44d987c83a Various fixes, also the driver can be compiled into the kernel now. 2007-03-14 07:46:57 +00:00
julian
0f2fe5a5dd More suggestions from pjd. 2007-03-14 06:27:02 +00:00
julian
3abc629530 Some comments from pjd 2007-03-14 06:12:36 +00:00
kmacy
35376076cb Add man page for cxgb 2007-03-14 05:12:25 +00:00
julian
06c2afc13a Add locking.9
This is supposed to be a brief overview of the locking primatives.
It is not yet complete and contains many place-holders for information
I do not know.

The locking is getting so diverse that I've lost track of it all.
We need this page to keep outselves in sync with what the primitives do.

note.. not part of the build yet.
2007-03-14 04:00:24 +00:00
grog
c2c65e0dd6 Typo. 2007-03-13 03:56:16 +00:00
ru
117cebb873 Stop clobberring the application namespace with local
variables such as "sect", "page", and "target"; use
underscored versions instead.

Discussed with:	kan
MFC after:	3 days
2007-03-12 13:54:52 +00:00
brueffer
fcc5a05bc5 my(4) doesn't need miibus(4).
Approved by:	rwatson (mentor)
Obtained from:	DragonFly
MFC after:	1 week
2007-03-11 15:20:04 +00:00
brooks
5aefafd7c6 Spell .Xr without a '/'.
Pointy hat:	brooks
2007-03-11 10:48:34 +00:00
brooks
34561352cb Fix a couple markup problems in the previous commit and bump the
document date.

Reported by:	ru
2007-03-11 10:24:37 +00:00
brooks
4d8126d1b7 Allow background_fsck_delay to be set to a negative value which delays
the background fsck indefinitely.  This allows the administrator to run
it at a convenient time.  To support running it from cron, the
forcestart argument now causes the fsck to start with no delay and all
output to be suppressed.
2007-03-11 06:53:07 +00:00
brueffer
81dfdc2206 Document Silicon Image SiI 3124 and SiI 3132 support. 2007-03-10 12:44:22 +00:00
jhb
f5e3969340 Allow threads to atomically release rw and sx locks while waiting for an
event.  Locking primitives that support this (mtx, rw, and sx) now each
include their own foo_sleep() routine.
- Rename msleep() to _sleep() and change it's 'struct mtx' object to a
  'struct lock_object' pointer.  _sleep() uses the recently added
  lc_unlock() and lc_lock() function pointers for the lock class of the
  specified lock to release the lock while the thread is suspended.
- Add wrappers around _sleep() for mutexes (mtx_sleep()), rw locks
  (rw_sleep()), and sx locks (sx_sleep()).  msleep() still exists and
  is now identical to mtx_sleep(), but it is deprecated.
- Rename SLEEPQ_MSLEEP to SLEEPQ_SLEEP.
- Rewrite much of sleep.9 to not be msleep(9) centric.
- Flesh out the 'RETURN VALUES' section in sleep.9 and add an 'ERRORS'
  section.
- Add __nonnull(1) to _sleep() and msleep_spin() so that the compiler will
  warn if you try to pass a NULL wait channel.  The functions already have
  a KASSERT to that effect.
2007-03-09 22:41:01 +00:00
jhb
d1e477f592 Document SLEEPQ_PAUSE. 2007-03-09 18:06:36 +00:00
jhb
b3c329c313 Oof, it is not my day. Unswap the descriptions of EINTR and ERESTART. 2007-03-09 17:56:05 +00:00
jhb
59a4496dd2 Fix a typo in the last that claimed that only masked signals were caught. 2007-03-09 17:53:16 +00:00
jhb
dfba370731 Correct descriptions of EINTR and ERESTART errors. Masked signals don't
interrupt sleeps.  Rather, unmasked signals interrupt restarts and can
either interrupt the system call by having it return EINTR in userland or
force the system call to be restarted.
2007-03-09 17:52:10 +00:00
jhb
0090f87663 - Document cv_wait_unlock(9).
- Don't claim that the mutex is atomically reacquired when a cv_wait
  routine returns.  There's nothing atomic or magical about the lock
  reacquire.  The only magic is that we atomically drop the lock by
  placing the thread on the sleep queue before dropping the lock.
2007-03-09 16:59:27 +00:00
jhb
bf4e259df6 Place mtx_destroy() and rw_destroy() right after mtx_init() and rw_init()
to match sx(9) and condvar(9).
2007-03-09 16:54:03 +00:00
jhb
83009be85d - Sort functions in the order that rwlock(9) and mutex(9) use.
- Markup sx_unlock() as a function rather than saying it is a macro.
  The macro part is an implementation detail, and all the other sx_*lock()
  functions are actually macros, too.
- Use the same style as rwlock(9) and mutex(9) to markup sx_assert() and
  SX_SYSINIT() with respect to headers and kernel options.
- Add a missing MLINK.
2007-03-09 16:52:26 +00:00
jhb
24c3d87828 - Sort rwlock functions similar to the order in mutex(9).
- Add a missing MLINK.
2007-03-09 16:44:58 +00:00
rafan
fa9f87addc Enable ncurses wide character support
Approved by:	delphij (mentor)
Tested by:	kris on pointyhat (early version), current@
2007-03-09 12:11:58 +00:00
jhb
4808fe374b Some minor tweaks and updates to bus_dma(9) including some additional notes
on the address filter and locking callback.

Reviewed by:	ru, scottl
2007-03-06 17:32:49 +00:00
brueffer
ea65834348 The firmware images must be loaded as modules at the moment. 2007-03-06 13:17:05 +00:00
yar
5cd725cb47 As suggested more than once in the lists, drop -M from flags to mfs
for /tmp and /var.  This makes the memory discs swap-backed instead
of malloc-backed.  A swap-backed memory disc should not be worse
than a malloc-backed one in any scenario because it will start
touching swap only when needed.  OTOH, a malloc-backed disc can
starve limited kernel resources and evenually crash the system.

Reflect the change in the rc.conf(5) manpage.  Also stop telling
lies there about softupdates: it does not waste disc space, it
just can delay its freeing.

Suggested by:	many
PR:		kern/87255
MFC after:	1 week
2007-03-06 13:13:53 +00:00
mckusick
e5953785d0 Move macros describing extended attributes in UFS from
<sys/extattr.h> to <ufs/ufs/extattr.h>. Move description
of extended attributes in UFS from man9/extattr.9 to
man5/fs.5.

Note that restore will not compile until <sys/extattr.h>
and <ufs/ufs/extattr.h> have been updated.

Suggested by:	Robert Watson
2007-03-06 08:13:21 +00:00
brueffer
2de8c21107 The firmware files are included in the base system now, reflect this here..
While here, remove Xrefs to all other wlan drivers except the Intel ones,
these often get confused.  Also remove pointers to the old ipw and iwi webpages,
they don't include any useful information that's not in the manpages yet.

Reviewed by:	flz, ru
2007-03-05 11:52:17 +00:00
grog
15babbae24 Another typo.
Spotted by:             ru
Another pointy hat to:  grog
2007-03-05 05:59:49 +00:00
grog
7df8cf04c7 Cosmetics: remove trailing white space, wrap over-long lines.
Pointy hat to:  grog
2007-03-05 00:27:30 +00:00
grog
3204d2429d Rearrange function descriptions in more logical order.
Be less alarmist about the dangers of abusing wakeup_one().

Requested by: kris, imp
2007-03-04 23:42:58 +00:00
ru
1b643fb074 Markup polishing. 2007-03-04 19:04:39 +00:00
flz
3189f5459b style(9) fixes.
Reported by:	ru
2007-03-02 18:10:55 +00:00
davidc
39752f2e3b Add vfs_getopt.9 to the build, and add links for related functions. 2007-03-02 17:03:56 +00:00
davidc
39888a53af Document the mount option handling functions.
Reviewed By: ru
2007-03-02 17:03:06 +00:00
flz
7de308e008 - Add missing subdirectories in BSD.usr.dist mtree file.
- Update hier(7) to reflect latest changes in mtree file.
- Add UPDATING entry following Intel firmwares inclusion.

Submitted by:	mlaier
MFC after:	1 month
2007-03-02 14:56:15 +00:00
emaste
a0cb5666c5 Markup fixes.
Submitted by:	ru
2007-03-02 12:55:24 +00:00
flz
c0775f8688 - Add Intel firmwares for Intel PRO/Wireless LAN 2100/2200/2915 cards in a
uuencoded format along with their respective LICENSE files.
- Add new share/doc/legal directory to BSD.usr.dist mtree file. This is the
place we install LICENSE files for restricted firmwares.
- Teach firmware(9) and kmod.mk about licensed firmwares. Restricted firmwares
won't load properly unless legal.<name>.license_ack is set to 1, either
via kenv(1) or /boot/loader.conf.

Reviewed by:	mlaier, sam
Permitted by:	Intel (via Andrew Wilson)
MFC after:	1 month
2007-03-02 11:42:56 +00:00
emaste
c685513e0b Document the new {set,get}{timestamp,counter} messages supported by the
ng_source node.  Also remove an obsolete email address.

Sponsored by: Sandvine Incorporated
2007-03-02 02:34:31 +00:00
ru
5ec36bb996 Remove trailing spaces and make the date canonical. 2007-03-01 14:33:29 +00:00
brueffer
18480644ca New sentence -> new line and contractions removed. 2007-03-01 09:07:04 +00:00
mjacob
9d599723bd Update the isp man page.
MFC after:	2 weeks
2007-02-28 23:21:51 +00:00
piso
34053318ea Update bus_setup_intr() man page after recent newbus modification:
o uniform the driver_intr_t parameter name to 'ithread'

o delete any reference to INTR_FAST

o document a bit the difference between the filter and ithread
  argument

Reviewed by: mdoc-police (ru)
2007-02-28 23:13:41 +00:00
brueffer
907049db84 More cleanup for rev. 1.56
Submitted by:	ru
2007-02-28 22:40:21 +00:00
brueffer
277afd00bb mdoc cleanup for the previous commit and touch .Dd 2007-02-28 21:36:11 +00:00
mohans
2c7f28ffd9 Update the tcp(4) manpage with the new (and some older undocumented) sysctls.
Remove a sysctl that is no longer used.
2007-02-28 19:32:46 +00:00
ache
e7228b57c5 International code for Russian Ruble is changed from RUR to RUB
starting from 1.1.2001 (ISO 4217)
2007-02-28 16:28:49 +00:00
grog
2b6f6866c4 Furhter clarifications:
- the issues with wakeup_one are due to address space clashes between
  unrelated groups of threads.
- sleep() was removed in FreeBSD 2.2.
- date the page today, not 4 days ago.
- replace grammatically correct "woken" with "woken up" for
  consistency with the function name.
2007-02-27 23:09:31 +00:00
jhb
efdf2cb2b3 In FreeBSD 5.x+, sleep/wakeup operate on threads, not processes. 2007-02-27 16:32:55 +00:00
ru
b8587b0055 Fix markup and grammar bugs in recent revisions. 2007-02-27 16:21:01 +00:00
grog
128ac1d595 Update HISTORY.
Reviewed by:	dmr
2007-02-27 05:39:22 +00:00
grog
502eb2ec0e Add warning about deadlocks created by use of wakeup_one. 2007-02-27 02:51:41 +00:00
jkim
2bd7382fdc Add three new ioctl(2) commands for bpf(4).
- BIOCGDIRECTION and BIOCSDIRECTION get or set the setting determining
whether incoming, outgoing, or all packets on the interface should be
returned by BPF.  Set to BPF_D_IN to see only incoming packets on the
interface.  Set to BPF_D_INOUT to see packets originating locally and
remotely on the interface.  Set to BPF_D_OUT to see only outgoing
packets on the interface.  This setting is initialized to BPF_D_INOUT
by default.  BIOCGSEESENT and BIOCSSEESENT are obsoleted by these but
kept for backward compatibility.

- BIOCFEEDBACK sets packet feedback mode.  This allows injected packets
to be fed back as input to the interface when output via the interface is
successful.  When BPF_D_INOUT direction is set, injected outgoing packet
is not returned by BPF to avoid duplication.  This flag is initialized to
zero by default.

Note that libpcap has been modified to support BPF_D_OUT direction for
pcap_setdirection(3) and PCAP_D_OUT direction is functional now.

Reviewed by:	rwatson
2007-02-26 22:24:14 +00:00
rwatson
34647636ba Add rw_wowned(9) symlink. 2007-02-26 19:09:36 +00:00
rwatson
35d54d13a9 Update rwlock(9) for rw_wowned(). 2007-02-26 19:07:41 +00:00
bms
b0363fd079 Document m_pulldown().
Obtained from:	MBUF issues in 4.4BSD IPv6/IPsec support (itojun)
2007-02-26 15:17:19 +00:00
rrs
dfdc42503b Fix include declaration it was sys/sctp.h should be netinet/sctp.h,
reported by pluknet@gmail.com.
2007-02-26 12:23:32 +00:00
mckusick
22aa654f0b Declare a `struct extattr' that defines the format of an extended
attribute. Also define some macros to manipulate one of these
structures. Explain their use in the extattr.9 manual page.

The next step will be to make a sweep through the kernel replacing
the old pointer manipulation code. To get an idea of how they would
be used, the ffs_findextattr() function in ufs/ffs/ffs_vnops.c is
currently written as follows:

/*
 * Vnode operating to retrieve a named extended attribute.
 *
 * Locate a particular EA (nspace:name) in the area (ptr:length), and return
 * the length of the EA, and possibly the pointer to the entry and to the data.
 */
static int
ffs_findextattr(u_char *ptr, u_int length, int nspace, const char *name,
    u_char **eap, u_char **eac)
{
	u_char *p, *pe, *pn, *p0;
	int eapad1, eapad2, ealength, ealen, nlen;
	uint32_t ul;

	pe = ptr + length;
	nlen = strlen(name);

	for (p = ptr; p < pe; p = pn) {
		p0 = p;
		bcopy(p, &ul, sizeof(ul));
		pn = p + ul;
		/* make sure this entry is complete */
		if (pn > pe)
			break;
		p += sizeof(uint32_t);
		if (*p != nspace)
			continue;
		p++;
		eapad2 = *p++;
		if (*p != nlen)
			continue;
		p++;
		if (bcmp(p, name, nlen))
			continue;
		ealength = sizeof(uint32_t) + 3 + nlen;
		eapad1 = 8 - (ealength % 8);
		if (eapad1 == 8)
			eapad1 = 0;
		ealength += eapad1;
		ealen = ul - ealength - eapad2;
		p += nlen + eapad1;
		if (eap != NULL)
			*eap = p0;
		if (eac != NULL)
			*eac = p;
		return (ealen);
	}
	return(-1);
}

After applying the structure and macros, it would look like this:

/*
 * Vnode operating to retrieve a named extended attribute.
 *
 * Locate a particular EA (nspace:name) in the area (ptr:length), and return
 * the length of the EA, and possibly the pointer to the entry and to the data.
 */
static int
ffs_findextattr(u_char *ptr, u_int length, int nspace, const char *name,
    u_char **eapp, u_char **eac)
{
	struct extattr *eap, *eaend;

	eaend = (struct extattr *)(ptr + length);
	for (eap = (struct extattr *)ptr; eap < eaend; eap = EXTATTR_NEXT(eap)){
		/* make sure this entry is complete */
		if (EXTATTR_NEXT(eap) > eaend)
			break;
		if (eap->ea_namespace != nspace ||
		    eap->ea_namelength != length ||
		    bcmp(eap->ea_name, name, length))
			continue;
		if (eapp != NULL)
			*eapp = eap;
		if (eac != NULL)
			*eac = EXTATTR_CONTENT(eap);
		return (EXTATTR_CONTENT_SIZE(eap));
	}
	return(-1);
}

Not only is it considerably shorter, but it hopefully more readable :-)
2007-02-26 06:18:53 +00:00
bms
865396057e Update multicast(4) manual page to reflect the new reality of the code. 2007-02-25 14:31:41 +00:00
ru
1652cacd15 Remove the traces of vm_page_unmanage(). 2007-02-25 06:51:11 +00:00
schweikh
6a2b828982 Correct two grammos. 2007-02-23 16:50:17 +00:00
jhb
401f7aaf8a Add a new kernel sleep function pause(9). pause(9) is for places that
want an equivalent of DELAY(9) that sleeps instead of spins.  It accepts
a wmesg and a timeout and is not interrupted by signals.  It uses a private
wait channel that should never be woken up by wakeup(9) or wakeup_one(9).

Glanced at by:	phk
2007-02-23 16:22:09 +00:00
rrs
ae6663525a First cut of the sctp man pages. Still need work. 2007-02-22 14:32:39 +00:00
rwatson
74bf41b149 Refine implementation notes for priv(9): clarify ABI comments, mention
updating Jail's list of privileges.
2007-02-21 10:32:03 +00:00
brueffer
c4321353f5 Document vge(4)'s support for altq(4). 2007-02-21 10:00:09 +00:00
ceri
0eef1e3be2 Correct typos containing my login name (plus one more in expr.y).
Found courtesy of a recursive grep in the wrong directory.
2007-02-18 19:48:59 +00:00
joel
f6f8eb8e88 Oops, fix minor braino.
Noticed by:	ariff
2007-02-17 11:31:58 +00:00
joel
c36ca004ca Link snd_sb16.4 and snd_sb8.4 to snd_sbc.4.
Submitted by:	ariff
2007-02-17 10:30:00 +00:00
joel
c2f30557f9 Add Sigmatel STAC9271D. 2007-02-16 18:23:17 +00:00
pjd
ed1bce702f VFS_VPTOFH(9) was replaced with VOP_VPTOFH(9).
VFS_VPTOFH.9 was repo-copied to VOP_VPTOFH.9.

Repo-copy done by:	joe
2007-02-16 14:27:59 +00:00
brueffer
1a7d88b933 Xref altq(4) 2007-02-16 13:53:45 +00:00
luigi
8627d150b8 remove some leftover text and update the text to match the current version
of the code.
2007-02-15 17:52:17 +00:00
rwatson
5b953c01a1 Expand history and authors section of mbuf.9 man page to discuss recent
transition to mbuma (FreeBSD 5.3) and the fact that mbufs are now limited
almost entirely to packet storage, with straight UMA zones being used for
most other network data types.
2007-02-15 14:44:46 +00:00
brueffer
a9a4d856ad Mark up lkm with .Nm, since lkm is name of an api.
Submitted by:	ru
2007-02-13 17:06:15 +00:00
brueffer
743bf399a1 "options PIM" is gone. 2007-02-12 21:30:34 +00:00
brueffer
8687c8db75 The KAME project has been dissolved and kame.4 isn't terribly useful.
=> Sayonara

Approved by:	gnn, suz
2007-02-12 21:12:37 +00:00
brueffer
042b3cbf9d Use the correct line to put into loader.conf. Duh!
Clue bat applied by:	ru
Pointy hat to:		brueffer
2007-02-12 20:58:32 +00:00
jhb
1563757ce2 MLINK for bus_dmamap_load_mbuf_sg(9) 2007-02-12 17:53:21 +00:00
jkoshy
6868162c20 Improve a sentence.
Prodded by:	billf
MFC after:	3 days
2007-02-12 03:26:22 +00:00
brueffer
6b5f1d5d9e Don't reference lkm(4), it doesn't exist.
PR:		108980
Submitted by:	Yonatan
2007-02-10 08:44:41 +00:00
brueffer
ed4315282a Nuke pcnfsd(8) reference.
PR:		108980
Submitted by:	Yonatan
2007-02-09 22:18:56 +00:00
brueffer
6657290d86 There is no isa(4) manpage, convert to normal text an join lines.
PR:		108980
Submitted by:	Yonatan
2007-02-09 21:12:21 +00:00
brueffer
338df91073 Remove references to pccardd(8), pccardc(8) and OLDCARD.
PR:		108980
Submitted by:	Yonatan
2007-02-09 21:05:47 +00:00
brueffer
2aef44627d Remove Xref to non-existant uhub(4).
PR:		108980
Submitted by:	Yonatan
2007-02-09 20:53:19 +00:00
brueffer
6495b74b26 Correct references to tcpdump(1).
PR:		108980
Submitted by:	Yonatan
2007-02-09 20:39:14 +00:00
brueffer
a61400c5f8 Remove Xref to owi(4), it's dead and gone.
PR:		108980
Submitted by:	Yonatan
2007-02-09 20:32:58 +00:00
luigi
1da96e88d3 Document a little more the firmware subsystem.
Apart from minor cleanup of the text, it should document
in reasonable detail what the status of the code is.
RELENG_6 has some minor differences there in the way automatic
loading/unloading is handled, but hopefully this should be
fixed by MFC time.

The examples come from Max Laier and Sam Leffler.

MFC after: 1 week
2007-02-09 19:08:07 +00:00
brueffer
0142ae7fc7 Remove an obsolete error message. 2007-02-09 18:26:13 +00:00
brueffer
f64d74256b - Use the standard section 4 SYNOPSIS
- Utilize .Nm

MFC after:	3 days
2007-02-09 17:21:23 +00:00
le
44223c20a4 Add support for Huawei Technologies Mobile card (3G).
Submitted by:  Thorsten Schroeder <ths_AT_dev.io>
MFC in:        3 days
2007-02-09 15:59:28 +00:00
bms
f171a45bf6 Add lists of ICMP types and codes for user and developer reference.
Cross-reference pf.conf(5) which is able to use these definitions.

PR:		85243
Submitted by:	Daniel Gerzo
Obtained from:	OpenBSD
MFC after:	1 day
2007-02-09 12:30:17 +00:00
flz
1413639b92 Add support for EtherChannel configuration to rc startup scripts.
Note: This also deprecates "NO" as a way to specify an empty list of
interfaces for gif_interfaces.

PR:		conf/104884
Submitted by:	nork
Harassed by:	brd
Discussed with:	brooks, dougb
2007-02-09 12:11:27 +00:00
brueffer
5ebe8e29b1 Document NetCell NC3000 and NC5000 support. 2007-02-06 09:50:17 +00:00
ambrisko
64d554b0f5 s/Feb/February/
Reminded by:	ru
2007-02-05 22:45:58 +00:00
le
176abfa169 Add support for another 3G card and update man page accordingly.
The patch from the PR was a little outdated w/regards to the
Vodafone vendor string.

PR:            kern/106033
Submitted by:  Volker Werth <volker_AT_vwsoft.com>
MFC in:        3 days
2007-02-04 22:14:18 +00:00
philip
5971b391cc Fix hr.iso syscons keymap, making it possible to type < and >.
PR:		conf/105642
Submitted by:	ivoras
MFC after:	3 days
2007-02-04 17:10:18 +00:00
bms
9fa6fbb8a2 Typo.
(Oh well, I guess that's the danger of updating two three-letter-named
entities at the same time.)

Submitted by:	Simon L. Nielsen
MFC after:	4 weeks
2007-02-04 16:59:50 +00:00
bms
77c2e11309 Implement ifnet cloning for tun(4)/tap(4).
Make devfs cloning a sysctl/tunable which defaults to on.

If devfs cloning is enabled, only the super-user may create
tun(4)/tap(4)/vmnet(4) instances. Devfs cloning is still enabled by
default; it may be disabled from the loader or via sysctl with
"net.link.tap.devfs_cloning" and "net.link.tun.devfs_cloning".

Disabling its use affects potentially all tun(4)/tap(4) consumers
including OpenSSH, OpenVPN and VMware.

PR:		105228 (potentially also 90413, 105570)
Submitted by:	Landon Fuller
Tested by:	Andrej Tobola
Approved by:	core (rwatson)
MFC after:	4 weeks
2007-02-04 16:32:46 +00:00
mpp
073eb74d90 Expand this man page to provide some details on the structure
of the quota data files and how they are maintained.
2007-02-04 07:44:40 +00:00
brueffer
39590cde68 Xref altq(4). 2007-02-03 20:02:29 +00:00
brueffer
d4791b1590 Xref altq(4). 2007-02-03 19:29:31 +00:00
mlaier
9a2ac087c9 Add ALTQ support for aue(4).
Tested by:	Greg Hennessy, Volker
MFC after:	1 week
2007-02-03 13:53:22 +00:00
mlaier
e297f369ca Missed npe(4) in the last commit. "ate" also has support but is lagging a
man page to link to.
2007-02-03 13:38:04 +00:00
mlaier
60436309a2 bce(4), ipw(4), iwi(4), ral(4), udav(4), ural(4) support ALTQ as well. 2007-02-03 13:33:40 +00:00
ambrisko
3e331c9416 Based on input from ru & rodrigc document the mount operation in the new
world order:
	mount -t linsysfs linsys /compat/linux/sys
instead of mount_linsysfs.  Now that 6.X requires mount_linsysfs to
work.  This is why there is a mount_linsysfs in 6.X and not in -current.

Prompted by:	ru
Reviewed by:	ru, rodrigc
2007-02-02 16:26:15 +00:00
phk
60c94b272a Update with the latest Bulletin C from IERS. 2007-02-02 09:19:27 +00:00
rafan
fb2efa60c3 Remove old libmytinfo link.
Approved by:	delphij (mentor)
Requested by:	ache
2007-02-01 08:45:27 +00:00
pav
3bd3bcc779 - Add ports-ports-mgmt collection 2007-01-31 14:35:05 +00:00
rwatson
f7bb84a831 s/software was developed/documentation was written/
Suggested by:	ru
2007-01-31 09:40:31 +00:00
maxim
3e7f000e8a o DragonFly 1.8.0 added. 2007-01-31 04:58:03 +00:00
glebius
46fdc35860 Fix typo.
Submitted by:	pluknet <pluknet gmail.com>
2007-01-30 20:22:07 +00:00
brueffer
e08629155d Add the 3Com 3c996-SX.
Submitted by:	Johan Ström
MFC after:	3 days
2007-01-30 09:47:31 +00:00
brueffer
e86310cd3d Xref altq(4) for drivers that support it according to altq(4). 2007-01-30 08:40:04 +00:00
brueffer
d74e29ebcc Xref altq(4). 2007-01-30 08:17:45 +00:00
rwatson
8fe23ac3fe Add MLINKS for sf_buf.9. 2007-01-29 11:27:44 +00:00
joel
350e76dd56 Line break before "All rights reserved" in the license example.
Reveiwed by:	bde, rwatson
2007-01-28 20:51:04 +00:00
rwatson
4ffff2fde2 Update pmap_extract() implementation notes: we appear no longer to serialize
this call with Giant on any platform.
2007-01-28 16:23:55 +00:00
rwatson
8cd0ff6fa5 Add a rudimentary man page for sf_bufs, based on my rudimentary
understanding of sf_bufs.
2007-01-28 16:07:50 +00:00
rwatson
20643fd68c Fix minor type: "struct disk *" instead of "struct *disk".
MFC after:	3 days
2007-01-28 14:37:13 +00:00
ru
b640c5e1c4 Fix grammar [1] and formatting.
Submitted by:	pluknet AT gmail DOT com [1]
2007-01-27 23:06:00 +00:00
rwatson
6a7c7e266f Add a missing verb in describing MAP_PREFAULT_MADVISE. 2007-01-27 18:58:33 +00:00
delphij
e06cbb32ef Regen. 2007-01-26 10:20:59 +00:00
delphij
2089860135 Replace the GNU gzip with a slightly modified NetBSD gzip. The
NetBSD version is a feature-to-feature re-implementation of GNU
gzip using the freely-redistributable zlib and this version is
expected to be mostly bug-to-bug compatible with the GNU
implementation.

 - Because this is a piece of mature code and we want to make
   changes so it is added directly rather than importing to
   src/contrib.
 - Connect newly added code to src/usr.bin/ and rescue/rescue
   build.
 - Disconnect the GNU gzip code from build for now, they will
   be eventually removed completely.
 - Provide two new src.conf(5) knobs, WITHOUT_BZIP2_SUPPORT and
   WITHOUT_BZIP2.

Tested by:	kris (full exp-7 pointyhat build)
Approved by:	core (importing a 4-clause BSD licensed file)
Approved by:	re (adding new utility during -HEAD code slush)
2007-01-26 10:19:08 +00:00
ceri
eaeb42b080 Bump .Dd for r1.313. 2007-01-24 09:22:56 +00:00
mpp
974010dbb6 Document new quota knobs. 2007-01-23 21:27:07 +00:00
bms
3530b41545 Document the existence of the TCP_INFO socket option.
Approved by:	rwatson
2007-01-22 14:16:47 +00:00
bms
df992b84fc Docuemnt exactly which functions access which NSS databases.
Point out that FreeBSD libc has compat stubs for GNU glibc NSS
modules which access NSDB_PASSWD/NSDB_GROUP, but not NSDB_HOSTS;
based on painful experience porting nss_mdns.

Reviewed by:	ru
2007-01-22 11:45:25 +00:00
marius
9deec2cc7c - For the sake of completeness mention back-end support for the ILACC
and add a list of known-working PCI devices.
- For consistency throughout this man page also talk about C-Bus and
  ISA adapters rather than cards.
- Add missing .Tn.
- Mention ifconfig(8) along with listing selectable media types.
- Add/un-comment hardware notes for the newly supported 'lebuffer'
  variants (the transition from P/N 501-1860 to 501-1869 isn't a typo).
2007-01-20 13:37:15 +00:00
thompsa
8ea92215ce Add a section about RSTP support. 2007-01-20 02:39:34 +00:00
cognet
c8eb91c205 Add a reference too pthread_cancel(3).
Submitted by:	Jeremie Le-Hen
2007-01-19 17:34:52 +00:00
joel
bd9f82b763 Add missing comma.
Noticed by:	ru
2007-01-18 15:27:15 +00:00
delphij
afc52d3abb Oops... Revert previous commit because "installathon" is really a contest's
name and not a typo.
2007-01-18 03:07:04 +00:00
delphij
536d967e01 Fix a typo.
Submitted by:	applecom at inbox ru
2007-01-18 03:04:56 +00:00
bms
11d2ccc2ce Document the loader tunables which control hard process memory limits.
Reviewed by:	ru
2007-01-17 22:23:28 +00:00
des
ff33912301 "If I only had a brain..."
MFC after:	 3 weeks
2007-01-17 14:54:53 +00:00
des
0252cc4d0f Correct errors in previous commit. I didn't realize that ${CPUTYPE} is
passed unmodified to gcc.  Therefore, "prescott" should be used for Prescott,
Nocona, Core and Core 2 CPUs when building 32-bit code, and "nocona" should
be used for Prescott, Nocona and Core 2 CPUs when building 64-bit code.

MFC after:	3 weeks
2007-01-17 14:49:13 +00:00
joel
7aa8d3d573 - Add a small section on boot-time configuration.
- Add more Xrefs.
- Fix minor nits.

Reviewed by:	ru
2007-01-17 14:27:03 +00:00
des
ef3eb6c935 On i386, make "prescott" an alias for "nocona" (instead of the other way
around), and introduce "core", along with the alias "core2".  All of these
enable SSE3.

On amd64, add "core2" (enables SSE3).

MFC after:	3 weeks
2007-01-17 12:43:06 +00:00
murray
088287aea8 Add French dvorak keymap that supports accents. Based on Francis
Leboutte's french layout.

Submitted by: Clement Pillias <clementpillias@nerim.net>
MFC after: 1 week
2007-01-16 10:47:56 +00:00
rrs
af870dbd2e Reviewed by: rwatson
Approved by:	gnn

Add a new function hashinit_flags() which allows NOT-waiting
for memory (or waiting). The old hashinit() function now
calls hashinit_flags(..., HASH_WAITOK);
2007-01-15 15:06:28 +00:00
maxim
bca9f253e7 o Add FreeBSD 6.2, bump copyright years. 2007-01-15 06:14:50 +00:00
brueffer
845bc250ed Sync the hardware list with the driver and with what I could find on
the Areca website.
Also remove the module from the FILES section, it's already covered in
the SYNOPSIS.

MFC after:	3 days
2007-01-10 12:57:46 +00:00
glebius
0f316bc65f Document recent changes about supported compression and encryption modes.
Wording by:	rwatson
2007-01-09 15:00:01 +00:00
imp
9aa901e25f Julian says that he doesn't need the advertising clause, so out it goes. 2007-01-09 04:17:20 +00:00
delphij
ebdf3cb9d1 Document that we supported Intel PRO/100 VM Network Connection. 2007-01-07 20:30:27 +00:00
brueffer
3503c09581 Document Marvell 6101/6145 support. 2007-01-04 18:50:52 +00:00
brueffer
876ba7f8b0 New supported JMicron, ALI and ServerWorks chipsets.
MFC after:	3 days
2007-01-04 09:12:03 +00:00
danger
5ad1e547fd - Do not claim that ipfw is the only firewall package available
in FreeBSD.

Approved by: trhodes (mentor), keramida (mentor)
2007-01-01 21:16:42 +00:00
jmg
116c92a81c Some how the d slipped out in the last commit, add it back...
Pointed out by:	mdoc-police (ru)
2006-12-29 22:30:10 +00:00
glebius
cbd305868f Build bits for ng_deflate(4) and ng_pred1(4). 2006-12-29 13:16:43 +00:00
glebius
b85d5220b0 Manual page for Predictor-1 PPP compression netgraph node.
Submitted by:	Alexander Motin <mav alkar.net>
2006-12-29 10:47:26 +00:00
glebius
4aca8e1f31 Manual page for Deflate PPP compression netgraph node.
Submitted by:	Alexander Motin <mav alkar.net>
2006-12-29 10:46:15 +00:00
jmg
9a3d3a4e50 bump doc date and fix spelling...
Pointed out by:	mdoc-police (ru)
2006-12-28 22:28:28 +00:00
jmg
3f705f7765 document that locks must not be aquired in f_event... (and where they
can be safely aquired)

Reminded by:	kib (by LOR #193)
MFC:	3 days
2006-12-28 19:15:12 +00:00
yar
5ec2f453ec MFp4:
Document my recent changes to rc.subr(8):
- there is $required_modules now;
- $required_* are checked before invoking a custom start method, too.

MFC after:	1 month
2006-12-27 13:22:41 +00:00
ru
78c3656e3e Fix markup. 2006-12-26 22:25:58 +00:00
ru
d92f719c6a Nitpicking: <sysexits.h> defines exit codes. 2006-12-24 10:25:23 +00:00
pjd
bb91ae1dcc Document MTX_NOPROFILE flag. 2006-12-21 22:42:18 +00:00
joel
df7ef8bfdc Add Realtek ALC888 and Sigmatel STAC9227 to the HARDWARE section. 2006-12-17 16:48:26 +00:00
rwatson
39ebd13c80 Reference socket(9) from ng_ksocket(4). Reference ng_ksocket(4),
ithread(9), msleep(9), ucred(9) from socket(9).

Partly suggested by:	julian
2006-12-16 10:32:10 +00:00
rwatson
1d3d170d84 Add a basic man page for the socket(9) kernel programming interface used
by the NFS client and server, netsmb, netncp, etc.

Reviewed by:	ru
Fixed by:	ru
2006-12-15 23:35:15 +00:00
n_hibma
c98f016084 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.
2006-12-15 21:44:49 +00:00
jkoshy
0798d56531 Document extended program header numbering. 2006-12-15 16:12:07 +00:00
mpp
675ebda1f6 Spelling fix. 2006-12-14 17:03:46 +00:00
mpp
d398e83b8a Spelling fix. 2006-12-14 16:57:35 +00:00
mpp
3d052ce611 Spelling fixes. 2006-12-14 16:40:57 +00:00
mpp
c87e2e0408 Expand abbreviation. techref -> technical reference. 2006-12-14 16:37:11 +00:00
mpp
7cd24a641f Spelling fixes. 2006-12-14 14:33:13 +00:00
mpp
5748ac9909 Spelling fixes. 2006-12-14 13:37:08 +00:00
mpp
f1d202878f Don't use abbreviations for some descriptions / minor spelling fixes. 2006-12-14 13:35:59 +00:00
mpp
5cd76c6b38 Spelling fixes. 2006-12-14 12:49:04 +00:00
mpp
aab7be62cc Spelling fix. 2006-12-14 11:57:39 +00:00
brueffer
72566f2efb Add Xref to msk(4). 2006-12-13 08:56:15 +00:00
brueffer
c08bb7cdca Correct sort msk(4). 2006-12-13 08:55:20 +00:00
brueffer
ae557a1cb0 Misc fixes, also sort the hardware list alphabetically and add more history. 2006-12-13 08:51:40 +00:00
ru
d79a6bd715 - Fix prototype of bpf_filter().
- Document what passing it a zero buflen argument means.
2006-12-13 06:27:20 +00:00
yongari
6c1a7ad1dd Add msk(4) to the list of device drivers use the miibus interface. 2006-12-13 02:46:32 +00:00
yongari
af6ffc8ef3 Add msk(4) to the list of devices supporting full VLAN processing
in the hardware.
2006-12-13 02:42:01 +00:00
yongari
801a858e21 Add msk(4) to the list of drivers supporting ALTQ. 2006-12-13 02:40:06 +00:00
yongari
2f9b06d375 Hook up msk(4) to the build. 2006-12-13 02:37:48 +00:00
yongari
caf14e772e Add a man page for msk(4). 2006-12-13 02:37:01 +00:00
julian
2df82cb38b Explicitly emphasize a facet of m_pullup() that some people seem to
frequently forget. i.e. that you can not keep using pointers to
within the old chain.
2006-12-08 23:44:30 +00:00
ru
a43cccb7c1 Update the URL for the list of supported products. 2006-12-07 10:56:27 +00:00
mjacob
4c7c1ef385 Regenerate per the instructions. 2006-12-07 05:41:59 +00:00
wilko
b7694d2ecb document that NCQ is not yet supported.
PR: kern/106343
2006-12-05 20:23:25 +00:00
ru
ca2bb82f44 Move npe.4 to a machine specific manpage subdirectory. 2006-12-05 16:57:10 +00:00
ru
f352d33919 Fix markup. 2006-12-05 08:07:21 +00:00
joel
3c6a8dbb06 Fix typo. 2006-12-05 06:56:09 +00:00
sam
00066d507e hook npe.4 up to arm build
MFC after:	1 month
2006-12-04 22:42:27 +00:00
sam
b93a731abf start 'o man page for xscale npe ethernet driver
MFC after:	1 month
2006-12-04 22:41:41 +00:00
brueffer
d1bdc72546 bce(4) does not work correctly in polling(4) mode for now. 2006-12-02 09:03:06 +00:00
mlaier
86e7537c97 ALTQify ep(4).
Tested and Requested by:	Andy Brook
MFC after:			3 days
2006-12-01 20:29:55 +00:00
ru
5757d9c0fc Give up on waiting for a repo-copy (no answer in 20 days), and
commit my markup fixes.

OK'ed by:	kmacy
2006-12-01 17:46:25 +00:00
ru
1882f43fde Add missing `;;' in the example shell code snippet.
PR:		i386/106113
Submitted by:	Richard Arends
MFC after:	3 days
2006-12-01 09:00:38 +00:00
alfred
721b0a7001 Bump .Dd, (9 year jump!)
Requested by: ru
cvs: ----------------------------------------------------------------------
2006-11-29 20:24:56 +00:00
alfred
ac243d503e Do a better job of documenting uio_resid. 2006-11-29 19:10:53 +00:00
joel
bcf19b8816 Add the dev.pcm.%d.polling sysctl and a short description.
Reviewed by:	ru
2006-11-29 17:07:02 +00:00
brueffer
2300703ff0 Overhaul this manpage somewhat:
- Move mentionings of required drivers to the SYNOPSIS where they belong
- Remove cruft (XiG, sheesh) from the EXAMPLES section and re-arrange things to make
  somewhat more sense
- Fix an Xref to manpage from ports to mention the corresponsing port
- Remove commented out HISTORY section header

MFC after:	3 days
2006-11-27 18:37:45 +00:00
obrien
b891fb48a3 Clarify case body indention. 2006-11-26 21:22:49 +00:00
joel
c2e4cdb2da - Update the Runtime Configuration, FILES and DIAGNOSTICS sections to
the new world order.
-  Use our standard section 4 SYNOPSIS.
-  Minor nits.

Reviewed by:	brueffer, ariff
2006-11-26 12:27:02 +00:00
imp
ea66727862 devsw() was removed by phk:
revision 1.199
	date: 2004/09/24 08:30:57;  author: phk;  state: Exp;  lines: +0 -1
	Remove the cdevsw() function which is now unused.

(the log is wrong, it was really devsw that was removed).

# we really need to actually document the functions in sys/conf.h as well
# as things like d_open...
2006-11-25 22:36:09 +00:00
imp
9d7c37ad3d Clarify what non-zero return values mean. 2006-11-25 22:34:01 +00:00
brueffer
a1e98617ef Grr, fix typo introduced in the previous commit. 2006-11-25 12:12:11 +00:00
imp
03f10acc6e Add instructions for creating a ramdisk root image. These likely need
to be augmented with instructions for those platforms that have
/boot/loader.
2006-11-24 18:53:45 +00:00
pav
cb740e6235 Remove reference to a man page of pib, an obscure third-party tool, whose port
does not install any manpages.

MFC after:	3 days
2006-11-24 14:47:25 +00:00
imp
7aa1b5698e Make it clear that the device name may contain '/' characters to place
a device in a subdirectory.  Also explicitly state that the name is
constructed using fmt like printf would print it.

MFC After: 3 days
2006-11-24 13:10:30 +00:00
maxim
21efd8a51e o Xr sendfile(2). 2006-11-24 12:00:02 +00:00
yar
d47577789b Add a guideline for naming new sysctl nodes.
Discussed in:	cvs-src (some time ago)
2006-11-23 14:28:19 +00:00
yongari
9600cde066 Add USR997902 to the list of devices supported by re(4). 2006-11-23 00:28:58 +00:00
brueffer
3c5d5c9c84 Use our standard section 4 SYNOPSIS.
MFC after:	3 days
2006-11-22 21:30:02 +00:00
rodrigc
ec3e058a75 Remove reference to mount_fdescfs.
Suggested by:	ru
2006-11-22 15:52:24 +00:00
rodrigc
9787e667ef Remove reference to mount_devfs(8).
Reminded by:	ru
2006-11-22 11:45:06 +00:00
rodrigc
5d6fd62ee2 Remove reference to mount_procfs.
Reminded by:	ru
2006-11-22 00:08:35 +00:00
maxim
567a367e34 o Sort Xrs. 2006-11-21 06:52:55 +00:00
rodrigc
08f764de85 Change reference from mount(2) to nmount(2), since mount(8) uses
nmount to mount an mqueufs filesystem.
2006-11-21 05:45:14 +00:00
rodrigc
4477c672d7 Change reference from mount_devfs(8) to mount(8), and add an example.
Remove reference to mount_fdescfs(8), since mount(8) calls nmount()
directly to mount an fdescfs filesystem, instead of forking an
external mount_fdescfs program.
2006-11-21 04:56:50 +00:00
ru
5a9798235e Try harder to not leak src/ build stuff into ports/ environment
by not exposing the MK_* variables that were designed for src/.

Requested by:	many
2006-11-19 16:28:52 +00:00
ceri
a6852e6ab6 Add .Xr to p_cansee.9, remove .Xr to intro.2.
Reviewed by:	ru
Approved by:	ru
2006-11-19 13:36:04 +00:00
ceri
2dc11e5d84 Add manuals for cr_cansee(9) and p_cansee(9).
Thanks to Ruslan for the time he spent reviewing these.

Reviewed by:	ru
Approved by:	ru
2006-11-19 13:35:03 +00:00
ceri
0f65401c2b Have the synopsis compile.
Pointed out by:	ru
2006-11-18 17:56:59 +00:00