Commit Graph

3799 Commits

Author SHA1 Message Date
Pawel Jakub Dawidek
3c35ee2c30 Correct an obvious typo. 2008-04-12 05:49:05 +00:00
Jung-uk Kim
ff0af72c39 - 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
Rui Paulo
b01959107e Change the EXAMPLE section to reflect reality (ISA -> ACPI). 2008-04-07 11:27:16 +00:00
Robert Watson
a7a91e6592 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
Weongyo Jeong
3f9c55c7db Connect malo.4 to the build.
Approved by:	thompsa (mentor)
2008-04-01 07:20:04 +00:00
Alexander Motin
5c643ed000 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
Christian Brueffer
9e74206fe0 ARC-1680 is supported.
Submitted by:	Steven Hartland <killing@multiplay.co.uk>
MFC after:	3 days
2008-03-28 23:25:58 +00:00
Rui Paulo
2e2568725c 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
Christian Brueffer
9c8408a472 Bring this manpage more in line with other wlan driver manpages. 2008-03-25 20:32:19 +00:00
Weongyo Jeong
3c7e78d32d 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
Christian S.J. Peron
4d621040ff 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
Christian Brueffer
42b5d159f2 Oops, add back the SYNOPSIS section header I accidently removed in the
previous revision.
2008-03-20 08:46:27 +00:00
Christian Brueffer
dd3a95f4df Use a standard section 4 SYNOPSIS.
MFC after:	3 days
2008-03-17 08:17:04 +00:00
Christian Brueffer
19a29bc737 Device counts are long gone.
MFC after:	3 days
2008-03-17 08:06:41 +00:00
Christian Brueffer
1dabcd56c6 Fix AUTHORS formatting.
MFC after:	3 days
2008-03-16 22:51:30 +00:00
Christian Brueffer
1c4c3d38f5 Device counts are long gone, also remove the outdated FILES section.
MFC after:	3 days
2008-03-16 22:26:17 +00:00
Sam Leffler
def2344db6 document device hints including new ones to control rx fifo trigger
MFC after:	2 weeks
2008-03-12 19:09:58 +00:00
Pyun YongHyeon
3d10068844 Document a new sysctl variable, dev.vr.%d.stats.
Touch Dd.
2008-03-11 05:05:55 +00:00
Robert Watson
31dd4200da Update ddb.4 to reflect addition of /S (symbol name) printing mode for
examine.

MFC after:	3 days
PR:		57976
2008-03-07 18:14:29 +00:00
Rink Springer
fa5161a674 Added missing BSD license text to the cmx.4 manpage.
Noticed by:	brueffer
2008-03-06 08:47:16 +00:00
Rink Springer
603d67ae36 Commit cmx(4), a driver for Omnikey CardMan 4040 PCMCIA smartcard readers.
PR:		kern/114582
Submitted by:	Daniel Roethlisberger <daniel@roe.ch>
Reviewed by:	imp, myself
Tested by:	johans, myself
MFC after:	2 weeks
2008-03-06 08:09:45 +00:00
Christian Brueffer
544b955a47 mdoc changes to make this manpage consistent with our other section 4 manpages. 2008-03-05 18:04:21 +00:00
Rink Springer
3a583d1e7f Oops, I accidently concatenated uslcom.[c4] multiple times before the
commit :-/ Quickly fix before things get broken...

Pointyhat to:		me
2008-03-05 14:18:29 +00:00
Rink Springer
2e7328e7cc Import uslcom(4) from OpenBSD - this is a driver for Silicon Laboratories
CP2101/CP2102 based USB serial adapters.

Reviewed by:		imp, emaste
Obtained from:		OpenBSD
MFC after:		2 weeks
2008-03-05 14:13:30 +00:00
Christian Brueffer
861b026781 The Sony i.LINK (CXD1947) is _not_ supported.
PR:		116680
Submitted by:	Jens Köhler <mail@chatty.de>
MFC after:	3 days
2008-03-03 08:55:50 +00:00
Alexander Motin
fffba935e4 Add support for the libalias redirect functionality.
Submitted by:   Vadim Goncharov <vadim_nuclight@mail.ru>
2008-03-01 17:14:02 +00:00
Christian Brueffer
ba0700b5b6 Xref uchcom(4). 2008-03-01 13:28:27 +00:00
Christian Brueffer
b32d5fae5f Manpage for the uchcom(4) driver, adapted from the one in NetBSD. 2008-03-01 13:05:03 +00:00
Christian Brueffer
9453fd717f Move the HARDWARE section below the DESCRIPTION section, like it is
everywhere else.

