Commit Graph

13923 Commits

Author SHA1 Message Date
Alexander Motin
afceed6aef Oops, fix typo in r222336. 2011-05-27 03:30:23 +00:00
Alexander Motin
f4e4182ea3 Add ses/srcs/eltsub.h to the list of files to be installed.
It is required for user-level SES example tools build.
2011-05-27 03:27:28 +00:00
Alexander Motin
e13ca5c0a1 Add names for few more SES element types according SES-2 specification. 2011-05-27 03:23:39 +00:00
Aleksandr Rybalko
141fa00b5f Added myself as src committer.
Approved by: adrian (mentor)
2011-05-26 13:54:07 +00:00
Ruslan Ermilov
a6d11f7139 [mdoc] Fixed .Dt call. 2011-05-25 14:13:53 +00:00
Benedict Reuschling
67900914ff Add a description to the checksum target about not only
being able to verify, but also having the ability to
fetch distfiles that are missing or failed the checksum
calculation

PR:		docs/138887
Submitted by:	Radim Kolar (hsn at sendmail dot cz)
MFC after:	5 days
2011-05-25 08:42:01 +00:00
Pyun YongHyeon
e7b49f6068 Add 88E8075 Yukon Supreme to the list of supported hardware list. 2011-05-23 22:02:15 +00:00
Warner Losh
8664930d01 regen 2011-05-22 18:34:11 +00:00
Warner Losh
d380e0d209 Start to usher INSTALL_NODEBUG hack out the door. Add new
WITH{OUT,}_KERNEL_SYMBOLS (defaulting to WITH).  In the fullness of
time, likely around 2020, INSTALL_NODEBUG will be removed.  For now,
don't print a warning when using INSTALL_NODEBUG, but that will be
coming soon.
2011-05-22 18:01:52 +00:00
Ulrich Spörlein
5665fe6b21 Fix more typos to be a good example.
Found by:	codespell
2011-05-22 14:23:48 +00:00
Ulrich Spörlein
6e18fca127 Re-encode files from ISO-8859-1 to UTF-8 2011-05-22 14:03:30 +00:00
Ulrich Spörlein
fcdf51e372 Remove typos, tabs-after-spaces and EOL whitespace. Convert to UTF-8. 2011-05-22 14:03:21 +00:00
Xin LI
dd4aae65f1 Add a new knob to atkbd(4) to enable typematic rate detection on boot,
which is now disabled by default.  The detection is known to cause hangs
on boot with some new Lenovo laptops on FreeBSD/amd64.

Reported by:	gnn
Discussed with:	jkim
MFC after:	3 months
2011-05-20 22:36:17 +00:00
Ben Laurie
a5b05a8d85 Fix clang warnings.
Approved by:	philip (mentor)
2011-05-19 15:18:35 +00:00
Poul-Henning Kamp
c920aa7a9d When adding examples to man-pages, try to make them at least
look like they might work.

Prodded by:	Vadim Goncharov
2011-05-19 13:42:19 +00:00
Edwin Groothuis
dac7406203 Put AN back after finding out that tzsetup(1) will complain that
it doesn't exist. It will be removed again once the tzdata distribution
files have been updated with the replacements for AN.
2011-05-19 13:09:39 +00:00
Warner Losh
0163af2360 Implement WITH{,OUT}_{GCC,BINUTILS} to provide finer-grained control
over building gcc and binutils.  They default to true, unless
MK_TOOLCHAIN is no.

Reviewed by:	ru@
2011-05-19 05:13:25 +00:00
Alexander Motin
96b7988f12 Add support for "LED" enclosure management messages, defined by the AHCI.
When supported by hardware, this allows to control per-port activity, locate
and fault LEDs via the led(4) API for localization and status reporting
purposes. Supporting AHCI controllers may transmit that information to the
backplane controllers via SGPIO interface. Backplane controllers interpret
received statuses in some way (IBPI standard) to report them using present
indicators.
2011-05-17 22:07:45 +00:00
Florent Thoumie
2eb4b00cbb Backout libinstall.a -> libpkg commit.
Discussed with:	erwin, brooks, bapt
2011-05-17 19:11:47 +00:00
Poul-Henning Kamp
6ab7244a4d Try to explain what sbufs do and add an example to show it.
Clarify return values.
2011-05-17 18:24:59 +00:00
Ruslan Ermilov
1d40404b7b Document the supported hardware, somewhat.
Reviewed by:	hselasky
MFC after:	3 days
2011-05-17 11:26:59 +00:00
Ruslan Ermilov
ff7794059e Regen for WITH_OFED. 2011-05-17 11:08:15 +00:00
Ruslan Ermilov
cf7d1a17c2 Revert change to "MF" I made in r189767. I bet that at the time of r189767
I checked with http://www.iso.org/iso/country_codes/iso_3166_code_lists.htm
and "MF" was officially spelled in English as "Saint Martin" there, but now
that "SX" exists (for "Sint Maarten (Dutch part)") (nice official "English"
spelling!) they seem to have added a "(French part)" suffix to "MF".  Since
this is also in line with Newsletter VI-1 (2007-09-21), catch up.
2011-05-17 10:44:11 +00:00
Sergey Kandaurov
e61b0f4a3d Add missing section number for .Xr jail.
MFC after:	3 days
2011-05-17 10:38:44 +00:00
Ulrich Spörlein
1da306338f More thorough mdoc and language fixes.
Submitted by:	ru
2011-05-17 09:51:02 +00:00
Ulrich Spörlein
f8037af57c ISO3166: Update for newsletters VI-7 and VI-8 from 2010
- Name change for SH
- BQ, CW, and SX replace AN

Reviewed by:	ru
2011-05-17 08:13:27 +00:00
Ulrich Spörlein
60134116ed Whitespace and typo fixes.
Found by:	codespell
Reviewed by:	ru
2011-05-17 08:13:18 +00:00
Ulrich Spörlein
f93fa1cb17 Typo fix. 2011-05-17 08:13:10 +00:00
Ulrich Spörlein
b7f54343cc Typos, wording and mdoc fixes. 2011-05-17 08:12:59 +00:00
Henrik Brix Andersen
149d1c897e Add I2C bus driver for the AMD Geode LX series CS5536 Companion
Device.

Reviewed by:    jhb (newbus bits only), adrian
2011-05-15 14:01:23 +00:00
Alexander Motin
7480c2a521 Fix few typos.
Submitted by:	uqs
MFC after:	1 week
2011-05-15 01:01:53 +00:00
Attilio Rao
4b547324c0 Disconnect sun4v architecture from the three.
Some files keep the SUN4V tags as a code reference, for the future,
if any rewamped sun4v support wants to be added again.

Reviewed by:	marius
Tested by:	sbruno
Approved by:	re
2011-05-14 01:53:38 +00:00
Matthew D Fleming
359295cd2a Note that the _SWAP operation is supported for all list/queue types.
Also place STAILQ_REMOVE_HEAD in alphabetical order.  Lastly, document
the _SWAP macros.

PR:		kern/143033
MFC after:	1 week
2011-05-13 15:49:23 +00:00
Ruslan Ermilov
2ae2fe421a Regen. 2011-05-10 13:25:42 +00:00
Ruslan Ermilov
56c14fc8c5 Removed unsupported options MK_BINUTILS and MK_GCC that were
silently added in r218936.
2011-05-10 11:00:40 +00:00
Ruslan Ermilov
4b89ae574c Another fallout from r220359: MK_GNU_CPIO was mistakenly re-added
after being removed in r205702.  Remove it again.
2011-05-10 10:48:43 +00:00
Kai Wang
3860fcc7f0 * Rewrite ar.5 mannual page to better document ar(1) archive format.
* Use more standard BSD license.

