Commit Graph

8252 Commits

Author SHA1 Message Date
trasz
caf16f9aea Get rid of bad advice regarding /* NOTREACHED */. Compilers don't
really need it (one can use __dead2 instead), and style(9) was not
even consistent with itself in this regard.
2011-01-06 08:33:48 +00:00
lstewart
0bfe906525 Fix a whitespace nit.
MFC after:	1 week
X-MFC with:	r216995
2011-01-06 04:05:25 +00:00
lstewart
0e348d8b16 Add a man page for the Object Specific Data (OSD) KPI.
Although not directly related the FreeBSD Foundation funded "Five New TCP
Congestion Control Algorithms for FreeBSD" project, the understanding and
inspiration required to write this documentation was significantly bolstered
by the Foundation's support.

Reviewed by:	pjd
MFC after:	1 week
2011-01-05 11:49:23 +00:00
bschmidt
ecea018871 OLDCARD is long gone.
Discussed with:	imp
2011-01-04 19:26:11 +00:00
yongari
f044c11165 Remove duplicated "perfect"
Pointed out by:	pluknet
2010-12-31 21:52:51 +00:00
yongari
1fba6fbe7d Add vte(4) man page and hook up vte(4) to the build.
Also add Xr to appropriate man pages.
2010-12-31 00:46:30 +00:00
trasz
aa42d9f67f Fix date, broken in r216667.
Submitted by:	stefanf@
2010-12-22 17:12:58 +00:00
trasz
db60bdc668 The 'kern.corefile="whatever"' syntax won't work with sysctl.conf; remove
the quotes to not mislead people.

MFC after:	1 month
2010-12-22 17:02:01 +00:00
jilles
ae2aabc349 sh: Add kill builtin.
This allows specifying a %job (which is equivalent to the corresponding
process group).

Additionally, it improves reliability of kill from sh in high-load
situations and ensures "kill" finds the correct utility regardless of PATH,
as required by POSIX (unless the undocumented %builtin mechanism is used).

Side effect: fatal errors (any error other than kill(2) failure) now return
exit status 2 instead of 1. (This is consistent with other sh builtins, but
not in NetBSD.)

Code size increases about 1K on i386.

Obtained from:	NetBSD
2010-12-21 22:47:34 +00:00
yongari
7be504c8f7 Document limitation of station address reprogramming. 2010-12-20 17:39:39 +00:00
yongari
691fb06610 Oops, fwe(4) listed twice. 2010-12-20 00:27:40 +00:00
yongari
b0f41e9105 Add ae(4) to the list of drivers use the miibus interface. 2010-12-20 00:23:47 +00:00
yongari
5b70d78c37 igb(4), ixgbe(4), mxge(4) and nxge(4) support VLAN hardware tag
insertion/stripping.
et(4) and fwe(4) support VLAN oversized frames.
2010-12-20 00:10:53 +00:00
yongari
664b4c0ec0 Add .Xr to altq(4). 2010-12-19 23:54:31 +00:00
yongari
8c00fd06e9 Add .Xr to altq(4). 2010-12-19 23:53:23 +00:00
yongari
37f3fa92d6 ae(4), igb(4), ixgb(4) and ixgbe(4) supports altq(4). 2010-12-19 23:50:36 +00:00
pjd
96b9ced89f Correct cookie type to match reality. 2010-12-19 18:07:10 +00:00
yongari
345c9cac1a Document JMC251/JMC261 support. 2010-12-19 00:00:29 +00:00
rwatson
a5ae0d2d14 Simply refer to all Xen drivers as para-virtualized, as this appears to
be the preferred Xen parlance.

Discussed with:	Steve Hand <steven.hand at cl.cam.ac.uk>
MFC after:	1 day
2010-12-17 22:09:55 +00:00
rwatson
56a4ce773b Correct some misundertandings on my part about PV vs HVM kernel
configuration options.

MFC after:	1 day
2010-12-17 11:25:37 +00:00
rwatson
19a6bb61e9 Fix spelling nits.
MFC after:	3 days
Submitted by:	bcr
2010-12-17 10:05:21 +00:00
rwatson
43edfe0c49 Clarifications of a number of points in xen.4, and some additional device
driver information from gibbs@.

MFC after:	3 days
2010-12-17 01:30:56 +00:00
rwatson
fa3fef1400 Slightly different formatting for options list.
MFC after:	3 days
2010-12-14 10:06:28 +00:00
rwatson
c3ae9b6e8a Further refinements to the xen.4 man page: fix typos, add material on
para-virtualized drivers, clarify how to configure XENHVM on amd64.

MFC after:	3 days
2010-12-14 09:32:37 +00:00
rwatson
c050a4862e Add a rudimentary Xen man page summarising the state of Xen on amd64 and
i386, how to configure the kernel, and some known issues.  Further
refinement almost certainly required.  This is not a Xen installation
manual.

MFC after:      3 days
Sponsored by:   DARPA, AFRL
2010-12-13 23:30:56 +00:00
rwatson
492dea93dd Add a rudimentary Xen man page summarising the state of Xen on amd64 and
i386, how to configure the kernel, and some known issues.  Further
refinement almost certainly required.  This is not a Xen installation
manual.

MFC after:	3 days
Sponsored by:	DARPA, AFRL
2010-12-13 23:26:31 +00:00
ru
aae6dafb6d Document this driver supports the converter I just bought. 2010-12-10 07:55:38 +00:00
hrs
ac1ae95734 Fix a typo.
Submitted by:	Garrett Cooper
2010-12-08 07:10:25 +00:00
jhb
621c1b3562 Add a manpage for SYSINIT() and SYSUNINIT().
PR:		docs/132884
Submitted by:	pluknet, hmp
2010-12-06 15:19:03 +00:00
brucec
3e854ebf95 Document the fact that passing in a count of zero to the bus_space functions
will result in undefined behaviour.
Taken from NetBSD's bus_space(9).
2010-12-03 18:30:55 +00:00
brucec
6e3faf1602 Revert r216134. This checkin broke platforms where bus_space are macros:
they need to be a single statement, and do { } while (0) doesn't work in this
situation so revert until a solution can be devised.
2010-12-03 07:09:23 +00:00
das
de08b1bcf1 Explain some of the reasons that fpsetprec() is unlikely to work as
one might expect.  (These functions have already been deprecated for
many years.)

