Commit Graph

6952 Commits

Author SHA1 Message Date
Stephane E. Potvin
57afe381f7 Regen. 2007-06-13 02:18:12 +00:00
Bruce M Simpson
71498f308b Import rewrite of IPv4 socket multicast layer to support source-specific
and protocol-independent host mode multicast. The code is written to
accomodate IPv6, IGMPv3 and MLDv2 with only a little additional work.

This change only pertains to FreeBSD's use as a multicast end-station and
does not concern multicast routing; for an IGMPv3/MLDv2 router
implementation, consider the XORP project.

The work is based on Wilbert de Graaf's IGMPv3 code drop for FreeBSD 4.6,
which is available at: http://www.kloosterhof.com/wilbert/igmpv3.html

Summary
 * IPv4 multicast socket processing is now moved out of ip_output.c
   into a new module, in_mcast.c.
 * The in_mcast.c module implements the IPv4 legacy any-source API in
   terms of the protocol-independent source-specific API.
 * Source filters are lazy allocated as the common case does not use them.
   They are part of per inpcb state and are covered by the inpcb lock.
 * struct ip_mreqn is now supported to allow applications to specify
   multicast joins by interface index in the legacy IPv4 any-source API.
 * In UDP, an incoming multicast datagram only requires that the source
   port matches the 4-tuple if the socket was already bound by source port.
   An unbound socket SHOULD be able to receive multicasts sent from an
   ephemeral source port.
 * The UDP socket multicast filter mode defaults to exclusive, that is,
   sources present in the per-socket list will be blocked from delivery.
 * The RFC 3678 userland functions have been added to libc: setsourcefilter,
   getsourcefilter, setipv4sourcefilter, getipv4sourcefilter.
 * Definitions for IGMPv3 are merged but not yet used.
 * struct sockaddr_storage is now referenced from <netinet/in.h>. It
   is therefore defined there if not already declared in the same way
   as for the C99 types.
 * The RFC 1724 hack (specify 0.0.0.0/8 addresses to IP_MULTICAST_IF
   which are then interpreted as interface indexes) is now deprecated.
 * A patch for the Rhyolite.com routed in the FreeBSD base system
   is available in the -net archives. This only affects individuals
   running RIPv1 or RIPv2 via point-to-point and/or unnumbered interfaces.
 * Make IPv6 detach path similar to IPv4's in code flow; functionally same.
 * Bump __FreeBSD_version to 700048; see UPDATING.

This work was financially supported by another FreeBSD committer.

Obtained from:  p4://bms_netdev
Submitted by:   Wilbert de Graaf (original work)
Reviewed by:    rwatson (locking), silence from fenner,
		net@ (but with encouragement)