Obtained from:	elftoolchain
2011-05-07 10:44:08 +00:00
Adrian Chadd
8c1ac33ed8 Add a manpage for geom_map(4).
Submitted by:	ray@dlink.ua
2011-05-05 14:43:35 +00:00
Andrey V. Elsukov
35bb01624e Add make_dev_alias_p to MLINKS.
Pointed out by:	pjd
MFC after:	2 weeks
2011-05-05 14:13:08 +00:00
Andrey V. Elsukov
580a458787 Formatting fixes:
o Fix date
 o Break sentences
 o Remove trailing whitespaces
 o Sort xrefs by section number

Requested by:	ru
MFC after:	2 weeks
2011-05-05 09:55:55 +00:00
Glen Barber
c19b8489b8 Remove unneeded tab after .Ed to make manlint happy.
Reported by:	manlint
2011-05-04 18:16:05 +00:00
Andrey V. Elsukov
8137364f6e Document make_dev_alias_p().
MFC after:	2 weeks
2011-05-03 18:55:16 +00:00
Ruslan Ermilov
827a0e05b7 Fixed the HISTORY section which was copied without editing from aio(4).
Submitted by:	Igor Sysoev
2011-05-03 13:34:40 +00:00
Maxim Konovalov
270f395a51 o OpenBSD 4.9 added. 2011-05-02 09:47:13 +00:00
Christian Brueffer
422bfc9163 Minor cleanup. 2011-05-01 20:46:37 +00:00
Bjoern A. Zeeb
970a765389 Introduce two new options MK_INET and MK_INET_SUPPORT analogically
with INET6 equivalents. Patch reather than re-genenerating src.conf
(given the current problem with the script that does the re-gen).

Reviewed by:	gnn
Sponsored by:	The FreeBSD Foundation
Sponsored by:	iXsystems
MFC after:	2 weeks
2011-04-30 17:58:28 +00:00
John Baldwin
85ee63c923 Add a new bus method, BUS_ADJUST_RESOURCE() that is intended to be a
wrapper around rman_adjust_resource().  Include a generic implementation,
bus_generic_adjust_resource() which passes the request up to the parent
bus.  There is currently no default implementation.  A
bus_adjust_resource() wrapper is provided for use in drivers.
2011-04-29 21:36:45 +00:00
John Baldwin
bb82622c3e Extend the rman(9) API to support altering an existing resource.
Specifically, these changes allow a resource to back a relocatable and
resizable resource such as the I/O window decoders in PCI-PCI bridges.
- rman_adjust_resource() can adjust the start and end address of an
  existing resource.  It only succeeds if the newly requested address
  space is already free.  It also supports shrinking a resource in
  which case the freed space will be marked unallocated in the rman.
- rman_first_free_region() and rman_last_free_region() return the
  start and end addresses for the first or last unallocated region in
  an rman, respectively.  This can be used to determine by how much
  the resource backing an rman must be adjusted to accomodate an
  allocation request that does not fit into the existing rman.

While here, document the rm_start and rm_end fields in struct rman,
rman_is_region_manager(), the bound argument to
rman_reserve_resource_bound(), and rman_init_from_resource().
2011-04-29 20:05:19 +00:00
George V. Neville-Neil
548d35fd69 Exar driver for X3100 10GbE Server/Storage adapters
Features: Jumbo frames (up to 9600), LRO (Large Receive Offload),
          TSO (TCP segmentation offload), RTH (Receive Traffic Hash).

Submitted by: Sriram Rapuru at Exar
MFC after:	2 weeks
2011-04-28 14:33:15 +00:00
Rick Macklem
2513585926 Update man pages related to the change in default NFS client
applied by r221124. I also deleted references to idmapd, since that
daemon no longer exists.
This is a content change.
2011-04-28 00:20:35 +00:00
Sergey Kandaurov
849e836ec6 Add DragonFly 2.10.1 release. 2011-04-27 12:12:22 +00:00
Dag-Erling Smørgrav
5d80bf64c1 Rename alloc_unr(9) to unr(9) and adjust the links accordingly.
MFC after:	3 weeks
2011-04-27 01:10:15 +00:00
Konstantin Belousov
c3bd10b434 Document timeout_task.
While there, fix the type of the func argument of INIT_TASK macro,
and use the modern name of the analogous facility from Linux kernel.

Sponsored by:	The FreeBSD Foundation
MFC after:	1 month
2011-04-26 11:43:57 +00:00
Doug Barton
8028832653 Introduce to rc.subr get_pidfile_from_conf(). It does just what it sounds
like, determines the path to a pid file as it is specified in a conf file.

Use the new feature for rc.d/named and rc.d/devd, the 2 services in the
base that list their pid files in their conf files.

Remove the now-obsolete named_pidfile, and warn users if they have it set.
2011-04-23 04:26:31 +00:00
Bernhard Schmidt
3e7f54fd44 Add ref to the latest firmware additions. 2011-04-20 17:53:39 +00:00
Dimitry Andric
58ff0f42ba Remove support for the Intel C Compiler from the build infrastructure.
This support has not worked for several years, and is not likely to work
again, unless Intel decides to release a native FreeBSD version of their
compiler. ;)
2011-04-19 18:09:21 +00:00
Gleb Smirnoff
fa05d2156e It is already seven years since mbuf allocator uses same
M_WAITOK/M_NOWAIT flags as malloc(9). Update manual page.

Submitted by:	Vadim Goncharov <vadimnuclight tpu.ru>
2011-04-18 15:30:25 +00:00
Dimitry Andric
6d67f69487 Remove libobjc and other Objective-C related components, as these are
extremely outdated, and not used by anything in the base system.

Silence from:	current@
2011-04-17 21:03:23 +00:00
Edward Tomasz Napierala
ee2509d1a2 Add manual page for rctl.conf(5). 2011-04-14 18:37:27 +00:00
Sergey Kandaurov
603c2b9b9b Remove vestiges of disklabel(5).
Reviewed by:	uqs
MFC after:	5 days
2011-04-14 08:53:04 +00:00
Nathan Whitehorn
feacd98ee8 Update some terminology: floppies are no longer built, and FreeBSD is not
necessarily distributed by CVS any longer.
2011-04-12 12:57:46 +00:00
Lawrence Stewart
891b8ed467 Use the full and proper company name for Swinburne University of Technology
throughout the source tree.

Requested by:	Grenville Armitage, Director of CAIA at Swinburne University of
			Technology
MFC after:	3 days
2011-04-12 08:13:18 +00:00
Nathan Whitehorn
8ef63d0dcd Don't do make release and make install in one step. Setting DESTDIR for
make release has deleterious consequences.
2011-04-11 15:03:01 +00:00
Nathan Whitehorn
299a8b95ac Add an install target to release/Makefile instead of grubbing around
(and requesting that users grub around) in /usr/obj. Also make sure that
make clean removes the bootonly media and clean up that target a little.
2011-04-11 14:30:45 +00:00
Ulrich Spörlein
3ab29e0dd2 Rename 07.lpr to 07.lpd and re-connect to the build. This was
forgotten in r216178.

Submitted by:	antoine
Pointyhat:	uqs
2011-04-10 12:43:13 +00:00
Alexander Motin
e3a6d3a4bf - Add kern.cam.ada.X.write_cache tunables/sysctls to control write caching
on per-device basis.
- While adding support for per-device sysctls, merge from graid branch
support for ADA_TEST_FAILURE kernel option, which opens few more sysctl,
allowing to simulate read and write errors for testing purposes.
2011-04-08 14:42:29 +00:00
Alexander Motin
a5bd470706 Add reference to led(4), supported now.
Add some details about supported chips.
2011-04-08 12:46:47 +00:00
Glen Barber
cb379161b1 u3g.4:
- remove self-reference in SEE ALSO section (originally was to s/XR/Xr)

