Commit Graph

13381 Commits

Author SHA1 Message Date
Rui Paulo
51ccb83a39 Fix bugs introduced in the previous rev:
* add a phatom target for the DTRACEOBJS
* when invoking DTrace, don't add DTRACEOBJS to the command line.

Sponsored by:	The FreeBSD Foundation
2010-09-10 17:44:11 +00:00
Rui Paulo
9feea9c1f4 Fix typo in previous commit. 2010-09-10 17:00:48 +00:00
Matthew D Fleming
4d369413e1 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
Rui Paulo
6a4e245b76 Add bsd.dtrace.mk. This allows userland programs and libraries to
define USDT probes on a provider.d file and then use this new make
infrastructure to build the corresponding header file and object file.

This will only take effect when the user defines WITH_DTRACE when building.

Sponsored by:	The FreeBSD Foundation
2010-09-10 16:27:09 +00:00
Rui Paulo
c2c48445ba Check the existence of a 'beforelinking' target and make the resulting
program or library depend on that before doing the final linking. This
will be needed by DTrace.

Sponsored by:	The FreeBSD Foundation
2010-09-10 16:21:09 +00:00
Rui Paulo
9a1d115000 Add the DTRACE variable that points to the executable.
Sponsored by:	The FreeBSD Foundation
2010-09-10 16:19:58 +00:00
MIHIRA Sanpei Yoshiro
5696dee9f4 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
Christian Brueffer
f0a7fc8b30 Xref aesni(4). 2010-09-09 21:39:06 +00:00
Christian Brueffer
6728a0dfbb Some more grammar, wording and mdoc fixes. 2010-09-09 21:37:05 +00:00
Matthew D Fleming
4351ba272c 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
Matthew D Fleming
db960cf00a Fix small errors in the sbuf(9) man page. 2010-09-09 16:27:02 +00:00
MIHIRA Sanpei Yoshiro
4c394c189f 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 Jeong
50398e411f Adds LOADER TUNABLES section to mention knobs which could be controlled
by loader(8) interface.
2010-09-06 22:23:35 +00:00
Weongyo Jeong
5454c3c04e 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 Jeong
d3e3be7fc7 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
Konstantin Belousov
f5447a3079 Grammar fixes.
Submitted by:	Ben Kaduk <minimarmot gmail com>, Valentin Nechaev
2010-09-06 21:29:21 +00:00
Konstantin Belousov
edb78df075 Add aesni(4) manpage. 2010-09-06 20:35:48 +00:00
Andreas Tobler
98ea71a310 Point out who is my mentor.
Approved by:	nwhitehorn	(mentor)
2010-09-06 20:16:10 +00:00
Andreas Tobler
33eb2576c1 Add myself to calendar.freebsd and committers-src.dot.
Approved by:	nwhitehorn	(mentor)
2010-09-06 19:00:00 +00:00
Glen Barber
d57429e2c2 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
Alexander Motin
af82b9a9ee 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
Konstantin Belousov
3037e5d20a Document "show cdev" command.
MFC after:	3 days
2010-09-05 14:52:27 +00:00
Konstantin Belousov
5e9cd1dbf8 Document MAKEDEV_ETERNAL.
MFC after:	3 days
2010-09-05 14:47:46 +00:00
Steve Wills
e64843de75 Add myself to commiters-ports.dot
Approved By: pgollucci (co-mentor)
2010-09-05 01:58:21 +00:00
Pyun YongHyeon
629cb67ffa Better wording.
Submitted by:	jkim
2010-09-02 20:43:01 +00:00
Pyun YongHyeon
f0092b8fc8 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
Maxim Konovalov
a1482dccab o csup(1) does not have -g flag. Remove it from the example.
PR:		conf/150214
Submitted by:	Li
MFC after:	1 week
2010-09-02 05:07:34 +00:00
Max Laier
36058c09e4 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 Konovalov
0090656231 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 Schouten
2400afc155 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
Dimitry Andric
67d640fc21 Add myself to committers-src.dot.
Approved by:	rpaulo (mentor)
2010-08-30 21:18:59 +00:00
Warner Losh
9bc38a3ba2 Now that we default to the proper endian, we don't need these for mips 2010-08-28 21:06:13 +00:00
Rebecca Cran
e7f8dd75b3 Fix incorrect usage of 'assure' and 'insure'.
Approved by: rrs (mentor)
2010-08-28 16:32:01 +00:00
Gabor Kovesdan
eb0c1bafd0 - Regen after adding WITH_BSD_GREP and removing WITH_GNU_GREP 2010-08-25 09:48:21 +00:00
Edward Tomasz Napierala
6b85cd6ddc s/ithread/interrupt thread/ 2010-08-24 21:38:44 +00:00
Warner Losh
25faff346c 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
Gabor Kovesdan
6608cc579e - Change default grep back to GNU version. BSD grep can be built with the
WITH_BSD_GREP knob.
- Bump __FreeBSD_version

