Commit Graph

15227 Commits

Author SHA1 Message Date
kevlo
591e46a618 Add support for D-Link DWA-131. 2013-06-25 06:43:04 +00:00
yongari
24d55f60ed Add Lenovo USB 2.0 Ethernet adapter to the list of supported
devices.
2013-06-25 00:29:13 +00:00
eadler
afde4801cd Remove variable added by ru@ in r94940 that is no longer used by source or ports in share/mk/sys.mk
PR:		conf/155737
Reviewed by:	ed (two years ago!)
Exp-Run by:	bdrewery
2013-06-23 20:34:54 +00:00
lstewart
0b70fa91a8 Non-virtualised hhook points are supported as of r251732.
MFC after:	1 week
X-MFC with:	251732
2013-06-21 03:37:35 +00:00
eadler
84992cba02 Ports switched from dialog to dialog4ports some time ago.
PR:		docs/179785
Repored by:	Kevin Oberman <rkoberman@gmail.com>
Submitted by:	"Ilya A. Arkhipov" <rum1cro@yandex.ru>
MFC After:	3 days
2013-06-20 21:16:46 +00:00
jhb
a73b44b2ba Document RA_RECURSED and RA_NOTRECURSED.
MFC after:	3 days
2013-06-20 17:26:25 +00:00
hrs
754a6006f2 - Add CIDR notation support like 192.168.1-2.10-16/24 to $ifconfig_IF_aliasN.
This is an extended version of ipv4_addr_IF which supports both IPv4 and
  IPv6, and multiple range specifications.  To avoid to generate too many
  addresses, the maximum number of the generated addresses is currently
  limited to 31.

- Add $ifconfig_IF_aliases, which accepts multiple IP aliases in a variable.

- ipv6_prefix_IF now supports !/64 prefix length.  In addition to the old
  64-bit format (2001:db8:1:1), a full 128-bit format like 2001:db8:1:1::/64
  is supported.

- Replace ifconfig command with $IFCONFIG_CMD variable to support
  a dry-run mode in the future.

- Remove IP aliases before removing all of IPv4 addresses when doing
  "rc.d/netif down".

- Add a DAD wait to network6_getladdr() because it is possible to fail to
  configure an EUI64 address when ipv6_prefix_IF is specified.

A summary of the supported ifconfig_* variables is as follows:

 # IPv4 configuration.
 ifconfig_em0="inet 192.168.0.1"
 # IPv6 configuration.
 ifconfig_em0_ipv6="inet6 2001:db8::1/64"
 # IPv4 address range spec.  Now deprecated.
 ipv4_addr_em0="10.2.1.1-10"
 # IPv6 alias.
 ifconfig_em0_alias0="inet6 2001:db8:5::1 prefixlen 70"
 # IPv4 alias.
 ifconfig_em0_alias1="inet 10.2.2.1/24"
 # IPv4 alias with range spec w/o AF keyword (backward compat).
 ifconfig_em0_alias2="10.3.1.1-10/32"
 # IPv6 alias with range spec.
 ifconfig_em0_alias3="inet6 2001:db8:20-2f::1/64"
 # ifconfig_IF_aliases is just like ifconfig_IF_aliasN.
 ifconfig_em0_aliases="inet 10.3.3.201-204/24 inet6 2001:db8:210-213::1/64 inet 10.1.1.1/24"
 # IPv6 alias (backward compat)
 ipv6_ifconfig_em0_alias0="inet6 2001:db8:f::1/64"
 # IPv6 alias w/o AF keyword (backward compat)
 ipv6_ifconfig_em0_alias1="2001:db8:f:1::1/64"
 # IPv6 prefix.
 ipv6_prefix_em0="2001:db8::/64"

Tested by:	Kimmo Paasiala
2013-06-20 02:29:49 +00:00
lstewart
aa062bf658 Add new FOREACH_FROM variants of the queue(3) FOREACH macros which can
optionally start the traversal from a previously found element by passing the
element in as "var". Passing a NULL "var" retains the same semantics as the
regular FOREACH macros.

Kudos to phk for suggesting the "FROM" suffix instead of my original proposal.

Reviewed by:	jhb (previous version), rpaulo
MFC after:	1 week
2013-06-18 02:57:56 +00:00
peter
6c648dd642 Introduce svnlite so that we can check out our source code again.
This is actually a fully functional build except:
* All internal shared libraries are static linked to make sure there
  is no interference with ports (and to reduce build time).
* It does not have the python/perl/etc plugin or API support.
* By default, it installs as "svnlite" rather than "svn".
* If WITH_SVN added in make.conf, you get "svn".
* If WITHOUT_SVNLITE is in make.conf, this is completely disabled.

To be absolutely clear, this is not intended for any use other than
checking out freebsd source and committing, like we once did with cvs.

It should be usable for small scale local repositories that don't
need the python/perl plugin architecture.
2013-06-18 02:53:45 +00:00
rm
35d35eb6eb - add my mentor -> mentee relation with koobs 2013-06-17 03:56:31 +00:00
delphij
a5442c0a6f Remove vfs_mount(9), it have been died since 2004.
Noticed by:	git via alfred
MFC after:	2 weeks
2013-06-17 03:32:27 +00:00
vg
3d118c7977 Added my another mentors: osa and eadler
Approved by:	rm (mentor)
2013-06-16 21:49:37 +00:00
vg
cf31e262bb Add myself as ports committer.
Approved by:	rm (mentor)
2013-06-16 21:45:04 +00:00
zeising
4963d54f23 Fix the libc++ option.
This somehow got reverted when this was updated after the CVS removal.
2013-06-16 20:51:44 +00:00
jlh
36ff9e6437 Fix install from read-only obj dir when SHLIB_LDSCRIPT is used.
Reported by:    joeld
Tested by:      joeld
2013-06-16 16:29:23 +00:00
joel
7c523f792f cvsweb -> svnweb 2013-06-16 07:16:44 +00:00
eadler
5a0c7f1b39 Regenerate after CVS removal (and it seems other missed changes) 2013-06-15 21:29:47 +00:00
eadler
bf7c0f2705 Remove CVS from the base system.
Discussed with:	many
Reviewed by:	peter, zi
Approved by:	core
2013-06-15 20:29:07 +00:00
sjg
f0e9b38d90 Flag recursive make targets with .MAKE (has no effect on fmake)
make -n will still exectute such targets
make -N will not.