PR:		133583
2010-12-03 07:01:07 +00:00
brucec
dc1c4b9270 Disallow passing in a count of zero bytes to the bus_space(9) functions.
Passing a count of zero on i386 and amd64 for [I386|AMD64]_BUS_SPACE_MEM
causes a crash/hang since the 'loop' instruction decrements the counter
before checking if it's zero.

PR:	kern/80980
Discussed with:	jhb
2010-12-02 22:19:30 +00:00
yongari
cb24c2f507 Document loader tunable hw.re.prefer_iomap. 2010-12-02 18:37:34 +00:00
n_hibma
5b6b615a82 Fix two errors in the man page
Submitted by:	ruslan
MFC after:	1 day
2010-11-30 09:34:47 +00:00
dougb
7d6e56dae8 Update the description of green_saver.ko
Improvements to my suggested text from: jhb
2010-11-29 21:31:25 +00:00
sanpei
1d463bf0b8 Add new device ids.
Buffalo (Melco Inc.) WLI-UC-G

PR:		141777
2010-11-29 15:08:18 +00:00
jmg
dd5fc2bc46 document that most of ioctl requests in cd(4) are implemented by acd(4).. 2010-11-28 23:34:20 +00:00
marius
8e9e35c34a Remove the description of the dev.fxp.%d.noflow tunable as it was removed
in r215906 and the flowcontrol media option now should be set as desired
via ifconfig(8) instead.
2010-11-26 21:57:01 +00:00
delphij
42dd23c4f9 Update manual page with respect to latest driver.
While I'm there remove ARC-1180 which doesn't seem to exist.
2010-11-25 19:33:39 +00:00
delphij
c71855f44c Add a HARDWARE section.
MFC after:	2 weeks
2010-11-25 19:05:17 +00:00
pjd
d97fcd4603 Add gptboot_enable rc variable, which allows to turn gptboot reporting off in
case user wants to implement his own actions and doesn't want the attributes to
vanish.

Obtained from:	Wheel Systems Sp. z o.o. http://www.wheelsystems.com
MFC after:	3 days
2010-11-24 15:25:17 +00:00
kib
545c74c108 Remove the note about possible unlocking during vunref(9). It might
only happen if VOP_INACTIVATE() drops the vnode lock, which is quite
unreasonable behaviour for filesystem, and should not be mentioned
in the description of VFS primitives.

MFC after:	1 week
2010-11-24 12:34:25 +00:00
marius
445cd0f1c5 Remove the description of the link0 link option, since r215297 the master
media option generally should be used instead. Actually I think the lists
of media types should be removed from the manual pages of MAC drivers
altogether and users just pointed to the output of `ifconfig -m` instead;
even before r215297 there were several outdated descriptions, technically
it's wrong most of the time as not the MAC drivers support these media
types but actually the PHY drivers do and it generally doesn't make sense
to maintain these lists in every manual page of a driver as the media is
auto-detected.
2010-11-23 22:07:10 +00:00
jilles
129853101d sh: Add printf builtin.
This was removed in 2001 but I think it is appropriate to add it back:
* I do not want to encourage people to write fragile and non-portable echo
  commands by making printf much slower than echo.
* Recent versions of Autoconf use it a lot.
* Almost no software still wants to support systems that do not have
  printf(1) at all.
* In many other shells printf is already a builtin.

Side effect: printf is now always the builtin version (which behaves
identically to /usr/bin/printf) and cannot be overridden via PATH (except
via the undocumented %builtin mechanism).

Code size increases about 5K on i386. Embedded folks might want to replace
/usr/bin/printf with a hard link to /usr/bin/alias.
2010-11-19 12:56:13 +00:00
mav
f2cf256050 Add VIA VX900 to the list of supported chipsets. 2010-11-18 18:09:25 +00:00
dougb
a022791606 Remove references to MAKEDEV(8) 2010-11-15 05:25:51 +00:00
gonzo
e5ed448525 Regenerate src.conf manpage after adding WITHOUT_GPIO build knob 2010-11-14 22:08:56 +00:00
dougb
e74d5a078a Remove references to the long-gone ramdisk
Submitted by:	Garrett Cooper <yanegomi@gmail.com>
2010-11-13 18:10:44 +00:00
brooks
479b7f4288 Add an (off by default) check for negative permissions (where the
group on a object has less permissions that everyone).  These
permissions will not work reliably over NFS if you have more than
14 supplemental groups and are usually not what you mean.

MFC after:	1 week
2010-11-13 00:40:43 +00:00
pluknet
a360d1cba6 Stop documenting vgonel() after its converting to the static function:
svn r147332 (by jeff): "Don't make vgonel() globally visible".
While here, specify the vnode locking scheme for vgone().

Discussed on:	freebsd-hackers@
Approved by:	kib (mentor)
MFC after:	10 days
2010-11-12 12:07:36 +00:00
lstewart
95c949e611 The first releases SIFTR will ship in will be 7.4 and 8.2.
MFC after:	3 days
2010-11-12 01:40:29 +00:00
brucec
3becc780da Bump .Dd due to additions in r214279.
MFC after:	3 days
2010-11-11 19:13:16 +00:00
n_hibma
7c21b2dc77 Add a man page for usb_quirk module, plus references in other man pages,
and updated comments in the usb_quirk.h header file.