cxgbe.4:
- remove blank line
- add closing .El

Reported by:	manlint
MFC after:	3 days
2011-04-07 23:14:33 +00:00
Alexander Motin
530d535d79 Fix spelling. 2011-04-07 08:32:53 +00:00
Alexander Motin
f513d14ca4 Make ada(4) driver to control device write cache, same as ata(4) does.
Add kern.cam.ada.write_cache sysctl/tunable to control it alike hw.ata.wc.
2011-04-07 08:17:53 +00:00
Ulrich Spörlein
cebea500a0 Regenerate after r220401. It turns out makeman is clever about implied
flags, so remove that part from WITHOUT_CXX again.

This is only partially regenerated, as the entries for FDT and GPIO seem to
have switched their default state, too.
2011-04-06 20:19:07 +00:00
Ulrich Spörlein
b3eb927f6e Complete WITHOUT_CXX support. It implies WITHOUT_GROFF and
WITHOUT_CLANG.

Don't build clang bootstrap/build-tools depending on this flag. We also
keep gperf, devd and libstdc++ around to prevent foot-shooting and to
make this a two-way street.
2011-04-06 20:08:23 +00:00
Warner Losh
1b59591956 Make clang default on x86 and powerpc, but not on other architectures.
Make fdt default on arm and powerpc.

This now includes cross compiled targets, where before we tried to
make it host-based.

Also, move the lists of default yes and no options to a variable.

In general, only build tools should get this treatment in bsd.own.mk.
Also, the use of TARGET* in the bsd.*mk files is discouraged, but
necessary here due to the ordering of things in buildworld.  We make
the native case work by testing MACHINE_ARCH after TARGET_ARCH.
2011-04-05 08:49:47 +00:00
Adrian Chadd
1b53e47cde Add a manpage for the nvram2env driver. 2011-04-04 22:30:12 +00:00
Artem Belevich
aecaead25b Added myself as src committer.
Approved by: avg (mentor)
2011-04-02 00:08:32 +00:00
Ed Maste
bedca8b119 Uuencode the sample "binary" firmware image file (instead of explicitly
adding \0 bytes).  This is a technique that would be used in an actual
driver and is more suitable as an example.

Reviewed by:    mlaier
2011-04-01 23:47:10 +00:00
Warner Losh
bf34d84c56 Minor tweaks to the man page:
o Remove bogus ordering info
o 3C1 actually works, so remove that
o Add warning about making sure BIOS is configured properly for PnP
  configured 3c509 cards.
2011-04-01 11:39:13 +00:00
Lawrence Stewart
17f0fc566e Add a missing .El macro. 2011-04-01 06:28:21 +00:00
Ed Maste
38daf43af2 Unbreak installworld after r220205.
Noticed by:	np
Pointy hat to:	emaste
2011-04-01 01:13:30 +00:00
Ed Maste
ce5a491af8 Avoid having a binary file in our source tree and instead create it at
build time, to avoid possible grief maintaining FreeBSD source in
alternative version control tools.
2011-03-31 15:12:40 +00:00
Ganael LAPLANCHE
168c03cc8f Add relation to my mentor (ehaupt) 2011-03-31 06:11:49 +00:00
Andrey V. Elsukov
95d4707398 Remove duplicate sentence. 2011-03-30 11:34:40 +00:00
Ganael LAPLANCHE
71165daf26 Add myself to committers-ports.dot 2011-03-28 09:05:43 +00:00
Adrian Chadd
f8b1bf190c Update ath_hal.4 to include the latest chipset support.
ath_hal needs a lot more work to encompass the list of supported
cards, as the AR5416/AR9160/AR9280/AR9285 list is quite long
and extensive. In addition, there's a lot of AR5212/AR5213 based
cards that aren't on this list.
2011-03-26 02:52:04 +00:00
Gleb Smirnoff
a17878b872 Give better URL to the list of available CVSup mirrors. 2011-03-22 04:31:35 +00:00
Nathan Whitehorn
e8423d00e1 Update release(7) and build(7) to reflect new release infrastructure for
the new installer.
2011-03-22 01:21:51 +00:00
Jeff Roberson
aa0a1e58f0 - Merge in OFED 1.5.3 from projects/ofed/head 2011-03-21 09:58:24 +00:00
Sofian Brabez
b3a6a09643 Add an entry for myself to committers-ports.dot.
Approved by:	miwi@ (mentor)
2011-03-18 09:03:14 +00:00
Jung-uk Kim
c26c38740d Fix a typo in the previous commit. AMD64 and Intel 64 are two brand names. 2011-03-15 17:59:30 +00:00
Jung-uk Kim
d8ea2a492e Unconditionally use binuptime(9) for get_cyclecount(9) on i386. Since this
function is almost exclusively used for random harvesting, there is no need
for micro-optimization.  Adjust the manual page accordingly.
2011-03-15 17:14:26 +00:00
Martin Matuska
432edffe38 Add ssse3 capability for CPUTYPE=core2 to MACHINE_CPU in bsd.cpu.mk
MFC after:	2 weeks
2011-03-14 13:36:51 +00:00
Pawel Pekala
47dfe02052 add myself
Approved by:     miwi (mentor)
2011-03-13 17:03:19 +00:00
Bjoern A. Zeeb
ac66bc0ada Cross-reference ip(4) rather than sysctl(8) for the global, shared MIB
values to control the various port ranges. ip(4) describes these in detail.

MFC after:	13 days
2011-03-13 11:44:16 +00:00
Mikolaj Golub
b95f402d56 Add myself to calendar.freebsd and committers-src.dot.
Approved by:	pjd (mentor)
2011-03-11 10:11:22 +00:00
Gavin Atkinson
1930a086b5 Add a couple of nodes and edges in order to reduce the number of unattached
committers in the rendered output.
While here, add versus@ as being mentered by myself and fjoe@
2011-03-10 23:20:32 +00:00
Hans Petter Selasky
7cf9b284fc - Remove superfluous ucom device lines in USB manual pages.
Submitted by:	Carl @ telus.net
MFC after:	14 days
Approved by:	thompsa (mentor)
2011-03-07 21:53:15 +00:00
Martin Matuska
d93806e2f1 Add AMD Geode CPU type to bsd.cpu.mk and examples/etc/make.conf
For CPUTYPE=core2 use -march=core2

PR:		gnu/155308
MFC after:	2 weeks
2011-03-07 14:58:23 +00:00
Pawel Jakub Dawidek
a6c0f1f242 To be able to use printf extensions we need to turn off gcc format checking.
Following the convention of NO_WERROR and NO_WCAST_ALIGN add NO_WFORMAT,
which, when defined in Makefile, turns off compile-time format checking
(by adding -Wno-format), but still allows to use high WARNS level.

MFC after:	2 weeks
2011-03-07 09:28:21 +00:00
Doug Barton
563effb9ff mbone is no longer a physical category
Submitted by:	pav
2011-03-06 23:01:02 +00:00
Steve Kargl
034bbd821b Obligatory first commit to the include myself in the list of
committers list.

Approved by: das
2011-03-06 00:57:08 +00:00
Gavin Atkinson
adb67a1ac0 Add two missing vertical bars. 2011-03-05 15:18:11 +00:00
Daichi GOTO
f1168f9929 Add the Buffalo (Melco Inc.) WLI-UC-G301N
PR:		usb/155229
Submitted by:	Yoshiaki UCHIKAWA
MFC after:	1 week
2011-03-04 07:01:45 +00:00
Gleb Smirnoff
8f8ab00ff7 Update manual: node now supports NetFlow v9.
Submitted by:	Alexander V. Chernikov <melifaro ipfw.ru>
2011-03-02 16:16:09 +00:00
Andrey V. Elsukov
633c5bdac8 Add XMIT_FAILOVER transmit algorithm to ng_one2many node. Packets are
delivered out the first active "many" hook.