Reviewed by:	obrien
2013-06-14 16:25:41 +00:00
sjg
b66c288337 We cannot remove the _+_ trick, until old make is completely deprecated.
But we don't want to set it to + for bmake since it breaks make -N
which is used to supress the normal handling of targets marked with .MAKE
(which seems broken in fmake and might be why _+_ was introduced).
Add some comments to explain what's gong on.

Reviewed by:	obrien
2013-06-14 16:24:07 +00:00
pluknet
af70740033 Fix and improve filemon(4) example:
- remove return statements from void function [1]
- include missing header
- use O_CLOEXEC instead of separate fcntl() calls

PR:		docs/179459 [1]
MFC after:	1 week
2013-06-14 08:28:08 +00:00
markj
248fad7220 The functions are called pci_{msi,msix}_count(), not pci_count_{msi,msix}().
MFC after:	3 days
2013-06-14 01:12:59 +00:00
jkim
dd71c1532c Add a missing comma. 2013-06-13 18:33:54 +00:00
jkim
c73ee1c008 - Document GCC support for AMD Family 10h processors (amdfam10).
- Document Clang support for AMD Jaguar processors (btver2).
2013-06-13 18:31:09 +00:00
jkim
28dc3d7503 Add a new CPUTYPE supported by Clang 3.3 for AMD Jaguar processors (btver2). 2013-06-13 18:26:12 +00:00
eadler
12f3cde540 Merge latest NetBSD changes.
This adds some new NetBSD releases and makes some simple formatting changes.

With this commit NetBSD and FreeBSD should have identical files.
DragonflyFBSD has the version immediately prior to this commit.

When committing to this file please try to coordinate with all three groups.

Submitted by:	Alan Barrett <apb@cequrux.com>
2013-06-11 21:47:16 +00:00
jilles
3e711d2906 pthread_testcancel(3): Update list of cancellation points.
This should be a fairly complete list of cancellation points in libc, libthr
and librt, including standard as well as non-standard functions.
2013-06-11 21:40:20 +00:00
hrs
2ec3ccab05 Add :ifname modifier to specify interface-specific routes into
{,ipv6_}static_routes and rc.d/routing.  For example:

 static_routes="foo bar:em0"
 route_foo="-net 10.0.0.0/24 -gateway 192.168.2.1"
 route_bar="-net 192.168.1.0/24 -gateway 192.168.0.2"

At boot time, all of the static routes are installed as before.
The differences are:

- "/etc/rc.d/netif start/stop <if>" now configures static routes
  with :<if> if any.
- "/etc/rc.d/routing start/stop <af> <if>" works as well.  <af> cannot be
  omitted when <if> is specified, but a keyword "any" or "all" can be used
  for <af> and <if>.
2013-06-09 18:11:36 +00:00
pluknet
86cb12eccd Minor markup. 2013-06-08 18:25:08 +00:00
pluknet
75cf89493f Update locking scheme, mostly transition from sched_lock. 2013-06-08 18:16:41 +00:00
rpaulo
8f36fe887a Import Kevin Lo's port of urtwn(4) from OpenBSD. urtwn(4) is a driver for the
Realtek RTL8188CU/RTL8192CU USB IEEE 802.11b/g/n wireless cards.
This driver requires microcode which is available in FreeBSD ports:
net/urtwn-firmware-kmod.

Hiren ported the urtwn(4) man page from OpenBSD and Glen just commited a port
for the firmware.

TODO:
- 802.11n support
- Stability fixes - the driver can sustain lots of traffic but has trouble
coping with simultaneous iperf sessions.
- fix debugging

MFC after:	2 months
Tested by:	kevlo, hiren, gjb
2013-06-08 16:02:31 +00:00
emaste
e2ff7d87d8 Add WITH_DEBUG_FILES
makeman currently generates a src.conf that claims every option also
enforces WITHOUT_BIND_UTILS, so I applied this section by hand.
2013-06-07 21:51:10 +00:00
emaste
390d8402e0 Add a new knob WITH_DEBUG_FILES to control the building of standalone
debug files for userland programs and libraries.  The "-g" debug flag
is automatically applied when WITH_DEBUG_FILES is set.

The debug files are now named ${prog}.debug and ${shlib}.debug for
consistency with other systems and documentation.  In addition they are
installed under /usr/lib/debug, to simplify the process of installing
them if needed after a crash.  Users of bsd.{prog,lib}.mk outside of the
base system place the standalone debug files in a .debug subdirectory.
GDB automatically searches both of these directories for standalone
debug files.

Thanks to everyone who contributed changes, review, and testing during
development.
2013-06-07 21:40:02 +00:00
sjg
41b9477759 Override bmake's default MAKEFILE_PREFERENCE 2013-06-07 19:45:04 +00:00
pluknet
2d6552f504 FreeBSD 8.4 added. 2013-06-07 17:06:08 +00:00
gjb
fc0dbb8cf2 Add myself to committers-src.dot, and note kib is my mentor.
Approved by:	kib (mentor)
2013-06-04 16:02:00 +00:00
sjg
b3b7fc783e Include more stuff within the meta mode block, so that buildworld
can function normally.

Submitted by:	John Van Horne
2013-06-04 15:25:57 +00:00
joel
a6e9df7131 mdoc: convert .Fd to .In, which is much nicer. 2013-06-04 07:37:06 +00:00
np
157e97d48f cxgbe(4): t4fw_cfg must be explicitly loaded if the driver is being
loaded via loader.conf.