The main purpose of this is to expose the quirks for ejecting 3G
modules. usb_modeswitch in Linux does a great job of collecting
information on these, and with the quirks module people can try out the
modeswitch config file entries on FreeBSD, hence the SCSI strings in the
man page.

MFC after:	2 weeks
2010-11-10 23:45:44 +00:00
mdf
ccbc087adc Add a taskqueue_cancel(9) to cancel a pending task without waiting for
it to run as taskqueue_drain(9) does.

Requested by:	hselasky
Original code:	jeff
Reviewed by:	jhb
MFC after:	2 weeks
2010-11-08 20:56:31 +00:00
jhb
a7f4df4adc Don't mention 'device acpi' or loading ACPI as a kernel module since the
latter is not supported.  This is also more consistent with manpages for
other vendor-specific drivers such as acpi_ibm(4) and acpi_sony(4).
2010-11-08 20:44:11 +00:00
yongari
fed6d69895 Use shorten model name instead of showing all controller model
numbers. bge(4) supports too many models such that it's
unreasonable to list all these controllers in one line description
of name. While I'm here mention that BCM590x/BCM5779x is Fast
Ethernet controller.
bge(4) still lacks support for some controllers but supporting
these controllers should be easy now and adding new controllers
do not require touching .Nd any more.

Obtained from:	OpenBSD
2010-11-08 01:15:42 +00:00
uqs
19d738409e In man section 4, ERRORS is spelled DIAGNOSTICS 2010-11-04 21:03:50 +00:00
trasz
c2febddc96 Xref BUS_SETUP_INTR(9) and locking(9). 2010-11-03 18:49:50 +00:00
jhb
8c8cb8e58a Fix a few typos and style nits in the example code.
Submitted by:	Arnaud Lacombe  lacombar of gmail
MFC after:	3 days
2010-11-02 12:40:13 +00:00
davidxu
a37038ef41 Follow the change made in libthr, add ERANGE error code and more
EINVAL error cases.
2010-10-28 02:59:25 +00:00
yongari
c138ecb91e Use shorten model name and add RTL8168, RTL8111 to the list of
supported device. re(4) had been supported all variants of RTL8168,
RTL8111 and RTL810x. I think this change will cover all controllers
supported by re(4).

MFC after:	1 week
2010-10-27 19:01:09 +00:00
jkim
33dc8ca368 Document newly added loader tunables "hw.acpi.install_interface" and
"hw.acpi.remove_interface".
2010-10-26 21:22:55 +00:00
brucec
c6fcb4db70 Fix formatting.
Reported by: yongari
2010-10-26 19:10:59 +00:00
bcr
c78cc2e91a Add some missing documentation to the man page:
- FILES section ref: ~/nsmb.conf
- use of password in examples section
- use of simple encryption for password in examples section

PR:                 docs/132311
Submitted by:       David Horn (dhorn2000 at gmail dot com)
Patch corrected by: trhodes
Approved by:        trhodes
MFC after:          5 days
2010-10-26 18:32:51 +00:00
brucec
105a32280d Add information about the values and default setting of the
kern.cam.ada.spindown_shutdown sysctl.

MFC after:	3 weeks
2010-10-26 16:49:18 +00:00
gjb
38228eea55 Minor grammar fix.
Submitted by:	arundel (via email)
Approved by:	jkois (mentor)
Patch by:	arundel
MFC after:	5 days
2010-10-26 13:07:01 +00:00
brucec
41dcd4566c Mostly revert r203420, and add similar functionality into ada(4) since the
existing code caused problems with some SCSI controllers.

A new sysctl kern.cam.ada.spindown_shutdown has been added that controls
whether or not to spin-down disks when shutting down.
Spinning down the disks unloads/parks the heads - this is
much better than removing power when the disk is still
spinning because otherwise an Emergency Unload occurs which may cause damage
to the actuator.

PR:	kern/140752
Submitted by:   olli
Reviewed by:	arundel
Discussed with: mav
MFC after:	2 weeks
2010-10-24 16:31:57 +00:00
jh
d5b2b0a30f Use .Dv with NULL. 2010-10-24 16:10:32 +00:00
jh
8c0783a03a Document make_dev_p(9).
Reviewed by:	brueffer, kib
2010-10-24 15:56:21 +00:00
uqs
62105f8979 mdoc: make pages render with mandoc
It's a bit more pedantic regarding .Bl list elements. This has an added
benefit of unbreaking the ipfw(8) manpage, where groff was silently
skipping one list element.
2010-10-21 12:27:13 +00:00
avg
ceaa77fada catch up manual pages with rename of vm_page_sleep_busy to vm_page_sleep_if_busy
Suggested by:	alc
MFC after:	4 days
2010-10-20 06:29:11 +00:00
avg
2e7847beec VOP_GETPAGES.9: clarify and correct description of parameters and requirements
In cooperation with alc and kib, who provided valuable insights and
suggestions.

Reviewed by:	alc, kib (earlier version)
MFC after:	4 days
2010-10-20 05:57:54 +00:00
avg
9f9aed22bf PG_BUSY -> VPO_BUSY, PG_WANTED -> VPO_WANTED in manual pages and comments
Reviewed by:	alc
MFC after:	4 days
2010-10-20 05:17:23 +00:00
maxim
7f5bf568d4 o Put missed w/space back.
Submitted by:	Garrett Cooper
MFC after:	3 days
2010-10-20 04:53:03 +00:00
delphij
8d47fc426a Clarify that lagg(4) sends/receives on active port, not the master port.
Note that this still seems to be a little bit confusing as the concept of
"master" is different from what people would expect on a networking
equipment.
2010-10-19 17:49:55 +00:00
mdf
3f66b92677 uma_zfree(zone, NULL) should do nothing, to match free(9).
Noticed by:	Ron Steinke <rsteinke at isilon dot com>
MFC after:	3 days
2010-10-19 16:06:00 +00:00
uqs
f75a446d3c mdoc: fix markup typo
MFC after:	1 week (together with r213983)
2010-10-19 15:26:08 +00:00
uqs
7fc6083fed mdoc: drop even more redundant .Pp calls
No change in rendered output, less mandoc lint warnings.

