Commit Graph

7841 Commits

Author SHA1 Message Date
Ruslan Ermilov
aa4a335bae Use the newly brought %U macro. 2010-01-15 16:01:22 +00:00
Christian Brueffer
1d1405c1b5 Add manpages for ipwfw(4) and iwifw(4), based on iwnfw(4).
MFC after:	2 weeks
2010-01-14 22:21:43 +00:00
John Baldwin
54721dc9f4 - Note that if_xname, if_dname, and if_dunit are usually initialized via
if_initname().
- Document if_drv_flags and replace references to IFF_(RUNNING|OACTIVE)
  with references to IFF_DRV_(RUNNING|OACTIVE).
- Complete truncated sentence in the description of if_transmit by copying
  from the description in if_qflush.
- Add missing line breaks for translators.

Reviewed by:	brooks (1)
MFC after:	3 days
2010-01-14 14:43:16 +00:00
John Baldwin
94fa222a96 - Update required headers for namei() to add <sys/fcntl.h> and remove
<sys/proc.h>.
- Add RETURN VALUES and ERROR sections for namei()'s error return values.
- Add a missing link to NDHASGIANT.9.

PR:		docs/142815, docs/142816
Submitted by:	Lachlan Kang (1, 2)
MFC after:	3 days
2010-01-14 14:36:39 +00:00
Peter Pentchev
f4f2f2e724 Document that the IEEE80211_DEBUG kernel option is needed for
using the wlan(4) debugging controls with wording slightly
different from that in the PR.

PR:		142367
Submitted by:	Matthew Thyer <matt.thyer@gmail.com>
MFC after:	2 weeks
2010-01-14 09:38:23 +00:00
Andrew Thompson
f644abcf6e Grammar nits.
Submitted by:	Ben Kaduk
2010-01-14 01:16:20 +00:00
Ed Schouten
d3e4b91f9c Remove the 1000 pseudo terminal limit from pts(4).
Even with the old utmp format, we could in fact go to pts/9999, because
ut_line wasn't guaranteed to be null terminated there.
2010-01-13 21:22:23 +00:00
Andrew Thompson
9b6ffc1f49 Update to Fredrik's latest uhso driver. This changes port detection, adds
comments and other code nits.

Submitted by:	Fredrik Lindberg <fli@shapeshifter.se>
2010-01-13 20:54:18 +00:00
Ed Schouten
5046a4d149 Remove <utmp.h> and its corresponding manual page. 2010-01-13 19:03:48 +00:00
Andrew Thompson
941e286383 Add a driver by Fredrik Lindberg for Option HSDPA USB devices. These differ
from standard 3G wireless units by supplying a raw IP/IPv6 endpoint rather than
using PPP over serial. uhsoctl(1) is used to initiate and close the WAN
connection.

Obtained from:	Fredrik Lindberg <fli@shapeshifter.se>
2010-01-13 03:16:31 +00:00
Christian Brueffer
d49bbd73ff Various fixes. 2010-01-12 18:07:12 +00:00
Gavin Atkinson
7964930201 Spell "Hz" correctly wherever it is user-visible.
PR:		bin/142566
Submitted by:	N.J. Mann   njm njm.me.uk
Approved by:	ed (mentor)
MFC after:	2 weeks
2010-01-12 17:59:58 +00:00
Alexander Motin
329fe20011 Update, reflecting added multichannel playback support. 2010-01-12 17:50:26 +00:00
Andrew Thompson
b90dfaf337 Change the second usb example for ulpt to one describing libusb which would be
more common.
2010-01-10 18:53:15 +00:00
Xin LI
1a933e8f10 Fix formatting.
MFC after:	2 weeks
2010-01-09 12:34:15 +00:00
Xin LI
777f8cebf3 Add a set of manual pages for pthread[_attr]_[sg]etaffinity(3).
Reviewed by:	davidxu
MFC after:	2 weeks
2010-01-09 12:31:11 +00:00
Christian Brueffer
64237537e1 bridge(4) acts like a switch, not like a hub.
PR:		141350
Submitted by:	brucec
Reviewed by:	thompsa
MFC after:	1 week
2010-01-09 09:30:09 +00:00
Attilio Rao
f7829d0d5c Introduce the new kernel thread called "deadlock resolver".
While the name is pretentious, a good explanation of its targets is
reported in this 17 months old presentation e-mail:
http://lists.freebsd.org/pipermail/freebsd-arch/2008-August/008452.html

In order to implement it, the sq_type in sleepqueues is mandatory and not
only compiled along with INVARIANTS option. Additively, a new sleepqueue
function, sleepq_type() is added, returning the type of the sleepqueue
linked to a wchan.
Three new sysctls are added in order to configure the thread:
debug.deadlkres.slptime_threshold
debug.deadlkres.blktime_threshold
debug.deadlkres.sleepfreq

rappresenting the thresholds for sleep and block time that will lead to
a deadlock matching (when exceeded), while the sleepfreq rappresents the
number of seconds between 2 consecutive thread runnings.
In order to enable the deadlock resolver thread recompile your kernel
with the option DEADLKRES.

