Commit Graph

7290 Commits

Author SHA1 Message Date
Sam Leffler
6e0186d5ee add callout_schedule; besides being useful it also improves
compatibility with other systems

Reviewed by:	ed, battlez
2008-08-02 17:42:38 +00:00
Colin Percival
cd44e09c66 Document new IDSIgnorePaths directive. 2008-08-02 00:13:51 +00:00
Warner Losh
f1345f5393 Add a few clarifications to this man page. Also, add a table that
describes the minimum versions of each feature and each chipset type
supported by this driver.  Basically, unless you have a very modern
version of firmware on a Prism card, you won't be able to use these
cards for much on modern networks that have any kind of protection
enabled, except for the few WEP-only stranglers that appear at some
conferences...
2008-07-26 18:31:39 +00:00
Pawel Jakub Dawidek
7f41115ef6 Implement the following macros for completeness:
SYSCTL_QUAD()
	SYSCTL_ADD_QUAD()
	TUNABLE_QUAD()
	TUNABLE_QUAD_FETCH()

Now we can use 64bit tunables on 32bit systems.
2008-07-21 15:05:25 +00:00
Maxim Konovalov
dc5aa2110e o Document "show conifhk", wording from r180610 commit log.
Reviewed by:	rwatson
2008-07-21 10:03:02 +00:00
Lars Engels
fdec4b4190 Properly underline force_depend's parameter.
Reviewed by:	brueffer
2008-07-20 10:06:14 +00:00
David Malone
167fcf0511 Add a man page for the DNS accept filter. 2008-07-18 14:46:01 +00:00
Christian Brueffer
960e10f9e9 Manpage for the et(4) driver.
Obtained from:	DragonFly
2008-07-14 18:15:43 +00:00
Remko Lodder
1091cc09ef More explicitly mention that we support the 2920C with the ahc driver.
PR:		125535
Submitted by:	Bob Bishop <rb at gid dot co dot uk>
MFC after:	3 days
2008-07-13 13:56:21 +00:00
Daniel Gerzo
6b527d112c Back-out my previous change. See the thread at
http://lists.freebsd.org/pipermail/cvs-all/2008-July/263779.html
2008-07-10 11:24:41 +00:00
Weongyo Jeong
f4841b5380 the driver don't support AD-HOC mode currently. 2008-07-10 08:44:02 +00:00
Daniel Gerzo
1249a78860 - nested functions are a GCC extensions and should not be used
Submitted by:	gahr
MFC after:	3 days
2008-07-09 14:04:28 +00:00
Weongyo Jeong
4951c55c3c remove a useless example.
Pointed by:	imp
2008-07-08 04:15:07 +00:00
Bjoern A. Zeeb
dea0ed6690 Add a `show cpusets' DDB command to print numbered root and
assigned CPU affinity sets.

Reviewed by:	brooks
2008-07-07 21:32:02 +00:00
David Malone
0d1532e0ef Update man page for addition of BIOCSETFNR. Subversion didn't want
to commit this at the same time for some reason.
2008-07-07 09:27:02 +00:00
Weongyo Jeong
55f2aa7451 correct device name errors and wrong informations that currently malo(4)
don't support ad-hoc mode and there's no a man page like malofw(4).
2008-07-07 02:39:39 +00:00
Warner Losh
278324026c Add two corega cards and annotate 8041 V2 chipset. 2008-07-06 06:24:02 +00:00
John Baldwin
a78c3ed89c Remove the sbsh(4) driver. No one responded to requests for testing the
MPSAFE patches on current@ and stable@.  This driver also has a fundamental
issue in that it sleeps when sending commands to the card including in the
if_init/if_start routines (which can be called from interrupt context).  As
such, the driver shouldn't be working reliably even on 4.x.
2008-07-04 21:24:35 +00:00
John Baldwin
e9a31041c0 Remove the sbni(4) driver. No one responded to calls to test it on
current@ and stable@.
2008-07-04 21:06:57 +00:00
John Baldwin
67c58e8a6e Remove the cnw(4) driver. No one responded to calls to test it on current@
and stable@.  It also is a driver for an older non-802.11 wireless PC card
that is quite slow in comparison to say, wi(4).  I know Warner wants this
driver axed as well.
2008-07-04 19:13:15 +00:00
John Baldwin
2c6298572e Remove the oltr(4) driver. No one responded to calls for testing on
current@ and stable@ for the locking patches.  The driver can always be
revived if someone tests it.

This driver also sleeps in its if_init routine, so it likely doesn't really
work at all anyway in modern releases.
2008-07-04 18:58:53 +00:00
John Baldwin
94f923b69d Remove the arl(4) driver. It is reported to not work on 6.x or later
even though the driver hasn't changed since 4.x (last known working
release).
2008-07-04 18:15:36 +00:00
Nathan Whitehorn
97a04b5e19 Add manpage for Apple BMAC ethernet driver.
Approved by:	marcel (mentor)
2008-07-04 14:51:42 +00:00
Daniel Gerzo
139ce056e6 - fix typos
PR:		docs/125223
Submitted by:	Fabian Keil <fk (a) fabiankeil.de>
MFC after:	3 days
2008-07-03 16:48:35 +00:00
Marc Fonvieille
29881a8358 Elexol USB MOD3 is also supported. 2008-07-03 12:48:13 +00:00
Ed Maste
1f56858361 Add explicit PCI IDs for the following Adaptec RAID Series 2 adapters:
Adaptec RAID 2045
  Adaptec RAID 2405
  Adaptec RAID 2445
  Adaptec RAID 2805

Without this change these devices are supported by the driver's family
support, but they then appear as "Adaptec RAID Controller" in boot
messages and the dev.aac.0.%desc sysctl.
2008-06-27 19:34:47 +00:00
Ruslan Ermilov
5c1eb5ea14 Regen properly. 2008-06-25 21:42:23 +00:00
Ruslan Ermilov
5a9bc08994 Regen. 2008-06-25 21:36:25 +00:00
Simon L. B. Nielsen
44c8009459 To catch up with rev 179872: rename enable_quotas to quota_enable. 2008-06-21 13:53:35 +00:00
Daniel Gerzo
1d9fef7106 - link powerd(8) man page
PR:		docs/123111
MFC after:	3 days
2008-06-20 23:04:34 +00:00
Andrew Thompson
131c55bc5b Add support for the optional key in the GRE header.
PR:		kern/114714
Submitted by:	Cristian KLEIN
2008-06-20 17:26:34 +00:00
Remko Lodder
6a4c41d1bb Document the _arg versions of the uma_zalloc and uma_zfree functions.
PR:		docs/120357
Submitted by:	gahr
MFC after:	3 days
2008-06-19 18:33:38 +00:00
Attilio Rao
4dc7ad3968 Add the option stub for the Globetrotter Max 3.6 Modem.
Submitted by:	Greg Rivers <gcr at tharned dot org>
2008-06-18 20:50:30 +00:00
Christian Brueffer
dd76dbbb9c Bring this up to date with regard to our other section 4 and Intel manpages,
also fixes a few mdoc bugs.
2008-06-17 21:14:02 +00:00
George V. Neville-Neil
d55f384033 Update to include the Camellia algorithm which is in the code but
which was accidentally left undocumented in the manual page.
2008-06-16 14:33:54 +00:00
Doug Barton
50ad447b90 Regenerate to add the definitions of WITHOUT_BSD_CPIO WITH_GNU_CPIO
and WITHOUT_GNU_GREP
2008-06-16 05:50:21 +00:00
Doug Barton
076a71a21e Regenerate using svn $FreeBSD$ tags. There is no change in the actual
man page text other than the date.
2008-06-16 05:33:16 +00:00
Oleksandr Tymoshenko
10a6caea1b It's Friday the 13th, not the 10th and I can't travel in time. Yet. 2008-06-13 19:45:12 +00:00
Oleksandr Tymoshenko
2eb30874af Add "fast" versions of macros and functions to taskqueue(9) API
description: TASKQUEUE_FAST_DEFINE(9), TASKQUEUE_FAST_DEFINE_THREAD(9),
  taskqueue_create_fast(9). They deal with taskqueues intended for use
  in fast interrupt handlers.

  Approved by:	cognet (mentor)
  Reviewed by:	keramida
2008-06-13 19:35:17 +00:00
Remko Lodder
898779e1ef Document more tmpfs mount options that are already
available.

PR:		124488
Submitted by:	gahr
2008-06-12 18:49:24 +00:00
Jack F Vogel
aa15c94529 Add man page for ixgbe driver 2008-06-11 18:49:55 +00:00
Warner Losh
b7b4d1fd3f Add Belkin F5U257 to the mix. 2008-06-10 19:33:31 +00:00
Paul Saab
160b4e6bfc Add support for the P212, P410, P410i, P411, and P812 HP Smart Array
controllers.

Submitted by:  Scott Benesh at HP
2008-06-10 17:51:51 +00:00
Wojciech A. Koszek
5bbaa5cf02 Mark "highaddr" and "lowaddr" appropriately. Change "dma" to "DMA".
Fix spelling mistage found by rodrigc@.

Reviewed by:	rodrigc, danger
2008-06-09 22:13:14 +00:00
Wojciech A. Koszek
e14e342b14 Change header file references from <filename>.h to
path relative to /usr/include. It looks much better anyway.

Instead of referencing "socket", which is bogus, reference
'sys/socket.h', which is what should be placed here from
the beggining.

Suggested by:	maxim
2008-06-08 21:08:20 +00:00
Wojciech A. Koszek
cad20b04fe Fix the way the date must be specified (leading 0 is redundant).
Fix several spelling mistakes brought by my earlier commit.
Trim whitespace.

Submitted by:	maxim
2008-06-08 21:01:39 +00:00
Wojciech A. Koszek
b1772905eb Bring more commands to the ddb(4) manual page. This should be considered
"complete" list, but some commands might be still missing.

Reviewed by:	julian
2008-06-08 09:09:08 +00:00
Attilio Rao
02c916540f Add the missing option LK_NOWITNESS for vn_lock / VOP_LOCK operations. 2008-06-05 17:07:33 +00:00
Alexander Kabaev
e476ebf3d5 Add device ID for AnyDATA ADU-500A EV-DO modem.
Submitted by: Oleksandr Tatmanyants
PR: 118479
2008-06-03 03:31:53 +00:00
Giorgos Keramidas
9d031b92bb Various mdoc style and wording fixes.
Reviewed by:	ariff
MFC after:	3 days
2008-05-28 05:46:04 +00:00
Maksim Yevmenkin
00e41a48c2 Bluetooth SIG is being difficult and keep moving specification
documents away from being public accessible. Replace link to
the Bluetooth specification document with the document name.

Pointed out by:	SoftLover < slserg at uic dot tula dot ru >
MFC after:	3 days
2008-05-27 17:46:32 +00:00
Pyun YongHyeon
2af07c4e1b ASUS G2S notebook is supported by age(4).
Reported by:	Chad Albert ( chad.albert AT healthcarefirst DOT com )
2008-05-27 03:43:45 +00:00
Pyun YongHyeon
2a5ba967f0 Hook up jme(4) to the build. 2008-05-27 02:18:17 +00:00
Pyun YongHyeon
a9acaaae30 Add jme(4) to the list of drivers use the miibus interface. 2008-05-27 02:07:30 +00:00
Pyun YongHyeon
889eb7f589 Add jme(4) to the list of drivers supporting ALTQ. 2008-05-27 02:03:26 +00:00
Pyun YongHyeon
629bf5061d Add jme(4) to the list of devices supporting full VLAN processing
in hardware.
2008-05-27 02:01:42 +00:00
Pyun YongHyeon
bc23fe19ca Add man page for jme(4).
Reviewed by:	brueffer
2008-05-27 01:59:17 +00:00
Robert Watson
0a4d74f8b2 Remove now-obsolete Xref to ng_atmpif.4 from netgraph.4.
MFC after:	3 weeks
Spotted by:	antoine
2008-05-26 22:39:56 +00:00
Bjoern A. Zeeb
2e598474fa Remove ISDN4BSD (I4B) from HEAD as it is not MPSAFE and
parts relied on the now removed NET_NEEDS_GIANT.
Most of I4B has been disconnected from the build
since July 2007 in HEAD/RELENG_7.

This is what was removed:
- configuration in /etc/isdn
- examples
- man pages
- kernel configuration
- sys/i4b (drivers, layers, include files)
- user space tools
- i4b support from ppp
- further documentation

Discussed with: rwatson, re
2008-05-26 10:40:09 +00:00
Robert Watson
e4372ceba0 Remove netatm from HEAD as it is not MPSAFE and relies on the now removed
NET_NEEDS_GIANT.  netatm has been disconnected from the build for ten
months in HEAD/RELENG_7.  Specifics:

- netatm include files
- netatm command line management tools
- libatm
- ATM parts in rescue and sysinstall
- sample configuration files and documents
- kernel support as a module or in NOTES
- netgraph wrapper nodes for netatm
- ctags data for netatm.
- netatm-specific device drivers.

MFC after:	3 weeks
Reviewed by:	bz
Discussed with:	bms, bz, harti
2008-05-25 22:11:40 +00:00
Oleksandr Tymoshenko
8f668ffa98 Clean out all mentions of struct proc* for it was removed from
taskqueue(9) API more then two years ago.

  Approved by:	cognet (mentor)
2008-05-22 21:41:19 +00:00
Alan Cox
72e70f4e1d The function pmap_addr_hint no longer exists. Remove its man page. 2008-05-22 16:25:25 +00:00
Ed Schouten
e2fd72de44 Introduce REMOVE_NEXT() macro's for SLIST and STAILQ.
Even though single linked lists allow items to be removed at constant time
(when the previous element is known), the queue macro's don't allow this.
Implement new REMOVE_NEXT() macro's. Because the REMOVE() macro's also
contain the same code, make it call REMOVE_NEXT().

The OpenBSD version of SLIST_REMOVE_NEXT() needs a reference to the list
head, even though it is unused. We'd better mimic this. The STAILQ version
also needs a reference to the list. This means the prototypes of both
macro's are the same.

Approved by:	philip (mentor)
PR:		kern/121117
2008-05-22 14:40:03 +00:00
Kevin Lo
8b2898a64d Document the azp for controlling audio power 2008-05-20 06:33:10 +00:00
Pyun YongHyeon
ac6a32ca20 Hook up age(4) to the build. 2008-05-19 02:21:00 +00:00
Pyun YongHyeon
ff354518cf Add age(4) to the list of drivers use the miibus interface. 2008-05-19 02:10:39 +00:00
Pyun YongHyeon
dbae6a113d Add age(4) to the list of drivers supporting ALTQ. 2008-05-19 02:06:39 +00:00
Pyun YongHyeon
7a0bde8402 Add age(4) to the list of devices supporting full VLAN processing
in hardware.
2008-05-19 02:03:52 +00:00
Pyun YongHyeon
bbb1ae830d Add man page for age(4).
brueffer fixed various nits in the document.

Reviewed by:	brueffer
2008-05-19 02:00:16 +00:00
Colin Percival
bdd9aff946 Add support for specifying which INDEX files to build via portsnap.conf.
Requested by:	brooks
Reminded by:	brooks, about halfway through his BSDCan talk
2008-05-17 16:26:27 +00:00
Brooks Davis
ace19032cf Change the default value of synchronous_dhclient to NO.
To preserve the existing behavior of etc/rc.d/netif, add code to wait
up to if_up_delay seconds (30 seconds by default) for a default route to
be configured if there are any dhcp interfaces.  This should be extended
to test that the interface is actually up.

X-MFC after:
2008-05-15 01:06:10 +00:00
Remko Lodder
cf8a0afe6e Bump modification date. 2008-05-13 21:51:35 +00:00
Remko Lodder
0ad0250754 The first of thirteen patches by Ed that resolves a documentation
issue in termios.4, ttydefaults.h does not exist in /usr/include
but in /usr/include/sys.

MFC after:	3 days
Submitted by:	Ed Schouten (ed at 80386 dot nl)
2008-05-13 21:51:02 +00:00
Christian Brueffer
dec7a1d5c0 Typo fixes. 2008-05-12 08:53:02 +00:00
Joel Dahl
4b0532806f Update HARDWARE section. 2008-05-11 06:40:04 +00:00
Alan Cox
26c538ffcd Generalize vm_map_find(9)'s parameter "find_space". Specifically, add
support for VMFS_ALIGNED_SPACE, which requests the allocation of an
address range best suited to superpages.  The old options TRUE and FALSE
are mapped to VMFS_ANY_SPACE and VMFS_NO_SPACE, so that there is no
immediate need to update all of vm_map_find(9)'s callers.

While I'm here, correct a misstatement about vm_map_find(9)'s return
values in the man page.
2008-05-10 18:55:35 +00:00
Christian Brueffer
fc68e8cb46 Remove extraneous .Ed, correct SEE ALSO section. 2008-05-10 06:46:58 +00:00
Brooks Davis
5ed11a24b1 Replace a couple mentions of the soon to be removed vaps_<ifn>
variable form with wlans_<ifn>.
2008-05-03 07:06:48 +00:00
Robert Watson
b9540a02a8 Fix type name: struct auditpipe_preselect is actually struct
auditpipe_ioctl_preselect.

MFC after:	3 days
Submitted by:	Stacey D. Son <stacey at son.org>
2008-05-02 17:36:22 +00:00
Julian Elischer
c59b9a7659 Document the kproc_kthread_add() call
and fix a small detail of its implementation.
MFC after: 1 week
2008-04-29 22:43:15 +00:00
Sam Leffler
3971d07be7 Intel 4965 wireless driver (derived from openbsd driver of the same name) 2008-04-29 21:36:17 +00:00
Pawel Jakub Dawidek
6e679990b9 Fix some section references. 2008-04-29 08:16:05 +00:00
Warner Losh
aec0c4d822 mention DX8400/50 2008-04-29 00:53:12 +00:00
Pawel Jakub Dawidek
f6a83858fc Document 'show mount' command. 2008-04-28 14:11:23 +00:00
Brooks Davis
89b5b33da2 Replace the prototype vaps_<ifn> and vap_create_<ifn> variables with
more wlans_<ifn> and create_args_<ifn>

Add documentation for these variants and generally update the wireless
device example.

There is are very short lived shim from vaps_<ifn> which produces
a warning and vap_create_<ifn> which does not.  Misuse the MFC
notification service to remind me to remove them.

MFC after:	3 weeks
2008-04-25 23:50:49 +00:00
Robert Watson
070356d1fb Use ddb(4), not DDB(4) for man page cross-references.
MFC after:	3 days
Reported by:	novel
2008-04-21 17:09:53 +00:00
Sam Leffler
b032f27c36 Multi-bss (aka vap) support for 802.11 devices.
Note this includes changes to all drivers and moves some device firmware
loading to use firmware(9) and a separate module (e.g. ral).  Also there
no longer are separate wlan_scan* modules; this functionality is now
bundled into the wlan module.

Supported by:	Hobnob and Marvell
Reviewed by:	many
Obtained from:	Atheros (some bits)
2008-04-20 20:35:46 +00:00
Sam Leffler
f446360711 move awi to the Attic; it will not make the jump to the new world order
Reviewed by:	imp
2008-04-20 19:20:39 +00:00
Pyun YongHyeon
95d86ad96b Mention support for nForce MCP73.
Touch Dd.
2008-04-16 00:17:24 +00:00
Attilio Rao
031e0f3cd9 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
Rui Paulo
f0ded229ee MFp4: k8temp(4) man page. 2008-04-12 14:08:24 +00:00
Pawel Jakub Dawidek
3c35ee2c30 Correct an obvious typo. 2008-04-12 05:49:05 +00:00
Maksim Yevmenkin
4c33fe9619 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
Maksim Yevmenkin
97078e0796 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
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
Attilio Rao
48a12f8928 Commit manpages for lockmgr_args_rw(9) and lockmgr_rw(9). 2008-04-06 21:22:12 +00:00
Warner Losh
043b496b8d 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
Attilio Rao
c709e029e7 Add manpages for rw_try_rlock() and rw_try_wlock() functions. 2008-04-01 20:56:45 +00:00
Weongyo Jeong
3f9c55c7db Connect malo.4 to the build.
Approved by:	thompsa (mentor)
2008-04-01 07:20:04 +00:00
Sergey Skvortsov
836d250db3 Fix punctiation.
Approved by:	ru
2008-03-31 14:11:37 +00:00
Ruslan Ermilov
75ad2c1d29 Regen. 2008-03-29 17:47:12 +00:00
Ruslan Ermilov
dbdb679c6f 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
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
Christian Brueffer
b4b811fa3c Document lockmgr_waiters(9).
Reviewed by:	attilio
2008-03-28 21:30:37 +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
Brooks Davis
14b0729b93 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 Davis
6ea3dc3746 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
Christian Brueffer
662cac9f23 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
Christian Brueffer
9c8408a472 Bring this manpage more in line with other wlan driver manpages. 2008-03-25 20:32:19 +00:00
Ruslan Ermilov
eb085c43f0 s/M_TRYWAIT/M_WAIT/ 2008-03-25 15:44:49 +00:00
Ruslan Ermilov
ea26d58729 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 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
11de779e13 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
Christian Brueffer
523d048db6 Correct bpf data-link type.
PR:		121477
Submitted by:	Sam Banks
MFC after:	3 days
2008-03-17 16:33:34 +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
Pawel Jakub Dawidek
6eb4157ffc 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
Pawel Jakub Dawidek
b12455f34e Implement soon-to-be-used rw_unlock() macro. 2008-03-16 17:10:52 +00:00
Pawel Jakub Dawidek
39887c5c2e Add missing .El. 2008-03-16 17:06:05 +00:00
Robert Watson
b9a9803757 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
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
Warner Losh
671585344e Document all the BUS_PROBE_* values.
Note to the mdoc gods: This may need some teaks.
2008-03-09 05:31:31 +00:00
Jason Evans
164bfe6abb Install manpage links for RB_PREV and RB_FOREACH_REVERSE. 2008-03-07 22:29:53 +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
Robert Watson
226bb60e94 Minor spelling/grammer fixes.
MFC after:	3 days
2008-03-07 17:02:34 +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
Brooks Davis
ae2edb2af1 Use the new command file feature of ddb(8) to support setting ddb(4)
scripts at boot.  This is currently disabled by default. /etc/ddb.conf
contains some potentially reasonable default scripts.

PR:		conf/119995
Submitted by:	Scot Hetzel <swhetzel at gmail dot com> (Earlier version)
X-MFC after:	textdumps
2008-03-05 18:32:58 +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
Christian Brueffer
06e361fb0e New sentence -> new line. 2008-03-02 20:07:48 +00:00
Attilio Rao
78a25172e3 Fix lockstatus sorting on the top list. 2008-03-01 21:24:07 +00:00
Attilio Rao
8e6fdb9e56 Connect lockmgr_args(9) to the build. 2008-03-01 20:39:56 +00:00
Attilio Rao
7f527abc56 - Add the informations for lockmgr_args(9)
- Sort rightly lockstatus(9) in the manpage
2008-03-01 20:36:50 +00:00
Attilio Rao
008f392e2e Update lockmgr manpage with last lockmgr modifies:
- Remove LK_SLEEPFAIL and LK_NOWAIT for lockinit() and add LK_QUIET and
  LK_NOPROFILE
- Include sys/lock.h as mandatory for the lockmgr support
2008-03-01 20:05:20 +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