Commit Graph

12161 Commits

Author SHA1 Message Date
yongari
6c1e88022b Mention support for nForce MCP73.
Touch Dd.
2008-04-16 00:17:24 +00:00
attilio
3827ab6b7e LK_NOWITNESS can be used now in lockmgr*() functions in order to skip
witness(4) checks on a per-instance basis.
2008-04-12 20:18:02 +00:00
rpaulo
2c68241b6c MFp4: k8temp(4) man page. 2008-04-12 14:08:24 +00:00
pjd
0d0a424992 Correct an obvious typo. 2008-04-12 05:49:05 +00:00
emax
eea573b682 Update .Dd
Pointed out by: Niclas Zeising <niclas-dot-zeising-at-gmail.com>
MFC after:	1 week
2008-04-09 21:24:11 +00:00
kan
e69cacb9b4 Fix spelling mistake in comment. 2008-04-09 20:27:53 +00:00
emax
194303edd4 Add rfcomm_pppd_server rc script to allow start rfcomm_pppd(8) in server
mode at boot time. Multiple profiles can be started at the same time.
The whole idea is very similar to the ppp rc script.

Document Bluetooth knobs in rc.conf(5)

MFC after:	1 week
2008-04-08 23:34:12 +00:00
jkim
e9e1875fbf - Add write(2) support for psm(4) in native operation level. Now arbitrary
commands can be written to /dev/psm%d and status can be read back from it.
- Reflect the change in psm(4) and bump version for ports.

MFC after:	1 week
2008-04-08 17:55:26 +00:00
rpaulo
e998ecd567 Change the EXAMPLE section to reflect reality (ISA -> ACPI). 2008-04-07 11:27:16 +00:00
rwatson
6d3db5778b Maintain and observe a ZBUF_FLAG_IMMUTABLE flag on zero-copy BPF
buffer kernel descriptors, which is used to allow the buffer
currently in the BPF "store" position to be assigned to userspace
when it fills, even if userspace hasn't acknowledged the buffer
in the "hold" position yet.  To implement this, notify the buffer
model when a buffer becomes full, and check that the store buffer
is writable, not just for it being full, before trying to append
new packet data.  Shared memory buffers will be assigned to
userspace at most once per fill, be it in the store or in the
hold position.

This removes the restriction that at most one shared memory can
by owned by userspace, reducing the chances that userspace will
need to call select() after acknowledging one buffer in order to
wait for the next buffer when under high load.  This more fully
realizes the goal of zero system calls in order to process a
high-speed packet stream from BPF.

Update bpf.4 to reflect that both buffers may be owned by userspace
at once; caution against assuming this.
2008-04-07 02:51:00 +00:00
attilio
da8539bd62 Commit manpages for lockmgr_args_rw(9) and lockmgr_rw(9). 2008-04-06 21:22:12 +00:00
imp
347f099cb1 MFp4 (mips2-jnpr):
o Default to -O on mips as well as arm.  -O2 has been strongly implicated
  in many problems in the past, so we're taking a conservative approach
  until the problems are well understood.
2008-04-04 21:12:40 +00:00
imp
30afe603df Add note about PZERO being obsolete, because so much code uses it.
Feel free to improve the verbage, since this was a compromise between
conflicting feedback I got on my original version.
2008-04-04 16:59:58 +00:00
obrien
feb87952a5 PR ports/121363 (& ports/73797) has been committed, so we can now go back
to JB's revision 1.96 change to remove -fno-strict-aliasing from CFLAGS.