PR:		kern/137775
Submitted by:	Maxim Ignatenko
MFC after:	2 weeks
2011-03-01 13:10:56 +00:00
Rebecca Cran
ac095af538 Remove duplicate "in".
Suggested by:	Rob Farmer <rfarmer at predatorlabs.net>
MFC after:	3 days
2011-03-01 11:47:51 +00:00
Hans Petter Selasky
1c49736857 - Add support for software pre-scaling of ISOCHRONOUS transfers.
MFC after:	14 days
Approved by:	thompsa (mentor)
2011-02-28 17:23:15 +00:00
Rebecca Cran
b633aa9451 Revert some of r177626. "in in" is valid in certain sentences.
PR:		121490
MFC after:	3 days
2011-02-28 10:03:48 +00:00
Konrad Jankowski
e4183d0a3a Partial fix for PR 91106. Correct the short weekday names. Done according to this poll https://bugzilla.redhat.com/show_bug.cgi?id=242296. This will not close the bug fully yet, as the month names are still not correctly in Genitive. More research on this topic will be done, as I'm suspecting a bug in the libc locale functions picking the month name from the wrong group.
PR:		conf/91106
Approved by:	gavin (mentor)
MFC after:	1 month
2011-02-27 21:32:25 +00:00
Glen Barber
e02dd14a54 Fix typo in kernel configuration entry.
PR:		155074
Submitted by:	Warren Block (wblock of wonkity com)
MFC after:	3 days
2011-02-27 17:14:06 +00:00
Rebecca Cran
f008df5edd Fix typo - "is is" should have been changed to "it is" in r218965. 2011-02-26 12:50:28 +00:00
Hans Petter Selasky
ccac019af4 - Correct USB 3.0 wire-speed to 5.0Gbps
MFC after:	3 days
Approved by:	thompsa (mentor)
2011-02-26 09:28:52 +00:00
Maxim Konovalov
c28e9f4cfd o FreeBSD 8.2 and 7.4-RELEASE added. Mac OS X 10.6 added belatedly. 2011-02-25 07:33:42 +00:00
Gabor Kovesdan
ad30f8e79b Add the BSD-licensed Citrus iconv to the base system with default off
setting. It can be built by setting the WITH_ICONV knob. While this
knob is unset, the library part, the binaries, the header file and
the metadata files will not be built or installed so it makes no impact
on the system if left turned off.

This work is based on the iconv implementation in NetBSD but a great
number of improvements and feature additions have been included:

- Some utilities have been added. There is a conversion table generator,
  which can compare conversion tables to reference data generated by
  GNU libiconv. This helps ensuring conversion compatibility.
- UTF-16 surrogate support and some endianness issues have been fixed.
- The rather chaotic Makefiles to build metadata have been refactored
  and cleaned up, now it is easy to read and it is also easier to add
  support for new encodings.
- A bunch of new encodings and encoding aliases have been added.
- Support for 1->2, 1->3 and 1->4 mappings, which is needed for
  transliterating with flying accents as GNU does, like "u.
- Lots of warnings have been fixed, the major part of the code is
  now WARNS=6 clean.
- New section 1 and section 5 manual pages have been added.
- Some GNU-specific calls have been implemented:
  iconvlist(), iconvctl(), iconv_canonicalize(), iconv_open_into()
- Support for GNU's //IGNORE suffix has been added.
- The "-" argument for stdin is now recognized in iconv(1) as per POSIX.
- The Big5 conversion module has been fixed.
- The iconv.h header files is supposed to be compatible with the
  GNU version, i.e. sources should build with base iconv.h and
  GNU libiconv. It also includes a macro magic to deal with the
  char ** and const char ** incompatibility.
- GNU compatibility: "" or "char" means the current local
  encoding in use
- Various cleanups and style(9) fixes.

Approved by:	delphij (mentor)
Obtained from:	The NetBSD Project
Sponsored by:	Google Summer of Code 2009
2011-02-25 00:04:39 +00:00
Hans Petter Selasky
f728775b21 - Add missing xhci(4) manual page.
- Minor update in some USB manual pages.

MFC after:	3 days
Approved by:	thompsa (mentor)
2011-02-24 18:08:23 +00:00
Remko Lodder
a1f7c49554 Move the sticky manual from section 8 to section
7 like NetBSD has, since this is not a command
on itself.

PR:		124468
MFC after:	1 week
2011-02-24 13:03:47 +00:00
Pietro Cerutti
b7ad88af9d - Fix typo
Approved by:	davidxu
2011-02-24 10:21:26 +00:00
Rebecca Cran
974206cf70 Fix typos - remove duplicate "is".
PR:		docs/154934
Submitted by:	Eitan Adler <lists at eitanadler.com>
MFC after:	3 days
2011-02-23 09:22:33 +00:00
Lawrence Stewart
094b50be20 Use a single list to simplify future maintenance and ensure all list items are
aligned the same (no functional change at the moment as both list items are the
same number of characters).

Sponsored by:	FreeBSD Foundation
MFC after:	3 months
X-MFC with:	218912
2011-02-22 10:09:34 +00:00
Ulrich Spörlein
1bd8df43b8 Regen src.conf(5) after r218941 and r218942. 2011-02-22 08:21:22 +00:00
Ulrich Spörlein
423102c6fa Flesh out WITHOUT_GROFF support to DTRT.
A full featured groff is required during buildworld, so build it always
and don't rely on it being present on the host system.

vgrind(1) is tightly coupled to a roff processor and will not be
built/installed when groff is disabled. Also much of the roff'ed
documentation under share/doc will not be built/installed when
WITHOUT_GROFF is defined.

Reviewed by:	ru (partial)
2011-02-22 08:13:49 +00:00
Warner Losh
d51726b0b3 Back out 218933 and 281934. The easy cases still worked, but some
hard cases broke in worse ways than the status quo.  Back them out
until that can be resolved.
2011-02-22 04:49:57 +00:00
Warner Losh
016b099e47 Testing based on MACHINE_ARCH is problematic. Default to yes to build
clang.  A separate change will fix buildworld to default to yes or no
based on the target.
2011-02-22 04:03:33 +00:00
Lawrence Stewart
071e1365c2 Actually install the example Khelp module committed in r218545.
Sponsored by:	FreeBSD Foundation
MFC after:	4 weeks
X-MFC with:	r218545
2011-02-21 13:22:29 +00:00
Lawrence Stewart
29f269dc1f Final commit to round out the "Five New TCP Congestion Control Algorithms for
FreeBSD" FreeBSD Foundation funded project.

- Add new man pages for the modular congestion control, Khelp and Hhook
  frameworks (cc.4, cc.9, khelp.9 and hhook.9).

- Add new man pages for each available congestion control algorithm (cc_chd.4,
  cc_cubic.4, cc_hd.4, cc_htcp.4, cc_newreno.4 and cc_vegas.4).

- Add a new man page for the Enhanced Round Trip Time (ERTT) Khelp module
  (h_ertt.4).

- Update the TCP (tcp.4) man page to mention the TCP_CONGESTION socket option,
  cross reference to cc.4 and remove references to the retired
  "net.inet.tcp.newreno" sysctl MIB variable.

In collaboration with:	David Hayes <dahayes at swin edu au> and
				Grenville Armitage <garmitage at swin edu au>