Submitted by:	jwd@
MFC after:	3 days
2013-06-03 17:30:21 +00:00
emaste
5fd32bff8a Switch to 2-clause license
Approved by:	luigi@
2013-06-03 13:11:48 +00:00
crees
94506f7a9b Add my entry.
Approved by:	bcr, gjb (mentors)
2013-05-29 13:36:33 +00:00
gjb
213cb61b4e Remove references to CVS_UPDATE and SUP_UPDATE to catch up with r251084.
MFC after:	1 month
X-MFC-With:	r251084, r251085
2013-05-28 23:52:01 +00:00
joel
27b728120a mdoc: silence a few mandoc lint warnings. 2013-05-28 09:33:46 +00:00
schweikh
990e8e483c s/recieve/receive 2013-05-26 18:57:59 +00:00
jlh
69fcd14b52 Rework the comment I initially wrote when SHLIB_LDSCRIPT was introduced.
The build system is really intricate and I had a hard time to remind the
whole picture even when reading my own words.  This one will hopefully
be better.
2013-05-25 22:17:14 +00:00
jamie
fce7efdc5d Mention the "nojailvnet" keyword.
MFC after:	3 days
2013-05-24 14:57:38 +00:00
achim
10ab667100 Driver 'aacraid' added. Supports Adaptec by PMC RAID controller families Series 6, 7, 8 and upcoming products. Older Adaptec RAID controller families are supported by the 'aac' driver.
Approved by:	scottl (mentor)
2013-05-24 09:22:43 +00:00
ed
68b09f240d Don't depend on the touch binary being present.
We can simply create an empty file by doing a no-op and redirecting stdout.
2013-05-22 22:34:48 +00:00
emaste
22c906e7e4 Remove reference to removed !MPSAFE filesystem support 2013-05-22 16:33:28 +00:00
delphij
99ab7b9d5d Fix a copy-and-paste typo. 2013-05-22 05:21:19 +00:00
delphij
61ad0a4d43 Regenerate with manual fixup for WITH_LDNS_UTILS inheriting WITHOUT_BIND_UTILS. 2013-05-22 05:16:07 +00:00
maxim
c80fb8a3c5 NetBSD 6.1 added. 2013-05-20 15:11:30 +00:00
sjg
50a31d452c Build bmake by default.
If someone explicitly builds usr.bin/make while MK_BMAKE==yes,
install it as 'fmake'.

Reviewed by:	brooks
2013-05-16 15:28:38 +00:00
davidcs
cbe843df9c Add Qlogic 10Gigabit Ethernet & CNA Adapter Driver Version 3.10.10 for
QLogic 8300 Series Adapters

Submitted by: David C Somayajulu (davidcs@freebsd.org) QLogic Corporation
Approved by: George Neville-Neil (gnn@freebsd.org)
2013-05-15 17:03:09 +00:00
brooks
77cce725eb Document WITHOUT_CROSS_COMPILER and WITHOUT_FORMAT_EXTENSIONS. 2013-05-15 14:35:02 +00:00
brooks
6b71588fb9 Add support for an external cross compiler. The cross compiler is
specified by passing the XCC, XCXX, and XCPP variables (corresponding to
CC, CXX, and CPP) to buildworld/buildkernel.  The compiler must be clang
or be configured to target the appropriate architecture.

To speed build times, if XCC is an absolute path or
WITHOUT_CROSS_COMPILER is defined then no cross compiler will be built
during the cross-tools stage.

Limited documentation of this feature can currently be found at:

https://wiki.freebsd.org/ExternalToolchain

This functionality should be considered experimental and is subject to
change without notice.

Sponsored by:	DARPA, AFRL
Discussed with:	imp, sjg
2013-05-15 14:30:03 +00:00
brooks
4d008876be Add a new option WITHOUT_FORMAT_EXTENSIONS to disable flags related to
checking our kernel printf extensions.  This is useful to allow
compilers without these extensions to build kernels.

Sponsored by:	DARPA, AFRL
2013-05-15 13:04:10 +00:00
joel
d1ce45a46f mdoc sweep 2013-05-13 18:13:50 +00:00
joel
05a725b2d7 mdoc sweep. 2013-05-12 22:22:12 +00:00
eadler
6907881cb8 Fix several typos
PR:		kern/176054
Submitted by:	Christoph Mallon <christoph.mallon@gmx.de>
MFC after:	3 days
2013-05-12 16:43:26 +00:00
eadler
2657a52612 Add the letter 'x' to the font iso05-8x16.fnt
PR:	169797
Submitted by:	Takefu <takefu@airport.fm>
MFC after:	3 days
2013-05-12 04:34:55 +00:00
sjg
3b6b8e9414 Bring meta2deps.sh closer to par with meta2deps.py 2013-05-11 05:10:31 +00:00
sjg
e7beb35a3f Cleanup some backwards compat stuff we do not need.
Introduce TARGET_OBJ_SPEC (derrived from TARGET_SPEC_VARS)
so we can build something like universe.
2013-05-11 01:03:29 +00:00
sjg
f5cd3c4cc7 If TARGET_OBJ_SPEC is no just MACHINE, pass it to meta2deps.py 2013-05-11 00:52:57 +00:00
sjg
e37d9edf75 Keep dirdeps for pseudo machines like "host" and "common" simple.
Also we need to use DEP_MACHINE_ARCH when expanding CSU_DIR
2013-05-11 00:51:59 +00:00
sjg
44dd681341 Allow caller to pass a TARGET_SPEC which may be more complex than
just MACHINE, for recognizing objects which do not need qualifying
in dirdeps.
2013-05-11 00:50:00 +00:00
eadler
4f9ab6c580 Fxi a bunch of typos.
PR:	misc/174625
Submitted by:	Jeremy Chadwick <jdc@koitsu.org>
2013-05-10 16:41:26 +00:00
eadler
301528b1d3 Add the letter 'q' to the font iso05-8x16.fnt
PR:	72585
PR:	169797
Submitted by:	Takefu <takefu@airport.fm>
Submitted by:	Satoshi KImura <satosi.kimura@nifty.ne.jp>
2013-05-10 16:30:39 +00:00
eadler
cdb158999f Start sentences on new lines. 2013-05-09 02:04:28 +00:00
joel
0e97770857 Minor improvements. 2013-05-08 21:07:11 +00:00
sbruno
59a21e33a2 s/Numer/Number/
Submitted by:	Jeremy Chadwick <jdc@koitsu.org>
2013-05-08 16:29:12 +00:00
takawata
2161190d39 Manual page for acpi_rapidstart(4) driver.
----
> Description of fields to fill in above:                     76 columns --|
> PR:            If a GNATS PR is affected by the change.
> Submitted by:  If someone else sent in the change.
> Reviewed by:   If someone else reviewed your modification.
> Approved by:   If you needed approval for this commit.
> Obtained from: If the change is from a third party.
> MFC after:     N [day[s]|week[s]|month[s]].  Request a reminder email.
> Security:      Vulnerability reference (one per line) or description.
> Empty fields above will be automatically removed.

