Commit Graph

13307 Commits

Author SHA1 Message Date
Ulrich Spörlein
a90fbe1dbb More mdoc nitpicking to improve compatibility to mdocml
- .Nd in section NAME is not optional
- .Ed was missing
- "indent" is not a flag, but a literal argument for -offset
- stop switching font sizes for acronyms
- use .Brq instead of rolling our own
2010-06-11 06:04:07 +00:00
Ulrich Spörlein
9dc9ab104c Remove Xo/Xc in It, which is not yet supported by mdocml but
can be worked around trivially in this case.
2010-06-11 06:04:00 +00:00
Ulrich Spörlein
134d45e8c6 mdoc nitpicking: the title argument shall be uppercase 2010-06-11 06:03:47 +00:00
Warner Losh
aef87548f3 Merge from tbemd
Enhance Makefile.inc processing, when asked for, to include the most
specific (MACHINE specific) to least specific (MACHINE_CPUARCH).

Reviewed by:	arch@ (mostly silence though)
2010-06-11 02:50:53 +00:00
Warner Losh
6fc3ead135 Merge from tbemd branch:
Introduce MACHINE_CPUARCH.  Many different MACHINE_ARCHs will be built
from one MACHINE_CPUARCH.  This will allow us to move to a more
standard MACHINE_ARCH for mips and arm which exist in many different
endian variants, and for powerpc where both 32 and 64 bit binaries are
generated from the same sources.

Reviewed by:	arch@ (mostly silence though)
2010-06-11 02:43:36 +00:00
Bjoern A. Zeeb
54e57c8145 Make the char *n_name member of struct nlist 'const'.
This avoids errors or __DECONST() from places with higher WARNS levels.

Adjust a local cache variable in ipcs to const as well
to compile in the new world order.

Suggested by:	jhb
Reviewed by:	jhb, kib, brueffer (man)
2010-06-10 14:19:51 +00:00
Ed Schouten
796cae776a Regenerate. 2010-06-10 06:22:10 +00:00
Ed Schouten
c3cdab8d14 Regenerate. 2010-06-09 20:20:24 +00:00
Roman Divacky
0a2c9c8c8f Regen src.conf.5
Approved by:	ed (mentor)
2010-06-09 20:13:50 +00:00
Roman Divacky
6513cfc82f Hook clang into the build on i386/amd64/powerpc.
Approved by:	ed (mentor)
2010-06-09 19:57:20 +00:00
Andrey V. Elsukov
d359a62d44 New netgraph node ng_patch(4). It performs data modification of packets
passing through. Modifications are restricted to a subset of C language
operations on unsigned integers of 8, 16, 32 or 64 bit size.
These are: set to new value (=), addition (+=), subtraction (-=),
multiplication (*=), division (/=), negation (= -), bitwise AND (&=),
bitwise OR (|=), bitwise eXclusive OR (^=), shift left (<<=),
shift right (>>=). Several operations are all applied to a packet
sequentially in order they were specified by user.

Submitted by:	Maxim Ignatenko <gelraen.ua at gmail.com>
		Vadim Goncharov <vadimnuclight at tpu.ru>
Discussed with:	net@
Approved by:	mav (mentor)
MFC after:	1 month
2010-06-09 12:25:57 +00:00
Matthew D Fleming
5e25430c4e - Add myself to committers-src.dot
- Add myself to calendar.freebsd

Approved by:	zml (mentor)
2010-06-04 17:54:30 +00:00
Andrey V. Elsukov
28c0f4ec05 - Add myself to committers-src.dot
- Add myself to calendar.freebsd

Approved by:	kib (mentor)
2010-06-03 21:12:51 +00:00
Attilio Rao
a41dcb6d1c [0] Improve wording.
[1] Following style for manpages, just do carriage return after a
    sentence.

Sponsored by:		Sandvine Incorporated
[0] Submitted by:	emaste
[1] Submitted by:	rwatson
2010-06-03 09:54:53 +00:00
Ulrich Spörlein
e10c1be450 mdoc cleanup
Garbage collect unused sections, macros and arguments. Fix prologue and
remove empty lines.

Found by: mdocml
2010-06-02 10:20:23 +00:00
Alexander Motin
ccf87a1089 Recommend disabling LAPIC timer instead whole APIC for fixing C3 state.
PR:		docs/147180
Submitted by:	Tobias Rehbein
2010-06-02 08:43:18 +00:00
Attilio Rao
31a9a22b2b Adjust the manpage after r207329.
Sponsored by:	Sandvine Incorporated
Reviewed by:	cpercival, emaste, marcel
X-MFC:		r207329
2010-06-01 18:27:48 +00:00
Jilles Tjoelker
7e0fed92d8 devfs(5): Also mention when device nodes on ufs stopped working (6.0),
as requested by some people.

MFC after:	2 weeks
2010-05-30 13:32:39 +00:00
Jilles Tjoelker
7f482407a3 Clarify devfs manpages slightly.
mount(8): add xref to devfs(5)
devfs(5): change example to something more likely to be useful (it is not
necessary to mount a devfs on /dev manually, but for chroots/jails it is
often needed), mention since when devfs is preferred to device nodes on ufs