Reviewed by:	jeff
Tested by:	pho, Giovanni Trematerra
Sponsored by:	Nokia Incorporated, Sandvine Incorporated
MFC after:	2 weeks
2010-01-09 01:46:38 +00:00
Christian Brueffer
ff451e0c50 Various language fixes.
PR:		38061
Submitted by:	Chris Pepper <pepper@rockefeller.edu>
MFC after:	1 week
2010-01-09 00:24:54 +00:00
Ruslan Ermilov
acc0fee071 Complete the swap of carp(4) log levels and document the change.
MFC after:	3 days
2010-01-08 16:14:41 +00:00
Daniel Gerzo
b4b13eba35 - s/unsecure/insecure/ as this is the correct keyword 2010-01-07 11:30:54 +00:00
Christian Brueffer
6b05959af0 Add a missing word.
PR:		140989
Submitted by:	Lachlan Kang
MFC after:	1 week
2010-01-04 22:23:09 +00:00
Christian Brueffer
37d3a10d84 Catch up with the VFS_VPTOFH(9) -> VOP_VPTOFH(9) repocopy that happened
almost three years ago in r166794.

PR:		140989
Submitted by:	Lachlan Kang
MFC after:	1 week
2010-01-04 22:22:00 +00:00
Konstantin Belousov
ed12757873 PG_NOSYNC is called VPO_NOSYNC for long time.
MFC after:	3 days
2010-01-04 14:58:41 +00:00
Christian Brueffer
b449666b8e Add one more supported controller.
Submitted by:	pluknet <pluknet@gmail.com>
MFC after:	1 week
2010-01-02 16:27:25 +00:00
John Baldwin
9557a45059 Add support for configuring vlan(4) interfaces as child devices similar to
wlan(4) interfaces.  vlan(4) interfaces are listed via a new 'vlans_<IF>'
variable.  If a vlan interface is a number, then that number is treated as
the vlan tag for the interface and the interface will be named '<IF>.<tag>'.
Otherwise, the vlan tag must be provided via a vlan parameter in a
'create_args_<vlan>' variable.

While I'm here, fix a few nits in rc.conf(5) and mention create_args_<IF> in
the description of cloned_interfaces.

Reviewed by:	brooks
MFC after:	2 weeks
2009-12-29 21:03:36 +00:00
Edward Tomasz Napierala
bbf06fe11d The net/if_slvar.h header is long gone. 2009-12-28 22:14:49 +00:00
Edward Tomasz Napierala
15db839614 Bump manual page dates. 2009-12-28 09:41:13 +00:00
Edward Tomasz Napierala
8ae7052e5f Change u3g(4) and ucom(4) to not refer to pppd(8), which is gone. 2009-12-28 09:32:45 +00:00
Edward Tomasz Napierala
cf39698e16 Line discipline support is gone; update tty(4) manual page to reflect this.
Reviewed by:	ed
2009-12-28 09:28:22 +00:00
Edward Tomasz Napierala
1f83b37ee7 Add references to termios-related stuff. 2009-12-28 09:26:46 +00:00
Marius Strobl
07d40ca8b3 Correct my e-mail address. 2009-12-25 22:04:00 +00:00
Marius Strobl
6a01731bb6 Add a man page for mk48txx(4).
Requested by:	n_hibma
Obtained from:	NetBSD (original version)
2009-12-25 22:01:39 +00:00
Pyun YongHyeon
3fad75a846 Document newly added loader tunable/sysctl variable
dev.ste.%d.int_rx_mod.
While I'm here add .Xr vlan as ste(4) supports long frames.
2009-12-24 18:50:59 +00:00
Ruslan Ermilov
7f3c22be14 Removed duplicate usbd_xfer_state(9) link. 2009-12-22 16:05:28 +00:00
Ruslan Ermilov
b4dfd2d9cd Sort mlinks. 2009-12-22 16:02:08 +00:00
Ruslan Ermilov
6d2d1fd59a If none of the watchdogs supports the requested timeout value, the
code returns EOPNOTSUPP, not EINVAL.
2009-12-21 15:12:56 +00:00
Ruslan Ermilov
08d099f247 - Eliminated hard sentence breaks.
- Fixed spelling of EINVAL.
- Sorted sections.
2009-12-21 14:39:46 +00:00
Benedict Reuschling
45e1ff1059 Reference the correct man page for firmware(9).
PR:             docs/140986
Submitted by:   Glen Barber (glen dot j dot barber at gmail dot com)
MFC after:      4 days
Reviewed by:    sam
Approved by:    sam, jkois (mentor)
2009-12-19 16:36:57 +00:00
Pyun YongHyeon
bc5fa9590d Document more VIA Velocity family controllers to vge(4). Previously
it mentioned only VT6122. While I'm here remove the mention of
VT3119 which seems to be VIA's internal model name and VT3119
wouldn't be available to end users.

Reviewed by:	brueffer
2009-12-18 18:45:36 +00:00
Jean-Sébastien Pédron
b469a43897 Add new "hw.psm.tap_enabled" tunable and sysctl.
This tunable allows one to enable (1) or disable (0) gestures like tap
and tap-hold on Synaptics TouchPad when the Extended mode isn't enabled
(ie. "hw.psm.synaptics_support" not set).

By default, the value is -1 in order to keep the current behaviour of
not enabling/disabling gestures explicitly.