AM   acpi_rapidstart.4
2013-05-08 13:26:17 +00:00
eadler
4f560aa809 By request, add an arrow from NetBSD-0.8 to FreeBSD-1.0.
While here, add a few more NetBSD versions to the tree itself.

Submitted by:	Alan Barrett <apb@cequrux.com>
Submitted by:	Thomas Klausner <wiz@netbsd.org>
2013-05-07 12:39:14 +00:00
eadler
1b644ce9be I miscopied the previous date. Also add another NetBSD release.
Obtained from:	NetBSD
2013-05-07 02:05:00 +00:00
eadler
b1e14aea51 Add two missing NetBSD releases
Obtained from:	NetBSD
2013-05-07 02:03:00 +00:00
gavin
d90a2cb697 Kill yet another reference to UserConfig 2013-05-04 15:10:01 +00:00
eadler
adde1f48fc Update Intel email address.
PR:		docs/175349
Submitted by:	Lars Eggert <lars@netapp.com>
Discussed with:	jfv
2013-05-02 01:36:52 +00:00
zeising
3c0b1df064 Add DragonFly BSD 3.4.1, released April 29 2013.
Submitted by:	Nikolai Lifanov <lifanov@mail.lifanov.com>
2013-05-01 17:59:41 +00:00
zeising
e3832a1457 Add OpenBSD 5.3, released today, May 1 2013. 2013-05-01 17:29:42 +00:00
carl
6246c99218 Fix the man page installation broken in r250079. Pointy hat to me.
Thanks to Florian Smeets for pointing this out and providing a patch.

Submitted by:	Florian Smeets <flo@smeets.im>
Approved by:	jimharris (mentor)
2013-04-30 16:59:25 +00:00
carl
542feb6d72 Add a new driver to support the Intel Non-Transparent Bridge(NTB).
The NTB allows you to connect two systems with this device using a PCI-e
link. The driver is made of two modules:
 - ntb_hw which is a basic hardware abstraction layer for the device.
 - if_ntb which implements the ntb network device and the communication
   protocol.

The driver is limited at the moment to CPU memcpy instead of using DMA, and
only Back-to-Back mode is supported. Also the network device isn't full
featured yet. These changes will be coming soon. The DMA change will also
bring in the ioat driver from the project branch it is on now.

This is an initial port of the GPL/BSD Linux driver contributed by Jon Mason
from Intel. Any bugs are my contributions.

Sponsored by: Intel
Reviewed by: jimharris, joel (man page only)
Approved by: jimharris (mentor)
2013-04-29 22:48:53 +00:00
joel
2aea9ea9f6 mdoc improvements 2013-04-28 06:15:56 +00:00
eadler
4410412e99 Add an alternate version of beastie to the examples directory.
PR:		docs/38556
Submitted by:	Rahul Siddharthan <rsidd@online.fr>
Submitted on:	25 May 2002 22:49:56 -0000
MFC After:	2 weeks
2013-04-28 02:23:39 +00:00
wkoszek
7016da39e3 Polish devcfg(4) slightly: add \n after the end of every sentence. 2013-04-27 23:59:15 +00:00
wkoszek
e5f418e744 Add Xilinx Zynq ARM/FPGA SoC support to FreeBSD/arm port.
Submitted by:	Thomas Skibo <ThomasSkibo (at) sbcglobal.net>
Tested by:	wkoszek (ZedBoard)
Reviewed by:	wkoszek, freebsd-arm@ (no objections raised)
2013-04-27 23:07:49 +00:00
eadler
a60d2c3219 Remove the WITH_IDEA option and build it unconditionally.
The European version of the patent expired in 2011.
The US version of the patent expired in 2012 or prior.

Reviewed by:	des
No objection from:	cperciva, ehaupt
2013-04-26 23:24:41 +00:00
bdrewery
94108ee710 Fix examples for overriding INSTALL to not suggest hardcoding
'install' since it breaks buildworld after the introduction and
use of 'install -l' in r245752. Overriding INSTALL causes
/usr/bin/install to be used instead of the proper
/usr/src/tools/install.sh which handles the new flag.

Approved by:	bapt
MFC after:	2 weeks
2013-04-26 19:56:14 +00:00
glebius
92fe819b2b Document constantness of dst argument to if_output.
Submitted by:	pluknet
2013-04-26 13:18:07 +00:00
glebius
b2817f16f2 On those machines that use critical(9) for counter(9) we need to
include systm.h.
2013-04-26 13:02:11 +00:00
asomers
692441764c Add myself as a src committer
Approved by:	ken (mentor)
2013-04-24 23:38:04 +00:00
ken
7fd7f76a1b Add myself to the committers list. 2013-04-24 23:32:47 +00:00
eadler
3d6903e008 Fix the Dvorak Programmer Keymap
PR:		conf/177572
Submitted by:	Sean DuBois <sean@siobud.com>
2013-04-24 21:41:24 +00:00
eadler
c89a0a20e5 iso639: Add Standard Moroccan Tamazight.
See http://www.loc.gov/standards/iso639-2/php/code_changes.php

Obtained from:	DragonflyBSD (commit 2d64ea1d0ec1beacc8f4e22353b7eb84c6f2b3f0)
2013-04-24 00:41:36 +00:00
joel
57261b1059 Update description of process status output.
PR:		143850
Submitted by:	Slaven Rezic <slaven@rezic.de>
2013-04-22 20:14:57 +00:00
sjg
dfd2a8c123 Pass more variables to bsd.prog.mk and
only append to already defined variables.