PR:		146600
MFC after:	2 weeks
2010-05-29 20:24:01 +00:00
Ulrich Spörlein
b59e4b2cee mdoc: remove duplicate width argument 2010-05-27 13:56:47 +00:00
Ulrich Spörlein
30fc54ea79 mdoc: .Ud has attitude, it takes no argument! 2010-05-27 13:56:40 +00:00
Ulrich Spörlein
25c8b07fc2 mdoc: Garbage collect unused/unneeded macros 2010-05-27 13:56:27 +00:00
Rui Paulo
4479115eaf Install Intel iwn(4) firmware license.
MFC after:	3 days
2010-05-27 08:21:52 +00:00
Rafal Jaworowski
a328ce6ded Use MACHINE_ARCH instead of TARGET_ARCH.
Pointed out by:	imp
2010-05-26 09:23:51 +00:00
Gleb Smirnoff
f25a8a0150 Add uep(4), driver for USB onscreen touch panel from eGalax.
The driver is stub. It just creates device entry and feeds
reassembled packets from hardware into it.

If in future we would port wsmouse(4) from NetBSD, or make
sysmouse(4) to support absolute motion events, then the driver
can be extended to act as system mouse. Meanwhile, it just
presents a /dev/uep0, that can be utilized by X driver, that
I am going to commit to ports tree soon.

The name for the driver is chosen to be the same as in NetBSD,
however, due to different USB stacks this driver isn't a port.
2010-05-25 21:20:56 +00:00
Rafal Jaworowski
4f1ca2a872 Introduce a new build knob for Flattened Device Tree support.
Reviewed by:	imp
Sponsored by:	The FreeBSD Foundation
2010-05-25 15:12:21 +00:00
Bjoern A. Zeeb
0f59fbc3d6 MFp4 @178364:
Implement an optional delay to the ddb reset/reboot command.

This allows textdumps to be run automatically with unattended reboots
after a resonable timeout, while still permitting an administrator to
break into debugger if attached to the console at the time of the
event for further debugging.  Cap the maximum delay at 1 week to avoid
highly accidental results, and default to 15s in case of problems
parsing the timeout value.

Move hex2dec helper function from db_thread.c to db_command.c to make
it generally available and prefix it with a "db_" to avoid namespace
collisions.

Reviewed by:	rwatson
MFC after:	4 weeks
2010-05-24 16:41:05 +00:00
Ulrich Spörlein
668d8dd3c8 These features will first appear in 8.1, soon to be released
MFC after:	3 days
2010-05-24 11:14:40 +00:00
Alexander Motin
f87d5cdcbc mvs(4) will first appear in FreeBSD 8.1. 2010-05-23 14:11:27 +00:00
Maxim Konovalov
a6f236363d o Remove EoL w/spaces introduced in the last commit.
Spotted by:	uqs
2010-05-22 20:19:12 +00:00
Maxim Konovalov
2a7f227fd5 o Grammar.
PR:		conf/146827
Submitted by:	chris petrik
2010-05-22 16:30:33 +00:00
Jayachandran C.
7aad43af9b Fixup order of entries (including mine), reported by yar@freebsd.org
Approved by:	rrs (mentor)
2010-05-21 19:08:24 +00:00
Wesley Shields
1ec7492c4e Document NANO_ARCH which is no longer hard coded as of r205980.
Approved by:	imp@
2010-05-20 18:39:33 +00:00
Jayachandran C.
6d21d06d6c Add jchandra, with rrs as mentor
Approved by:	rrs (mentor)
2010-05-20 17:30:55 +00:00
Maxim Konovalov
48fa8ad6f6 o DragonFly 2.6.0 added.
Submitted by:	pluknet
2010-05-20 08:07:25 +00:00
Maxim Konovalov
4b8fd9d583 o OpenBSD 4.7 added. 2010-05-20 05:03:02 +00:00
Jung-uk Kim
215d065382 Regen for r208321. 2010-05-20 00:10:11 +00:00
Jung-uk Kim
07e547fe26 Add a new build option, MAN_UTILS. This option lets you control building
utilities and related support files for manual pages, which were previously
controlled by MAN.  For POLA, the default depends on MAN, i.e., WITHOUT_MAN
implies WITHOUT_MAN_UTILS and WITH_MAN implies WITH_MAN_UTILS.  This patch
is slightly improved by me from:

PR:		misc/145212
2010-05-19 23:56:26 +00:00
Ulrich Spörlein
62486687ed mdoc: consistently spell our email addresses <foo@FreeBSD.org>
Reviewed by:	ru
2010-05-19 08:57:53 +00:00
Marius Strobl
d6d81b7386 Document the led(4) interface to the identification LEDs.
MFC after:	3 days
2010-05-14 20:11:30 +00:00
Christian Brueffer
6413763283 Mention LSI Logic FC949E.
PR:		110359
Submitted by:	Vivek Khera <vivek@khera.org>
MFC after:	3 days
2010-05-14 01:10:20 +00:00
Ulrich Spörlein
0b31f1f731 mdoc: move remaining sections into consistent order
This pertains mostly to FILES, HISTORY, EXIT STATUS and AUTHORS sections.