Tool provided by:	Nobuyuki Koganemaru n-kogane at syd.odn.ne.jp
2010-10-19 12:35:40 +00:00
pluknet
847ee1f8ca Fix typo: Offlaod -> Offload.
PR:		docs/150756
Approved by:	avg (mentor)
MFC after:	3 days
2010-10-18 14:13:19 +00:00
pjd
67a498f6d6 Update links for taskqueue(9) functions. 2010-10-18 12:35:48 +00:00
kib
5f20c85d80 Document vunref(9), add some important notes for vrele(9) and vput(9).
Merge all three manpages to one, removing separate file for vput(9).

MFC after:	1 week
2010-10-17 16:30:33 +00:00
kib
7a0ff2f829 Document vfs.ncsizefactor and vfs.ncnegfactor.
MFC after:	2 weeks
2010-10-16 09:46:03 +00:00
lstewart
4171305db0 Change uma_zone_set_max to return the effective value of "nitems" after
rounding. The same value can also be obtained with uma_zone_get_max, but this
change avoids a caller having to make two back-to-back calls.

Sponsored by:	FreeBSD Foundation
Reviewed by:	gnn, jhb
2010-10-16 04:41:45 +00:00
lstewart
2770ad22da - Simplify implementation of uma_zone_get_max.
- Add uma_zone_get_cur which returns the current approximate occupancy of
  a zone. This is useful for providing stats via sysctl amongst other things.

Sponsored by:	FreeBSD Foundation
Reviewed by:	gnn, jhb
MFC after:	2 weeks
2010-10-16 04:14:45 +00:00
mdf
256615c9b3 Use a safer mechanism for determining if a task is currently running,
that does not rely on the lifetime of pointers being the same. This also
restores the task KBI.

Suggested by:	jhb
MFC after:	1 month
2010-10-13 22:59:04 +00:00
jkim
eb994eb349 Use AcpiReset() from ACPICA instead of rolling our own, which is actually
incomplete.  If FADT says the register is available, enable the capability
by default.  Remove the previous default value from acpi(4).
2010-10-13 00:21:53 +00:00
joel
0fa5c9c68d Document the fact that bwn works really well on the laptop I'm using
right now (HP 6715b).
2010-10-12 19:00:18 +00:00
mdf
58b7823599 Re-expose and briefly document taskqueue_run(9). The function is used
in at least one 3rd party driver.

Requested by:	jhb
2010-10-12 18:36:03 +00:00
uqs
0061fd332c mdoc: drop redundant .Pp calls, kill EOL whitespace 2010-10-09 11:43:00 +00:00
delphij
23010ebc5e Document net.link.lagg.failover_rx_all.
MFC after:	1 week
2010-10-08 21:29:48 +00:00
markm
15c0e64e31 Extend the "example" section a bit, for other mailers. 2010-10-08 20:13:12 +00:00
uqs
8ae3afcfad mdoc: drop redundant .Pp and .LP calls
They have no effect when coming in pairs, or before .Bl/.Bd
2010-10-08 12:40:16 +00:00
ken
aa3acd013b Turn on serialization of task management commands going down to the
controller, but make it optional.

After a problem report from Andrew Boyer, it looks like the LSI
chip may have issues (the watchdog timer fired) if too many aborts
are sent down to the chip at the same time.  We know that task
management commands are serialized, and although the manual doesn't
say it, it may be a good idea to just send one at a time.

But, since I'm not certain that this is necessary, add a tunable
and sysctl variable (hw.mps.%d.allow_multiple_tm_cmds) to control
the driver's behavior.

mps.c:		Add support for the sysctl and tunable, and add a
		comment about the possible return values to
		mps_map_command().

mps_sas.c:	Run all task management commands through two new
		routines, mpssas_issue_tm_request() and
		mpssas_complete_tm_request().

		This allows us to optionally serialize task
		management commands.  Also, change things so that
		the response to a task management command always
		comes back through the callback.  (Before it could
		come via the callback or the return value.)

mpsvar.h:	Add softc variables for the list of active task
		management commands, the number of active commands,
		and whether we should allow multiple active task
		management commands.  Add an active command flag.

mps.4:		Describe the new sysctl/loader tunable variable.

Sponsored by:	Spectra Logic Corporation
2010-10-07 21:56:10 +00:00
jh
d93ad5245d Check the device name validity on device registration.
A new function prep_devname() sanitizes a device name by removing
leading and redundant sequential slashes. The function returns an error
for names which already exist or are considered invalid.

A new flag MAKEDEV_CHECKNAME for make_dev_p(9) and make_dev_credf(9)
indicates that the caller is prepared to handle an error related to the
device name. An invalid name triggers a panic if the flag is not
specified.

Document the MAKEDEV_CHECKNAME flag in the make_dev(9) manual page.

Idea from:	kib
Reviewed by:	kib
2010-10-07 18:00:55 +00:00
pluknet
b6e8ecf1c7 Cosmetic change:
Wrap lines for SiS and Promise entries to 80 columns.
This doesn't change appearance in page rendered with troff or man.cgi.