Submitted by:	Garrett Cooper
2013-04-22 18:11:29 +00:00
hselasky
84dd41acc6 Fix manual page.
PR:		usb/177896
Submitted by:	Leif Velcro <velcroleaf@rocketmail.com>
2013-04-21 16:09:35 +00:00
joel
3cd1c80381 Remove cross-references to nonexistent CPU_SET(3) manpage.
Also fix cpu_getaffinity(2) document title.

PR:		176317
Submitted by:	brucec
2013-04-21 06:46:41 +00:00
joel
68ade6e8fa Add missing Pp. Also remove some minor whitespace.
PR:		177995
Submitted by:	olgeni
2013-04-20 22:26:33 +00:00
trasz
f497b9bd3e Make DELAY(9) reference pause(9). 2013-04-20 12:36:53 +00:00
ed
120125784a Add the Clang specific -Wmissing-variable-declarations to WARNS=6.
This compiler flag enforces that that people either mark variables
static or use an external declarations for the variable, similar to how
-Wmissing-prototypes works for functions.

Due to the fact that Yacc/Lex generate code that cannot trivially be
changed to not warn because of this (lots of yy* variables), add a
NO_WMISSING_VARIABLE_DECLARATIONS that can be used to turn off this
specific compiler warning.

Announced on:	toolchain@
2013-04-19 19:45:00 +00:00
sjg
76506db45d Add stage-install.sh so we can do away with the need to have
$STAGE_OBJTOP/include for src/include.
2013-04-19 18:45:03 +00:00
joel
d1c120479c Remove EOL whitespace. 2013-04-18 10:08:27 +00:00
jlh
9c3c197218 Document jail_<jname>_parameters option.
The description explains why we should not configure "path",
"host.hostname", "command", "ip4.addr" and ip6.addr" parameters with
this, but rather use the historical rc.conf(5) options.

MFC after:	3 days
2013-04-17 20:19:32 +00:00
gabor
5635c6550b - Correct spelling in comments
Submitted by:	Christoph Mallon <christoph.mallon@gmx.de> (via private mail)
2013-04-17 11:56:11 +00:00
gabor
a1c987c247 - Correct mispellings of word and
Submitted by:	Christoph Mallon <christoph.mallon@gmx.de> (via private mail)
2013-04-17 11:48:46 +00:00
hiren
096e091386 Fixing a typo.
Submitted by:	Benedikt Steinbusch (benedikt.steinbusch@googlemail.com)
Approved by:	sbruno (mentor)
2013-04-15 03:02:55 +00:00
sjg
fc5871dce7 New/updated dependencies 2013-04-14 01:22:39 +00:00
sjg
5da41246ca Sync latest versions 2013-04-14 01:21:20 +00:00
sjg
97d8b94956 sync from head 2013-04-12 20:48:55 +00:00
gavin
81ffe59cb0 Add some more dates and relationships.
Submitted by:	jkoshy, gj, dfr
2013-04-12 17:01:07 +00:00
trasz
086d73aef6 Fix usage for soreceive(9) - uio must always be non-NULL.
MFC after:	1 week
2013-04-12 16:36:18 +00:00
gavin
4b149aa6ab Update with several early mentor/mentee relationships and dates commit
bits were granted.  Relationships have been provided by the mentees,
dates have been sourced from either the mentees or the CVS mailing list
archives.

Obtained from:	mux, wilko, msmith, peter, schweikh
Obtained from:	gallatin, dfr, murray, jkoshy
2013-04-12 08:39:18 +00:00
trociny
61d99a1d27 Document sbuf_start_section() and sbuf_end_section() functions.
MFC after:	1 month
2013-04-11 19:51:53 +00:00
joel
d5b5017793 Remove contractions. 2013-04-11 18:46:41 +00:00
gavin
10c5855256 - Add entries for alc and akoszek, alredy referenced elsewhere
- Add phk -> mux relationship, confirmed by mux@
- Add scottl -> sbruno relationship
- Move four ex-committers to the alumni section
- Sort.
2013-04-11 17:16:08 +00:00
joel
3750352678 Remove EOL whitespace. 2013-04-11 13:05:38 +00:00
sbruno
042dd07575 Update ciss(4) man page. We absolutely support performant mode of operation
on this controller.  Indicate that the 5300 is the *only* controller that
will only work in simple mode.

Bus rescans should not be needed now and I consider it a bug if disks do
not appear or dissapear when created or destroyed.

Obtained from:	Yahoo! Inc
2013-04-10 23:37:15 +00:00
glebius
9cf64d6c35 Merge from projects/counters: counter(9).
Introduce counter(9) API, that implements fast and raceless counters,
provided (but not limited to) for gathering of statistical data.

See http://lists.freebsd.org/pipermail/freebsd-arch/2013-April/014204.html
for more details.

In collaboration with:	kib
Reviewed by:		luigi
Tested by:		ae, ray
Sponsored by:		Nginx, Inc.
2013-04-08 19:40:53 +00:00
glebius
7f9db020a2 Merge from projects/counters: UMA_ZONE_PCPU zones.
These zones have slab size == sizeof(struct pcpu), but request from VM
enough pages to fit (uk_slabsize * mp_ncpus). An item allocated from such
zone would have a separate twin for each CPU in the system, and these twins
are at a distance of sizeof(struct pcpu) from each other. This magic value
of distance would allow us to make some optimizations later.

  To address private item from a CPU simple arithmetics should be used:

  item = (type *)((char *)base + sizeof(struct pcpu) * curcpu)

  These arithmetics are available as zpcpu_get() macro in pcpu.h.

  To introduce non-page size slabs a new field had been added to uma_keg
uk_slabsize. This shifted some frequently used fields of uma_keg to the
fourth cache line on amd64. To mitigate this pessimization, uma_keg fields
were a bit rearranged and least frequently used uk_name and uk_link moved
down to the fourth cache line. All other fields, that are dereferenced
frequently fit into first three cache lines.