2007-06-12 16:24:56 +00:00
Joel Dahl
e141ee255d - Document support for Realtek ALC660 and Analog Devices AD1988B.
- Fix minor typos.
2007-06-12 15:26:41 +00:00
Pyun YongHyeon
90815738ad Xref altq(4). 2007-06-12 02:19:56 +00:00
Pyun YongHyeon
4d0046ccf0 nfe(4) supports altq(4). 2007-06-12 02:19:11 +00:00
Pyun YongHyeon
b93cd3d141 Add nfe(4) to the list of device drivers use the miibus interface. 2007-06-12 02:18:04 +00:00
Giorgos Keramidas
4d7537f3f5 Fix what seems to be a copy-paste buglet (`moused_type' is used
in the description of `moused_flags', instead of the later), and
add a description of `moused_XXX_flags' where `XXX' is the port
name of a non-default moused invocation -- including an example
of using "-3" with the default moused(8) instance, but no special
flags for moused(8) invocations handling 3-button USB mice (which
seems a very common scenario these days).

MFC after:	3 days
2007-06-11 08:19:04 +00:00
Christian Brueffer
4b9f7fd11c Remove /usr/X11R6 and subdirs.
MFC after:	3 days
2007-06-10 08:51:03 +00:00
Remko Lodder
5b1292258a Specify which Dlink chip is supported (D-Link DUB-E100 ver A) because
others (D-Link DUB-E100 ver B1) are not.

PR:		docs/109664
Submitted by:	Martin Nilsson<martin at mullet dot se>
Patch by:	asmodai
MFC after:	1 week
2007-06-06 19:27:10 +00:00
Kevin Lo
0d237f2d9a Update rum driver that needs wlan(4). 2007-06-06 07:58:03 +00:00
Warner Losh
3fbc4c1e37 bump date for 1.20 2007-06-05 20:53:18 +00:00
Warner Losh
8effe33f10 Add note about condvars not working with spin locks. 2007-06-05 20:45:10 +00:00
Konstantin Belousov
e3e7f469a0 Update man page for VOP_OPEN() after fdidx->fp conversion.
Reminded by: ru
2007-06-05 10:48:29 +00:00
Jeff Roberson
d6cc759d20 - ULE is no longer buggy or experimental. 2007-06-05 01:31:04 +00:00
Xin LI
8bdbc89cd8 sched_core(4) removed. 2007-06-05 01:10:47 +00:00
Christian Brueffer
22e1a9d50e Xref altq(4). 2007-06-04 16:59:11 +00:00
Pyun YongHyeon
185d3fe9e8 gem(4) supports altq(4) now. 2007-06-04 06:01:57 +00:00
Philip Paeps
18d725a04e Add support for Asus A3N laptops.
Submitted by:	Holger Jorra <holger_jorra -at- gmx.net>
MFC after:	1 day
2007-06-02 21:10:01 +00:00
Remko Lodder
a1f6cb79d9 Correct the referenced securelevel document, it's now securelevel 7.
Pointed out by:	ru
2007-06-02 20:15:59 +00:00
Remko Lodder
fcd7ed0e3a I understood the MLINK part incorrectly, it should be the other way around
also remove the init mlink to securelevel.

Discussed with and sharing pointyhat with:	brueffer
2007-06-01 21:48:07 +00:00
Remko Lodder
ce7fce4055 Revert my previous change, add an MLINK from securelevel.7 to security.7
Discussed with:	brueffer
2007-06-01 21:33:21 +00:00
Xin LI
f9d63aec3f Markup fixes. 2007-06-01 03:11:47 +00:00
Tom Rhodes
281660174a Changes to my local build lead to my confusion - revert the last change, but
reword the original text a bit.  Sorry for the churn.

Quick jump:	thompsa
2007-05-31 20:31:27 +00:00
Joel Dahl
a61347adda Document recent improvements to the sound infrastructure (virtual recording
channels, changed sysctl's and device nodes etc).

Reviewed by:	ariff
2007-05-31 20:26:39 +00:00
Tom Rhodes
1ecf009e5c There is no pf module yet. 2007-05-31 20:05:04 +00:00
Warner Losh
fbe508ffba Giant is special. How do I love thee? Let me count the ways?
errr, I mean "Enumerate how the giant lock differs from other locks"

Please let me know if I missed any.  Or misrepresented any...

Reviewed by: ssouhlal@
2007-05-31 00:05:59 +00:00
Gleb Smirnoff
c137427647 - Sync with ng_bpf.h, rev. 1.7
- Remove extra brace.

Submitted by:	Anton Yuzhaninov <citrin rambler-co.ru>
2007-05-30 09:05:49 +00:00
Hidetoshi Shimokawa
89c1ee78f3 Add LOADER_FIREWIRE_SUPPORT knob.
Requested by: ru
2007-05-29 15:19:55 +00:00
Joel Dahl
c55a273bba Add AK4396 to the list of supported codecs. 2007-05-28 16:00:08 +00:00
Joel Dahl
df1059feb3 Document support for the following sound cards:
- AudioTrak Prodigy HD2
- AudioTrak Prodigy 7.1 XT
- ESI Juli@

Reminded by:	brueffer
2007-05-28 15:57:22 +00:00
Warner Losh
81c968ebb5 Improve both the PCI and PC Card descriptions of the RID. 2007-05-27 20:49:08 +00:00
Warner Losh
3722eb7143 Add man pages for mmc (the mmc bus) and mmcsd (the memory card
implementation).
2007-05-27 05:01:19 +00:00
Yaroslav Tykhiy
ee3333e21c Fix a formatting error: the list of control packets ends earlier. 2007-05-24 09:43:41 +00:00
Jung-uk Kim
0f89fde22c Remove BCM5704S specific tunable (hw.bge.fake_autoneg) and
auto-detect the condition.
2007-05-22 19:35:34 +00:00
Christian Brueffer
d426153980 Fix typos. 2007-05-22 18:14:35 +00:00
Alexander Motin
e842c54054 Add support for setmode and settarget messages.
Approved by:	glebius (mentor)
2007-05-22 12:23:39 +00:00
Diomidis Spinellis
fdbe5babe4 Increase precision of time values in the process accounting
structure, while maintaining backward compatibility with legacy
file and record formats.
2007-05-22 06:51:38 +00:00
Ruslan Ermilov
54c41bc6a6 Fix markup. 2007-05-21 15:29:42 +00:00
John Baldwin
7ec137e5b0 Rename the macros for assertion flags passed to sx_assert() from SX_* to
SA_* to match mutexes and rwlocks.  The old flags still exist for
backwards compatiblity.

Requested by:	attilio
2007-05-19 21:26:05 +00:00
John Baldwin
2b9573af36 Document sx_xholder(). 2007-05-19 20:24:32 +00:00
John Baldwin
e45907c90e Document SX_RECURSE flag. 2007-05-19 16:38:10 +00:00
Mike Makonnen
3d03791bb4 o Implement the stop_boot subroutine [1]. This subroutine can be used by
scripts in rc.d to stop rc(8) from booting into multi-user mode when
  a critical or severe error condition is encountered.

o Modify scripts in etc/rc.d that already implemented this functionality
  independently.

o Document it.

[1] - This subroutine was implemented in FreeBSD in rc.d/fsck. I moved it
      to rc.subr(8). Our version differs slightly in that it takes an
      optional argument to stop the boot even if "autoboot" is not set.

Obtained from: NetBSD
MFC after: 2 weeks
2007-05-18 12:04:41 +00:00
Daniel Eischen
01be5be136 Regen 2007-05-17 05:13:05 +00:00
Alexander Motin
cd27e26ca7 Text reformatting.
Approved by:	glebius (mentor)
2007-05-16 12:00:22 +00:00
Alexander Motin
854f059b84 Add ng_car.4
Approved by:	glebius (mentor)
2007-05-15 16:28:54 +00:00
Alexander Motin
db5bc6794e A node that implements various traffic shaping and rate limiting algorithms.
Approved by:	glebius (mentor)
2007-05-15 16:16:06 +00:00
Kevin Lo
c6507e5ed7 Update wlan_amrr supported to match the driver. 2007-05-14 03:42:11 +00:00
Andrew Thompson
b84a4e0cf2 Link the defunct MUTEX_PROFILING option to LOCK_PROFILING. 2007-05-13 22:56:58 +00:00
Maxim Konovalov
c7cc017f3b o Add a script to check ntpd(8) state. Default is off.
PR:		conf/112604
Submitted by:	Oliver Fromme
MFC after:	1 month
2007-05-13 09:33:35 +00:00
Pav Lucistnik
2d794a54fe Talk more about swap backing
PR:		docs/78041 (inspired by)
Submitted by:	Lars Kristiansen <lars+lister.freebsd@adventuras.no>
MFC after:	1 week
2007-05-12 15:33:18 +00:00
Pav Lucistnik
1cf95db60f Remove cred argument, which was removed from code by phk two years ago
PR:		docs/110200
Submitted by:	Jamie Jones <jamie@bishopston.net>
MFC after:	1 week
2007-05-12 13:10:55 +00:00
Christian Brueffer
47bfa7c265 Add missing .El.
Found by:	man2hwnotes.pl
2007-05-12 06:41:41 +00:00
Christian Brueffer
6ec76aded3 Add missing .El.
Found by:	man2hwnotes.pl
2007-05-12 06:33:52 +00:00
Christian Brueffer
1ff08d5f22 axe(4) supports altq now. 2007-05-12 05:59:15 +00:00
Christian Brueffer
05decdb341 Connect hptiop(4) to the build. Only install hptmv(4) on i386 and amd64. 2007-05-11 22:53:09 +00:00
Christian Brueffer
56762142a8 Manpage for the hptiop(4) driver. Could use a little more content. 2007-05-11 22:52:19 +00:00
Christian Brueffer
b4b5bc78aa Add some newly supported controllers. 2007-05-09 20:05:43 +00:00
Yaroslav Tykhiy
ac95c07889 tl(4) appears to support long frames.
Tested by:	Peter Jeremy <peterjeremy at optushome dot com dot au>
2007-05-09 09:02:11 +00:00
Christian Brueffer
80af48d5c8 Add rum(4). 2007-05-09 05:18:04 +00:00
Christian Brueffer
77213b87eb Bump date for previous commit, also new sentence -> new line. 2007-05-09 05:05:50 +00:00
Maxim Konovalov
717d7ba708 o Add AnyData ADU-E100H modem. Sort a list of ubsa(4) supported devices.
PR:		usb/95803
Submitted by:	Jindrich Fucik
Tested by:	R.Mahmatkhanov
MFC after:	2 weeks
2007-05-08 18:51:40 +00:00
Yaroslav Tykhiy
71e3251c81 Add .Li mark-up to Hesiod, NIS, and nsswitch keywords so that they stand out
when the manpage is read via an advanced output device.
2007-05-08 11:00:07 +00:00
Yaroslav Tykhiy
34815be16d Add nsswitch.conf(5) xref to SEE ALSO as it's mentioned in the text. 2007-05-08 10:48:01 +00:00
Yaroslav Tykhiy
a023c1a6de Mark up text consistently. 2007-05-08 10:45:28 +00:00
Yaroslav Tykhiy
f5510010b5 Document the current practice of locking and disabling accounts
through passwd(5).
2007-05-08 10:22:45 +00:00
Yaroslav Tykhiy
43ff6aec71 Tell that nve(4) has got support for VLAN_MTU.
Touch Dd.
2007-05-07 09:52:39 +00:00
John-Mark Gurney
2557913d4b Document the additional fields, si_drv1 and si_drv2 that are available
for the user to use...

MFC after:	1 week
2007-05-06 18:20:16 +00:00
Wojciech A. Koszek
fe2e562728 Add missing 'bp', since it should be passed as g_print_bio() argument.
Oked by:	pjd
2007-05-06 12:48:39 +00:00
Kevin Lo
0738dfc386 Add support for Ralink Technology RT2501USB/RT2601USB devices.
Reviewed by: sam, sephe
Obtained from: OpenBSD
2007-05-06 10:07:21 +00:00
Pawel Jakub Dawidek
d0c11f9eb7 - Extend disk structure to allow to store disk's serial number, which can be
retrieved via GEOM::ident attribute.
- Bump disk(9) ABI version.

OK'ed by:	phk
2007-05-05 17:12:15 +00:00
Joel Dahl
25f4d9a90a Forgot to bump .Dd 2007-05-05 10:36:57 +00:00
Joel Dahl
8f7dda1ba3 Document more quirks and supported codecs. 2007-05-05 10:33:28 +00:00
Poul-Henning Kamp
7bc5465e79 Add Prologix GPIB-USB Controller (Highly recommended btw) 2007-05-05 08:23:05 +00:00
Takanori Watanabe
99f1557a35 Document devices that can drivea
.
Obtained from: [FreeBSD-users-jp 90628](uftdi.c rev 1.25 also)
2007-05-05 08:10:37 +00:00
Yaroslav Tykhiy
ae34b8fc65 Update info on VLAN support in hardware:
- bce(4) and cxgb(4) can do hardware acceleration;
- fwe(4) and nfe(4) can handle long frames.
2007-05-02 10:51:48 +00:00
John-Mark Gurney
bc95681198 Document requirements to calling rman_init... (Hmmm, maybe we should make
these areguments to rman_init?)

MFC after:	1 week
2007-04-29 19:46:33 +00:00
John-Mark Gurney
ebf750a9fd Complete removal of restriction about overlaps to rman_manage_region:
remove comment and man page verbage...

Document return values for rman_init and rman_manage_region..

MFC after:	1 week
2007-04-28 07:37:49 +00:00
Yaroslav Tykhiy
23de0ae36e Having finished with vlan(4) for today, touch .Dd. 2007-04-24 11:48:49 +00:00
Yaroslav Tykhiy
677f6a7872 We shouldn't say that most Ethernet drivers don't support long frames,
as it's no longer true.
2007-04-24 11:40:52 +00:00
Yaroslav Tykhiy
68721affb2 "Long frame" is the well-known term found in h/w documentation
from several vendors, so prefer it over other synonyms.
2007-04-24 11:35:47 +00:00
Yaroslav Tykhiy
66d204f862 Now that we list hardware that supports vlan(4) natively,
we don't need to repeat that for each device listed.
2007-04-24 11:22:27 +00:00
Yaroslav Tykhiy
86df51f60c xl(4) can support long frames on all chip revisions now. 2007-04-24 11:06:35 +00:00
Yaroslav Tykhiy
efa2c6384a de(4) ceased to support the BIG_PACKET hack. 2007-04-24 11:03:53 +00:00
Yaroslav Tykhiy
b238c415a1 tl(4) in fact has no signs of long frame support. 2007-04-24 10:51:48 +00:00
Yaroslav Tykhiy
ef8fd01e25 vr(4) gained VLAN_MTU support. 2007-04-24 10:49:56 +00:00
Poul-Henning Kamp
526b59ddc5 Bump .Dd
(which seems to have been redefined by the doc-mafia while I wasn't
paying attention :-)
2007-04-24 07:10:10 +00:00
Poul-Henning Kamp
51cb2d580d Manpage update for extended led(4) api 2007-04-24 06:30:23 +00:00
Yaroslav Tykhiy
5d8e760af9 Add a missing link: if_edsc.4 -> edsc.4 .
Network interface manpages should have such links.
2007-04-21 03:00:19 +00:00
Christian Brueffer
f86e301621 Remove useless FILES section.
MFC after:	3 days
2007-04-21 00:05:35 +00:00
Christian Brueffer
4fbf8dd62c Spring cleaning: Remove worm(4) manpage, the driver was removed pre-3.0. 2007-04-20 23:47:30 +00:00
Christian Brueffer
880a3b451f Xref linsysfs(5).
MFC after:	3 days
2007-04-20 15:38:06 +00:00
Adrian Chadd
cd4cf11a4d NanoBSD modifications:
* Break out the boot0 loader selection into a variable - NANO_BOOTLOADER -
  so people like me with VGA consoles can override the default (which is
  to use boot0sio)
* Put the boot0 configuration options in NANO_BOOT0CFG in case you want
  to override the defaults.
* Modify nanobsd.8 to reflect the changes and hint the console default is
  serial.

MFC after:	2 weeks
2007-04-20 07:21:09 +00:00
Tom Rhodes
13c100b0d8 Quick kill posix4 directory.
Submitted by:	rodrigc (BSD.include.dist).
2007-04-18 10:16:43 +00:00
Christian Brueffer
e8ade79df5 Bump date for the previous revision and the driver renaming. 2007-04-17 07:09:23 +00:00
Christian Brueffer
caf51cfbf4 To avoid confusion, mention that the driver was originally called trunk
in OpenBSD.
2007-04-17 07:08:18 +00:00
Andrew Thompson
5944e68f4b Link trunk(4) to lagg(4) 2007-04-17 00:57:54 +00:00
Andrew Thompson
18242d3b09 Rename the trunk(4) driver to lagg(4) as it is too similar to vlan trunking.
The name trunk is misused as the networking term trunk means carrying multiple
VLANs over a single connection. The IEEE standard for link aggregation (802.3
section 3) does not talk about 'trunk' at all while it is used throughout IEEE
802.1Q in describing vlans.

The lagg(4) driver provides link aggregation, failover and fault tolerance.

Discussed on:	current@
2007-04-17 00:35:11 +00:00
Marc Fonvieille
f53b14bad4 Elexol USB MOD1 is supported by the uftdi driver. 2007-04-14 13:51:51 +00:00
Christian Brueffer
7e75cb8e0f Bump date to the day of the import. 2007-04-11 08:55:04 +00:00
Giorgos Keramidas
671901e973 Add a pfsync_syncpeer option to /etc/defaults/rc.conf and rc.conf(5),
which can be used to turn off multicast pfsync support, and enable
the transmission of directed PFSYNC (IP protocol: 240) packets to
a specific "sync peer" host.

PR:		conf/111225
Submitted by:	Bas van Beek <bas@tobin.nl>
Approved by:	mtm, mlaier
MFC after:	2 weeks
2007-04-10 16:42:14 +00:00
Andrew Thompson
7b62d98bf8 Hook trunk(4) up to the build. 2007-04-10 00:35:31 +00:00
Andrew Thompson
b47888ceba Add the trunk(4) driver for providing link aggregation, failover and fault
tolerance.  This driver allows aggregation of multiple network interfaces as
one virtual interface using a number of different protocols/algorithms.

failover    - Sends traffic through the secondary port if the master becomes
              inactive.
fec         - Supports Cisco Fast EtherChannel.
lacp        - Supports the IEEE 802.3ad Link Aggregation Control Protocol
              (LACP) and the Marker Protocol.
loadbalance - Static loadbalancing using an outgoing hash.
roundrobin  - Distributes outgoing traffic using a round-robin scheduler
              through all active ports.

This code was obtained from OpenBSD and this also includes 802.3ad LACP support
from agr(4) in NetBSD.
2007-04-10 00:27:25 +00:00
Andrew Thompson
6429a5cb9b Fix a compiler warning so hash.h can be included in the kernel. This changes
the args for hash32_stre and hash32_strne but there are no consumers in the
base system and openbgpd does not use it which the initial import was for.

Silence on:	hackers
2007-04-09 22:55:14 +00:00
Christian Brueffer
6a5f31b455 Remove empty section.
MFC after:	3 days
2007-04-07 14:36:18 +00:00
Matt Jacob
b68f61d02f Update the man page a bit- also to reflect that testing
that Jun Kuriyama did to verify the PCI-Express (Apple
Fibre Channel) HBA.

MFC after:	3 days
2007-04-07 04:01:00 +00:00
Christian Brueffer
2c77eccba4 nfe(4) supports polling. 2007-04-06 14:25:14 +00:00
Pawel Jakub Dawidek
5672f2a6cf Regen. 2007-04-06 02:27:20 +00:00
Pawel Jakub Dawidek
70cb12f264 - Add ZFS startup script.
Submitted by:	des

- When starting mountd(8) and ZFS is enabled, add /etc/zfs/exports file.
- Update rc.conf(5).
2007-04-06 02:27:02 +00:00
Pawel Jakub Dawidek
4e9f341722 Bump date. 2007-04-05 21:17:52 +00:00
Pawel Jakub Dawidek
f3a8d2f93c Add security.jail.mount_allowed sysctl, which allows to mount and
unmount jail-friendly file systems from within a jail.
Precisely it grants PRIV_VFS_MOUNT, PRIV_VFS_UNMOUNT and
PRIV_VFS_MOUNT_NONUSER privileges for a jailed super-user.
It is turned off by default.

A jail-friendly file system is a file system which driver registers
itself with VFCF_JAIL flag via VFS_SET(9) API.
The lsvfs(1) command can be used to see which file systems are
jail-friendly ones.

There currently no jail-friendly file systems, ZFS will be the first one.
In the future we may consider marking file systems like nullfs as
jail-friendly.

Reviewed by:	rwatson
2007-04-05 21:03:05 +00:00
Matteo Riondato
f3636019cb Add rpc_statd_flags and rpc_lockd_flags options to allow options to be
passed to rpc.statd and rpc.lockd

MFC after:	1 week
2007-04-04 13:16:18 +00:00
Chin-San Huang
385e723f67 - Remove the leading zero from the day of month.
Noticed by:	ru@
Approved by:	delphij@ (mentor)
MFC after:	1 week
2007-04-04 00:14:36 +00:00
Ruslan Ermilov
0d1778eac6 Kill whitespace at EOL. 2007-04-03 18:57:09 +00:00
Chin-San Huang
e64bec2cfb - Remove the deprecated ``/stand'' hierarchy.
PR:		docs/111137
Submitted by:	Niclas Zeising
Approved by:	delphij@ (mentor)
2007-04-03 15:23:01 +00:00
Roman Kurakin
0898dcc278 s/if_vlan/vlan/
Noted by: brueffer
2007-04-03 14:36:18 +00:00
Roman Kurakin
8841963421 Add description how the filter works in case of multiple interfaces
with the same MAC.

PR:     kern/109815
MFC after:	7 days
Submitted by:	Eygene Ryabinkin
Glanced by:	rik (all pointy hats are mine)
Discussed with:	julian@, rik@
2007-04-02 22:04:21 +00:00
Maxim Konovalov
8ad9c32345 o Document vdropl(9) [1].
o Add an MLINK for vdropl().

Reviewed by:	des [1]
Obtained from:	wording from vgone(9)
2007-04-01 09:48:59 +00:00
John Baldwin
4e7f640dfb Optimize sx locks to use simple atomic operations for the common cases of
obtaining and releasing shared and exclusive locks.  The algorithms for
manipulating the lock cookie are very similar to that rwlocks.  This patch
also adds support for exclusive locks using the same algorithm as mutexes.

A new sx_init_flags() function has been added so that optional flags can be
specified to alter a given locks behavior.  The flags include SX_DUPOK,
SX_NOWITNESS, SX_NOPROFILE, and SX_QUITE which are all identical in nature
to the similar flags for mutexes.

Adaptive spinning on select locks may be enabled by enabling the
ADAPTIVE_SX kernel option.  Only locks initialized with the SX_ADAPTIVESPIN
flag via sx_init_flags() will adaptively spin.

The common cases for sx_slock(), sx_sunlock(), sx_xlock(), and sx_xunlock()
are now performed inline in non-debug kernels.  As a result, <sys/sx.h> now
requires <sys/lock.h> to be included prior to <sys/sx.h>.

The new kernel option SX_NOINLINE can be used to disable the aforementioned
inlining in non-debug kernels.

The size of struct sx has changed, so the kernel ABI is probably greatly
disturbed.

MFC after:	1 month
Submitted by:	attilio
Tested by:	kris, pjd
2007-03-31 23:23:42 +00:00
Takanori Watanabe
604a7426cc New line for new sentense.
Pointed out by: brueffer
2007-03-30 21:59:55 +00:00
Takanori Watanabe
3db4056dc5 Hook acpi_aiboost man page and modify the man page a bit. 2007-03-30 21:19:10 +00:00
Takanori Watanabe
55407bcb97 Add man page for acpi_aiboost. Based on man page for NetBSD. 2007-03-30 20:35:37 +00:00
Julian Elischer
a280550abf Add some cross references to locking.9 from related pages. 2007-03-30 18:07:26 +00:00
Julian Elischer
27c20cc4b8 Connect the locking man page to the build.
Next step is to add it as a "See Also" to related man pages.
2007-03-30 17:56:19 +00:00
Warner Losh
e4adaf642c 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
Dag-Erling Smørgrav
8f91a6f900 Add missing El.
MFC after:	1 week
2007-03-29 10:11:22 +00:00
Christian Brueffer
ffdb86fe9a New sentence -> new line 2007-03-28 21:21:22 +00:00
Maxim Konovalov
1f43095400 o Trim unneeded backslash. 2007-03-28 04:43:55 +00:00
Maxim Konovalov
dd3c9f51e5 o Actually add MLINKs for priv(9) functions. 2007-03-28 04:41:50 +00:00
Nick Hibma
36eab02467 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
Christian Brueffer
09dfbddbda Add MLINKs for priv(9) functions. 2007-03-27 21:20:57 +00:00
Yaroslav Tykhiy
63518eccca 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 Konovalov
5405bc9f50 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
John Baldwin
8f27b08e87 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
Bruce M Simpson
c53fb74f0e 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
Xin LI
46d98f5737 - Remove an unneeded comma
- Remove a redundant .Xc
 - Spell "Largely" as it should.
2007-03-19 07:49:11 +00:00
Julian Elischer
4ff78a9ca8 More corrections, this time from Wojciech Koszek 2007-03-18 19:28:44 +00:00
Julian Elischer
53882c7c96 Spelling and whitespace fixes from Dunne Whitty 2007-03-18 18:57:38 +00:00
Bruce M Simpson
eea554b742 Point out that PIM is the way to go.
MFC after:	3 days
2007-03-18 15:34:57 +00:00
Bruce M Simpson
04bcf5a9be 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
Nate Lawson
d7029f5e85 Explain more about the "C" qualifier for Celsius.
MFC after:	3 days
2007-03-18 00:57:07 +00:00
Bruce A. Mah
81be5d6d94 Remove an extra "The".
MFC after:	3 days
2007-03-16 16:07:49 +00:00
Christian Brueffer
8d5162b9da Add missing @ 2007-03-15 16:12:08 +00:00
Hidetoshi Shimokawa
8fce93d0ca Add a description about hw.firewire.hold_count.
MFC: after 3 days
PR: kern/93083
2007-03-15 14:44:03 +00:00
Christian Brueffer
b46a157df0 Mention the first RELENG_6 release to include this driver.
MFC after:	3 days
2007-03-15 13:08:50 +00:00
Christian Brueffer
2bf274778d Fix markup and reword a sentence to actually make sense. 2007-03-14 20:09:23 +00:00
Julian Elischer
626d3f9f41 fix braino in markup. 2007-03-14 17:33:16 +00:00
Bruce M Simpson
5e018b11ee 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
Christian Brueffer
c4bbe0e7f4 Add missing punctuation. 2007-03-14 08:03:20 +00:00
Kip Macy
1d7ee7e515 fix wording blunder 2007-03-14 07:49:45 +00:00
Christian Brueffer
32a0d5b100 Various fixes, also the driver can be compiled into the kernel now. 2007-03-14 07:46:57 +00:00
Julian Elischer
c2c54c3d82 More suggestions from pjd. 2007-03-14 06:27:02 +00:00
Julian Elischer
34e1b9e5f0 Some comments from pjd 2007-03-14 06:12:36 +00:00
Kip Macy
51a232a0b5 Add man page for cxgb 2007-03-14 05:12:25 +00:00
Julian Elischer
0929bf8e57 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
Greg Lehey
6238e679b7 Typo. 2007-03-13 03:56:16 +00:00
Christian Brueffer
cc249a3fce 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 Davis
8165fa2149 Spell .Xr without a '/'.
Pointy hat:	brooks
2007-03-11 10:48:34 +00:00
Brooks Davis
ce475c411b 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 Davis
0b45d130bf 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
Christian Brueffer
199dc74d04 Document Silicon Image SiI 3124 and SiI 3132 support. 2007-03-10 12:44:22 +00:00
John Baldwin
e7573e7ad7 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
John Baldwin
32d2c58bd6 Document SLEEPQ_PAUSE. 2007-03-09 18:06:36 +00:00
John Baldwin
0a1d8ac624 Oof, it is not my day. Unswap the descriptions of EINTR and ERESTART. 2007-03-09 17:56:05 +00:00
John Baldwin
196baa968a Fix a typo in the last that claimed that only masked signals were caught. 2007-03-09 17:53:16 +00:00
John Baldwin
f499e49c46 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
John Baldwin
e6b69890ed - 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
John Baldwin
b58aa2bde7 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
John Baldwin
cc61ffc3fb - 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
John Baldwin
7d3052bbc4 - Sort rwlock functions similar to the order in mutex(9).
- Add a missing MLINK.
2007-03-09 16:44:58 +00:00
John Baldwin
2f46d62192 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
Christian Brueffer
55b8273c83 The firmware images must be loaded as modules at the moment. 2007-03-06 13:17:05 +00:00
Yaroslav Tykhiy
15240ba819 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
Kirk McKusick
a9093e846d 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
Christian Brueffer
4c55d3dc27 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
Greg Lehey
1c5fcea18d Another typo.
Spotted by:             ru
Another pointy hat to:  grog
2007-03-05 05:59:49 +00:00
Greg Lehey
c907770c56 Cosmetics: remove trailing white space, wrap over-long lines.
Pointy hat to:  grog
2007-03-05 00:27:30 +00:00
Greg Lehey
759ace7eca 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
Ruslan Ermilov
92cb9e01dc Markup polishing. 2007-03-04 19:04:39 +00:00
Chad David
6c2478125a Add vfs_getopt.9 to the build, and add links for related functions. 2007-03-02 17:03:56 +00:00
Chad David
cbd01db412 Document the mount option handling functions.
Reviewed By: ru
2007-03-02 17:03:06 +00:00
Florent Thoumie
d08ec00718 - 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
Ed Maste
dcc76067cd Markup fixes.
Submitted by:	ru
2007-03-02 12:55:24 +00:00
Ed Maste
55c60b648b 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
Ruslan Ermilov
e69b11c87d Remove trailing spaces and make the date canonical. 2007-03-01 14:33:29 +00:00
Christian Brueffer
dbb3ac38af New sentence -> new line and contractions removed. 2007-03-01 09:07:04 +00:00
Matt Jacob
4c38f2f8bc Update the isp man page.
MFC after:	2 weeks
2007-02-28 23:21:51 +00:00
Paolo Pisati
e0526e6088 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
Christian Brueffer
5e01c01abd More cleanup for rev. 1.56
Submitted by:	ru
2007-02-28 22:40:21 +00:00
Christian Brueffer
3eb3f72aca mdoc cleanup for the previous commit and touch .Dd 2007-02-28 21:36:11 +00:00
Mohan Srinivasan
535c755253 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
Greg Lehey
8866174561 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
John Baldwin
a198b356e5 In FreeBSD 5.x+, sleep/wakeup operate on threads, not processes. 2007-02-27 16:32:55 +00:00
Ruslan Ermilov
7700fc3ca9 Fix markup and grammar bugs in recent revisions. 2007-02-27 16:21:01 +00:00
Greg Lehey
fc5fe41fe9 Update HISTORY.
Reviewed by:	dmr
2007-02-27 05:39:22 +00:00
Greg Lehey
5af924bf6c Add warning about deadlocks created by use of wakeup_one. 2007-02-27 02:51:41 +00:00
Jung-uk Kim
560a54e10c 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
Robert Watson
149b6b0b12 Add rw_wowned(9) symlink. 2007-02-26 19:09:36 +00:00
Robert Watson
dd348217d7 Update rwlock(9) for rw_wowned(). 2007-02-26 19:07:41 +00:00
Bruce M Simpson
d305f4b99e Document m_pulldown().
Obtained from:	MBUF issues in 4.4BSD IPv6/IPsec support (itojun)
2007-02-26 15:17:19 +00:00
Randall Stewart
7c3768006d 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
Kirk McKusick
fdece2b8f7 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
Bruce M Simpson
0770db8953 Update multicast(4) manual page to reflect the new reality of the code. 2007-02-25 14:31:41 +00:00
Ruslan Ermilov
066eef7a1d Remove the traces of vm_page_unmanage(). 2007-02-25 06:51:11 +00:00
Jens Schweikhardt
c8651f7400 Correct two grammos. 2007-02-23 16:50:17 +00:00
John Baldwin
37e80fcac2 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
Randall Stewart
d8b5fd91b9 First cut of the sctp man pages. Still need work. 2007-02-22 14:32:39 +00:00
Robert Watson
9fad4c2a12 Refine implementation notes for priv(9): clarify ABI comments, mention
updating Jail's list of privileges.
2007-02-21 10:32:03 +00:00
Christian Brueffer
91dba98d82 Document vge(4)'s support for altq(4). 2007-02-21 10:00:09 +00:00
Joel Dahl
ba20889705 Oops, fix minor braino.
Noticed by:	ariff
2007-02-17 11:31:58 +00:00
Joel Dahl
4704be40c8 Link snd_sb16.4 and snd_sb8.4 to snd_sbc.4.
Submitted by:	ariff
2007-02-17 10:30:00 +00:00
Joel Dahl
205faebf10 Add Sigmatel STAC9271D. 2007-02-16 18:23:17 +00:00
Pawel Jakub Dawidek
eb62f84553 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
Christian Brueffer
c956fd0e74 Xref altq(4) 2007-02-16 13:53:45 +00:00
Luigi Rizzo
ddb53abcd9 remove some leftover text and update the text to match the current version
of the code.
2007-02-15 17:52:17 +00:00
Robert Watson
db430f9709 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
Christian Brueffer
5ab2dec31e Mark up lkm with .Nm, since lkm is name of an api.
Submitted by:	ru
2007-02-13 17:06:15 +00:00
Christian Brueffer
ba73f5c546 "options PIM" is gone. 2007-02-12 21:30:34 +00:00
Christian Brueffer
af227cf7d4 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
Christian Brueffer
0c28188710 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
John Baldwin
f4ad756aef MLINK for bus_dmamap_load_mbuf_sg(9) 2007-02-12 17:53:21 +00:00
Joseph Koshy
44caa87293 Improve a sentence.
Prodded by:	billf
MFC after:	3 days
2007-02-12 03:26:22 +00:00
Christian Brueffer
47fa55cf93 Don't reference lkm(4), it doesn't exist.
PR:		108980
Submitted by:	Yonatan
2007-02-10 08:44:41 +00:00
Christian Brueffer
aae5ebdcab Nuke pcnfsd(8) reference.
PR:		108980
Submitted by:	Yonatan
2007-02-09 22:18:56 +00:00
Christian Brueffer
cbc64eb2f2 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
Christian Brueffer
2679699525 Remove references to pccardd(8), pccardc(8) and OLDCARD.
PR:		108980
Submitted by:	Yonatan
2007-02-09 21:05:47 +00:00
Christian Brueffer
336025e385 Remove Xref to non-existant uhub(4).
PR:		108980
Submitted by:	Yonatan
2007-02-09 20:53:19 +00:00
Christian Brueffer
e0ca5a930d Correct references to tcpdump(1).
PR:		108980
Submitted by:	Yonatan
2007-02-09 20:39:14 +00:00
Christian Brueffer
afc4e93d96 Remove Xref to owi(4), it's dead and gone.
PR:		108980
Submitted by:	Yonatan
2007-02-09 20:32:58 +00:00
Luigi Rizzo
97070dd5e0 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
Christian Brueffer
7aa737c6fe Remove an obsolete error message. 2007-02-09 18:26:13 +00:00
Christian Brueffer
e53baad997 - Use the standard section 4 SYNOPSIS
- Utilize .Nm

MFC after:	3 days
2007-02-09 17:21:23 +00:00
Lukas Ertl
c24406ad47 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
Bruce M Simpson
3467360dfd 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
Florent Thoumie
2d69b43eb2 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
Christian Brueffer
cebf4a4ed6 Document NetCell NC3000 and NC5000 support. 2007-02-06 09:50:17 +00:00
Doug Ambrisko
a4a522fa7b s/Feb/February/
Reminded by:	ru
2007-02-05 22:45:58 +00:00
Lukas Ertl
92fb2d84f5 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
Bruce M Simpson
6501ffa0c1 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
Bruce M Simpson
cd83bbd2aa 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
Mike Pritchard
f4bce9c11d 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
Christian Brueffer
18d68737c0 Xref altq(4). 2007-02-03 20:02:29 +00:00
Christian Brueffer
a10696f6ba Xref altq(4). 2007-02-03 19:29:31 +00:00
Max Laier
fe46dc7031 Add ALTQ support for aue(4).
Tested by:	Greg Hennessy, Volker
MFC after:	1 week
2007-02-03 13:53:22 +00:00
Max Laier
5f6eff23ae 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
Max Laier
d21fac506a bce(4), ipw(4), iwi(4), ral(4), udav(4), ural(4) support ALTQ as well. 2007-02-03 13:33:40 +00:00
Doug Ambrisko
04e5145b7f 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
Robert Watson
1b824bcfab s/software was developed/documentation was written/
Suggested by:	ru
2007-01-31 09:40:31 +00:00
Gleb Smirnoff
41ee9d56dc Fix typo.
Submitted by:	pluknet <pluknet gmail.com>
2007-01-30 20:22:07 +00:00
Christian Brueffer
bb22863b1f Add the 3Com 3c996-SX.
Submitted by:	Johan Ström
MFC after:	3 days
2007-01-30 09:47:31 +00:00
Christian Brueffer
a25ecdff1f Xref altq(4) for drivers that support it according to altq(4). 2007-01-30 08:40:04 +00:00