PR:		docs/146195
Approved by:	kib (mentor)
MFC after:	1 week
2010-10-07 12:58:09 +00:00
lstewart
09dabf65c8 Log the number of segments currently in the reassembly queue.
Sponsored by:	FreeBSD Foundation
2010-09-25 09:16:46 +00:00
sanpei
1c7e432d87 Add Planex UE-200TX-G2 to list of supported devices.
MFC after:	1 day
2010-09-25 08:19:34 +00:00
sanpei
afb46784fa Add new device ids.
Buffalo (Melco Inc.) LUA3-U2-AGT
 Logitec LAN-GTJ/U2A(usb/119981)

PR:		usb/119981 and me
Submitted by:	"Y.Okabe" <be_works_us at yahoo.com>, hiroo at oikumene.gcd.org
Reviewed by:	thompsa
MFC after:	3 days
2010-09-21 22:42:14 +00:00
anchie
80ba2a07f7 Manual page for the kernel side Secure Neighbor Discovery support.
Reviewed by:	brueffer
Approved by:	bz (mentor)
2010-09-19 12:54:18 +00:00
gjb
6b7ae72644 Note that devfs(5) and fdescfs(5) both create /dev/fd file descriptors.
PR:		144534
Submitted by:	Matthew Seaman <m.seaman at infracaninophile co uk>
Patch by:	Matthew Seaman, keramida
Approved by:	keramida (mentor)
MFC after:	1 week
2010-09-18 19:23:14 +00:00
mav
e35ce5750c Document hw.i8254.freq tunable and machdep.i8254_freq sysctl. 2010-09-18 07:45:54 +00:00
mav
65242e7677 Add atrtc(4) manual page. 2010-09-17 08:44:54 +00:00
mav
f4eb598c21 Fix typo ${attimer.4} -> ${_attimer.4}. 2010-09-17 07:44:01 +00:00
mav
6e0a0395a1 Add attimer(4) manual page. 2010-09-17 04:55:01 +00:00
andre
9bbf98ec1e The inflight bandwidth limiter was removed in r212765. 2010-09-16 22:11:55 +00:00
imp
1bb4df1f41 Add note abotu bwn and newer chipsets 2010-09-15 19:40:42 +00:00
imp
a8334633cb Don't suggest using bwn for the bcm4306 cards in the list. The
bcm4306 cards are ambiguous.  BCM4306 rev 2 requires bwi.  BCM4306 rev
3 will work with either.  Since we can't easily determine which is
which, just remove them.
2010-09-15 19:40:08 +00:00
ken
4643dcbb25 MFp4 (//depot/projects/mps/...)
Fix a typo.

Submitted by:	pluknet at gmail dot com
2010-09-15 16:05:51 +00:00
mav
7c1018585f Change licenses of my manual pages to the recommended 2-clause form.
Suggested by:	joel
2010-09-15 07:10:39 +00:00
mav
97cba22b58 Add eventtimers(7) man page, briefly describing event timers subsystem
functionality and configuration options.
2010-09-15 07:04:14 +00:00
mav
2773ca57a0 Add hpet(4) man page. 2010-09-15 04:51:07 +00:00
weongyo
8c0a66bbc5 Fixes spellings and uses the better sentence. While I'm here bumps
date.

Pointed by:	imp, Ruslan Mahmatkhanov <cvs-src at yandex dot ru>
2010-09-14 23:27:06 +00:00
ken
21e40815c9 MFp4 (//depot/projects/mps/...)
Add a man page for the mps(4) driver, and reference it in the
mpt(4) driver man page.

Sponsored by:	Spectra Logic Corporation
2010-09-14 21:40:29 +00:00
hrs
ab8bbcbaf3 Split $ipv6_prefer into $ip6addrctl_policy and $ipv6_activate_all_interfaces.
The $ip6addrctl_policy is a variable to choose a pre-defined address
selection policy set by ip6addrctl(8).
The keyword "ipv4_prefer" sets IPv4-preferred one described in Section 10.3,
the keyword "ipv6_prefer" sets IPv6-preferred one in Section 2.1 in RFC 3484,
respectively.  When "AUTO" is specified, it attempts to read
/etc/ip6addrctl.conf first.  If it is found, it reads and installs it as
a policy table.  If not, either of the two pre-defined policy tables is
chosen automatically according to $ipv6_activate_all_interfaces.

When $ipv6_activate_all_interfaces=NO, interfaces which have no corresponding
$ifconfig_IF_ipv6 is marked as IFDISABLED for security reason.

The default values are ip6addrctl_policy=AUTO and
ipv6_activate_all_interfaces=NO.

Discussed with:	ume and bz
2010-09-13 19:55:40 +00:00
hrs
25136d0711 Add $ipv6_privacy to support net.inet6.ip6.use_tempaddr. Note that this
will be replaced with a per-IF version later.

Based on:	changes in r206408 by dougb
2010-09-13 19:52:46 +00:00
hrs
3319d93aea Revert changes in r206408.
Discussed with:	dougb, core.5, and core.6
2010-09-13 19:51:15 +00:00
gjb
4e7fbc699b I believe the majority of Gregorian calendars would agree the current
year is 2010, not 2005.

Approved by:	keramida (mentor)
Pointy hat to:	gjb
MFC after:	1 week
2010-09-12 17:53:36 +00:00
gjb
1c33048a16 Bump date from r212440.
Approved by:	keramida (mentor)
MFC after:	1 week
2010-09-12 14:04:54 +00:00
weongyo
4839bf82b7 Mentions cases when bwi(4) driver should be used that it only wrote
about chipset type instead of card names because it's not easy to sort
names what cards use these chipsets.

Pointed by:	imp
2010-09-11 21:49:28 +00:00
brucec
7adc5f91cf Revert changes of 'assure' to 'ensure' made in r211936.
Approved by: rrs (mentor)
2010-09-11 10:49:56 +00:00
davidxu
4b5fe92932 Make a link for pthread_timedjoin_np. 2010-09-11 09:26:36 +00:00
davidxu
24263f7931 kill() does queue signal now. 2010-09-11 08:15:18 +00:00
gjb
fe3edd04c5 Add RETURN VALUES section to devclass_get_maxunit(9).
PR:		149979
Submitted by:	gcooper
Patch by:	gcooper
Approved by:	keramida (mentor)
MFC after:	1 week
2010-09-10 23:22:01 +00:00
mdf
ab3a8b533a Replace sbuf_overflowed() with sbuf_error(), which returns any error
code associated with overflow or with the drain function.  While this
function is not expected to be used often, it produces more information
in the form of an errno that sbuf_overflowed() did.
2010-09-10 16:42:16 +00:00
sanpei
cab433458a Add Planex UE-200TX-G to list of supported devices.
(http://lists.freebsd.org/pipermail/freebsd-current/2008-December/001756.html)

Submitted by:	nork
MFC after:	3 days
2010-09-10 11:01:11 +00:00
brueffer
099486b19e Xref aesni(4). 2010-09-09 21:39:06 +00:00
brueffer
c4b852c787 Some more grammar, wording and mdoc fixes. 2010-09-09 21:37:05 +00:00
mdf
73d2d3f18e Add drain functionality to sbufs. The drain is a function that is
called when the sbuf internal buffer is filled.  For kernel sbufs with a
drain, the internal buffer will never be expanded.  For userland sbufs
with a drain, the internal buffer may still be expanded by
sbuf_[v]printf(3).

Sbufs now have three basic uses:
1) static string manipulation.  Overflow is marked.
2) dynamic string manipulation.  Overflow triggers string growth.
3) drained string manipulation.  Overflow triggers draining.