Sponsored by:	FreeBSD Foundation
MFC after:	3 months
2011-02-21 11:56:11 +00:00
Martin Matuska
c42ed003e9 Add opteron-sse3, athlon64-sse3 and k8-sse3 cpu types to bsd.cpu.mk.
- add "sse3" to MACHINE_CPU for the new cpu types
- for i386, default to CPUTYPE=prescott for the new cpu types

PR:		gnu/154906
Discussed with:	kib, kan, dim
MFC after:	2 weeks
2011-02-20 22:32:21 +00:00
Konstantin Belousov
ba13377a7e Add restrict keyword to pthread_sigmask prototype and manpage.
MFC after:	1 week
2011-02-20 09:52:29 +00:00
Rebecca Cran
9c73eae9c4 Update the icmp example to show allowing only the safe types.
Suggested by: Tom Judge <tom at tomjudge.com>
MFC after:	3 days
2011-02-19 14:57:00 +00:00
Ed Schouten
e5d699577d Improve 256 color support.
- Add screen-256color,
- Improve rxvt-256color to set pa and op properly.
- Add rxvt-unicode-256color as an alias to rxvt-256color.

PR:		conf/152713, conf/153164
Submitted by:	Alexander Verbod and Frédéric Perrin
MFC after:	2 weeks
2011-02-19 11:06:00 +00:00
Navdeep Parhar
54e4ee7163 cxgbe(4) - NIC driver for Chelsio T4 (Terminator 4) based 10Gb/1Gb adapters.
MFC after:	3 weeks
2011-02-18 08:00:26 +00:00
Hans Petter Selasky
26fdf1e8b6 - Fix build of manual page and inclusion of mos driver into kernel config file.
- Fix style compliancy by wrapping some long lines in if_mos.c

Approved by:	thompsa (mentor)
2011-02-17 07:39:53 +00:00
Hans Petter Selasky
b2dce55fe9 Add support for new USB to ethernet controller:
Moschip MCS7730/MCS7830

Submitted by:	Rick van der Zwet <info@rickvanderzwet.nl>
Approved by:	thompsa (mentor)
2011-02-16 08:33:30 +00:00
Giorgos Keramidas
1583221b9d Document TRYBROKEN in ports(7).
PR:		docs/153542
Submitted by:	Eitan Adler <lists@eitanadler.com>
MFC after:	3 days
2011-02-15 07:16:27 +00:00
Martin Wilke
8a2d29c97e - Add Dell Wireless 1390 BCM4311 Mini PCI to supported list.
PR:		154500
Submitted by:	Ruslan Mahmatkhanov <cvs-src at yandex.ru>
Approved by:	rwatson
2011-02-15 05:57:53 +00:00
Martin Wilke
cff00b90fd - Added following port committers:
Marcus von Appen (mva@) (mentor: beech, miwi)
	Dennis Herrmann (dhn@) (mentor: tabthorpe, miwi)
	Brendan Fabeny (bf@)  (mentor: makc, miwi)
	Kris Moore (kmoore@)  (mentor: brooks, miwi)
	Sylvio Cesar Teixeira <sylvio@> (mentor: itetcu, miwi)
	Lars Engels (lme) (mentor: miwi)
2011-02-13 06:19:38 +00:00
Rebecca Cran
6608211548 If the pf.conf(5) example file is copied when setting up a firewall it's
easy to forget about icmp. Update the file to show allowing icmp through
the firewall.

PR:	docs/144986
MFC after:	1 month
2011-02-12 20:42:53 +00:00
Lawrence Stewart
12db289af8 Add an example Khelp module, which will be referenced in the forthcoming Khelp
documentation.

Sponsored by:	FreeBSD Foundation
Discussed with:	David Hayes <dahayes at swin edu au>
MFC after:	5 weeks
X-MFC with:	r216615
2011-02-11 07:26:17 +00:00
Giorgos Keramidas
61e05fce5e Add LIBEXECDIR to the bsd.own.mk vars, pointing to /usr/libexec by default
Some of the patches we are preparing for porting ATF from NetBSD
refer to '/usr/libexec' several times.  Instead of repeating the
path all over the place, add ${LIBEXECDIR} to match ${LIBDATADIR}
and reduce the redundancy of the relevant makefiles.

Submitted by:	Garrett Cooper <yanegomi@gmail.com>
Approved by:	ru
MFC after:	1 month
2011-02-10 19:13:54 +00:00
John Baldwin
4e889921ef - Add a new UNIVERSE_TARGET variable for 'make universe'. If it is set,
then that target is invoked for each architecture rather than the
  default action of building world and kernels for each architecture.
- Add a 'make toolchains' wrapper which uses UNIVERSE_TARGET to build
  toolchains for all architectures.
- Document JFLAG, MAKE_JUST_KERNELS, and MAKE_JUST_WORLDS variables for
  'make universe'.

Reviewed by:	bz
MFC after:	1 week
2011-02-10 18:54:52 +00:00
Josh Paetzel
2bb3ab3f9a Netgear renamed the WG311 to the WG311v1 after they released a second
version of it.  There is also a WG311v3 which uses a chipset covered by
malo(4). Along the way add the WG311T to the list which is also an
atheros chipset.

PR:	docs/154589
Approved by:	kib (mentor)
MFC after:	3 days
2011-02-10 15:41:32 +00:00
Warner Losh
9f6985c483 Document requirement that sys/types.h be included before rman.h.
Submitted by:	Raphael Kubo da Costa
MFC after:	2 weeks
2011-02-10 04:55:51 +00:00
Jung-uk Kim
e0e9e0d819 Fix the previous commit of pthread_getthreadid_np(3). 2011-02-07 21:31:21 +00:00
Jung-uk Kim
678b238c85 Introduce a non-portable function pthread_getthreadid_np(3) to retrieve
calling thread's unique integral ID, which is similar to AIX function of
the same name.  Bump __FreeBSD_version to note its introduction.

Reviewed by:	kib
2011-02-07 21:26:46 +00:00
Glen Barber
f6e6bb86df Minor grammar fix. s/cores'/core's/
Approved by:	keramida (mentor)
MFC after:	3 days
2011-02-07 11:20:58 +00:00
Martin Wilke
180b0814db - Use tabs not spaces
Reported by:	bschmidt
2011-02-06 11:39:51 +00:00
Martin Wilke
194a781c8d - Add Dell Wireless 1390 BCM4311 Mini PCI to supported list.
PR:		154500
Submitted by:	Ruslan Mahmatkhanov <cvs-src@yandex.ru>
2011-02-06 09:49:55 +00:00
Ulrich Spörlein
04a47f762d syscons: install all available kbdmaps
eee_nordic.kbd, us.dvorakl.kbd, and us.dvorakr.kbd were not installed.

Found by:	Neil Short <neshort@yahoo.com>
MFC after:	3 weeks
2011-01-30 12:57:10 +00:00
Pyun YongHyeon
ddc850164c ixgb(4) does not support altq(4) yet. 2011-01-27 20:08:14 +00:00
Pyun YongHyeon
c8e96dae57 Backout r216577. ixgb(4) does not support altq(4) yet. 2011-01-27 20:06:24 +00:00
Matthew D Fleming
00f0e671ff Explicitly wire the user buffer rather than doing it implicitly in
sbuf_new_for_sysctl(9).  This allows using an sbuf with a SYSCTL_OUT
drain for extremely large amounts of data where the caller knows that
appropriate references are held, and sleeping is not an issue.

Inspired by:	rwatson
2011-01-27 00:34:12 +00:00
Pyun YongHyeon
da65f7d0fe Document newly added tunables.
hw.re.intr_filter
 hw.re.msix_disable
 dev.re.%d.int_rx_mod