Requested by:   dougb
Approved by:    delphij (mentor)
2010-08-23 10:04:26 +00:00
Pyun YongHyeon
72cfc9a608 Better wording and fix wrong explanation.
Submitted by:	Ben Kaduk ( minimarmot <> gmail dot com )
2010-08-23 00:10:43 +00:00
Pyun YongHyeon
b817ddc741 Document tunable dev.rl.%unit.prefer_iomap 2010-08-22 21:32:48 +00:00
Ed Schouten
cd1c27af36 Add missing mlink for insmntque1().
MFC after:	1 week
2010-08-22 16:42:46 +00:00
Pyun YongHyeon
8024e98228 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
Rui Paulo
21022fe7e9 Remove LIBELF_PIC.
Sponsored by:	The FreeBSD Foundation
2010-08-21 17:53:16 +00:00
Rui Paulo
60b77a1e4b Add the definition of LIBELF_PIC.
Sponsored by:	The FreeBSD Foundation
2010-08-21 14:08:04 +00:00
Rui Paulo
187278cadc For every instance of '.if ${CC} == "foo"' or '.if ${CC} != "foo"' in
Makefiles or *.mk files, use ${CC:T:Mfoo} instead, so only the basename
of the compiler command (excluding any arguments) is considered.

This allows you to use, for example, CC="/nondefault/path/clang -xxx",
and still have the various tests in bsd.*.mk identify your compiler as
clang correctly.

ICC if cases were also changed.

Submitted by:	Dimitry Andric <dimitry at andric.com>
2010-08-17 20:39:28 +00:00
Rui Paulo
efdcc3d8d8 Make sure any -U CFLAGS are not filtered out when calling mkdep, as
gnu/usr.bin/cc/libiberty first defines the PREFIX macro, and then
undefines it again, so mkdep with clang complains.

Submitted by:	Dimitry Andric <dimitry at andric.com>
Reviewed by:	ru
2010-08-17 13:02:08 +00:00
Joel Dahl
c913de0e06 Put parentheses around a few macros to prevent mdoc warnings. 2010-08-16 21:26:47 +00:00
Joel Dahl
c2025a7660 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 Dahl
13852a6e15 Fix .Dd from last commit.
Submitted by	Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp>
2010-08-16 12:37:17 +00:00
Christian Brueffer
0f7e249192 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
Christian Brueffer
cd64d3f2f0 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
Christian Brueffer
6a8d8aa193 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
Christian Brueffer
b0ee1e8ae6 Use our standard section 4 SYNOPSIS. While here, fixed markup whitespace
and adapted an Xref.
2010-08-15 20:56:13 +00:00
Joel Dahl
4f76d548c9 Fix typo. 2010-08-13 20:27:40 +00:00
Takanori Watanabe
34d9d01f86 Hook tpm.4 manual to hook. 2010-08-13 05:01:44 +00:00
Ivan Voras
c491a612fd 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
Will Andrews
4be3feb212 Fix buildworld -DNO_CLEAN when using with Perforce, which marks files as
read-only by default, meaning files copied can't be overwritten next time.