In all cases the manipulation is 'safe' in that overflow is detected and
managed.

Reviewed by:	phk (the previous version)
2010-09-09 17:49:18 +00:00
mdf
667f651319 Fix small errors in the sbuf(9) man page. 2010-09-09 16:27:02 +00:00
sanpei
33e9adaa50 Add Buffalo (Melco Inc.) LUA3-U2-ATX to list of supported devices.
Submitted by:	nork at FreeBSD.org
MFC after:	3 days
2010-09-08 13:26:19 +00:00
weongyo
212ac5b8db Adds LOADER TUNABLES section to mention knobs which could be controlled
by loader(8) interface.
2010-09-06 22:23:35 +00:00
weongyo
3c24ee50ce Adds a CAVEATS section to mention DMA issues that currently only
a solution is using PIO mode.  As fas as I know all open source based
broadcom drivers for specially LP PHY has this issue because it's
a reverse engineered driver from wl(4).

Pointed by:	Warren Block <wblock at wonkity.com>
2010-09-06 22:10:57 +00:00
weongyo
c90de36538 Adds bwi(4) at SEE ALSO section because some old devices aren't
supported by the bwn(4) firmware that as fas as I know the vendor
dropped its support.  Bumps date also.
2010-09-06 22:02:08 +00:00
kib
a55080dd37 Grammar fixes.
Submitted by:	Ben Kaduk <minimarmot gmail com>, Valentin Nechaev
2010-09-06 21:29:21 +00:00
kib
93b5804195 Add aesni(4) manpage. 2010-09-06 20:35:48 +00:00
gjb
df58c57d8a Note in rc.conf(5) that jail_list should contain only alphanumeric
characters.

PR:		150098
Submitted by:	cc (cpt_complain at yahoo dot com)
Approved by:	keramida (mentor)
MFC after:	1 week
2010-09-05 20:04:54 +00:00
mav
d23fcb99b7 Add support for the Sharp/Micron flash chips to powermac_mvram(4).
Tested on PowerMac G4 AGP.

Reviewed by:	nwhitehorn
2010-09-05 20:04:02 +00:00
kib
4aee566266 Document "show cdev" command.
MFC after:	3 days
2010-09-05 14:52:27 +00:00
kib
f346e51345 Document MAKEDEV_ETERNAL.
MFC after:	3 days
2010-09-05 14:47:46 +00:00
yongari
a7120610e3 Better wording.
Submitted by:	jkim
2010-09-02 20:43:01 +00:00
yongari
bf53dc1afd Document tunable dev.sis.%unit.manual_pad
While I'm here Xref vlan(4) as sis(4) supports VLAN oversized
frames.
2010-09-02 18:22:06 +00:00
mlaier
2ef34e9086 rmlock(9) two additions and one change/fix:
- add rm_try_rlock().
 - add RM_SLEEPABLE to use sx(9) as the back-end lock in order to sleep while
   holding the write lock.
 - change rm_noreadtoken to a cpu bitmask to indicate which CPUs need to go
   through the lock/unlock in order to synchronize.  As a side effect, this
   also avoids IPI to CPUs without any readers during rm_wlock.

Discussed with:		ups@, rwatson@ on arch@
Sponsored by:		Isilon Systems, Inc.
2010-09-01 19:50:03 +00:00
maxim
58e091d363 o Sync the man page with the reality: nfs/ includes
are under include/ and include/fs/.

PR:		docs/139153
Submitted by:	gjb
MFC after:	1 week
2010-09-01 12:08:54 +00:00
ed
c2d34e9364 Remove reference to device minor numbers in psm(4) man page.
The number returned by stat(2) is generated automatically, so it is not
possible to deduce whether the device is blocking or not.