2011-01-26 21:59:59 +00:00
Ulrich Spörlein
c3990b4b85 Unroll vgrind filter to no longer depend on vgrind(1) during buildworld.
The source files haven't been touched in ages and this is unlikely
to change in the future.
2011-01-26 19:39:31 +00:00
Doug Barton
3e03585fb5 Fix another broken date 2011-01-26 06:07:24 +00:00
Doug Barton
b144f7cb82 Fix my fix to nfe.4, and also fix re.4
So just when I thought my pointy hat collection was going down ...
2011-01-26 01:07:56 +00:00
Doug Barton
a93d2e696d Fix date in .Dd 2011-01-26 01:02:39 +00:00
Matthew D Fleming
7c2dd57bdb Document sbuf_new_for_sysctl(9).
Pointed out by:	lstewart
2011-01-25 17:39:52 +00:00
Sergey Matveychuk
69319a626c Remove DOS-style EOLs
Approved by:	kib
2011-01-25 15:06:50 +00:00
Bjoern A. Zeeb
f1d16bd892 Back out r217734. [1]
Properly document what `make targets` is supposed to list to avoid
further confusion given the place the target sits. Should have happened
with r217125.

Requested by:	imp [1]
Reviewed by:	rwatson
2011-01-25 08:13:31 +00:00
Glen Barber
be9c09bf0f Add missing section number for .Xr rc.
Pointed out by:	keramida
Approved by:	keramida (mentor)
2011-01-24 15:11:08 +00:00
Bjoern A. Zeeb
eee8163bef Properly document what the top-level make tinderbox does.
Reviewed by:	jmallett
MFC After:	3 days
X-MFC:		build.7 only
2011-01-22 22:57:28 +00:00
Jaakko Heinonen
353429bfd2 Fix typos. 2011-01-22 15:19:25 +00:00
Glen Barber
ea46a1350c Fix '.Xr' ordering in SEE ALSO section.
Approved by:	keramida (mentor)
MFC after:	3 days
2011-01-22 13:18:28 +00:00
Ryusuke SUZUKI
40a4c1f85d Add myself to the list of doc commiters. 2011-01-20 17:28:57 +00:00
Matthew D Fleming
cbc134ad03 Introduce signed and unsigned version of CTLTYPE_QUAD, renaming
existing uses.  Rename sysctl_handle_quad() to sysctl_handle_64().
2011-01-19 23:00:25 +00:00
John-Mark Gurney
2634879bbb document that even when wakeup_one is used to wakeup, msleep and friends
may still return a non-zero value... You are not guaranteed to get a one
to one mapping between wakeup_one and zero return values...

Reviewed by:	kib
MFC after:	3 days
2011-01-19 22:16:42 +00:00
Giorgos Keramidas
a8ac9871df Bump .Dd date of manpage for r217481 2011-01-19 21:43:08 +00:00
Matthew D Fleming
f8e4b4ef49 sysctl(8) should use the CTLTYPE to determine the type of data when
reading.  (This was already done for writing to a sysctl).  This
requires all SYSCTL setups to specify a type.  Most of them are now
checked at compile-time.

Remove SYSCTL_*X* sysctl additions as the print being in hex should be
controlled by the -x flag to sysctl(8).

Succested by:	bde
2011-01-19 17:04:07 +00:00
Maxim Konovalov
fb332e2e88 o Correct version of DragonFly: it was 2.8.2 released, not 2.8.0.
Submitted by:	Sascha Wildner
2011-01-19 10:30:49 +00:00
Matthew D Fleming
f4f04709ac Fix a few more SYSCTL_PROC() that were missing a CTLFLAG type specifier. 2011-01-19 00:57:58 +00:00
Giorgos Keramidas
ab26b86473 Fix the mount example of xfDmitry Marakasov <amdmi3@FreeBSD.org>s(5) filesystems by including the read-only
option.  We only support ro mounts for xfs, so it's nice if the examples
we show in the manpage are easy to copy/paste.

PR:		docs/149106
Submitted by:	amdmi3
MFC after:	3 days
2011-01-16 20:10:55 +00:00
Marius Strobl
6e5a465f5f Add a missing word.
Submitted by:	gj
2011-01-16 14:21:26 +00:00
Marius Strobl
b9a14a5e26 Reference rgephy.4 in man pages of additional MAC drivers also known to
come in combination with these PHYs.

Submitted by:	yongari
MFC after:	3 days
2011-01-16 04:14:56 +00:00
Marius Strobl
e0fb7b7b8b Add a manual page for rgephy(4) and reference it as appropriate. The
motivation for having rgephy.4 is to document the special media option
add in r217415.

MFC after:	3 days
2011-01-15 22:07:08 +00:00
Nathan Whitehorn
4c8945a06b Update dialog to version 20100428. This changes the license under which
dialog is distributed from GPLv2 to LGPLv2 and introduces a number of new
features and a new and better libdialog API. The existing libdialog will
be kept temporarily as libodialog for compatibility purposes until sade,
sysinstall and tzsetup have been either updated or replaced.

__FreeBSD_version is now 900030.

Discussed on:	-current
Approved by:	core
Obtained from:	http://invisible-island.net/dialog
2011-01-12 14:55:02 +00:00
Andrew Thompson
02d09fbb52 Add manpage for runfw, the Ralink RT2700U, RT2800U and RT3000U firmware
module. Also fix a few nits in run.4.

Submitted by:	Akinori Furukoshi
2011-01-11 21:51:46 +00:00
Gavin Atkinson
7f103a3a85 Update the uplcom(4) man page to reflect the devices currently supported by
uplcom(4).

MFC after:	1 week
2011-01-11 19:07:34 +00:00
Gavin Atkinson
cf80e937bb Remove a bullet point that appears to have been accidentally inserted twice.
It has also been included within the feature lists to which it is relevant.

Submitted by:	tobez
MFC after:	1 week
2011-01-11 13:33:42 +00:00
Glen Barber
c10697f2a1 Document rc.conf.d in rc.conf(5).
PR:		140495
Submitted by:	Tom Judge (tom of tomjudge com)
Approved by:	keramida (mentor)
MFC after:	2 weeks
2011-01-08 13:28:43 +00:00
Bjoern A. Zeeb
7b2638182f Clarify when we switch from keepidle to keepinvtl intervals if sending
TCP keepalive probes is enabled.

Reviewed by:	gnn
MFC After:	3 days
2011-01-08 00:44:17 +00:00
Warner Losh
cd2ae2532f Retire TARGET_ABI.
Implement MACHINE_ARCH=mips64e[lb] to build N64 images.  This replaces
MACHINE_ARCH=mipse[lb] TARGET_ABI=n64.

MACHINE_ARCH=mipsn32e[lb] has been added, but currently requires
WITHOUT_CDDL due to atomic issues in libzfs.  I've not investigated
this much, but implemented this to preserve as much of the TARGET_ABI
functionality that I could.  Since its presence doesn't affect the
working cases, I've kept it in for now.

Added mips64e[lb] to make universe, so more kernels build.