Reviewed by:	imp
Approved by:	ken (mentor)
2010-08-12 20:46:49 +00:00
Takanori Watanabe
2032024cd6 Fix copyright information. 2010-08-12 01:08:50 +00:00
Takanori Watanabe
97f24f666f 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
Matthew D Fleming
e3813573bd 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
Pyun YongHyeon
b805efe6dd Document newly added controller AR8151 and AR8152. 2010-08-09 17:33:03 +00:00
Gavin Atkinson
c86342d745 Add a termcap entry for rxvt-256color.
PR:		conf/147726
Submitted by:	Sterling (Chip) Camden <sterling camdensoftware.com>
MFC after:	2 weeks
2010-08-08 09:40:09 +00:00
Gavin Atkinson
3e9b610706 Add a keymap for the Swiss-German Macbook keyboard.
PR:		conf/139997
Submitted by:	Andreas Tobler <andreast fgznet.ch>
MFC after:	2 weeks
Committed from:	Bugathon #7
2010-08-07 17:02:36 +00:00
Dag-Erling Smørgrav
c3a2dbe9e5 Document the MEXTADD macro.
MFC after:	2 weeks
2010-08-07 13:26:08 +00:00
Joel Dahl
7f22a6d334 Fix typo in comment. 2010-08-07 08:31:32 +00:00
Bernhard Schmidt
39eb4bc6b2 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
Stefan Farfeleder
6da339ce79 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 Dahl
f6ac23919b Fix typos and spelling mistakes. 2010-08-06 14:33:42 +00:00
Pyun YongHyeon
85bac12c99 Reflect default Tx interrupt moderation timer value change(50ms -> 1ms). 2010-08-06 00:52:23 +00:00
Maxim Konovalov
58047fa56d o FreeBSD 8.1-RELEASED added.
PR:		misc/149118
Submitted by:	pluknet
2010-08-05 18:05:37 +00:00
Benedict Reuschling
227405d48c Correctly sort usbconfig(8) within the SEE ALSO section.
Noticed by:     dougb
MFC after:      3 days
2010-08-03 19:25:58 +00:00
Benedict Reuschling
b2fdb73b9a 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
Greg Larkin
4f21a87f74 Added myself (must have forgot a couple of years ago?) and fixed the
newline character in gerald's entry.
2010-08-02 16:18:41 +00:00
Ulrich Spörlein
b6514098d6 mdoc: remove unused/empty macros 2010-08-02 13:11:27 +00:00
Pawel Jakub Dawidek
3035649e73 Correct function name.
MFC after:	3 days
2010-08-01 21:54:25 +00:00
Rui Paulo
8589ca8418 Add LIBRTLD_DB.
Sponsored by:	The FreeBSD Foundation
2010-07-31 14:32:54 +00:00
Joel Dahl
b06cfd40f9 Fix a bunch of typos and spelling mistakes. 2010-07-31 12:14:28 +00:00
Joel Dahl
9ba4735280 Spelling fixes. 2010-07-31 10:01:15 +00:00
Rui Paulo
b4d22b2cb9 Add missing escape characthers.
Pointed out by:	b.f.
2010-07-30 15:25:57 +00:00
Ulrich Spörlein
32ba16b6e6 Fix a couple of typos.
PR:		docs/148891
Submitted by:	olgeni
MFC after:	1 week
2010-07-30 11:58:18 +00:00
Rui Paulo
3a1134997b Fix previous commit: I forgot to include parenthesis.
Submitted by:	anonymous
2010-07-30 08:52:19 +00:00
Rui Paulo
8a5216d5d8 When building WITH_CTF=1, print the ctf executable that's going to be
run. This makes the 'ctfconvert' and 'ctfmerge' programs show up during
a build when compiling a kernel, a library or a program.