MFC after:	1 week
2010-09-01 09:53:24 +00:00
brucec
76d7244728 Fix incorrect usage of 'assure' and 'insure'.
Approved by: rrs (mentor)
2010-08-28 16:32:01 +00:00
gabor
c24a7c0fb6 - Regen after adding WITH_BSD_GREP and removing WITH_GNU_GREP 2010-08-25 09:48:21 +00:00
trasz
fd3d9f3731 s/ithread/interrupt thread/ 2010-08-24 21:38:44 +00:00
imp
c3a399c4ba MFtbemd:
Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want
to test of all the CPUs of a given family conform.
2010-08-23 22:24:11 +00:00
yongari
1b3ec20834 Better wording and fix wrong explanation.
Submitted by:	Ben Kaduk ( minimarmot <> gmail dot com )
2010-08-23 00:10:43 +00:00
yongari
d13691c661 Document tunable dev.rl.%unit.prefer_iomap 2010-08-22 21:32:48 +00:00
ed
46ef223895 Add missing mlink for insmntque1().
MFC after:	1 week
2010-08-22 16:42:46 +00:00
yongari
9321b37fbd Document newly introduced tunable dev.bge.%d.forced_udpcsum.
While I'm here also mention tunable dev.bge.%d.forced_collapse.
2010-08-22 01:40:59 +00:00
joel
7186d2782d Put parentheses around a few macros to prevent mdoc warnings. 2010-08-16 21:26:47 +00:00
joel
dd1fff9bcb Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki while
translating these manual pages.  Minor corrections by me.

Submitted by:	Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp>
2010-08-16 15:18:30 +00:00
joel
04035a1299 Fix .Dd from last commit.
Submitted by	Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp>
2010-08-16 12:37:17 +00:00
brueffer
257a18ba17 Fixed a typo.
PR:		148701
Submitted by:	Glen Barber <glen.j.barber@gmail.com>
MFC after:	1 week
2010-08-15 21:37:30 +00:00
brueffer
71251b1c93 Fixed a typo and added a comma.
PR:		148681
Submitted by:	Glen Barber <glen.j.barber@gmail.com>
MFC after:	1 week
2010-08-15 21:34:50 +00:00
brueffer
d6f7bade91 Tie up some loose ends r88509 left behind:
- chooseproc() is long gone, MLINK choosethread instead
- Update NAME section for choosethread
- Mark chooseproc.9 for removal

PR:             149549
Submitted by:   pluknet
MFC after:	1 week
2010-08-15 21:25:52 +00:00
brueffer
380ff6898a Use our standard section 4 SYNOPSIS. While here, fixed markup whitespace
and adapted an Xref.
2010-08-15 20:56:13 +00:00
joel
48e321d016 Fix typo. 2010-08-13 20:27:40 +00:00
takawata
05bcb2e515 Hook tpm.4 manual to hook. 2010-08-13 05:01:44 +00:00
ivoras
534250dae1 Describe vfs.read_max and update vfs.hirunningspace documentation. While
there, update nits.

Considered viewed by:	jeff, phk, rwatson
2010-08-12 21:21:50 +00:00
takawata
df8a6d6200 Fix copyright information. 2010-08-12 01:08:50 +00:00
takawata
8d948403ba Add tpm(4) driver for Trusted Platform Module.
You may want to look at http://bsssd.sourceforge.net/ .

Submitted by: Hans-Joerg Hoexer <Hans-Joerg_Hoexer@genua.de>
2010-08-12 00:16:18 +00:00
mdf
0737955344 Rework memguard(9) to reserve significantly more KVA to detect
use-after-free over a longer time.  Also release the backing pages of
a guarded allocation at free(9) time to reduce the overhead of using
memguard(9).  Allow setting and varying the malloc type at run-time.
Add knobs to allow:

 - randomly guarding memory
 - adding un-backed KVA guard pages to detect underflow and overflow
 - a lower limit on the size of allocations that are guarded

Reviewed by:    alc
Reviewed by:    brueffer, Ulrich Spörlein <uqs spoerlein net> (man page)
Silence from:   -arch
Approved by:    zml (mentor)
MFC after:      1 month
2010-08-11 22:10:37 +00:00
yongari
0b2c30e84e Document newly added controller AR8151 and AR8152. 2010-08-09 17:33:03 +00:00
des
fba9d4fdfa Document the MEXTADD macro.
MFC after:	2 weeks
2010-08-07 13:26:08 +00:00
joel
38858fc544 Fix typo in comment. 2010-08-07 08:31:32 +00:00
bschmidt
7a1d9ddf48 Obviously the option is known as COMPAT_LINUX32 on amd64.
PR:		docs/149182
Pointed out by:	Fernando <fernando.apesteguia at gmail.com>
MFC after:	3 days
2010-08-06 20:18:16 +00:00
stefanf
3ed2d72894 Add links for destroy_dev_drain, destroy_dev_sched, destroy_dev_sched_cb,
make_dev_cred and make_dev_credf.
2010-08-06 16:50:48 +00:00
joel
f4e8725880 Fix typos and spelling mistakes. 2010-08-06 14:33:42 +00:00
yongari
27976a477e Reflect default Tx interrupt moderation timer value change(50ms -> 1ms). 2010-08-06 00:52:23 +00:00
bcr
bacd73115a Correctly sort usbconfig(8) within the SEE ALSO section.
Noticed by:     dougb
MFC after:      3 days
2010-08-03 19:25:58 +00:00
bcr
15262707e1 Update references from nonexistent usbconfig(1) to usbconfig(8).
PR:             docs/149221
Submitted by:   Lars Hartmann (lars at chaotika dot org)
MFC after:      3 days
2010-08-03 16:21:48 +00:00
uqs
cc627cc10e mdoc: remove unused/empty macros 2010-08-02 13:11:27 +00:00
pjd
0586b71665 Correct function name.
MFC after:	3 days
2010-08-01 21:54:25 +00:00
joel
8c3d367011 Fix a bunch of typos and spelling mistakes. 2010-07-31 12:14:28 +00:00
joel
bf6e76cd83 Spelling fixes. 2010-07-31 10:01:15 +00:00
uqs
c2a17de64b Fix a couple of typos.
PR:		docs/148891
Submitted by:	olgeni
MFC after:	1 week
2010-07-30 11:58:18 +00:00
simon
56a6a014a3 Missing IFCAP_* macro descriptions in ifnet(9).
PR:		docs/148952
Submitted by:	Lars Hartmann <lars@chaotika.org>
MFC after:	2 weeks
2010-07-27 08:45:29 +00:00
rpaulo
ce6b8c2746 Remove the acpi_aiboost driver. It has been replaced by aibs(4). 2010-07-25 17:55:57 +00:00
gabor
137c368548 - Regenerate after adding WITH_GNU_GREP 2010-07-22 19:30:13 +00:00
mdf
fa23fa820a Fix taskqueue_drain(9) to not have false negatives. For threaded
taskqueues, more than one task can be running simultaneously.