This makes the default CFLAGS to match the simple defaults that the
tinderboxes use.  By using -fno-strict-aliasing by default we are
choosing to ignore problems in code which had the potential to
shoot ourselves in the foot.
2008-04-02 17:24:22 +00:00
attilio
f4b9e6a646 Add manpages for rw_try_rlock() and rw_try_wlock() functions. 2008-04-01 20:56:45 +00:00
weongyo
bfbd45a281 Connect malo.4 to the build.
Approved by:	thompsa (mentor)
2008-04-01 07:20:04 +00:00
skv
206a6eb6a9 Fix punctiation.
Approved by:	ru
2008-03-31 14:11:37 +00:00
ru
f80716ab37 Regen. 2008-03-29 17:47:12 +00:00
ru
0f0375e36a Remove options MK_LIBKSE and DEFAULT_THREAD_LIB now that we no longer
build libkse.  This should fix WITHOUT_LIBTHR builds as a side effect.
2008-03-29 17:44:40 +00:00
mav
e581a2ffe9 Rewrite node to support multiple hooks, alike to ng_l2tp, to use one pair
of pptpgre and ksocket nodes for all calls between two peers.
2008-03-29 06:54:13 +00:00
brueffer
3ae2dd85c9 ARC-1680 is supported.
Submitted by:	Steven Hartland <killing@multiplay.co.uk>
MFC after:	3 days
2008-03-28 23:25:58 +00:00
brueffer
709a46133e Document lockmgr_waiters(9).
Reviewed by:	attilio
2008-03-28 21:30:37 +00:00
rpaulo
fbebd132a5 Add Qualcomm, Inc. ZTE CDMA Technologies MSM to the list of supported
devices.

MFC after:	1 week
2008-03-28 15:28:59 +00:00
brooks
c19e2cda05 Add support for hardwiring ppp sessions to particular devices with new
per-profile variables of the form ppp_<profile>_unit.  No ppp_unit
variable is supported since tying the same unit to more than one profile
won't work.

PR:		conf/122127
MFC after:	1 week
2008-03-28 07:57:52 +00:00
brooks
dafcba3dbf Allow the characters .-+/ to appear in ppp profile names by folding them
to _ when evaluating ppp_<profile>_nat and ppp_<profile>_mode.  Document
the per-profile variables.

PR:		conf/121452, conf/122127 (partial)
MFC after:	1 week
2008-03-26 21:54:48 +00:00
brueffer
b64d211df2 Fix some "in in" typos in comments.
PR:		121490
Submitted by:	Anatoly Borodin <anatoly.borodin@gmail.com>
Approved by:	rwatson (mentor), jkoshy
MFC after:	3 days
2008-03-26 07:32:08 +00:00
brueffer
172c1f8c45 Bring this manpage more in line with other wlan driver manpages. 2008-03-25 20:32:19 +00:00
ru
e8523e8018 s/M_TRYWAIT/M_WAIT/ 2008-03-25 15:44:49 +00:00
ru
3b1bf8c2e9 Replaced the misleading uses of a historical artefact M_TRYWAIT with M_WAIT.
Removed dead code that assumed that M_TRYWAIT can return NULL; it's not true
since the advent of MBUMA.

Reviewed by:	arch

There are ongoing disputes as to whether we want to switch to directly using
UMA flags M_WAITOK/M_NOWAIT for mbuf(9) allocation.
2008-03-25 09:39:02 +00:00
weongyo
9a9594d179 Add support for Marvell Libertas 88W8335 based PCI network adapters.
Reviewed by:	sam, many wireless people
Approved by:	thompsa (mentor)
2008-03-25 06:32:33 +00:00
edwin
953e13c915 Fix double patch on this file. 2008-03-25 03:04:54 +00:00
edwin
07425727c8 MFV of tzdata2008a
Changes:
- Calcutta -> Kolkata
- Iraq DST changes
- Syria DST changes
- Saigon -> Ho_Chi_Minh
- Cuba DST changes
- New area America/Argentina/San_Luis

Approved by:	grog@ (mentor)
2008-03-25 02:56:25 +00:00
csjp
310e3f93dd Introduce support for zero-copy BPF buffering, which reduces the
overhead of packet capture by allowing a user process to directly "loan"
buffer memory to the kernel rather than using read(2) to explicitly copy
data from kernel address space.

The user process will issue new BPF ioctls to set the shared memory
buffer mode and provide pointers to buffers and their size. The kernel
then wires and maps the pages into kernel address space using sf_buf(9),
which on supporting architectures will use the direct map region. The
current "buffered" access mode remains the default, and support for
zero-copy buffers must, for the time being, be explicitly enabled using
a sysctl for the kernel to accept requests to use it.