PR:		kern/139272
Submitted by:	David Horn <dhorn2000 AT gmail DOT com>
Reviewed by:	David Horn <dhorn2000 AT gmail DOT com>
2009-12-18 17:46:57 +00:00
Pyun YongHyeon
5f8249ee7e Document newly added loader tunable and sysctl variables.
o hw.vge.msi_disable
 o dev.vge.%d.int_holdoff
 o dev.vge.%d.rx_coal_pkt
 o dev.vge.%d.tx_coal_pkt
2009-12-17 18:37:11 +00:00
Julian Elischer
84bc0aa3b0 Make man page reflect the output columns
MFC after:	1 week
2009-12-16 19:37:38 +00:00
Warner Losh
e999537881 Forgot to bump .Dd, so do it with this commit. Chose local time over
UTC time for the date...
2009-12-16 03:29:00 +00:00
Warner Losh
6d50d5e4d5 Docmuent NO_KERNEL{CLEAN,CONFIG,DEPEND,OBJ} as necessary. Update
documentation on KERNFAST meaning.
2009-12-16 03:25:43 +00:00
Konstantin Belousov
ec897c886d Document PBDRY and SLEEPQ_STOP_ON_BDRY.
Requested and reviewed by:	attilio
MFC after:	3 days
2009-12-12 22:08:37 +00:00
Attilio Rao
2028867def In current code, threads performing an interruptible sleep (on both
sxlock, via the sx_{s, x}lock_sig() interface, or plain lockmgr), will
leave the waiters flag on forcing the owner to do a wakeup even when if
the waiter queue is empty.
That operation may lead to a deadlock in the case of doing a fake wakeup
on the "preferred" (based on the wakeup algorithm) queue while the other
queue has real waiters on it, because nobody is going to wakeup the 2nd
queue waiters and they will sleep indefinitively.

A similar bug, is present, for lockmgr in the case the waiters are
sleeping with LK_SLEEPFAIL on.  In this case, even if the waiters queue
is not empty, the waiters won't progress after being awake but they will
just fail, still not taking care of the 2nd queue waiters (as instead the
lock owned doing the wakeup would expect).

In order to fix this bug in a cheap way (without adding too much locking
and complicating too much the semantic) add a sleepqueue interface which
does report the actual number of waiters on a specified queue of a
waitchannel (sleepq_sleepcnt()) and use it in order to determine if the
exclusive waiters (or shared waiters) are actually present on the lockmgr
(or sx) before to give them precedence in the wakeup algorithm.
This fix alone, however doesn't solve the LK_SLEEPFAIL bug. In order to
cope with it, add the tracking of how many exclusive LK_SLEEPFAIL waiters
a lockmgr has and if all the waiters on the exclusive waiters queue are
LK_SLEEPFAIL just wake both queues.

The sleepq_sleepcnt() introduction and ABI breakage require
__FreeBSD_version bumping.

Reported by:	avg, kib, pho
Reviewed by:	kib
Tested by:	pho
2009-12-12 21:31:07 +00:00
Benedict Reuschling
8031b25721 Reference the correct man page for firmware(9).
PR:             docs/140985
Submitted by:   Glen Barber (glen dot j dot barber at gmail dot com)
MFC after:      7 days
Reviewed by:    rpaulo
Approved by:    rpaulo, jkois (mentor)
2009-12-11 19:36:10 +00:00
Nathan Whitehorn
eaddd81cbf Add manpages for ams(4), akbd(4), adb(4), and cuda(4), which describe
various drivers for Apple Desktop Bus controllers and peripherals.

MFC after:	3 days
2009-12-03 18:13:47 +00:00
Edward Tomasz Napierala
4cbe4bf979 Add missing parameter description. 2009-12-02 18:11:14 +00:00
Bjoern A. Zeeb
aaae58c491 Unbreak user space after if_timer/if_watchdog removal in r199975.
Tested by:	glebius
2009-12-01 14:56:00 +00:00
Andriy Gapon
5022f21bd9 amdsbwd: new driver for AMD SB600/SB7xx watchdog timer
The hardware is compliant with WDRT specification, so I originally
considered including generic WDRT watchdog support, but decided
against it, because I couldn't find anyone to the code for me.
WDRT seems to be not very popular.
Besides, generic WDRT porbably requires a slightly different driver
approach.

Reviewed by:	des, gavin, rpaulo
MFC after:	3 weeks
2009-11-30 11:44:03 +00:00
Bjoern A. Zeeb
fbd69dff68 Correct typo.
Reported by:	gabor
MFC after:	5 days
2009-11-29 21:03:54 +00:00
Bjoern A. Zeeb
a77cb332ee Enable IPcomp by default.
PR:		kern/123587
MFC after:	5 days
2009-11-29 20:47:43 +00:00
Peter Pentchev
2cacf8cffb Fix the cross-reference to sctp_opt_info in the text - section 3, not 2.
PR:		140938
Submitted by:	Bruce Cran <bruce@cran.org.uk>
MFC after:	2 weeks
2009-11-27 13:08:25 +00:00
Christian Brueffer
a3786ac52e Add IBM ServeRAID-MR10i to the hardware list.
Submitted by:	pluknet <pluknet@gmail.com>
MFC after:	3 days
2009-11-26 13:25:07 +00:00
Christian Brueffer
eaea833385 Grammar and mdoc improvements.
MFC after:	3 days
2009-11-24 13:44:53 +00:00
Christian Brueffer
473fbad3c9 LSI MegaRAID 9260 works, sort the hardware list while here.
Submitted by:	Jason <jhelfman@e-e.com>
MFC after:	3 days
2009-11-24 08:14:22 +00:00
Alexander Motin
c01cccb81c Refer more recently added Marvell chips. 2009-11-23 09:02:08 +00:00
Alexander Motin
ca17f444be Add ada(4) man page. 2009-11-19 16:19:05 +00:00
Xin LI
35d9ffb960 Add a missing .Ed tag.
MFC after:	2 weeks
2009-11-18 01:13:15 +00:00
Xin LI
3b5dbf01f7 rc.early(8) was removed as of 20090530 so remove manual page reference
to it.