Found by:	mdocml lint run
Reviewed by:	ru
2010-05-13 12:08:11 +00:00
Ulrich Spörlein
0afc94c17a mdoc: move CAVEATS, BUGS and SECURITY CONSIDERATIONS sections to the
bottom of the manpages and order them consistently.

GNU groff doesn't care about the ordering, and doesn't even mention
CAVEATS and SECURITY CONSIDERATIONS as common sections and where to put
them.

Found by:	mdocml lint run
Reviewed by:	ru
2010-05-13 12:07:55 +00:00
Christian Brueffer
8680e9295c Make this ready for automatic hardware notes generation. 2010-05-12 19:20:32 +00:00
Christian Brueffer
15dadd9e58 IBM ServeRAID M5015 SAS/SATA works.
PR:		144614
Submitted by:	pluknet <pluknet@gmail.com>
MFC after:	1 week
2010-05-12 17:12:38 +00:00
Pyun YongHyeon
08f243971d Document undocumented tunables and sysctl variables.
While here use actual string to specify width as well as using Cm
to set command argument.

Reviewed by:	brueffer
2010-05-12 16:59:58 +00:00
Ulrich Spörlein
38880eca9b mdoc: fix prologue order in mdoc template
Reviewed by:	brueffer
2010-05-11 23:08:07 +00:00
Pyun YongHyeon
69e3073a95 Now sge(4) supports TCP segmentation offload (TSO). 2010-05-10 17:48:00 +00:00
Martin Matuska
81ad83880d Import of liblzma, xz, xzdec, lzmainfo from vendor branch
Add support for xz and lzma to lesspipe.sh (xzless, lzless)
Bump __FreeBSD_version

Approved by:	delphij (mentor)
MFC after:	2 weeks
2010-05-10 06:59:50 +00:00
Christian Brueffer
757b9a68d7 Various wording, spelling and markup fixes.
PR:		145251
Submitted by:	Hywel Mallett <hywel@hmallett.co.uk> (partly)
MFC after:	3 week
2010-05-09 21:34:05 +00:00
Jilles Tjoelker
e2404784e6 builtin(1): sh has no @ builtin command.
MFC after:	1 week
2010-05-09 15:00:30 +00:00
Jilles Tjoelker
febae919ac Document clock and pshared condvar attributes.
Note: clock accepts CLOCK_VIRTUAL and CLOCK_PROF too, but this seems broken
as it simply waits for the difference of the current and given value of the
clock as if it were CLOCK_MONOTONIC. So document only CLOCK_REALTIME and
CLOCK_MONOTONIC as allowed.

MFC after:	1 week
2010-05-09 14:21:34 +00:00
Konstantin Belousov
2b848cb1f5 Document MAKEDEV_NOWAIT flag for make_dev_credf(9).
Reviewed by:	jh
MFC after:	2 weeks
2010-05-06 19:23:49 +00:00
Marko Zec
f8aab721b2 Add an optional "persistent" flag to ng_hub and ng_bridge, which if set,
disables automatic node shutdown when the last hook gets disconnected.

Reviewed by:	julian
2010-05-05 22:06:05 +00:00
Marius Strobl
c41e7be93c Sun GigaSwift Ethernet 1.0 MMF work with r207585 in place. 2010-05-03 20:59:27 +00:00
Alexander Motin
dd48af360f Import mvs(4) - Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA controllers
driver for CAM ATA subsystem. This driver supports same hardware as
atamarvell, ataadaptec and atamvsata drivers from ata(4), but provides
many additional features, such as NCQ, PMP, etc.
2010-05-02 19:28:30 +00:00
Pyun YongHyeon
a26a72d90b Marvell 88E8059(Yukon Optima) is now supported. 2010-04-30 19:05:01 +00:00
Xin LI
976d54c3f7 bwn(4) will first appear in FreeBSD 8.1-RELEASE.
MFC after:	1 week
2010-04-29 18:32:14 +00:00
Pyun YongHyeon
53ac9f49f0 Now sge(4) supports hardware VLAN tag insertion/stripping. 2010-04-29 18:21:27 +00:00
Rui Paulo
54862540ba Couple of fixes from DragonFly (typos).
Obtained from:	DragonFlyBSD
2010-04-28 13:29:48 +00:00
Hajimu UMEMOTO
b13cc627c7 Better handling of ipv6_default_interface using
net.inet6.ip6.use_defaultzone=1.  Now, it works IPv6 link-local
unicast addresses as well as IPv6 link-local multicast addresses.

MFC after:	1 week
2010-04-26 15:31:58 +00:00
Lawrence Stewart
7d11e744c1 - Rework the underlying ALQ storage to be a circular buffer, which amongst other
things allows variable length messages to be easily supported.