Also make taskqueue_run(9) static to the file, since there are no
consumers in the base kernel and the function signature needs to change
with this fix.

Remove mention of taskqueue_run(9) and taskqueue_run_fast(9) from the
taskqueue(9) man page.

Reviewed by:    jhb
Approved by:    zml (mentor)
2010-07-22 16:41:09 +00:00
bschmidt
19bed51cff Update manpage to reflect changes regarding the 6050's firmware.
MFC after:	3 days
2010-07-20 10:45:05 +00:00
trasz
34462ac1dd Add reference to uhsoctl(1). 2010-07-20 06:38:57 +00:00
thompsa
fac99fc079 - Support for Globetrotter iCON 452.
- Fixed the interface probe routine to only attach to USB interfaces the driver
  actually supports.  This allows other drivers to attach to things like
  MicroSD slots etc.
- Fixed network interface enumeration to be globally sequential instead of
  relying on the USB interface numbers.  This make sure the first network
  interface always is at uhso0 and the second at usho1 and so on.
- Added a radio kill switch; exposed through sysctl.
- Updated the manual page to be verbose about the number of serial ports and
  include iCON 452 in the set of tested hardware.

Submitted by:	Fredrik Lindberg
2010-07-20 03:10:22 +00:00
simon
71c28caa32 Cross reference tree(3) and queue(3).
MFC after:	1 week
2010-07-18 08:34:44 +00:00
maxim
9cf8afc5f1 o Fix typo: "is is" -> "is".
PR:		docs/148697
Submitted by:	Warren Block
MFC after:	1 week
2010-07-17 00:29:38 +00:00
raj
189daad0ad Provide initial man pages for Flattened Device Tree support and the common
drivers.

Sponsored by:	The FreeBSD Foundation
2010-07-14 13:03:00 +00:00
simon
9ff3dce80a Bump document for content change in r210002. 2010-07-13 16:47:29 +00:00
simon
da4d5b3dc4 In the example for how to create a VLAN, also include an example of
setting the IP address.  While it is documented earlier in rc.conf(5)
that the '.' in the VLAN name becomes a '_' in rc.conf, this may not be
easy to find when just using rc.conf(5) as reference documentation.

MFC after:	1 week
2010-07-13 16:24:04 +00:00
maxim
8400ba1561 o Correct path to include file.
PR:		docs/148545
Submitted by:	Anton Shterenlikht
MFC after:	1 week
2010-07-13 16:16:41 +00:00
nwhitehorn
71f078a5ea Install arch-specific manpages by MACHINE_CPUARCH, not MACHINE_ARCH. 2010-07-13 12:51:02 +00:00
jh
b0744cfb8d Extend the kernel unit number allocator for allocating specific unit
numbers. This change adds a new function alloc_unr_specific() which
returns the requested unit number if it is free. If the number is
already allocated or out of the range, -1 is returned.

Update alloc_unr(9) manual page accordingly and add a MLINK for
alloc_unr_specific(9).

Discussed on:	freebsd-hackers
2010-07-05 16:23:55 +00:00
alc
8c92592cd0 Improve the comment and man page for vm_page_alloc(). Specifically,
document one of the optional flags; clarify which of the flags are
optional (and which are not), and remove mention of a restriction on
the reclamation of cached pages that no longer holds since version 7.

MFC after:	1 week
2010-07-03 18:25:37 +00:00
lstewart
17ff9e9096 Hook the siftr.4 man page up to the build and alphabetically sort siis into its
correct place whilst there.

Sponsored by:	FreeBSD Foundation
Submitted by:	pluknet <pluknet at gmail dot com>
2010-07-03 15:05:14 +00:00
mav
1f8ff496d3 Add ata(4) ability to limit initial ATA mode for devices via device hints.
After boot this mode can be changed with atacontrol/camcontrol as usual.
It works for both legacy and ATA_CAM wrapper mode.

PR:		kern/123980
2010-07-03 14:14:42 +00:00
lstewart
0020254d59 Import the Statistical Information For TCP Research (SIFTR) kernel module into
FreeBSD. SIFTR logs a range of statistics on active TCP connections to a log
file, providing the ability to make highly granular measurements of TCP
connection state. The tool is aimed at system administrators, developers and
researchers alike. Please take it for a spin and test it out - the man page
should have all the information required to get you going.

Many thanks go to the Cisco University Research Program Fund at Community
Foundation Silicon Valley and the FreeBSD Foundation. Their support of our work
at the Centre for Advanced Internet Architectures, Swinburne University of
Technology is greatly appreciated.

Sponsored by:	Cisco URP, FreeBSD Foundation
Reviewed by:	dwmalone, gnn, rpaulo
Tested by:	Many on freebsd-current@ and elsewhere over the years
MFC after:	1 month
2010-07-03 13:32:39 +00:00
weongyo
1c976f915f Adds `Dell Truemobile 1300' to the supported list.
Submitted by:	Warren Block <wblock at wonkity.com>
2010-07-01 00:33:50 +00:00