MFC after:	1 week
2009-11-18 00:56:05 +00:00
Christian Brueffer
ad035daf08 Fix typo.
PR:		140615
Submitted by:	Andrius Morkunas <hinokind@gmail.com>
MFC after:	3 days
2009-11-17 07:06:41 +00:00
Doug Barton
77db28c93e In r199127/r199152 I forgot to bump .Dd 2009-11-15 23:31:07 +00:00
Rui Paulo
26970b2012 Add atp(4) man page.
Submitted by:	 Rohit Grover <rgrover1@gmail.com>
2009-11-15 18:31:57 +00:00
Alexander Motin
8fd5093c2a Remove part that HDMI is not implemented. It had different meaning and
confuse users.
Extend BUGS section.
Add some supported chipsets.
2009-11-13 09:57:50 +00:00
Xin LI
1a9d4dda9b Revert revision 199201 for now as it has introduced a kernel vulnerability
and requires more polishing.
2009-11-12 19:02:10 +00:00
Xin LI
41c8c6e876 Add interface description capability as inspired by OpenBSD.
MFC after:	3 months
2009-11-11 21:30:58 +00:00
Doug Barton
127de7748c s/a default/the default/
Submitted by:	remko
2009-11-10 19:50:28 +00:00
Doug Barton
b31787ae6c Add a note about no hostname leading to "Amnesiac" on the console
The text is inspired by the PR, but more in line with the existing text

PR:		docs/140434
Submitted by:	Jason Helfman <jhelfman@e-e.com>
2009-11-10 03:18:49 +00:00
Alexander Motin
c43ee88764 Introduce hw.hptrr.attach_generic loader tunable to deny hptrr driver
attach chips with generic Marvell (non-HighPoint) PCI identification.
These chips are also supported by ata(4). Some vendors, like Supermicro,
are using same chips without providing HPT RAID BIOS.

PR:		kern/120842, kern/136750
2009-11-08 11:33:51 +00:00
Pyun YongHyeon
710460e8af 88E8057(Ultra 2) is now supported. 2009-11-07 01:18:03 +00:00
Alexander Motin
1f02c0f7a9 Document support for more chips. 2009-11-06 11:17:33 +00:00
Benno Rice
9d44cd42c1 Fix typo (noded -> nodes). 2009-11-04 04:12:56 +00:00
Christian Brueffer
cf6c5eebe7 Use our canonical .Dd format.
Submitted by:	Ulrich Spoerlein
2009-11-02 12:35:38 +00:00
Remko Lodder
ad8b9147e6 Document the WWWSUPFILE variable.
PR:		137723
Submitted by:	Sofian Brabez <sbrabez at gmail dot com>
Approved by:	imp (mentor, implicit)
MFC after:	3 days
Facilitated by:	Snow B.V.
2009-11-02 12:03:04 +00:00
Christian Brueffer
6652a11014 Revert part of r198363, there is no "device cam", it is
included in "device scbus".

MFC after:	3 days
2009-10-29 15:59:27 +00:00
Ruslan Ermilov
9589412053 Back in 2003, get_cyclecount() was changed to use binuptime() instead
of nanotime().  Reflect this change in a manpage.

Reviewed by:	phk, markm
2009-10-29 09:45:05 +00:00
Christian Brueffer
3d93e0e9ec Fix date (1) and SEE ALSO section.
Submitted by:	Ulrich Spoerlein (1)
MFC after:	1 week
2009-10-28 14:39:27 +00:00
Christian Brueffer
613628c4d8 Fix typos and mdoc style. 2009-10-27 17:22:03 +00:00
Ed Maste
e04cb6afe4 Add link for callout_schedule(9). 2009-10-27 14:37:25 +00:00
Ulf Lilleengen
0e0ed74fcc - Add support for Marvell Yukon 88E8042 device.
Submitted by:	Mario Lobo <mlobo -at- digiart.art.br>
Approved by:	yongari
2009-10-25 21:46:38 +00:00
Christian Brueffer
dade5b4d4c Spell out the name of the month. 2009-10-25 17:47:52 +00:00
Rui Paulo
2267cb3d7f Update according to the latest iwn(4) driver import. 2009-10-25 11:01:53 +00:00
Rui Paulo
749976613e Replace ocurrences of FreeBSD CURRENT by FreeBSD 8.0.
MFC after:	2 days
2009-10-24 11:32:02 +00:00
Christian Brueffer
5d98bcc2ff List more dependencies for these drivers. While here, convert
atapicam(4) to use our standard section 4 SYNOPSIS layout.