Sponsored by:	Nginx, Inc.
2013-04-08 19:10:45 +00:00
joel
5932be6069 mdoc: sort cross references. 2013-04-08 10:53:22 +00:00
ae
db3aa16693 Remove reference to the nonexistent sysctl node net.inet6.mld.stats.
Also add cross reference to the icmp6(4).

PR:		177696
MFC after:	1 week
2013-04-08 10:14:50 +00:00
trociny
c54b01f636 Fix synopsis for sbuf_len.
MFC after:	3 days
2013-04-07 17:54:38 +00:00
antoine
7c1a824720 Add myself as a ports committer
Approved by:	eadler (mentor)
2013-04-05 21:17:37 +00:00
wg
a68e514d93 Add myself as a ports committer and my mentor relationship.
While in the repository, add myself to calendar.freebsd.

Approved by:	jpaetzel (mentor)
2013-04-04 23:11:56 +00:00
joel
009d7ce55c Remove references to ataraid(4) and atacontrol(8). 2013-04-04 08:45:37 +00:00
joel
6a37d4dee7 Remove atapicam(4) reference. 2013-04-04 08:30:04 +00:00
mav
7c2b81b0e9 Remove all legacy ATA code parts, not used since options ATA_CAM enabled in
most kernels before FreeBSD 9.0.  Remove such modules and respective kernel
options: atadisk, ataraid, atapicd, atapifd, atapist, atapicam.  Remove the
atacontrol utility and some man pages.  Remove useless now options ATA_CAM.

No objections:	current@, stable@
MFC after:	never
2013-04-04 07:12:24 +00:00
sbruno
2ca30a8c10 Update man page for igb(4) with a little bit of information about
hw.igb.num_queues for those so inclined.

PR:		kern/177384
Submitted by:	hiren.panchasara@gmail.com
Reviewed by:	sbruno@
Approved by:	jfv@
Obtained from:	Yahoo! Inc.
MFC after:	2 weeks
2013-04-03 21:55:19 +00:00
sjg
6702b6086c Tell bmake to use the FreeBSD preferred makefile preference list.
PR:		177593
Reviewed by:	obrien
2013-04-03 16:20:21 +00:00
eadler
3937f71b91 Remove obsolete references to sysinstall.
This change is not intended for MFC.

PR:		docs/177570
Submitted by:	Garrett Cooper <yaneurabeya@gmail.com> (partial)
Approved by:	bcr (mentor)
2013-04-02 12:40:01 +00:00
trasz
fc0ee61e33 Fix dates in manual pages modified in 249009. 2013-04-02 09:44:59 +00:00
trasz
124d4c1899 Make it possible to build CTL as a module.
Reviewed by:	ken
Sponsored by:	FreeBSD Foundation
2013-04-02 09:42:42 +00:00
andrew
fbb25b5bab Welcome clang as the default compiler on ARM.
Change the default compiler for little-endian ARM to clang to allow for more
testing before 10.0 is released. As LLVM and clang currnetly lack support
for big-endian ARM leave gcc as the default there.

This will also allow us to investigate moving to use the hard floating-point
version of the ARM EABI on SoCs that include the Vector Floating Point unit.
A version of this is included in all ARMv6 and ARMv7 SoCs we currently, and
are likely to support.

Both the current ABI and the new EABI are supported by clang and it will be
built correctly depending on which is selected by the user.
2013-03-28 22:49:49 +00:00
neel
901ef782ed Add the "-g <gdport>" option to the vmrun.sh script that enables remote
debugging of the guest via kgdb.

See also: https://wiki.freebsd.org/BHyVe/gdb

Obtained from:	NetApp
2013-03-28 18:03:39 +00:00
tijl
08624e38f4 Add myself as ports committer.
Approved by:	crees (mentor)
2013-03-28 12:46:04 +00:00
markj
894de9827b Make sure that ${SHLIB_NAME}.debug and ${SHLIB_NAME}.symbols are always
deleted by a "make clean" when DEBUG_FLAGS is set.

Reported by:	gleb
Approved by:	emaste (co-mentor)
2013-03-28 04:13:52 +00:00
emaste
8712b8a346 Always define and use PROGNAME
This avoids having separate cases in the install rule for PROGNAME set and
not set.  This is a minor cleanup in advance of further support for
standalone debug files.
2013-03-26 20:32:46 +00:00
emaste
33c0064160 Unconditionally include ${SRCCONF} if overridden
This avoids silently failing to include ${SRCCONF} specified by a make(1)
invocation.
2013-03-26 20:11:09 +00:00
markj
13efc0b1c1 Make sure to set OBJS consistently in the cases where SRCS is and isn't
already defined. Setting it with "+=" makes it possible for other make
scripts (e.g. bsd.dtrace.mk) to include additional object files in the
linker arguments.

Approved by:	emaste (co-mentor)
2013-03-26 18:46:40 +00:00
will
5d3a27c743 Extend taskqueue(9) to enable per-taskqueue callbacks.
The scope of these callbacks is primarily to support actions that affect the
taskqueue's thread environments.  They are entirely optional, and
consequently are introduced as a new API: taskqueue_set_callback().

This interface allows the caller to specify that a taskqueue requires a
callback and optional context pointer for a given callback type.

The callback types included in this commit can be used to register a
constructor and destructor for thread-local storage using osd(9).  This
allows a particular taskqueue to define that its threads require a specific
type of TLS, without the need for a specially-orchestrated task-based
mechanism for startup and shutdown in order to accomplish it.

Two callback types are supported at this point:

- TASKQUEUE_CALLBACK_TYPE_INIT, called by every thread when it starts, prior
  to processing any tasks.
- TASKQUEUE_CALLBACK_TYPE_SHUTDOWN, called by every thread when it exits,
  after it has processed its last task but before the taskqueue is
  reclaimed.

While I'm here:

- Add two new macros, TQ_ASSERT_LOCKED and TQ_ASSERT_UNLOCKED, and use them
  in appropriate locations.
- Fix taskqueue.9 to mention taskqueue_start_threads(), which is a required
  interface for all consumers of taskqueue(9).