And I think this (finally) closes the curtain on the tbemd tree.
2011-01-07 20:26:33 +00:00
Konstantin Belousov
5ada7d99af Introduce make variable ACFLAGS used to supply additional flags to
cc driver when compiling assembler source file that is preprocessed.
2011-01-07 14:32:29 +00:00
Edward Tomasz Napierala
102f2f352f Restore comment describing /* NOTREACHED */, updated to match reality. 2011-01-07 08:34:12 +00:00
John Baldwin
49fe354a54 Retire the INTR_FAST flag as it was obsoleted by the introduction of the
filter argument to bus_setup_intr().
2011-01-06 21:14:34 +00:00
Edward Tomasz Napierala
0b13dbc38b 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
Lawrence Stewart
61f8e2a786 Fix a whitespace nit.
MFC after:	1 week
X-MFC with:	r216995
2011-01-06 04:05:25 +00:00
Lawrence Stewart
4a2b56eb8a 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
Giorgos Keramidas
5af89be7b5 Glen Barber is co-mentored by me and jkois, so add another
relationship edge to the committer graph to show this.
2011-01-05 09:45:20 +00:00
Giorgos Keramidas
69ee1d3da4 Add gjb to the doc committer graph, as my current mentee. 2011-01-05 09:43:04 +00:00
Gavin Atkinson
ee3cc9723c Update committers-doc.dot, noving doc committer alumni into the alumni
section and recording the date these commit bits were returned.  Also, sort
the remaining entries, and add a node for mheinen, who is already referenced
within the mentor relationships.

Other doc committers are encouraged to add themselves, and any mentor/mentee
relationships.  The current rendered output is available at
http://people.freebsd.org/~gavin/comm-doc.png
2011-01-04 22:56:18 +00:00
Bernhard Schmidt
8202a0afe4 OLDCARD is long gone.
Discussed with:	imp
2011-01-04 19:26:11 +00:00
Gavin Atkinson
01863a28b5 Add nodes for current and past committers that are already referenced in
relationships, so they are rendered as more than just a username.
Add a couple of relationships between committers who already have existing
nodes to help with the rendered output.
2011-01-01 20:17:29 +00:00
Pyun YongHyeon
f95308351b Remove duplicated "perfect"
Pointed out by:	pluknet
2010-12-31 21:52:51 +00:00
Gavin Atkinson
58ffb73ca3 Move alumni committers from the active section. 2010-12-31 13:07:21 +00:00
Gavin Atkinson
dc8a809989 For committers listed as alumni, add the date that their commit bit was
returned where this information is missing and easy to determine.  Move
adrian@ back to the "Active committers" section.
2010-12-31 11:55:39 +00:00
Pyun YongHyeon
bb0667afa1 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
Marius Strobl
aab88d9da4 - Add CPUTYPE support for sparc64. The net result is that it's now possible
to let the compiler optimize for the famility of UltraSPARC-III CPUs as the
  default already was to optimize for UltraSPARC-I/II and generating generic
  64-bit V9 is mainly for reference purposes. At least for SPARC64-V CPUs
  code optimized for UltraSPARC-I/II still is the most performant one.
  Thanks go to Michael Moll for testing SPARC64-V.
- Move a booke MACHINE_CPU bit into the right section.
2010-12-30 15:58:23 +00:00
Edward Tomasz Napierala
baf7e5ea7b Fix date, broken in r216667.
Submitted by:	stefanf@
2010-12-22 17:12:58 +00:00
Edward Tomasz Napierala
07d6dffa57 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
Nathan Whitehorn
47033eb24d Enable build of FDT components by default. dtc is a required build tool
for all FDT-enabled kernels, and having it off by default means that
building these kernels fails by default. This fixes FDT-related build
failures in make universe on ARM and PowerPC.

Reviewed by:	imp
2010-12-22 14:59:22 +00:00
Jilles Tjoelker
0a62a9caa9 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
Pyun YongHyeon
d67a08c33f Document limitation of station address reprogramming. 2010-12-20 17:39:39 +00:00
Pyun YongHyeon
954d783c0e Oops, fwe(4) listed twice. 2010-12-20 00:27:40 +00:00
Pyun YongHyeon
f25407fd6b Add ae(4) to the list of drivers use the miibus interface. 2010-12-20 00:23:47 +00:00
Pyun YongHyeon
1f253c5de4 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
Pyun YongHyeon
cda25af317 Add .Xr to altq(4). 2010-12-19 23:54:31 +00:00
Pyun YongHyeon
68abd5a824 Add .Xr to altq(4). 2010-12-19 23:53:23 +00:00
Pyun YongHyeon
78b815ac74 ae(4), igb(4), ixgb(4) and ixgbe(4) supports altq(4). 2010-12-19 23:50:36 +00:00
Pawel Jakub Dawidek
24e75069cd Correct cookie type to match reality. 2010-12-19 18:07:10 +00:00
Pyun YongHyeon
49981fba51 Document JMC251/JMC261 support. 2010-12-19 00:00:29 +00:00
Robert Watson
e956db1e11 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
Robert Watson
63f34ca026 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
Robert Watson
055dac5c25 Fix spelling nits.
MFC after:	3 days
Submitted by:	bcr
2010-12-17 10:05:21 +00:00
Robert Watson
cd66b53aee 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
Robert Watson
0b484c698d Slightly different formatting for options list.
MFC after:	3 days
2010-12-14 10:06:28 +00:00
Robert Watson
3b56015b22 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
Robert Watson
7c472105ac 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
Robert Watson
f37972a945 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
Wen Heping
f3143b5c2f - Add myself to committers-ports.dot 2010-12-13 08:56:30 +00:00
Ruslan Ermilov
fd45cfd6aa Document this driver supports the converter I just bought. 2010-12-10 07:55:38 +00:00
Hiroki Sato
46f6a6edba Fix a typo.
Submitted by:	Garrett Cooper
2010-12-08 07:10:25 +00:00
Florian Smeets
f9cd2d0a8d Add myself to calendar.freebsd and committers-ports.dot
Approved by:	fjoe (mentor)
2010-12-07 23:56:51 +00:00
John Baldwin
c529e287e5 Add a manpage for SYSINIT() and SYSUNINIT().
PR:		docs/132884
Submitted by:	pluknet, hmp
2010-12-06 15:19:03 +00:00
Ulrich Spörlein
cded07a878 Move most of the remaining USD/PSD/SMM papers into share/doc 2010-12-04 10:11:20 +00:00
Rebecca Cran
01688065e7 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
Rebecca Cran
c90f7d9b44 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
David Schultz
549f28a438 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
Rebecca Cran
15b4888a24 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
Pyun YongHyeon
239169b1e7 Document loader tunable hw.re.prefer_iomap. 2010-12-02 18:37:34 +00:00
Nick Hibma
9c7b2cd088 Fix two errors in the man page
Submitted by:	ruslan
MFC after:	1 day
2010-11-30 09:34:47 +00:00
Doug Barton
3e9a7e408f Update the description of green_saver.ko
Improvements to my suggested text from: jhb
2010-11-29 21:31:25 +00:00
MIHIRA Sanpei Yoshiro
54de08a963 Add new device ids.
Buffalo (Melco Inc.) WLI-UC-G