PR:		132525
Submitted by:	gcooper
MFC after:	3 days
2009-10-22 11:35:12 +00:00
Pawel Jakub Dawidek
fa3e572c93 Remove self-reference. 2009-10-22 08:38:27 +00:00
Christian Brueffer
4e22046f33 Improve the description of the malofw kernel module installation.
PR:		132193
Submitted by:	Frank Staals <frank@fstaals.net>
Based on a patch by: gavin
MFC after:	3 days
2009-10-21 09:22:40 +00:00
Andriy Gapon
782d6aff93 ichwd.4: fix r198272, restore watchdogd(8) reference
In r198272 I didn't notice that watchdog(8) and watchdogd(8)
are different things and instead of fixing watchdogd markup
I simply nuked the line.

Noticed by:	emaste
Pointy hat to:	avg
2009-10-20 14:06:07 +00:00
Andriy Gapon
2b201a1767 minor: fix sorting of some amd* entries in some makefiles
MFC after:	1 week
2009-10-20 13:22:54 +00:00
Andriy Gapon
cc48afe4e0 ichwd.4: remove a stray line
Nod from:	des
MFC after:	3 days
2009-10-20 09:32:22 +00:00
Christian Brueffer
07ba0ec4ff Powercrypt and NetSec seem to be defunct (webpages point to link farms
and a google search yields no alternative).  Remove the links but
keep the entries around for reference.

PR:		139756
Submitted by:	Patrick Oonk <patrick@pine.nl>
MFC after:	3 days
2009-10-19 14:36:12 +00:00
Weongyo Jeong
c2d7acaf5d adds devices supportted by urtw(4) and bumps date. 2009-10-18 00:46:59 +00:00
Christian Brueffer
7024354df3 Sort SEE ALSO. 2009-10-16 12:32:07 +00:00
John Baldwin
37b8ef16cd Add a facility for associating optional descriptions with active interrupt
handlers.  This is primarily intended as a way to allow devices that use
multiple interrupts (e.g. MSI) to meaningfully distinguish the various
interrupt handlers.
- Add a new BUS_DESCRIBE_INTR() method to the bus interface to associate
  a description with an active interrupt handler setup by BUS_SETUP_INTR.
  It has a default method (bus_generic_describe_intr()) which simply passes
  the request up to the parent device.
- Add a bus_describe_intr() wrapper around BUS_DESCRIBE_INTR() that supports
  printf(9) style formatting using var args.
- Reserve MAXCOMLEN bytes in the intr_handler structure to hold the name of
  an interrupt handler and copy the name passed to intr_event_add_handler()
  into that buffer instead of just saving the pointer to the name.
- Add a new intr_event_describe_handler() which appends a description string
  to an interrupt handler's name.
- Implement support for interrupt descriptions on amd64 and i386 by having
  the nexus(4) driver supply a custom bus_describe_intr method that invokes
  a new intr_describe() MD routine which in turn looks up the associated
  interrupt event and invokes intr_event_describe_handler().

Requested by:	many
Reviewed by:	scottl
MFC after:	2 weeks
2009-10-15 14:54:35 +00:00
Christian Brueffer
a2ef0aff10 Use our standard section 4 SYNOPSIS.
MFC after:	3 days
2009-10-15 11:32:05 +00:00
John Baldwin
38d3501a8e Oops, add a return values section to note that these routines return an error
on failure or zero on success.
2009-10-14 16:00:20 +00:00
John Baldwin
2783151570 Add a manual page for BUS_BIND_INTR() and bus_bind_intr().
MFC after:	1 week
2009-10-14 15:58:59 +00:00
Christian Brueffer
6be57b604f Improved one-line description of this module (taken from NOTES). 2009-10-09 10:03:41 +00:00
Simon L. B. Nielsen
e9e6bb8ea3 - Document that 'Dell PowerEdge R710' has bce(4) supported NIC.
- Bump document date.

MFC after:	3 days
2009-10-07 13:45:12 +00:00
Stanislav Sedov
6410fec30a - Document new revisions of chips supported. 2009-10-07 13:25:24 +00:00
Maxim Konovalov
a903af238c o Fix typo: "an in particular" -> "and in particular".
PR:		docs/139370
Submitted by:	Kenyon Ralph
MFC after:	1 week
2009-10-06 04:57:18 +00:00
Edward Tomasz Napierala
55b95b33ed Make fetch(9) and store(9) manual pages closer to reality. 2009-10-05 15:16:28 +00:00
Robert Watson
9fa8a03e51 Bump unix(4) man page date for SOCK_SEQPACKET.
Suggested by:	bz
MFC after:	3 months
2009-10-05 15:15:13 +00:00
Robert Watson
ebb8cecb01 SOCK_SEQPACKET is now supported on UNIX domain sockets.
Sponsored by:	Google
MFC after:	3 months
2009-10-05 15:07:44 +00:00
Weongyo Jeong
1db9493a64 TRENDnet TEW-424UB has multiple revisions so clarify zyd(4) man page and
adds a device to urtw(4).  The revision informations are as follows:

    rev A       ZD1211
    V2          SiS163U
    V2.1R       SiS163U
    V3.xR       RTL8187B

and bump date.