Sponsored by:	The FreeBSD Foundation
2010-07-29 16:30:27 +00:00
Baptiste Daroussin
6156467d68 Add myself as a ports committer
Approved by:	tabthorpe@ (co-mentor)
2010-07-28 16:38:37 +00:00
Simon L. B. Nielsen
74aed54846 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
Benedict Reuschling
49b96401be Add an example to encourage people to have a look at either
make(1) or /usr/ports/ports-mgmt/portconf for port-specific
variables/options to compile a port.

PR:		docs/145655
Submitted by:	Armin Pirkovitsch (armin at frozen dash zone dot org)
Discussed with:	dougb
MFC after:	7 days
2010-07-25 20:21:32 +00:00
Rui Paulo
daef39e7ae Remove the acpi_aiboost driver. It has been replaced by aibs(4). 2010-07-25 17:55:57 +00:00
Gabor Kovesdan
cf62d79aa8 - Regenerate after adding WITH_GNU_GREP 2010-07-22 19:30:13 +00:00
Gabor Kovesdan
4dc88ebedf Add BSD grep to the base system and make it our default grep.
Deliverables: Small and clean code (1,4 KSLOC vs GNU's 8,5 KSLOC),
              lower memory usage than GNU grep, GNU compatibility,
              BSD license.

TODO:         Performance is somewhat behind GNU grep but it is only
              significant for bigger searches.  The reason is complex, the
              most important factor is that GNU grep uses lots of
              optimizations to improve the speed of the regex library.
              First, we need a modern regex library (practically by adopting
              TRE), add support for GNU-style non-standard regexes and then
              reevalute the performance issues and look for bottlenecks.  In
              the meantime, for those, who need better performance, it is
              possible to build GNU grep by setting WITH_GNU_GREP.

Approved by:            delphij (mentor)
Obtained from:          OpenBSD (http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/grep/),
                        freegrep (http://github.com/howardjp/freegrep)
Sponsored by:           Google SoC 2008
Portbuild tests run by: kris, pav, erwin
Acknowledgements to:    fjoe (as SoC 2008 mentor),
                        everyone who helped in reviewing and testing
2010-07-22 19:11:57 +00:00
Matthew D Fleming
242ed5d96c 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
Andrew Turner
05ef546154 - Add myself to committers-src.dot
Approved by:	imp (mentor)
2010-07-21 21:23:23 +00:00
Ollivier Robert
77a0c59b8f Week days are all lowercase in French.
cf. http://www.academie-francaise.fr/langue/questions.html#jourdelasemaine (FR)

PR:		misc/148792
Submitted by:	Mathieu <freebsd@breatheless.net>
MFC after:	1 weeks
2010-07-20 14:27:09 +00:00
Bernhard Schmidt
2833a73148 Update manpage to reflect changes regarding the 6050's firmware.
MFC after:	3 days
2010-07-20 10:45:05 +00:00
Edward Tomasz Napierala
891d46ce1d Add reference to uhsoctl(1). 2010-07-20 06:38:57 +00:00
Andrew Thompson
21a9d6e706 - 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 L. B. Nielsen
b9ec8f3b6c Cross reference tree(3) and queue(3).
MFC after:	1 week
2010-07-18 08:34:44 +00:00
Tijl Coosemans
857e086b80 - Add myself to committers-src.dot
- Add myself to calendar.freebsd

Approved by:	kib (mentor)
2010-07-17 18:35:39 +00:00
Maxim Konovalov
49d91a7fbe 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
Joseph S. Atkinson
12c5cab23e Nervously welcoming myself to the family.
Add myself to all the appropriate places, upload my pgp key, and announce
my arrival to the FreeBSD world.

Approved by:	wxs@ (mentor)
2010-07-16 18:06:19 +00:00
Ed Maste
ea168d383d Rename documentation source files to avoid filesystem case and restricted
filename issues when checking out the source on other operating systems.

I've verified the generated paper.ascii is identical before and after the
change.
2010-07-16 17:01:36 +00:00
Rafal Jaworowski
42c8cbe162 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 L. B. Nielsen
2d3034115b Bump document for content change in r210002. 2010-07-13 16:47:29 +00:00