Reviewed by:	kib (all), eadler (taskqueue.9), brd (taskqueue.9)
Approved by:	ken (mentor)
Sponsored by:	Spectra Logic
MFC after:	1 month
2013-03-23 15:11:53 +00:00
des
19db167f41 Retire the mislabeled ENABLE_SUID_SSH knob. 2013-03-22 14:10:15 +00:00
sjg
5ee3bfdb33 sync latest meta2deps 2013-03-22 01:35:08 +00:00
sjg
6a9c15e3cc When processing DPADD, defer application of :tA (realpath)
so we do not lose /.
2013-03-22 01:34:27 +00:00
glebius
22bd645df5 Document some flags to the uma_zcreate(). Not all flags are documented,
only those that at least are used in the kernel, or that definitely
work.
2013-03-21 16:19:46 +00:00
glebius
04d26633fa Document uma_find_refcnt(). 2013-03-21 16:04:34 +00:00
glebius
128b1093e9 Document NGM_NAT_LIBALIAS_INFO.
Submitted by:	Dmitry Luhtionov <dmitryluhtionov gmail.com>
2013-03-21 13:02:43 +00:00
mm
f1985e5cd7 Merge libzfs_core branch:
includes MFV 238590, 238592, 247580

MFV 238590, 238592:
  In the first zfs ioctl restructuring phase, the libzfs_core library was
  introduced. It is a new thin library that wraps around kernel ioctl's.
  The idea is to provide a forward-compatible way of dealing with new
  features. Arguments are passed in nvlists and not random zfs_cmd fields,
  new-style ioctls are logged to pool history using a new method of
  history logging.

  http://blog.delphix.com/matt/2012/01/17/the-future-of-libzfs/

MFV 247580 [1]:
  To address issues of several deadlocks and race conditions the locking
  code around dsl_dataset was rewritten and the interface to synctasks
  was changed.

User-Visible Changes:
  "zfs snapshot" can create more arbitrary snapshots at once (atomically)
  "zfs destroy" destroys multiple snapshots at once
  "zfs recv" has improved performance

Backward Compatibility:
  I have extended the compatibility layer to support full backward
  compatibility by remapping or rewriting the responsible ioctl arguments.
  Old utilities are fully supported by the new kernel module.

Forward Compatibility:
  New utilities work with old kernels with the following restrictions:
    - creating, destroying, holding and releasing of multiple snapshots
      at once is not supported, this includes recursive (-r) commands

Illumos ZFS issues:
  2882 implement libzfs_core
  2900 "zfs snapshot" should be able to create multiple,
       arbitrary snapshots at once
  3464 zfs synctask code needs restructuring

References:
  https://www.illumos.org/issues/2882
  https://www.illumos.org/issues/2900
  https://www.illumos.org/issues/3464 [1]

MFC after:	1 month
Sponsored by:	Hybrid Logic Inc. [1]
2013-03-21 08:38:03 +00:00
jilles
c9066bd014 Implement SOCK_CLOEXEC, SOCK_NONBLOCK and MSG_CMSG_CLOEXEC.
This change allows creating file descriptors with close-on-exec set in some
situations. SOCK_CLOEXEC and SOCK_NONBLOCK can be OR'ed in socket() and
socketpair()'s type parameter, and MSG_CMSG_CLOEXEC to recvmsg() makes file
descriptors (SCM_RIGHTS) atomically close-on-exec.

The numerical values for SOCK_CLOEXEC and SOCK_NONBLOCK are as in NetBSD.
MSG_CMSG_CLOEXEC is the first free bit for MSG_*.

The SOCK_* flags are not passed to MAC because this may cause incorrect
failures and can be done later via fcntl() anyway. On the other hand, audit
is expected to cope with the new flags.

For MSG_CMSG_CLOEXEC, unp_externalize() is extended to take a flags
argument.

Reviewed by:	kib
2013-03-19 20:58:17 +00:00
glebius
878ef603e2 iwn(4) doesn't support adhoc mode.
PR:		misc/177106
Submitted by:	Hiren Panchasara <hiren.panchasara gmail.com>
2013-03-19 13:43:55 +00:00
mm
c94cc27299 MFC @248493 2013-03-19 11:09:15 +00:00
neel
b893c0b25f Add bhyve to examples.
Requested by: alfred, julian
Obtained from:	NetApp
2013-03-18 23:46:14 +00:00
jkim
5ebabf1d3e Add preliminary support for IBM/Lenovo TrackPoint.
PR:		kern/147237 (based on the initial patch for 8.x)
Tested by:	glebius (device detection and suspend/resume)
MFC after:	1 month
2013-03-18 23:22:47 +00:00
sjg
564a6e0ac6 Revert the dance for skipping machine qualified dependfile.
We just note when using non-machine qualified dependfile for "host"
and skip update.
2013-03-18 21:29:31 +00:00
mm
09f7f9e4ff MFC @248461 2013-03-18 09:39:51 +00:00
sjg
957bb16f6a If building for "host" and we do not have Makefile.depend.host;
do not update it.
This allows us to avoid populating the tree with Makefile.depend.host
that aren't absolutely necessary.
2013-03-17 03:09:08 +00:00
sjg
412ce312ae Don't forget DEP_TARGET_SPEC 2013-03-17 03:07:13 +00:00
sjg
aa91d017bd Don't add libssp for host 2013-03-17 03:06:49 +00:00
sjg
1eca611df3 We need .OBJDIR done earlier 2013-03-17 01:53:47 +00:00
sjg
c6e1b70549 Improve DIRDEP filtering.
Allow DEP_SKIP_DIR and DEP_DIRDEPS_FILTER to vary by DEP_MACHINE.
2013-03-17 01:51:23 +00:00
sjg
d9f57e9153 Should not be here 2013-03-17 01:49:30 +00:00
joel
7b26e8ff4f Cross-reference gvinum(8) instead of vinum(8). 2013-03-16 22:02:47 +00:00
glebius
50f5985d3c Belatedly remove the vinum(4) manual page. The vinum
manager is absent in FreeBSD since 6.0-RELEASE.