Obtained from:	OpenBSD
Reported by:	Albert Shih <Albert.Shih at obspm.fr>
2009-10-03 02:28:28 +00:00
Ruslan Ermilov
dedfd26648 Fixed markup bugs. 2009-09-29 10:50:02 +00:00
Pyun YongHyeon
d4147ab45b DGE-560SX is now supported. 2009-09-28 21:15:57 +00:00
Ruslan Ermilov
66981e7fec Fixed a markup bug. 2009-09-28 09:49:48 +00:00
Hiroki Sato
2e77c5abfb Fix several logic bugs in the previous IPv6 variable change and
re-add $ipv6_enable support for backward compatibility.  From
UPDATING:

 1. To use IPv6, simply define $ifconfig_IF_ipv6 like $ifconfig_IF
    for IPv4.  For aliases, $ifconfig_IF_aliasN should be used.
    Note that both variables need the "inet6" keyword at the head.

    Do not set $ipv6_network_interfaces manually if you do not
    understand what you are doing.  It is not needed in most cases.

    $ipv6_ifconfig_IF and $ipv6_ifconfig_IF_aliasN still work, but
    they are obsolete.

 2. $ipv6_enable is obsolete.  Use $ipv6_prefer and/or
    "inet6 accept_rtadv" keyword in ifconfig(8) instead.

    If you define $ipv6_enable=YES, it means $ipv6_prefer=YES and
    all configured interfaces have "inet6 accept_rtadv" in the
    $ifconfig_IF_ipv6.  These are for backward compatibility.

 3. A new variable $ipv6_prefer has been added.  If NO, IPv6
    functionality of interfaces with no corresponding
    $ifconfig_IF_ipv6 is disabled by using "inet6 ifdisabled" flag,
    and the default address selection policy of ip6addrctl(8)
    is the IPv4-preferred one (see rc.d/ip6addrctl for more details).
    Note that if you want to configure IPv6 functionality on the
    disabled interfaces after boot, first you need to clear the flag by
    using ifconfig(8) like:

         ifconfig em0 inet6 -ifdisabled

    If YES, the default address selection policy is set as
    IPv6-preferred.

    The default value of $ipv6_prefer is NO.

 4. If your system need to receive Router Advertisement messages,
    define "inet6 accept_rtadv" in $ifconfig_IF_ipv6.  The rc(8)
    scripts automatically invoke rtsol(8) when the interface becomes
    UP.  The Router Advertisement messages are used for SLAAC
    (State-Less Address AutoConfiguration).
2009-09-26 18:59:00 +00:00
Bjoern A. Zeeb
4507f02e0e lindev(4) [1] is supposed to be a collection of linux-specific pseudo
devices that we also support, just not by default (thus only LINT or
module builds by default).

While currently there is only "/dev/full" [2], we are planning to see more
in the future.  We may decide to change the module/dependency logic in the
future should the list grow too long.

This is not part of linux.ko as also non-linux binaries like kFreeBSD
userland or ports can make use of this as well.

Suggested by:	rwatson [1] (name)
Submitted by:	ed [2]
Discussed with:	markm, ed, rwatson, kib (weeks ago)
Reviewed by:	rwatson, brueffer (prev. version)
PR:		kern/68961
MFC after:	6 weeks
2009-09-26 12:45:28 +00:00
Konstantin Belousov
edf7321479 Document osrel node for procfs.
Approved by:	des (procfs maintainer)
MFC after:	3 weeks
2009-09-23 12:10:13 +00:00
Edward Tomasz Napierala
a9315dded6 Add pieces of infrastructure required for NFSv4 ACL support in UFS.
Reviewed by:	rwatson
2009-09-22 15:15:03 +00:00
Christian Brueffer
aa8775c640 Fix mdoc, typos, contractions.
This includes:
PR:		135520
Submitted by:	Nobuyuki Koganemaru
Patch by:	gavin
MFC after:	3 days
2009-09-18 14:05:56 +00:00
Christian Brueffer
ace02a6d46 Various mdoc, spelling etc fixes.
MFC after:	3 days
2009-09-18 00:33:47 +00:00
Doug Barton
f414327c25 Add a knob to show 'Starting foo:' messages when faststart is used,
such as at boot time.
2009-09-17 19:05:47 +00:00
Christian Brueffer
81c59a1ff9 Correct a sysctl name.
PR:		137689
Submitted by:	Thomas Mueller <tmueller@sysgo.com>
MFC after:	3 days
2009-09-17 13:12:24 +00:00
Hiroki Sato
00303aec4d The following changes are added because of
network_ipv6->rc.d/netif integration:

- $ipv6_enable is now obsolete.  Instead, IPv6 is enabled by
  default if the kernel supports it, and $ipv6_network_interfaces
  is "none" by default.  If you want to use IPv6, define
  $ipv6_network_interfaces and $ifconfig_xxx_ipv6.

  An interface which is in $network_interfaces and not in
  $ipv6_network_interfaces will be marked as "inet6
  -auto_linklocal ifdisabled" (see ifconfig(8)).

- $ipv6_ifconfig_xxx is renamed to ifconfig_xxx_ipv6 for
  consistency with other address families.  The old variables
  still work but can be removed in the future.  Note that
  ipv6_ifconfig_xxx="..." should be replaced with
  ifconfig_xxx_ipv6="inet6 ...".

- Receiving ICMPv6 Router Advertisement is not automatically
  enabled even if there is no manual configuration of IPv6 in
  rc.conf.  If you want it, define
  ifconfig_xxx_ipv6="inet6 ... accept_rtadv".

- The rc.d/ip6addrctl now chooses address selection policy based
  on $ipv6_prefer, not $ipv6_enable.  The default is
  ipv6_prefer=NO.