PR:		141777
2010-11-29 15:08:18 +00:00
Xin LI
13ccc60993 Make German formal clause to be consistent with the keymap counterpart.
Submitted by:	arundel
MFC after:	1 week
2010-11-29 05:50:20 +00:00
John-Mark Gurney
7ea6a15d9f document that most of ioctl requests in cd(4) are implemented by acd(4).. 2010-11-28 23:34:20 +00:00
Xin LI
a0db37b5f6 Add a manual shrinked version of swiss-8x16 as swiss-8x14.
MFC after:	2 months
2010-11-28 09:35:56 +00:00
Marius Strobl
e30064032c 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
Xin LI
e8222ab044 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
Xin LI
85edfab5ce Add a HARDWARE section.
MFC after:	2 weeks
2010-11-25 19:05:17 +00:00
Pawel Jakub Dawidek
24b7ca3412 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
Konstantin Belousov
2e88da356c 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 Strobl
496b5146bf 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
Maxim Konovalov
1602b77793 o NetBSD 5.1 added. 2010-11-23 06:31:09 +00:00
Jilles Tjoelker
9897c45f31 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
Alexander Motin
cd48d66c7e Add VIA VX900 to the list of supported chipsets. 2010-11-18 18:09:25 +00:00
Adrian Chadd
7d31a76295 Re-enable generating links. 2010-11-16 22:23:20 +00:00
Adrian Chadd
84103d748f .. and then notice that the list of mk files is ordered, and update to suit. 2010-11-16 22:22:16 +00:00
Adrian Chadd
e04bbe2020 Add in forgotten install rule. 2010-11-16 22:21:14 +00:00
Doug Barton
eb581844e4 Remove references to MAKEDEV(8) 2010-11-15 05:25:51 +00:00
Oleksandr Tymoshenko
9ce391fa95 Regenerate src.conf manpage after adding WITHOUT_GPIO build knob 2010-11-14 22:08:56 +00:00
Warner Losh
f7ff90d7d2 This case is actually powerpc specific, and doesn't apply to powerpc64.
Submitted by:	nathanw@
2010-11-14 01:37:08 +00:00
Doug Barton
855c643b18 Remove references to the long-gone ramdisk
Submitted by:	Garrett Cooper <yanegomi@gmail.com>
2010-11-13 18:10:44 +00:00
Adrian Chadd
169733f46d Break out the rules which generate crunchgen'ed binaries into a separate
.mk file so they can be reused.

Introduce a new option, CRUNCH_BUILDTOOLS, which lists the binaries that
require tools built in the local architecture. sh and csh both require this.
It was previously hardcoded in rescue/rescue/Makefile .

Introduce a new option, CRUNCH_SHLIBS, which lists the shared libraries
to link against. These override the static libraries listed in CRUNCH_LIBS.
Some build environments may wish to use a handful of shared libraries
(eg libc.so) so other small, dynamic binaries can be run in the environment.

Remove the now-shared code from rescue/rescue/Makefile and introduce the
CRUNCH_BUILDTOOLS option for the above shells.
2010-11-13 03:11:27 +00:00
Brooks Davis
7cdc1c0007 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
Sergey Kandaurov
396a7f5025 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
Lawrence Stewart
d25e560a15 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
Dimitry Andric
bd4473b822 Fix typo, and re-wrap paragraph. 2010-11-11 23:00:37 +00:00
Rebecca Cran
37e13fa27f Bump .Dd due to additions in r214279.
MFC after:	3 days
2010-11-11 19:13:16 +00:00
Nick Hibma
0ea0127a4d 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
Zack Kirsch
9ded5b2a58 Add myself as a new committer and add zml as my mentor.
Approved by: zml (mentor)
2010-11-10 18:37:03 +00:00
Warner Losh
e8dce5b9b3 Complete the integration of tbemd branch into head.
TARGET_BIG_ENDIAN is now completely dead, except where it was
originally supposed to be used (internally in the toolchain building).

TARGET_ARCH has changed in three cases:
(1) Little endian mips has changed to mipsel.
(2) Big endian mips has changed to mipseb.
(3) Big endian arm has changed to armeb.

Some additional changes are needed to make 'make universe' work on arm
and mips after this change, so those are commented out for now.

UPDATING information will be forthcoming.  Any remaining rough edges
will be hammered out in -current.
2010-11-10 06:39:49 +00:00
Matthew D Fleming
f46276a9b0 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
John Baldwin
75ba301116 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
Pyun YongHyeon
8194413b8d 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
Ulrich Spörlein
5def49518d In man section 4, ERRORS is spelled DIAGNOSTICS 2010-11-04 21:03:50 +00:00
Edward Tomasz Napierala
8de599ec35 Xref BUS_SETUP_INTR(9) and locking(9). 2010-11-03 18:49:50 +00:00
John Baldwin
bd19a23baa 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
Ulrich Spörlein
95a68ec69c Add DragonflyBSD 2.8 and OpenBSD 4.8 releases
Also expand a stray tab in the family tree

MFC after:	1 week
2010-11-01 17:27:09 +00:00
David Xu
1200ef56b5 Follow the change made in libthr, add ERANGE error code and more
EINVAL error cases.
2010-10-28 02:59:25 +00:00
Pyun YongHyeon
36fe384754 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
Baptiste Daroussin
f631a04d26 Add attachement to my mentors
Reporter by: wxs (on irc)
2010-10-27 12:51:36 +00:00
Jung-uk Kim
66f369d023 Document newly added loader tunables "hw.acpi.install_interface" and
"hw.acpi.remove_interface".
2010-10-26 21:22:55 +00:00
Rebecca Cran
827f816c80 Fix formatting.
Reported by: yongari
2010-10-26 19:10:59 +00:00
Benedict Reuschling
503538eec1 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
Rebecca Cran
01486632e9 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
Glen Barber
7d6af40d1c 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
Julian Elischer
3082dd3fc7 Add Makefile entry to install two new example files.
MFC after:	2 weeks
2010-10-24 23:25:14 +00:00
Julian Elischer
fa212bfbe6 Add two scripts that demonstrate how to make and
hook together jails using teh vortual networking feature.

Submitted by:	Yavuz Gokirmak
MFC after:	2 weeks
2010-10-24 22:59:38 +00:00
Rebecca Cran
fd104c151b 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
Jaakko Heinonen
95adbc959b Use .Dv with NULL. 2010-10-24 16:10:32 +00:00
Jaakko Heinonen
f36575b51c Document make_dev_p(9).
Reviewed by:	brueffer, kib
2010-10-24 15:56:21 +00:00
Ulrich Spörlein
2914feeb7e 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
Andriy Gapon
7f0ab7f026 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
Andriy Gapon
c3fdd2de24 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
Andriy Gapon
55144670c2 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 Konovalov
7e54c6db1f o Put missed w/space back.
Submitted by:	Garrett Cooper
MFC after:	3 days
2010-10-20 04:53:03 +00:00
Xin LI
145e5188c9 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
Matthew D Fleming
20ed0cb0c6 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
Ulrich Spörlein
52e9e8dcca mdoc: fix markup typo
MFC after:	1 week (together with r213983)
2010-10-19 15:26:08 +00:00
Ulrich Spörlein
7cc1fde083 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
Sergey Kandaurov
c60aecbc90 Fix typo: Offlaod -> Offload.
PR:		docs/150756
Approved by:	avg (mentor)
MFC after:	3 days
2010-10-18 14:13:19 +00:00
Pawel Jakub Dawidek
ad4f4b2be8 Update links for taskqueue(9) functions. 2010-10-18 12:35:48 +00:00
Frederic Culot
1df8e4fb54 Add an entry for myself to committers-ports.dot.
Approved by:	sahil@ (mentor)
2010-10-17 18:48:51 +00:00
Konstantin Belousov
251e7dbf42 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
Konstantin Belousov
4518d9ae4c Document vfs.ncsizefactor and vfs.ncnegfactor.
MFC after:	2 weeks
2010-10-16 09:46:03 +00:00
Lawrence Stewart
1c6cae9711 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
Lawrence Stewart
c4ae7908a7 - 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
Matthew D Fleming
bf73d4d28e 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
Jung-uk Kim
ac731af567 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 Dahl
3fb1541d40 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
Matthew D Fleming
a92f0ee866 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
Ulrich Spörlein
9c398cc7e0 mdoc: drop redundant .Pp calls, kill EOL whitespace 2010-10-09 11:43:00 +00:00
Gordon Tetlow
ba0d27e3c2 Remove the manpath.config entry now that it's no longer installed.
Submitted by:	b. f.
Approved by:	wes (mentor implicit)
2010-10-09 05:57:23 +00:00