Reviewed by:	joel
2013-03-16 08:51:47 +00:00
sjg
56806421c2 Make sure we qualify _objroot with trailing / if needed 2013-03-15 20:20:14 +00:00
sjg
2cf365a73a A bit finer control so we can build toolchain for host 2013-03-15 20:19:18 +00:00
sjg
d49adad738 If self.machine is host we need to also trim self.host_target from
objroots to ensure we do not get confused.
2013-03-15 20:18:30 +00:00
sjg
3e9999e6b4 We want meta.stage.mk when cleaning 2013-03-14 22:04:53 +00:00
joel
4947d4919e Add FreeBSD 9.1. 2013-03-14 21:20:46 +00:00
joel
01ed3a9ee0 Sort sections. 2013-03-14 19:56:21 +00:00
joel
06d833a4f8 Add GEOM_* kernel options to the SYNOPSIS. 2013-03-14 18:46:11 +00:00
joel
128300f78f vinum isn't a new product. 2013-03-13 22:27:01 +00:00
pluknet
8541659a35 Add missed _load' to the if_foo_load="YES"' line.
PR:		docs/176915
MFC after:	1 week
2013-03-13 18:43:25 +00:00
eadler
516d945e40 Remove pav from portmgr whom had also stepped down a few months ago.
Thank you for your years of service.

Reported by:	rene
2013-03-12 23:14:18 +00:00
eadler
8910b38ec3 Welcome Bryan to the team. 2013-03-12 23:07:34 +00:00
sjg
db7f95f364 If .MAKE.DEPENDFILE_DEFAULT is not machine qualified, and we
find oursleves creating a machine qualified .MAKE.DEPENDFILE which
is identical to a default which exists - skip it.

This allows us to create Makefile.depend.host where it matters,
while leveraging Makefile.depend where it is sufficient.
2013-03-12 17:23:23 +00:00
sjg
b44c493437 Apply DEP_DIRDEPS_FILTER.${DEP_MACHINE} as needed.
Use DEP_DIRDEPS_FILTER.host to supress dependencies for host tools.
2013-03-12 17:21:03 +00:00
eadler
10b41426ff Update Ruslan's last name per request.
Submitted by:	rm
2013-03-12 13:03:31 +00:00
eadler
9b31bc7558 Remove two members of portmgr that have recently stepped down. Thank
you for your time on portmgr.

Remove one member from bugmeister that has stepped down recently.  Thank
you for your time on bugmeister.

While here clean up the graph a bit (remove dead cvs repos)
2013-03-12 04:37:04 +00:00
sjg
6d37b86f2b Updated dependencies 2013-03-11 17:21:52 +00:00
bapt
a87061c188 Disconnect files removed in r248151 2013-03-11 17:21:21 +00:00
bapt
0edb252ff0 Ports are no more exported via cvsup, remove cvsup examples and documentation refering to ports
MFC after:	2 days
2013-03-11 10:48:26 +00:00
attilio
63326e81a3 Garbage collect NWFS and NCP bits which are now completely disconnected
from the tree since few months.

This patch is not targeted for MFC.
2013-03-09 12:45:36 +00:00
mm
ec13ab3f50 MFC @248093 2013-03-09 11:57:51 +00:00
sjg
4ad62aafad Allow staging to be help up (by .WAIT) until other
bits of all: are done.
2013-03-08 22:02:08 +00:00
sjg
01d132e6de Control default .MAKE.DEPENDFILE indepentend of .MAKE.DEPENDFILE_PREFERENCE 2013-03-08 01:51:32 +00:00
sjg
c5f0bdef1d One .ORDER should suffice 2013-03-08 00:23:42 +00:00
sjg
7a17cc3a11 Ensure natural order of stage_*: matches the .ORDER in meta.stage.mk 2013-03-08 00:23:21 +00:00
sjg
220600f181 Stage*(): return early if no args, and thow error if cp etc., fails. 2013-03-08 00:05:34 +00:00
gavin
f6f6d82fce The ZyXEL ZyAIR G-202 is also supported by zyd(4)
MFC after:	1 week
2013-03-07 13:26:54 +00:00
gavin
e9615ae25a Suggest using the https: protocol not the svn: protocol to retrieve the
various repositories.
2013-03-07 13:24:16 +00:00
sjg
2dfdc094d2 Use pkgs/pseudo/stage to run mtree against STAGE_OBJTOP 2013-03-06 18:35:57 +00:00
mm
99f883783c WiP merge of libzfs_core (MFV r238590, r238592)
not yet working, ioctl handling needs to be changed
2013-03-05 08:09:53 +00:00
sjg
1aed549883 Move STAGING related setup to bsd.sys.mk 2013-03-04 21:36:34 +00:00
sjg
37a9c930b4 Handle multiple M2D_OBJROOTS better 2013-03-04 21:35:49 +00:00
davide
2c8bc5c70c MFcalloutng:
Dcoument the new functions added to condvar(9), sleep(9), sleepqueue(9)
KPIs. Also document recent changes in timeout(9) and eventtimers(4).
2013-03-04 19:10:39 +00:00
eadler
f7c18136b1 Modernize some portions of the ports man page.
Stop documenting other operating systems's default patha

Approved by:	bcr (mentor)
2013-03-04 13:57:46 +00:00
bapt
6dc0386260 Import libyaml as libbsdyml (private brand name)
LibYAML is a YAML 1.1 parser and emitter under MIT license which will
soon be used by the pkg boostrap (usr.bin/pkg) and bhyve

Reviewed by:	roberto, antoine
2013-03-04 11:27:41 +00:00
mav
86693db26f Fix typos in hint names.
MFC after:	1 week
2013-03-03 19:10:28 +00:00
attilio
59a3d435c9 Garbage collect PORTALFS bits which are now completely disconnected from
the tree since few months.

This patch is not targeted for MFC.
2013-03-02 16:43:28 +00:00
attilio
5d33ae7487 Garbage collect CODAFS bits which are now completely disconnected from
the tree since few months.

This patch is not targeted for MFC.
2013-03-02 16:30:18 +00:00
attilio
44df97db57 Garbage collect XFS bits which are now already completely disconnected
from the tree since few months.

This is not targeted for MFC.
2013-03-02 15:33:54 +00:00