- $router* and $ipv6_router* are replaced with $routed_* and
  $route6d_* for consistency.  The old variables still work but
  can be removed in the future.

MFC after:	3 days
2009-09-12 22:22:31 +00:00
Hiroki Sato
a283298ce3 Improve flexibility of receiving Router Advertisement and
automatic link-local address configuration:

- Convert a sysctl net.inet6.ip6.accept_rtadv to one for the
  default value of a per-IF flag ND6_IFF_ACCEPT_RTADV, not a
  global knob.  The default value of the sysctl is 0.

- Add a new per-IF flag ND6_IFF_AUTO_LINKLOCAL and convert a
  sysctl net.inet6.ip6.auto_linklocal to one for its default
  value.  The default value of the sysctl is 1.

- Make ND6_IFF_IFDISABLED more robust.  It can be used to disable
  IPv6 functionality of an interface now.

- Receiving RA is allowed if ip6_forwarding==0 *and*
  ND6_IFF_ACCEPT_RTADV is set on that interface.  The former
  condition will be revisited later to support a "host + router" box
  like IPv6 CPE router.  The current behavior is compatible with
  the older releases of FreeBSD.

- The ifconfig(8) now supports these ND6 flags as well as "nud",
  "prefer_source", and "disabled" in ndp(8).  The ndp(8) now
  supports "auto_linklocal".

Discussed with:	bz and jinmei
Reviewed by:	bz
MFC after:	3 days
2009-09-12 22:08:20 +00:00
Dag-Erling Smørgrav
7b2924cb17 Fix typo in example.
Noticed by:	rookie@
MFC after:	1 week
2009-09-12 01:37:22 +00:00
Xin LI
f4959cc052 Mention that individual device driver can accept other flags through
resource_int_value(9).

MFC after:	1 month
2009-09-12 00:28:05 +00:00
Xin LI
7ec7f6d5ed Make use of the more flexable device hints by adding a new field,
vesa_mode to specify VESA mode, as suggested by jhb@.
2009-09-12 00:12:47 +00:00
Xin LI
493d6f54bc Extend the usage of sc(4)'s hint variable 'flag'. Bit 0x80 now means
"set vesa mode" and higher 16bits of the flag would be the desired mode.

One can now set, for instance, hint.sc.0.flags=0x01680180, which means
that the system should set VESA mode 0x168 upon boot.

Submitted by:	paradox <ddkprog yahoo com>, swell k at gmail.com with
		some minor changes.
2009-09-11 02:07:24 +00:00
Brooks Davis
b3bfcfd0d9 Change one no to not in r197047
Submitted by:	John Nielsen <john at jnielsen net>
2009-09-09 21:51:54 +00:00
Brooks Davis
469c3a5ff4 Mention that a few ed(4) devices don't emit link state change notices
and a workaround for dhclient.

Reviewed by:	 thierry
MFC after:	3 days
2009-09-09 20:28:58 +00:00
Bjoern A. Zeeb
8a2044b6e0 Remove dpms.4 missed in r197025. 2009-09-09 14:17:07 +00:00
Xin LI
ee5e90dab2 - Teach vesa(4) and dpms(4) about x86emu. [1]
- Add vesa kernel options for amd64.
 - Connect libvgl library and splash kernel modules to amd64 build.
 - Connect manual page dpms(4) to amd64 build.
 - Remove old vesa/dpms files.

Submitted by:	paradox <ddkprog yahoo com> [1], swell k at gmail.com
		(with some minor tweaks)
2009-09-09 09:50:31 +00:00
Edward Tomasz Napierala
3110a4eb9c Some of the controllers sold as ServeRAID (IBM ServeRAID-MR10i,
in particular) are actually mfi(4) devices.  Provide hints.

Submitted by:	<pluknet at gmail.com>
2009-09-07 20:57:01 +00:00
Ed Schouten
4d3b1aacfc Move ptmx into pty(4).
Now that pty(4) is a loadable kernel module, I'd better move /dev/ptmx
in there as well. This means that pty(4) now provides almost all
pseudo-terminal compatibility code. This means it's very easy to test
whether applications use the proper library interfaces when allocating
pseudo-terminals (namely posix_openpt and openpty).
2009-09-06 10:27:45 +00:00
Maxim Konovalov
fcae0ffd3d o Document MALLOC_PRODUCTION knob.
PR:		docs/136029
Submitted by:	anonymous
MFC after:	2 weeks
2009-09-01 05:55:10 +00:00
Edward Tomasz Napierala
0bb9bb9e38 Make it easier to find proper manual page for newer ServeRAID controllers. 2009-08-31 16:20:06 +00:00
Edward Tomasz Napierala
f2e917f585 Manual page for mfiutil(8) is in section 8 now. 2009-08-31 16:19:06 +00:00
Alexander Motin
4dbabf1049 MFp4:
- Add Command Completion Coalescing support.
 - Add SNTF support.
 - Add two more power management modes (4, 5), implemented on driver level.
 - Fix interface mode setting.
 - Reduce interface reset time.
 - Do not report meaningless protocol/transport versions.
 - Report CAP2 register content.
 - Some performance optimizations.
2009-08-30 15:20:13 +00:00
Motoyuki Konno
0375f53661 Fix the reference for the IPV6_V6ONLY option. This option is described
in RFC 3493, not 3542.