- Extend KPI with alq_writen() and alq_getn() to support variable length
  messages, which is enabled at ALQ creation time depending on the
  arguments passed to alq_open(). Also add variants of alq_open() and
  alq_post() that accept a flags argument. The KPI is still fully
  backwards compatible and shouldn't require any change in ALQ consumers
  unless they wish to utilise the new features.

- Introduce the ALQ_NOACTIVATE and ALQ_ORDERED flags to allow ALQ consumers
  to have more control over IO scheduling and resource acquisition
  respectively.

- Strengthen invariants checking.

- Document ALQ changes in ALQ(9) man page.

Sponsored by:	FreeBSD Foundation
Reviewed by:	gnn, jeff, rpaulo, rwatson
MFC after:	1 month
2010-04-26 13:48:22 +00:00
Jilles Tjoelker
36f8c7ebef Make hash, type and ulimit available via execve().
These are specified by POSIX but are not special builtins, and therefore
need to be available via execve() and utilities like time, nohup, xargs.
(Note that hash was moved from the XSI option to the base in the 2008
standard.)

Like most of the POSIX "regular builtin commands", these need to be executed
in a shell environment for full functionality, although they may still be of
some use outside one.

Unlike the POSIX special and regular builtin commands, POSIX does not
require these to be found before a PATH search, although that could be an
oversight.

Like some of the utilities already provided by usr.bin/alias, these may lead
to confusing results when invoked from csh(1).
2010-04-25 17:38:53 +00:00
Jilles Tjoelker
bf59faa385 builtin(1): Add missing escaping for !, . and : in the table.
This caused these commands to look differently (not bold) from the other
commands in the table (bold).

MFC after:	1 week
2010-04-24 22:24:26 +00:00
Jilles Tjoelker
2d61a2a477 builtin(1): Mention [ sh builtin.
MFC after:	1 week
2010-04-24 22:16:01 +00:00
Florent Thoumie
762c7db2e8 - Take libinstall.a out of pkg_install and make it a proper shared library.
- Rework the wrapper support to check libpkg version as well as pkg_install
version.
- Add libfetch to _prebuild_libs.
- There are no new features introduced.

Notes: the API is not stable, so basically, do not use libpkg in your
projects for now. Also there's no manpage for libpkg yet, because the API
will change drastically. I repeat, do not use libpkg for now.
2010-04-23 11:07:43 +00:00
Ana Kukec
64451dd71d Fix of r206904, \nanchie is needed instead of \anchie.
Approved by:	bz (mentor)
Reported by:	danfe, zec
2010-04-21 20:05:49 +00:00
Andriy Gapon
ee9c0bb32b indent.pro example: actually install the sample file 2010-04-21 12:17:01 +00:00
Randi Harper
3d65a7ed79 Add myself to committers-src.dot.
Approved by:	cperciva (mentor)
2010-04-21 08:18:06 +00:00
Xin LI
611049ae75 When CPUTYPE is defined to any value, on amd64 platform "mmx" is
available through MACHINE_CPU, indicating the CPU supports that
feature, as done by revision 138685.

This changeset adds "mmx" into the default amd64 MACHINE_CPU list
when no CPUTYPE is specified to provide consistent behavior.

PR:		amd64/145593
Submitted by:	mm
MFC after:	2 weeks
2010-04-21 01:13:08 +00:00
Ryan Stone
86c02aae87 add new committer rstone to committers-src.dot 2010-04-20 22:43:53 +00:00
Ana Kukec
60e3ce611c Add myself and list bz@ as my mentor.
Approved by:	bz (mentor)
2010-04-20 18:16:56 +00:00
Doug Barton
1a58736816 In case a user wants to configure only an IPv6 link-local address
add an example that shows how to do it.
2010-04-17 18:48:18 +00:00
Xin LI
57d848483e When an underlying ioctl(2) handler returns an error, our ioctl(2)
interface considers that it hits a fatal error, and will not copyout
the request structure back for _IOW and _IOWR ioctls, keeping them
untouched.

The previous implementation of the SIOCGIFDESCR ioctl intends to
feed the buffer length back to userland.  However, if we return
an error, the feedback would be defeated and ifconfig(8) would
trap into an infinite loop.

This commit changes SIOCGIFDESCR to set buffer field to NULL to
indicate the previous ENAMETOOLONG case.

Reported by:	bschmidt
MFC after:	2 weeks
2010-04-14 22:02:19 +00:00
Julian Elischer
f6b93040fd Man page change to documant slight change in ktr_alq behaviour. 2010-04-14 21:44:14 +00:00
Pyun YongHyeon
9b00b6e1ee Add sge(4) man page and hook up sge(4) to the build.
Also add Xr to appropriate man pages.
2010-04-14 21:27:48 +00:00
Ulrich Spörlein
aa12cea2cc mdoc: order prologue macros consistently by Dd/Dt/Os
Although groff_mdoc(7) gives another impression, this is the ordering
most widely used and also required by mdocml/mandoc.

Reviewed by:	ru
Approved by:	philip, ed (mentors)
2010-04-14 19:08:06 +00:00
Hajimu UMEMOTO
8103e1fa9c Nuke the descriptions about ipv6_firewall_* as they were unified
into firewall_*.

MFC after:	3 days
2010-04-13 15:53:04 +00:00
Sahil Tandon
53a1359ec1 - Add an entry for myself to committers-ports.dot 2010-04-12 23:47:29 +00:00
Dima Panov
21997f6a8a - Add myself to the ports committers graph
Forgot to do it when gain my commit bit :)
2010-04-12 12:28:22 +00:00
Rene Ladan
a9ea2209ac Add myself to the ports committers graph
Approved by:	tabthorpe (mentor, implicit)
2010-04-11 19:58:01 +00:00
Rui Paulo
c6c608b33d Add rc.d/ubthidhci. This small script calls usbconfig(1) to change a USB
Bluetooth controller from HID mode to HCI mode.