The kernel and user process synchronize use of the buffers with atomic
operations, avoiding the need for system calls under load; the user
process may use select()/poll()/kqueue() to manage blocking while
waiting for network data if the user process is able to consume data
faster than the kernel generates it. Patchs to libpcap are available
to allow libpcap applications to transparently take advantage of this
support. Detailed information on the new API may be found in bpf(4),
including specific atomic operations and memory barriers required to
synchronize buffer use safely.

These changes modify the base BPF implementation to (roughly) abstrac
the current buffer model, allowing the new shared memory model to be
added, and add new monitoring statistics for netstat to print. The
implementation, with the exception of some monitoring hanges that break
the netstat monitoring ABI for BPF, will be MFC'd.

Zerocopy bpf buffers are still considered experimental are disabled
by default. To experiment with this new facility, adjust the
net.bpf.zerocopy_enable sysctl variable to 1.

Changes to libpcap will be made available as a patch for the time being,
and further refinements to the implementation are expected.

Sponsored by:		Seccuris Inc.
In collaboration with:	rwatson
Tested by:		pwood, gallatin
MFC after:		4 months [1]

[1] Certain portions will probably not be MFCed, specifically things
    that can break the monitoring ABI.
2008-03-24 13:49:17 +00:00
brueffer
b24f39223e Oops, add back the SYNOPSIS section header I accidently removed in the
previous revision.
2008-03-20 08:46:27 +00:00
imp
c734f7062f Add support for MACHINE_ARCH == mips, plus a few generic CPU types that
will be supported in the forth coming FreeBSD/mips port.
2008-03-19 12:20:44 +00:00
brueffer
b2b09b9356 Bah, missed one instance in the previous commit. Correct bpf
data-link type here as well.

PR:		121477
2008-03-17 16:37:35 +00:00
brueffer
792430a220 Correct bpf data-link type.
PR:		121477
Submitted by:	Sam Banks
MFC after:	3 days
2008-03-17 16:33:34 +00:00
brueffer
1bfcad58c9 Use a standard section 4 SYNOPSIS.
MFC after:	3 days
2008-03-17 08:17:04 +00:00
brueffer
3ecb6dd056 Device counts are long gone.
MFC after:	3 days
2008-03-17 08:06:41 +00:00
brueffer
64b6524153 Fix AUTHORS formatting.
MFC after:	3 days
2008-03-16 22:51:30 +00:00
brueffer
89655c7251 Device counts are long gone, also remove the outdated FILES section.
MFC after:	3 days
2008-03-16 22:26:17 +00:00
pjd
ea49d310bf Implement atomic_fetchadd_long() for all architectures and document it.
Reviewed by:	attilio, jhb, jeff, kris (as a part of the uidinfo_waitfree.patch)
2008-03-16 21:20:50 +00:00
pjd
6a68218ce1 Implement soon-to-be-used rw_unlock() macro. 2008-03-16 17:10:52 +00:00
pjd
3505d672cf Add missing .El. 2008-03-16 17:06:05 +00:00
rwatson
60dab6dffc Add stack_print_ddb() to the synposis of stack(9), add mlink for it; fix
stack_print(9) mlink.

Spotted by:	attilio
2008-03-14 13:13:37 +00:00
edwin
b599192a00 Add projects-all collection to cvs-supfile
PR:		misc/121680
Submitted by:	"Philip M. Gollucci" <pgollucci@p6m7g8.com>
Approved by:	grog@ (mentor)
MFC after:	1 week
2008-03-13 22:36:02 +00:00
sam
e27789519d document device hints including new ones to control rx fifo trigger
MFC after:	2 weeks
2008-03-12 19:09:58 +00:00
yongari
279ae6e314 Document a new sysctl variable, dev.vr.%d.stats.
Touch Dd.
2008-03-11 05:05:55 +00:00
lippe
9bfa810838 - Add myself.
Approved by:	gabor (mentor)
2008-03-09 13:33:44 +00:00
edwin
aa764bd51d MFV: tzdata2008a
Notable changes:

- Chilis DST has been extended for 3 weeks.
- No leapsecond in 2008

Approved by:	grog@ (mentor)
2008-03-09 11:23:08 +00:00