PR:		docs/134127
Submitted by:	Kenji Rikitake <kenji.rikitake@acm.org>
MFC after:	2 weeks
2009-08-30 14:45:09 +00:00
Xin LI
7064977fd9 Add a new rc.d script, static_arp, which enables the administrator to
statically bind IPv4 <-> MAC address at boot time.

In order to use this, the administrator needs to configure the following
rc.conf(5) variable:

 - static_arp_pairs: A list of names for static bind pairs, and,
 - a series of static_arp_(name): the arguments that is being passed to
   ``arp -S'' operation.

Example:
  static_arp_pairs="gw"
  static_arp_gw="192.168.1.1 00:01:02:03:04:05"

See the rc.conf(5) manual page for more details.

Reviewed by:	-rc@
MFC after:	2 weeks
2009-08-25 19:07:26 +00:00
Xin LI
f904c88659 Add a missing .El.
Founded by:	make manlint
2009-08-25 01:04:15 +00:00
Julian Elischer
58cf5c84e0 Add claraifications to the kproc and kthread manpages and link
the kthread_create(9) man page to the kproc(9) page as it had migrated and
people looking for it may need a hand to find its new name.

MFC after:	1 week
2009-08-23 07:48:11 +00:00
John Baldwin
eb5a1e8f38 This patch fixes two bugs in sglist(9) and improves robustness of the API via
better semantics if a request to append an address range to an existing list
fails.
- When cloning an sglist, properly set the length in the new sglist instead of
  leaving the new list empty.
- Properly compute the amount of data added to an sglist via
  _sglist_append_buf().  This allows sglist_consume_uio() to properly update
  uio_resid.
- When a request to append an address range to a scatter/gather list fails,
  restore the sglist to the state it had at the start of the function call
  instead of resetting it to an empty list.

Requested by:	np (3)
Approved by:	re (kib)
2009-08-21 02:59:07 +00:00
John Baldwin
0cef25aeb2 Change the 'resid' parameter to sglist_consume_uio() from an int to a
size_t to match the recent type change of the uio_resid member of struct
uio.

Approved by:	re (kib)
2009-08-20 19:23:58 +00:00
Simon L. B. Nielsen
23d827ef05 Add support for backing up the old kernel when installing a new kernel
using freebsd-update.  This applies to using freebsd-update in "upgrade
mode" and normal freebsd-update on a security branch.

The backup kernel will be written to /boot/kernel.old, if the directory
does not exist, or the directory was created by freebsd-update in a
previous backup.  Otherwise freebsd-update will generate a new directory
name for use by the backup.  By default symbol files are not backed up
to save diskspace and avoid filling up the root partition.

This feature is fully configurable in the freebsd-update config file,
but defaults to enabled.

MFC after:	1 week (stable/7)
Reviewed by:	cperciva
Approved by:	re (kib)
2009-08-19 20:47:31 +00:00
Pawel Jakub Dawidek
e477e4fe8e Remove unused taskqueue_find() function.
Reviewed by:	dfr
Approved by:	re (kib)
2009-08-18 13:55:48 +00:00
Tom Rhodes
594ca9ba68 Document MAKE_DVD and xref svn in ports.
Approved by:	re@ (kib)
2009-08-18 12:24:27 +00:00
John Baldwin
6577b1593d Document the newly added SVNCMDARGS, SVNROOT, and SVNBRANCH variables.
Approved by:	re (kib)
2009-08-17 17:09:14 +00:00
Pawel Jakub Dawidek
9c1a8ce494 Correct typo in the previous commit.
Noticed by:	pluknet <pluknet@gmail.com>
Approved by:	re (kib, implicit)
2009-08-17 10:20:22 +00:00
Pawel Jakub Dawidek
159ef108e1 Remove OpenSolaris taskq port (it performs very poorly in our kernel) and
replace it with wrappers around our taskqueue(9).
To make it possible implement taskqueue_member() function which returns 1
if the given thread was created by the given taskqueue.

Approved by:	re (kib)
2009-08-17 09:01:20 +00:00
Robert Watson
a38fdf2946 Rather than fix questionable ifnet list locking in the implementation of
the kern.polling.enable sysctl, remove the sysctl.  It has been deprecated
since FreeBSD 6 in favour of per-ifnet polling flags.

Reviewed by:	luigi
Approved by:	re (kib)
2009-08-15 23:07:43 +00:00
Edward Tomasz Napierala
70ff501c96 Add mptutil(8) and mfiutil(1) to 'SEE ALSO' sections in mpt(4) and mfi(4).
Approved by:	re (rwatson)
2009-08-15 11:47:05 +00:00
Sam Leffler
692eebe092 First (early) draft of net80211 documentation. Note this is
focused on driver writers (as opposed to folks adding to net80211).

Reviewed by:	wkoszek
Approved by:	re (rwatson)
2009-08-12 21:03:16 +00:00
Alfred Perlstein
b27b901cb4 USB serial:
- add new ID for Huawei
- P4 ID: 166150

PR:             usb/136761

Submitted by:	hps
Approved by:	re
2009-07-30 00:15:17 +00:00
Weongyo Jeong
4b00d3e022 urtw(4) supports RTL8187B chipset now.
Approved by:	re (kib)
2009-07-27 18:07:44 +00:00