MFC after:	3 days
2008-03-01 11:35:30 +00:00
Remko Lodder
64da64c3f7 Add the Epson - CX5400 to the supported lists of epson scanners.
Noticed by:	simon
Forgotten by:	me
2008-02-27 10:57:51 +00:00
Bruce M Simpson
e75f77ece7 ip6(4) man page lacks documentation for TCLASS option.
PR:		docs/120945
Reviewed by:	remko
2008-02-22 21:02:36 +00:00
Andrew Thompson
764fa86761 geom_lvm(4) is now known as geom_linux_lvm(4). 2008-02-20 07:52:43 +00:00
Andrew Thompson
1669d8afc6 Rename geom_lvm(4) to geom_linux_lvm(4).
Requested by:	des, phk
2008-02-20 07:50:13 +00:00
Andrew Thompson
1332875338 Add a geom class to map Linux LVM logical volumes.
The logical disks will appear as /dev/lvm/<vol group>-<logical vol>, for
instance /dev/lvm/vg0-home. G_LINUX_LVM currently supports linear stripes with
segments on multiple physical disks. The metadata is read only, logical
volumes can not be allocated or resized.

Reviewed by:	Ivan Voras

Previously known as geom_lvm(4), rename requested by des, phk.
2008-02-20 07:45:36 +00:00
Christian Brueffer
c515fdbfa4 Document the hw.skc.jumbo_disable tunable. While here, correct some things
in the SYSCTLS section.

Submitted by:	yongari
2008-02-14 10:01:48 +00:00
Christian Brueffer
df77ed7558 The hptrr driver first appeared in 6.3, not 5.3.
PR:		120616
Submitted by:	Josh Paetzel <josh@tcbug.org>
MFC after:	3 days
2008-02-13 18:32:44 +00:00
Christian Brueffer
269c9210d1 - mention new firmware images used in multi-slice mode
- mention LRO support
- describe multi-slice related tunables.
- correct DIAGNOSTICS section to reflect that missing firmware
  is non-fatal.

Submitted by:	gallatin
2008-02-13 08:09:55 +00:00
Christian Brueffer
fa3796dcdf Some small fixes, also introduce an EXAMPLES section. 2008-02-11 09:01:14 +00:00
Andrew Thompson
2b8d4f5bd4 Hook geom_lvm(4) up to the build. 2008-02-11 03:10:40 +00:00
Andrew Thompson
77b65eef19 Add a geom class to map Linux LVM logical volumes.
The logical disks will appear as /dev/lvm/<vol group>-<logical vol>, for
instance /dev/lvm/vg0-home. GLVM currently supports linear stripes with
segments on multiple physical disks. The metadata is read only, logical
volumes can not be allocated or resized.

Reviewed by:	Ivan Voras
2008-02-11 03:05:11 +00:00
Mitsuru IWASAKI
5a3c4d694e Add `hw.ciss.nop_message_heartbeat' tunable (default disabled) for
NOP-message polling in ciss_periodic().
Note that setting the tunable to non-zero can be workaround only for
`ADAPTER HEARTBEAT FAILED' problem, and may freeze the system w/o
the problem.

Reviewed by:	scottl
Reported by:	Attila Nagy
MFC after:	3 days
2008-02-10 06:21:52 +00:00
Scott Long
54c1b47d28 Add a note that the hptrr driver supersedes the rr232x driver. 2008-02-06 03:30:13 +00:00
Christian Brueffer
0aad0c5005 Remove an empty line that crept into the previous commit. 2008-02-03 16:42:22 +00:00
Christian Brueffer
6db6179768 MLINK hptrr(4) to rr232x(4).
Requested by:	scottl
2008-02-03 16:38:44 +00:00
Scott Long
fbbd744496 Update the hptiop man page for the new driver. 2008-02-03 16:16:38 +00:00
Scott Long
a00390415c Remove the rr232x manual page. 2008-02-03 07:31:49 +00:00
Tom Rhodes
c01d5f7d0f Some clarifications to make keyboard configuration under syscons.
PR:		89325
Submitted by:	Oliver Fromme <olli@secnetix.de>
Reviewed by:	emax
2008-01-29 18:28:50 +00:00
Tom Rhodes
c4b709a010 Properly Xref device.hints.5.
Noticed by:	ru
2008-01-29 00:13:20 +00:00
Christian Brueffer
5760e921e8 Remove references to the obsolete card(4) manpage. 2008-01-28 18:08:41 +00:00
Tom Rhodes
a4b8759227 Bring the DIAGNOSTICS section in ed.4 closer to reality by removing missing
diagnostic messages and adding a few found in the code.

PR:	51891
2008-01-27 15:37:49 +00:00