MFC after:	1 week
2010-04-09 17:32:38 +00:00
Doug Barton
8aa4c57946 Improve the handling of IPv6 configuration in rc.d. The ipv6_enable
and ipv6_ifconfig_<interface> options have already been deprecated,
these changes do not alter that.

With these changes any value set for ipv6_enable will emit a
warning. In order to avoid a POLA violation for the deprecation
of the option ipv6_enable=NO will still disable configuration
for all interfaces other than lo0. ipv6_enable=YES will not have
any effect, but will emit an additional warning. Support and
warnings for this option will be removed in FreeBSD 10.x.

Consistent with the current code, in order for IPv6 to be configured
on an interface (other than lo0) an ifconfig_<interface>_ipv6
option will have to be added to /etc/rc.conf[.local].

1. Clean up and minor optimizations for the following functions:
ifconfig_up (the ipv6 elements)
ipv6if
ipv6_autoconfif
get_if_var
_ifconfig_getargs
The cleanups generally were to move the "easy" tests earlier in the
functions, and consolidate duplicate code.

2. Stop overloading ipv6_prefer with the ability to disable IPv6
configuration.

3. Remove noafif() which was only ever called from ipv6_autoconfif.
Instead, simplify and integrate the tests into that function, and
convert the test to use is_wired_interface() instead of listing
wireless interfaces explicitly.

4. Integrate backwards compatibility for ipv6_ifconfig_<interface>
into _ifconfig_getargs. This dramatically simplifies the code in
all of the callers, and avoids a lot of other code duplication.

5. In rc.d/netoptions, add code for an ipv6_privacy option to use
RFC 4193 style pseudo-random addresses (this is what windows does
by default, FYI).

6. Add support for the [NO]RTADV options in ifconfig_getargs() and
ipv6_autoconfif(). In the latter, include support for the explicit
addition of [-]accept_rtadv in ifconfig_<interface>_ipv6 as is done
in the current code.

7. In rc.d/netif add a warning if $ipv6_enable is set, and remove
the set_rcvar_obsolete for it. Also remove the latter from
rc.d/ip6addrctl.

8. In /etc/defaults/rc.conf:

Add an example for RTADV configuration.

Set ipv6_network_interfaces to AUTO.

Switch ipv6_prefer to YES. If ipv6_enable is not set this will have
no effect.

Add a default for ipv6_privacy (NO).

9. Document all of this in rc.conf.5.
2010-04-09 01:35:09 +00:00
Ed Maste
a69a51149e Remove extraneous '>'. 2010-04-07 19:13:31 +00:00
Jung-uk Kim
9fc1e26fe1 Reflect recent logo_saver changes and mention dragon_saver. 2010-04-07 18:04:25 +00:00
Giuseppe Pilichi
863a6d6bbf First steps as committer:
- add an entry for myself to committers-ports.dot

Approved by:    pgj (mentor)
2010-04-05 17:26:23 +00:00
Andriy Gapon
5594e17667 indent.pro example: put all options one per line
This should help with modification tracking.

Discussed with:	bde
MFC after:	7 days
2010-04-05 09:26:03 +00:00
Andriy Gapon
b39dcffb08 indent.pro example: correctly place -ta option
The options are sorted, leading 'n' (for 'off') should be ignored.

Pointed out by:	bde
MFC after:	7 days
2010-04-05 09:24:24 +00:00
Hajimu UMEMOTO
e622b47989 Add capability to use a db version of services. It is enabled by
specifying `db' as source of service in /etc/nsswitch.conf.

MFC after:	2 weeks
2010-04-04 08:31:03 +00:00
Andriy Gapon
a1a8ef9125 indent.pro: replace a bunch of -T types with -ta introduced in r205989
Suggested by:	bde, Hans Petter Selasky
MFC after:	10 days
2010-04-02 16:09:55 +00:00
Andriy Gapon
896c58786c add example indent.pro file believed to produce code with minimal differences from KNF
This file is what bde uses!
With addition of some types from queue(3) by hps.
Please note that the output will not be KNF and currently it's not
possible to achieve correct KNF with any combination of options.
indent(1) needs to be made smarter.

Some issues:
o indent produces a space between a queue type macro and opening
  parenthesis
o indent produces a tab before __packed and __aligned
o indent produce a space after #define

bde also notes difference in the following options between this profile
and profile in /usr/src/admin/style of 4.4BSD:
-cdb -ei -ip8 -nsob

Also, NetBSD uses -di0 instead of -di8.

Location for the profile is suggested by jh.

Submitted by:	Hans Petter Selasky (parts)
Obtained from:	bde :-)
MFC after:	10 days
X-ToDo:		make indent able to produce proper (perfect) KNF
X-Perhaps-ToDo:	make KNF default output
2010-04-02 16:06:46 +00:00
Alexander Leidinger
21edb039c6 WITH_CTF can now be specified in src.conf (not recommended, there
are some problems with static executables), make.conf (would also
affect ports which do not use GNU make and do not override the
compile targets) or in the kernel config (via "makeoptions
WITH_CTF=yes").

Additional (related) changes:
 - propagate WITH_CTF to module builds
 - do not add -g to the linker flags, it's a noop there anyway
   (at least according to the man page of ld)
 - do not add -g to CFLAGS unconditionally
   we need to have a look if it is really needed (IMO not) or if there
   is a way to add it only when WITH_CTF is used

Note: ctfconvert / ctfmerge lines will not appear in the build output,
to protect the innocent (those which do not build with WITH_CTF would
see the shell-test and may think WITH_CTF is used).

Reviewed by:	imp, jhb, scottl (earlier version)
Discussed on:	arch@
2010-04-02 06:55:31 +00:00
Bernhard Froehlich
beb7c8064b - Add myself to the ports committer list
Approved by:	miwi (mentor), beat (co-mentor)
2010-04-01 12:18:44 +00:00
Giorgos Keramidas
fea87c03b8 Document DEBUG_FLAGS in a more visible place, in the build(7) manpage
Noticed by:     Alexander Best <alexbestms.at.wwu.de>
Reviewed by:    jhb
MFC after:      1 week
2010-03-31 12:52:19 +00:00
Edward Tomasz Napierala
11b168b80e Fix references. 2010-03-29 17:39:38 +00:00
Xin LI
36e60cda45 Remove GNU cpio after fix of CVE-2010-0624.
Note that this is actually a no-op for most users, as this GNU
cpio was broken on -HEAD and 8-STABLE since last March until
the recent fix.

FreeBSD 8.0+ uses BSD cpio by default and the code is being
actively maintained.

Blessed by:	kientzle
With hat:	secteam
MFC after:	3 days
2010-03-26 17:02:32 +00:00
Maxim Konovalov
126e94687d o FreeBSD 7.3 added. 2010-03-24 06:08:51 +00:00
Xin LI
67b9e2551d Correct cross reference.
MFC after:	2 weeks
2010-03-23 18:00:50 +00:00
Sam Leffler
a3ce3b49b7 remove pre-vap examples 2010-03-21 17:53:54 +00:00
Konstantin Belousov
40c05da5e0 Correct the type for uio_resid.
MFC after:	3 days
2010-03-21 16:14:19 +00:00
Andriy Gapon
212909cc32 vfs_mount.9: drop cross-reference to a removed manual
MFC after:	3 days
2010-03-19 14:35:38 +00:00
David E. O'Brien
4392b6f9b6 Add "Massachusetts". 2010-03-17 15:31:06 +00:00
Ulrich Spörlein
66b23135f8 - Use Va' for variables instead of Dv'.
- Correctly spell negative values.
- Also fixes make manlint.

Found by:	make manlint
Reviewed by:	ru
Approved by:	philip (mentor)
2010-03-16 11:38:07 +00:00
Joel Dahl
071c17cede Switch to our preferred license.
Approved by:	Dirk-Willem Van Gulik <dirkx@webweaving.org>
2010-03-15 20:25:28 +00:00
Gavin Atkinson
23aa9a76e3 Add extra Xrefs
PR:		docs/114184
Submitted by:	Julian Stacey  <jhs berklix.org>
MFC after:	1 week
2010-03-14 15:49:04 +00:00
Ulrich Spörlein
63d46d1d5e Fix several typos in macros or macro misusage.
Found by:	make manlint
Reviewed by:	ru
Approved by:	philip (mentor)
2010-03-12 10:01:06 +00:00
Brooks Davis
65c712c0d7 Regen:
* Hart:		rev 671 of pcidevs.txt; 22-01-2008 (D-M-Y).
* Boemler:	vendors.txt (2010-03126)

PR:		kern/133733
MFC after:	1 week
2010-03-12 07:26:37 +00:00
Jung-uk Kim
ef47c93f6c Document a new sysctl variable and a loader tunable. 2010-03-09 19:19:07 +00:00
Joel Dahl
44d68185d1 Switch to our preferred license text.
Approved by:	imp
2010-03-06 05:57:24 +00:00
Alexander Leidinger
333fb1c996 Redirect stdin from /dev/null when starting a jail:
At least in RELENG_7 this fixes some start problems for some programs
  from the ports. It is also more correct, as a jail shall not expect
  input (interactivity) from the jail-host.

Revert the current behavior of starting jails in the background and
make it optional only for the start of jails (jail_parallell_start=YES
in rc.conf):
 - The stop can not be done in the background, the system needs to wait
   until everything is stopped correctly before it can reboot or power
   down.
 - The start should not be done in parallel by default, this not only
   breaks POLA for people comming from RELENG_x, it may also break a
   dependency chain with other scripts in the jail-host, which need to
   do some stuff after the jails are up and running (e.g. hardlinking
   a mysql socket from one jail into another one).

Discussed on:	freebsd-jails@
2010-03-05 14:34:33 +00:00
Joel Dahl
936663c887 Use our preferred license text (no more "voices in his head"). While here,
also move to a 2-clause license.  From n_hibma@:

  "The 3rd clause was originally there for a reason, but I guess that it is
  safe to assume that no one can assume endorsement by me or anyone else
  without prior consent on anything really, so we might as well remove that
  clause."

Approved by:	n_hibma
2010-03-04 22:06:57 +00:00
Alexander Motin
2baf3a137d Add links to cam(4). 2010-03-04 11:09:49 +00:00
Alexander Motin
6d6d0ae46d Reflect added CAM ATA support. 2010-03-04 10:59:21 +00:00
Alexander Motin
39915804e9 Add some more supported controllers.
Crosslink with CAM ATA man pages.
2010-03-03 19:44:43 +00:00
Gleb Smirnoff
20e26ae67a Remove C99 initializer, since dominant style is to use non-C99 initializers.
Requested by:	jhb
2010-03-03 18:49:15 +00:00
Joel Dahl
8bf7539fe9 The NetBSD Foundation has granted permission to remove clause 3 and 4 from
their software.

Obtained from:	NetBSD
2010-03-02 21:59:03 +00:00
Joel Dahl
c0de7d2f15 The NetBSD Foundation has granted permission to remove clause 3 and 4 from
their software.

Obtained from:	NetBSD
2010-03-02 21:50:36 +00:00
Gleb Smirnoff
0884cae17b - Add missing includes to make example "compilable".
- Use C99 initializer just in case if driver_t may change in future.
- Use NULL for pointer arguments instead of 0.
2010-03-02 21:10:44 +00:00
Alfred Perlstein
0dce12b8dd Document COMPRESS_USER_CORES, and the new %I and %H core formatters. 2010-03-02 18:43:12 +00:00
Ulrich Spörlein
47e1a877c5 Always assign WARNS using ?=
- fix some nearby style bugs
- include Makefile.inc where it makes sense and reduces duplication

Approved by:	ed (co-mentor)
2010-03-02 16:58:04 +00:00
Gleb Smirnoff
78e58b8725 Sync with recent changes from luigi - struct ng_ipfw_tag superceeded
by more general ipfw_rule_ref. The latter isn't documented here, since
it should be documented in ipfw.4.
2010-03-02 10:43:41 +00:00
Alexander Motin
550cc032b7 Some style and language improvements.
Submitted by:	ru
2010-03-02 09:23:54 +00:00
Warner Losh
1e818404a3 -mabi-calls and -msoft-float aren't needed either
Submitted by:	jmallet@
2010-03-02 07:44:38 +00:00
Warner Losh
ab6b8778d7 -mno-dsp hasn't been required for a while now. 2010-03-02 07:24:47 +00:00
Pyun YongHyeon
d6c57df72b Document newly added loader tunable and sysctl variable dev.mskc.%d.int_holdoff 2010-03-01 23:56:51 +00:00
Konstantin Belousov
c46221d700 Update man page for vm_page_alloc(9).
Based on the submission by:	Giovanni Trematerra <giovanni.trematerra gmail com>
MFC after:	3 days
2010-02-27 17:11:15 +00:00
Xin LI
0a431e0795 Add several necessary .El's.
MFC after:	2 weeks
2010-02-27 01:17:44 +00:00
Weongyo Jeong
e7dc8641d6 Updates what firmware module should be used for LP (low power) PHY
users and bumps date.
2010-02-26 00:37:49 +00:00
Weongyo Jeong
7b0c4174cd Connect bwn.4 to the build. 2010-02-25 19:43:22 +00:00
Ruslan Ermilov
9fd69f37d2 Fixed missing or broken library dependencies. 2010-02-25 14:42:26 +00:00
Edwin Groothuis
b92fc60991 Officially speaking, the zoneinfo data files are contributed data.
Therefore treat them as such.
2010-02-25 06:44:16 +00:00
John Baldwin
1d800a676e Fix spelling of EACCES.
PR:		docs/144112
Submitted by:	Alexander Best
MFC after:	3 days
2010-02-24 13:13:29 +00:00
Nathan Whitehorn
823d02a093 Add the ability to set SMU-based machines to restart automatically after
power loss.
2010-02-24 01:27:36 +00:00
Nathan Whitehorn
34f19b54cd Fix two bugs in this manpage: 'System' is not abbreviated with 'P',
and a non-useful version of smu(4) was in 8.0, so modify the history
to reflect that.

Submitted by:	gavin
2010-02-23 14:56:49 +00:00
Nathan Whitehorn
904460b9e5 Add a manpage for smu(4) now that it does something useful. 2010-02-23 04:56:06 +00:00
Bernhard Schmidt
69699faa81 Fix some typos.
Approved by:	rpaulo (mentor)
MFC after:	1 week
2010-02-22 17:03:26 +00:00
Robert Watson
497c391c9b Cross-reference netstat(1) from netisr(9) since you can now use it to
monitor netisr status.

MFC after:	1 week
Sponsored by:	Juniper Networks
2010-02-22 16:02:17 +00:00
Gavin Atkinson
ebae8e93f7 Document the interaction between /etc/devfs.conf and
/etc/defaults/devfs.conf

PR:		docs/117308
Submitted by:	Mel <mel.xyzzy rachie.is-a-geek.net> (partially)
MFC after:	1 week
2010-02-21 10:29:45 +00:00
Pawel Jakub Dawidek
32115b105a Please welcome HAST - Highly Avalable Storage.
HAST allows to transparently store data on two physically separated machines
connected over the TCP/IP network. HAST works in Primary-Secondary
(Master-Backup, Master-Slave) configuration, which means that only one of the
cluster nodes can be active at any given time. Only Primary node is able to
handle I/O requests to HAST-managed devices. Currently HAST is limited to two
cluster nodes in total.

HAST operates on block level - it provides disk-like devices in /dev/hast/
directory for use by file systems and/or applications. Working on block level
makes it transparent for file systems and applications. There in no difference
between using HAST-provided device and raw disk, partition, etc. All of them
are just regular GEOM providers in FreeBSD.

For more information please consult hastd(8), hastctl(8) and hast.conf(5)
manual pages, as well as http://wiki.FreeBSD.org/HAST.

Sponsored by:	FreeBSD Foundation
Sponsored by:	OMCnet Internet Service GmbH
Sponsored by:	TransIP BV
2010-02-18 23:16:19 +00:00
Neel Natu
6f3c632700 Kernel module support for mips.
Reviewed by: gonzo

Tested by: Alexandr Rybalko (ray@dlink.ua)
2010-02-18 05:49:52 +00:00
Marcel Moolenaar
8eba8cd863 Also add DEBUG_FLAGS to CXXFLAGS if defined. 2010-02-18 03:32:51 +00:00
Marcel Moolenaar
c9a900ed44 Allow suppression of -Wcast-align for WARNS>=4 by defining
NO_WCAST_ALIGN. The headers of the standard C++ library are
not 64-bit clean and trigger the warning. This prevents use
of WARNS>=4 on ia64 for example.
2010-02-18 02:06:57 +00:00
Marcel Moolenaar
96f2d85e89 Unbreak WARNS=6 builds for C++ code: -Wold-style-definition is not accepted
by the C++ compiler. Filter it out.
2010-02-18 01:44:48 +00:00
Jaakko Heinonen
7ff08436fc Xref mdmfs(8). 2010-02-16 20:00:20 +00:00
Jaakko Heinonen
412193b4f2 Improve descriptions for tmpfs mount options. The descriptions have
been mostly obtained from NetBSD mount_tmpfs(8) manual page.

Obtained from:	NetBSD
Discussed with:	delphij
2010-02-16 19:59:10 +00:00
Ulrich Spörlein
c89adf0ea1 Document co-mentorship by ed.
Approved by:	ed (co-mentor)
2010-02-16 09:10:48 +00:00
Ulrich Spörlein
54673381cd Add missing newline in last line of file.
Uncovered via:	fromcvs vs. svn
Approved by:	ed (co-mentor)
2010-02-16 09:10:21 +00:00
Xin LI
a341d04c78 Remove clause 3 from my license. 2010-02-16 08:19:28 +00:00
Weongyo Jeong
45d9abdbc3 adds bwn(4) driver for supporting Broadcom BCM43xx chipsets.
o uses v4 firmware instead of v3.  A port will be committed to create
    the bwn firmware module.
  o supports B/G and LP(low power) PHYs.
  o supports 32 / 64 bits DMA operations.
  o tested on big / little endian machines so should work on all
    architectures.

It'd not connected to the build until the firmware port is committed.
2010-02-16 01:44:14 +00:00
Edward Tomasz Napierala
88238a0805 Some rewording and language fixes.
PR:		docs/136918, docs/134074
Submitted by:	Ben Kaduk <kaduk at mit dot edu>, Haven Hash <havenster at gmail dot com>
2010-02-15 17:41:59 +00:00