svn commit: r260253 - head/tools/regression/capsicum/libcapsicum

2014-01-04 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Jan 4 09:25:27 2014 New Revision: 260253 URL: http://svnweb.freebsd.org/changeset/base/260253 Log: MFp4 @1189766: - Compile the tests with .t suffix, so prove can use them directly. - The CHECKX() macro should increment ntest just like the CHECK() macro. - For

svn commit: r260254 - head/sbin/geom/class/eli

2014-01-04 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Jan 4 09:27:49 2014 New Revision: 260254 URL: http://svnweb.freebsd.org/changeset/base/260254 Log: Don't allow to create GELI providers with a sector size, which is no a power of 2. Noticed by: rwatson MFC after:3 days Modified:

svn commit: r260255 - head/usr.bin/iscsictl

2014-01-04 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Jan 4 09:57:23 2014 New Revision: 260255 URL: http://svnweb.freebsd.org/changeset/base/260255 Log: Properly document -u and -s. MFC after:3 days Sponsored by: The FreeBSD Foundation Modified: head/usr.bin/iscsictl/iscsictl.8 Modified:

svn commit: r260256 - head/sys/dev/ffec

2014-01-04 Thread Ruslan Bukin
Author: br Date: Sat Jan 4 10:19:21 2014 New Revision: 260256 URL: http://svnweb.freebsd.org/changeset/base/260256 Log: ENET on Vybrid Family SoC don't advertise its media capabilities themselves properly, so force auto-negotiation. Tested on mvf600. Reviewed by: ian Modified:

svn commit: r260257 - head/lib/libc/net

2014-01-04 Thread Michael Tuexen
Author: tuexen Date: Sat Jan 4 11:39:59 2014 New Revision: 260257 URL: http://svnweb.freebsd.org/changeset/base/260257 Log: Fix several bugs in sctp_bindx(): * Set errno to EAFNOSUPPORT if an address is provided which is neither AF_INET nor AF_INET6. * Don't modify the arguments. *

svn commit: r260258 - head/sys/rpc

2014-01-04 Thread Alexander Motin
Author: mav Date: Sat Jan 4 15:51:31 2014 New Revision: 260258 URL: http://svnweb.freebsd.org/changeset/base/260258 Log: Replace locks added in r260229 to protect sequence counters with atomics. New algorithm does not create additional lock congestion, while some races it includes

svn commit: r260259 - head/usr.bin/whois

2014-01-04 Thread Kevin Lo
Author: kevlo Date: Sat Jan 4 15:51:52 2014 New Revision: 260259 URL: http://svnweb.freebsd.org/changeset/base/260259 Log: The whois() function is called in a loop so make sure we close the socket to the whois server before returning. Obtained from:OpenBSD Modified:

svn commit: r260260 - head/usr.sbin/bsdinstall/scripts

2014-01-04 Thread Gavin Atkinson
Author: gavin Date: Sat Jan 4 16:41:43 2014 New Revision: 260260 URL: http://svnweb.freebsd.org/changeset/base/260260 Log: Remove what appears to be a stray debugging printf. MFC after:1 week Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified:

svn commit: r260261 - head/usr.sbin/bsdinstall/scripts

2014-01-04 Thread Gavin Atkinson
Author: gavin Date: Sat Jan 4 16:44:05 2014 New Revision: 260261 URL: http://svnweb.freebsd.org/changeset/base/260261 Log: Lower the priority of the connect to any open wireless network network description, so guaranteeing that any other defined network will be tried first. MFC after:

svn commit: r260262 - head/usr.sbin/bsdinstall/scripts

2014-01-04 Thread Gavin Atkinson
Author: gavin Date: Sat Jan 4 17:09:41 2014 New Revision: 260262 URL: http://svnweb.freebsd.org/changeset/base/260262 Log: Allow bsdinstall to use WPA-Enterprise networks when installing. This only allows basic username/password config, and does not provide the ability to set any of the

svn commit: r260263 - in stable: 10/contrib/libc++/include 9/contrib/libc++/include

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 17:22:53 2014 New Revision: 260263 URL: http://svnweb.freebsd.org/changeset/base/260263 Log: MFC r260015: In libc++'s type_traits header, avoid warnings (activated by our use of -Wsystem-headers) about potential keyword compatibility problems, by adding a

svn commit: r260263 - in stable: 10/contrib/libc++/include 9/contrib/libc++/include

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 17:22:53 2014 New Revision: 260263 URL: http://svnweb.freebsd.org/changeset/base/260263 Log: MFC r260015: In libc++'s type_traits header, avoid warnings (activated by our use of -Wsystem-headers) about potential keyword compatibility problems, by adding a

svn commit: r260264 - in stable: 10/lib/libiconv_modules/BIG5 10/lib/libiconv_modules/DECHanyu 10/lib/libiconv_modules/EUC 10/lib/libiconv_modules/EUCTW 10/lib/libiconv_modules/GBK2K 10/lib/libicon...

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 17:27:43 2014 New Revision: 260264 URL: http://svnweb.freebsd.org/changeset/base/260264 Log: MFC r260003: In libiconv_modules, surround unused static _citrus_XXX_pack_state() and _citrus_XXX_unpack_state() functions with #if 0, for now. Modified:

svn commit: r260264 - in stable: 10/lib/libiconv_modules/BIG5 10/lib/libiconv_modules/DECHanyu 10/lib/libiconv_modules/EUC 10/lib/libiconv_modules/EUCTW 10/lib/libiconv_modules/GBK2K 10/lib/libicon...

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 17:27:43 2014 New Revision: 260264 URL: http://svnweb.freebsd.org/changeset/base/260264 Log: MFC r260003: In libiconv_modules, surround unused static _citrus_XXX_pack_state() and _citrus_XXX_unpack_state() functions with #if 0, for now. Modified:

svn commit: r260265 - in stable: 10/sys/dev/sk 7/sys/dev/sk 8/sys/dev/sk 9/sys/dev/sk

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 17:33:05 2014 New Revision: 260265 URL: http://svnweb.freebsd.org/changeset/base/260265 Log: MFC r260016: Remove superfluous old-style rcsid[] from if_sk.c. There is already an __FBSDID() at the top of the file. Modified: stable/9/sys/dev/sk/if_sk.c

svn commit: r260265 - in stable: 10/sys/dev/sk 7/sys/dev/sk 8/sys/dev/sk 9/sys/dev/sk

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 17:33:05 2014 New Revision: 260265 URL: http://svnweb.freebsd.org/changeset/base/260265 Log: MFC r260016: Remove superfluous old-style rcsid[] from if_sk.c. There is already an __FBSDID() at the top of the file. Modified: stable/7/sys/dev/sk/if_sk.c

svn commit: r260265 - in stable: 10/sys/dev/sk 7/sys/dev/sk 8/sys/dev/sk 9/sys/dev/sk

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 17:33:05 2014 New Revision: 260265 URL: http://svnweb.freebsd.org/changeset/base/260265 Log: MFC r260016: Remove superfluous old-style rcsid[] from if_sk.c. There is already an __FBSDID() at the top of the file. Modified: stable/10/sys/dev/sk/if_sk.c

svn commit: r260265 - in stable: 10/sys/dev/sk 7/sys/dev/sk 8/sys/dev/sk 9/sys/dev/sk

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 17:33:05 2014 New Revision: 260265 URL: http://svnweb.freebsd.org/changeset/base/260265 Log: MFC r260016: Remove superfluous old-style rcsid[] from if_sk.c. There is already an __FBSDID() at the top of the file. Modified: stable/8/sys/dev/sk/if_sk.c

svn commit: r260266 - stable/10/sys/sys

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 17:36:13 2014 New Revision: 260266 URL: http://svnweb.freebsd.org/changeset/base/260266 Log: MFC r260017: Mark unused static inline functions defined by the PCTRIE_DEFINE() macro as __unused, so warnings about them are avoided. Modified:

svn commit: r260267 - head/sys/cam/scsi

2014-01-04 Thread Steven Hartland
Author: smh Date: Sat Jan 4 17:52:43 2014 New Revision: 260267 URL: http://svnweb.freebsd.org/changeset/base/260267 Log: Correct short delete issue in SCSI UNMAP support Correct missing \n's in xpt_print's Correct incorrect count being passed to short delete xpt_print MFC after:1

svn commit: r260268 - in stable/10/sys: conf modules/drm2/radeonkms modules/ibcore modules/ipoib modules/mlx4 modules/mlx4ib modules/mlxen modules/mthca ofed/drivers/infiniband/hw/mlx4 ofed/drivers...

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 17:54:06 2014 New Revision: 260268 URL: http://svnweb.freebsd.org/changeset/base/260268 Log: MFC r260020: For sys/dev/drm2/radeon, only use -fms-extensions with gcc. This flag is only to stop gcc complaining about anonymous unions, which clang does not do.

svn commit: r260269 - in stable/9/sys: conf modules/mlx4 modules/mlx4ib modules/mlxen modules/mthca

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 17:56:19 2014 New Revision: 260269 URL: http://svnweb.freebsd.org/changeset/base/260269 Log: MFC r260102: Similar to r260020, only use -fms-extensions with gcc, for all other modules which require this flag to compile. Use a GCC_MS_EXTENSIONS variable,

svn commit: r260270 - in stable: 10/sys/modules/drm2/i915kms 9/sys/modules/drm2/i915kms

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 17:59:40 2014 New Revision: 260270 URL: http://svnweb.freebsd.org/changeset/base/260270 Log: MFC r260019: For some files under sys/dev/drm2/i915, turn off warnings about unused functions and variables, since they are contributed code. Modified:

svn commit: r260270 - in stable: 10/sys/modules/drm2/i915kms 9/sys/modules/drm2/i915kms

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 17:59:40 2014 New Revision: 260270 URL: http://svnweb.freebsd.org/changeset/base/260270 Log: MFC r260019: For some files under sys/dev/drm2/i915, turn off warnings about unused functions and variables, since they are contributed code. Modified:

svn commit: r260271 - in stable/8: share/man/man4 sys/amd64/conf sys/conf sys/dev/bxe sys/i386/conf sys/modules/bxe

2014-01-04 Thread Eric Davis
Author: edavis Date: Sat Jan 4 18:10:15 2014 New Revision: 260271 URL: http://svnweb.freebsd.org/changeset/base/260271 Log: MFC Broadcom 10Gb bxe driver Merged r255736, r255861, r256299, r256341, r258187, r259928, r260113 Approved by: davidch (mentor) Added:

svn commit: r260272 - in stable/10/sys: conf modules/ath

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 18:19:53 2014 New Revision: 260272 URL: http://svnweb.freebsd.org/changeset/base/260272 Log: MFC r260025: Disable warning about unused functions for ar9300_reset.c for now. Modified: stable/10/sys/conf/files stable/10/sys/modules/ath/Makefile Directory

svn commit: r260273 - in stable: 10/sys/conf 10/sys/modules/wlan 9/sys/conf 9/sys/modules/wlan

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 18:24:45 2014 New Revision: 260273 URL: http://svnweb.freebsd.org/changeset/base/260273 Log: MFC r260026: Disable warning about unused functions for ieee80211_crypto.c and ieee80211_mesh.c for now. Modified: stable/10/sys/conf/files

svn commit: r260273 - in stable: 10/sys/conf 10/sys/modules/wlan 9/sys/conf 9/sys/modules/wlan

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 18:24:45 2014 New Revision: 260273 URL: http://svnweb.freebsd.org/changeset/base/260273 Log: MFC r260026: Disable warning about unused functions for ieee80211_crypto.c and ieee80211_mesh.c for now. Modified: stable/9/sys/conf/files

svn commit: r260274 - in stable/10/sys: conf modules/ipfilter

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 18:33:28 2014 New Revision: 260274 URL: http://svnweb.freebsd.org/changeset/base/260274 Log: MFC r260039: Turn off warnings about unused variables for a bunch of files under contrib/ipfilter. Modified: stable/10/sys/conf/files

svn commit: r260275 - in stable: 10/sys/dev/en 7/sys/dev/en 8/sys/dev/en 9/sys/dev/en

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 18:48:29 2014 New Revision: 260275 URL: http://svnweb.freebsd.org/changeset/base/260275 Log: MFC r260038: In sys/dev/en/midway.c, #if 0 an unused static function. Modified: stable/8/sys/dev/en/midway.c Directory Properties: stable/8/sys/ (props changed)

svn commit: r260275 - in stable: 10/sys/dev/en 7/sys/dev/en 8/sys/dev/en 9/sys/dev/en

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 18:48:29 2014 New Revision: 260275 URL: http://svnweb.freebsd.org/changeset/base/260275 Log: MFC r260038: In sys/dev/en/midway.c, #if 0 an unused static function. Modified: stable/7/sys/dev/en/midway.c Directory Properties: stable/7/sys/ (props changed)

svn commit: r260275 - in stable: 10/sys/dev/en 7/sys/dev/en 8/sys/dev/en 9/sys/dev/en

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 18:48:29 2014 New Revision: 260275 URL: http://svnweb.freebsd.org/changeset/base/260275 Log: MFC r260038: In sys/dev/en/midway.c, #if 0 an unused static function. Modified: stable/9/sys/dev/en/midway.c Directory Properties: stable/9/sys/ (props changed)

svn commit: r260275 - in stable: 10/sys/dev/en 7/sys/dev/en 8/sys/dev/en 9/sys/dev/en

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 18:48:29 2014 New Revision: 260275 URL: http://svnweb.freebsd.org/changeset/base/260275 Log: MFC r260038: In sys/dev/en/midway.c, #if 0 an unused static function. Modified: stable/10/sys/dev/en/midway.c Directory Properties: stable/10/ (props changed)

svn commit: r260276 - in stable: 10/sys/dev/mcd 7/sys/dev/mcd 8/sys/dev/mcd 9/sys/dev/mcd

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 18:53:31 2014 New Revision: 260276 URL: http://svnweb.freebsd.org/changeset/base/260276 Log: MFC r260040: In sys/dev/mcd/mcd.c, mark the static const COPYRIGHT string as __used, so it ends up in the object file, and no warnings are emitted about it being

svn commit: r260276 - in stable: 10/sys/dev/mcd 7/sys/dev/mcd 8/sys/dev/mcd 9/sys/dev/mcd

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 18:53:31 2014 New Revision: 260276 URL: http://svnweb.freebsd.org/changeset/base/260276 Log: MFC r260040: In sys/dev/mcd/mcd.c, mark the static const COPYRIGHT string as __used, so it ends up in the object file, and no warnings are emitted about it being

svn commit: r260276 - in stable: 10/sys/dev/mcd 7/sys/dev/mcd 8/sys/dev/mcd 9/sys/dev/mcd

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 18:53:31 2014 New Revision: 260276 URL: http://svnweb.freebsd.org/changeset/base/260276 Log: MFC r260040: In sys/dev/mcd/mcd.c, mark the static const COPYRIGHT string as __used, so it ends up in the object file, and no warnings are emitted about it being

svn commit: r260276 - in stable: 10/sys/dev/mcd 7/sys/dev/mcd 8/sys/dev/mcd 9/sys/dev/mcd

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 18:53:31 2014 New Revision: 260276 URL: http://svnweb.freebsd.org/changeset/base/260276 Log: MFC r260040: In sys/dev/mcd/mcd.c, mark the static const COPYRIGHT string as __used, so it ends up in the object file, and no warnings are emitted about it being

svn commit: r260277 - in stable: 10/sys/dev/my 7/sys/dev/my 8/sys/dev/my 9/sys/dev/my

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 18:58:18 2014 New Revision: 260277 URL: http://svnweb.freebsd.org/changeset/base/260277 Log: MFC r260042: Remove superfluous old-style rcsid[] from if_my.c. There is already an __FBSDID() at the top of the file. Modified: stable/10/sys/dev/my/if_my.c

svn commit: r260277 - in stable: 10/sys/dev/my 7/sys/dev/my 8/sys/dev/my 9/sys/dev/my

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 18:58:18 2014 New Revision: 260277 URL: http://svnweb.freebsd.org/changeset/base/260277 Log: MFC r260042: Remove superfluous old-style rcsid[] from if_my.c. There is already an __FBSDID() at the top of the file. Modified: stable/9/sys/dev/my/if_my.c

svn commit: r260277 - in stable: 10/sys/dev/my 7/sys/dev/my 8/sys/dev/my 9/sys/dev/my

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 18:58:18 2014 New Revision: 260277 URL: http://svnweb.freebsd.org/changeset/base/260277 Log: MFC r260042: Remove superfluous old-style rcsid[] from if_my.c. There is already an __FBSDID() at the top of the file. Modified: stable/7/sys/dev/my/if_my.c

svn commit: r260277 - in stable: 10/sys/dev/my 7/sys/dev/my 8/sys/dev/my 9/sys/dev/my

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 18:58:18 2014 New Revision: 260277 URL: http://svnweb.freebsd.org/changeset/base/260277 Log: MFC r260042: Remove superfluous old-style rcsid[] from if_my.c. There is already an __FBSDID() at the top of the file. Modified: stable/8/sys/dev/my/if_my.c

svn commit: r260278 - in stable: 10/sys/netgraph/netflow 7/sys/netgraph/netflow 8/sys/netgraph/netflow 9/sys/netgraph/netflow

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 19:04:53 2014 New Revision: 260278 URL: http://svnweb.freebsd.org/changeset/base/260278 Log: MFC r260048: In sys/netgraph/netflow, use __FBSDID() instead of old-style rcs_id[]. Modified: stable/7/sys/netgraph/netflow/netflow.c

svn commit: r260278 - in stable: 10/sys/netgraph/netflow 7/sys/netgraph/netflow 8/sys/netgraph/netflow 9/sys/netgraph/netflow

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 19:04:53 2014 New Revision: 260278 URL: http://svnweb.freebsd.org/changeset/base/260278 Log: MFC r260048: In sys/netgraph/netflow, use __FBSDID() instead of old-style rcs_id[]. Modified: stable/10/sys/netgraph/netflow/netflow.c

svn commit: r260278 - in stable: 10/sys/netgraph/netflow 7/sys/netgraph/netflow 8/sys/netgraph/netflow 9/sys/netgraph/netflow

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 19:04:53 2014 New Revision: 260278 URL: http://svnweb.freebsd.org/changeset/base/260278 Log: MFC r260048: In sys/netgraph/netflow, use __FBSDID() instead of old-style rcs_id[]. Modified: stable/9/sys/netgraph/netflow/netflow.c

svn commit: r260278 - in stable: 10/sys/netgraph/netflow 7/sys/netgraph/netflow 8/sys/netgraph/netflow 9/sys/netgraph/netflow

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 19:04:53 2014 New Revision: 260278 URL: http://svnweb.freebsd.org/changeset/base/260278 Log: MFC r260048: In sys/netgraph/netflow, use __FBSDID() instead of old-style rcs_id[]. Modified: stable/8/sys/netgraph/netflow/netflow.c

svn commit: r260279 - in stable: 10/sys/dev/tpm 8/sys/dev/tpm 9/sys/dev/tpm

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 19:13:25 2014 New Revision: 260279 URL: http://svnweb.freebsd.org/changeset/base/260279 Log: MFC r260054: In sys/dev/tpm/tpm.c, #if 0 an unused static function. Modified: stable/8/sys/dev/tpm/tpm.c Directory Properties: stable/8/sys/ (props changed)

svn commit: r260279 - in stable: 10/sys/dev/tpm 8/sys/dev/tpm 9/sys/dev/tpm

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 19:13:25 2014 New Revision: 260279 URL: http://svnweb.freebsd.org/changeset/base/260279 Log: MFC r260054: In sys/dev/tpm/tpm.c, #if 0 an unused static function. Modified: stable/10/sys/dev/tpm/tpm.c Directory Properties: stable/10/ (props changed)

svn commit: r260279 - in stable: 10/sys/dev/tpm 8/sys/dev/tpm 9/sys/dev/tpm

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 19:13:25 2014 New Revision: 260279 URL: http://svnweb.freebsd.org/changeset/base/260279 Log: MFC r260054: In sys/dev/tpm/tpm.c, #if 0 an unused static function. Modified: stable/9/sys/dev/tpm/tpm.c Directory Properties: stable/9/sys/ (props changed)

svn commit: r260280 - stable/10/sys/vm

2014-01-04 Thread Gleb Smirnoff
Author: glebius Date: Sat Jan 4 19:51:57 2014 New Revision: 260280 URL: http://svnweb.freebsd.org/changeset/base/260280 Log: Merge r258690 by mav from head: Fix bug introduced at r252226, when udata argument passed to bucket_alloc() was used without making sure first that it was really

svn commit: r260281 - head/sys/arm/arm

2014-01-04 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jan 4 20:59:03 2014 New Revision: 260281 URL: http://svnweb.freebsd.org/changeset/base/260281 Log: Implement OFW_BUS_MAP_INTR() in terms of the FDT PIC table, which will become an ARM-specific quirk. Modified: head/sys/arm/arm/nexus.c Modified:

svn commit: r260282 - head/sys/dev/fdt

2014-01-04 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jan 4 21:14:33 2014 New Revision: 260282 URL: http://svnweb.freebsd.org/changeset/base/260282 Log: Reimplement fdt_intr_to_rl() in terms of OFW_BUS_MAP_INTR() and OFW_BUS_CONFIG_INTR(). This function is only used by simplebus, so will likely be moved there in

svn commit: r260283 - head/sys/arm/arm

2014-01-04 Thread Ian Lepore
Author: ian Date: Sat Jan 4 21:18:22 2014 New Revision: 260283 URL: http://svnweb.freebsd.org/changeset/base/260283 Log: Use bus_space_map() rather than pmap_mapdev() in nexus_activate_resource(), when running on FDT systems. Unmap memory in nexus_deactivate_resource(). Also, call

svn commit: r260284 - in stable: 10/sys/dev/usb/wlan 8/sys/dev/usb/wlan 9/sys/dev/usb/wlan

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 21:18:54 2014 New Revision: 260284 URL: http://svnweb.freebsd.org/changeset/base/260284 Log: MFC r260055: In sys/dev/usb/wlan/if_urtw.c, #if 0 a static const variable, which has been unused since r198194. Modified: stable/8/sys/dev/usb/wlan/if_urtw.c

svn commit: r260284 - in stable: 10/sys/dev/usb/wlan 8/sys/dev/usb/wlan 9/sys/dev/usb/wlan

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 21:18:54 2014 New Revision: 260284 URL: http://svnweb.freebsd.org/changeset/base/260284 Log: MFC r260055: In sys/dev/usb/wlan/if_urtw.c, #if 0 a static const variable, which has been unused since r198194. Modified: stable/10/sys/dev/usb/wlan/if_urtw.c

svn commit: r260285 - head/sys/dev/fdt

2014-01-04 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jan 4 21:19:20 2014 New Revision: 260285 URL: http://svnweb.freebsd.org/changeset/base/260285 Log: Remove fdt_pic_table code from MIPS, PowerPC, and x86, as it is no longer used by anything. The equivalent functionality is provided by the PIC drivers themselves

svn commit: r260284 - in stable: 10/sys/dev/usb/wlan 8/sys/dev/usb/wlan 9/sys/dev/usb/wlan

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 21:18:54 2014 New Revision: 260284 URL: http://svnweb.freebsd.org/changeset/base/260284 Log: MFC r260055: In sys/dev/usb/wlan/if_urtw.c, #if 0 a static const variable, which has been unused since r198194. Modified: stable/9/sys/dev/usb/wlan/if_urtw.c

svn commit: r260286 - in stable: 10/sys/dev/vxge/vxgehal 9/sys/dev/vxge/vxgehal

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 21:23:49 2014 New Revision: 260286 URL: http://svnweb.freebsd.org/changeset/base/260286 Log: MFC r260056: In sys/dev/vxge/vxgehal/vxgehal-ring.c, #if 0 an unused static function. Modified: stable/9/sys/dev/vxge/vxgehal/vxgehal-ring.c Directory Properties:

svn commit: r260286 - in stable: 10/sys/dev/vxge/vxgehal 9/sys/dev/vxge/vxgehal

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 21:23:49 2014 New Revision: 260286 URL: http://svnweb.freebsd.org/changeset/base/260286 Log: MFC r260056: In sys/dev/vxge/vxgehal/vxgehal-ring.c, #if 0 an unused static function. Modified: stable/10/sys/dev/vxge/vxgehal/vxgehal-ring.c Directory Properties:

svn commit: r260287 - in stable: 10/sys/dev/scc 7/sys/dev/scc 8/sys/dev/scc 9/sys/dev/scc

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 21:32:53 2014 New Revision: 260287 URL: http://svnweb.freebsd.org/changeset/base/260287 Log: MFC r260057: In sys/dev/scc, remove unused static function scc_setmreg(). While here, invoke scc_getmreg() in two more places where it can be used. Reviewed by:

svn commit: r260287 - in stable: 10/sys/dev/scc 7/sys/dev/scc 8/sys/dev/scc 9/sys/dev/scc

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 21:32:53 2014 New Revision: 260287 URL: http://svnweb.freebsd.org/changeset/base/260287 Log: MFC r260057: In sys/dev/scc, remove unused static function scc_setmreg(). While here, invoke scc_getmreg() in two more places where it can be used. Reviewed by:

svn commit: r260287 - in stable: 10/sys/dev/scc 7/sys/dev/scc 8/sys/dev/scc 9/sys/dev/scc

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 21:32:53 2014 New Revision: 260287 URL: http://svnweb.freebsd.org/changeset/base/260287 Log: MFC r260057: In sys/dev/scc, remove unused static function scc_setmreg(). While here, invoke scc_getmreg() in two more places where it can be used. Reviewed by:

svn commit: r260287 - in stable: 10/sys/dev/scc 7/sys/dev/scc 8/sys/dev/scc 9/sys/dev/scc

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 21:32:53 2014 New Revision: 260287 URL: http://svnweb.freebsd.org/changeset/base/260287 Log: MFC r260057: In sys/dev/scc, remove unused static function scc_setmreg(). While here, invoke scc_getmreg() in two more places where it can be used. Reviewed by:

svn commit: r260288 - head/sys/arm/arm

2014-01-04 Thread Ian Lepore
Author: ian Date: Sat Jan 4 21:38:41 2014 New Revision: 260288 URL: http://svnweb.freebsd.org/changeset/base/260288 Log: In pmap_mapdev(), first check whether a static mapping exists, and if so use it rather than allocating kva space and making another mapping. In pmap_unmapdev(), don't

svn commit: r260289 - in stable: 10/sys/amd64/amd64 7/sys/amd64/amd64 8/sys/amd64/amd64 9/sys/amd64/amd64

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 21:45:52 2014 New Revision: 260289 URL: http://svnweb.freebsd.org/changeset/base/260289 Log: MFC r260103: In sys/amd64/amd64/pmap.c, remove static function pmap_is_current(), which has been unused since r189415. Reviewed by: alc Modified:

svn commit: r260289 - in stable: 10/sys/amd64/amd64 7/sys/amd64/amd64 8/sys/amd64/amd64 9/sys/amd64/amd64

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 21:45:52 2014 New Revision: 260289 URL: http://svnweb.freebsd.org/changeset/base/260289 Log: MFC r260103: In sys/amd64/amd64/pmap.c, remove static function pmap_is_current(), which has been unused since r189415. Reviewed by: alc Modified:

svn commit: r260289 - in stable: 10/sys/amd64/amd64 7/sys/amd64/amd64 8/sys/amd64/amd64 9/sys/amd64/amd64

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 21:45:52 2014 New Revision: 260289 URL: http://svnweb.freebsd.org/changeset/base/260289 Log: MFC r260103: In sys/amd64/amd64/pmap.c, remove static function pmap_is_current(), which has been unused since r189415. Reviewed by: alc Modified:

svn commit: r260289 - in stable: 10/sys/amd64/amd64 7/sys/amd64/amd64 8/sys/amd64/amd64 9/sys/amd64/amd64

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 21:45:52 2014 New Revision: 260289 URL: http://svnweb.freebsd.org/changeset/base/260289 Log: MFC r260103: In sys/amd64/amd64/pmap.c, remove static function pmap_is_current(), which has been unused since r189415. Reviewed by: alc Modified:

svn commit: r260290 - head/sys/sys

2014-01-04 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Jan 4 21:55:06 2014 New Revision: 260290 URL: http://svnweb.freebsd.org/changeset/base/260290 Log: Bring back the old size of the kinfo_file structure to preserve ABI. Keep only one uint64_t spare for further cap_rights_t expension. Add a comment clarifying that if

svn commit: r260291 - in stable: 10/sys/boot/i386 10/sys/boot/i386/boot2 10/sys/boot/i386/gptboot 10/sys/boot/i386/gptzfsboot 10/sys/boot/i386/zfsboot 10/sys/boot/pc98/boot2 7/sys/boot/i386 7/sys/b...

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 22:00:07 2014 New Revision: 260291 URL: http://svnweb.freebsd.org/changeset/base/260291 Log: MFC r260095: For sys/boot/i386 and sys/boot/pc98, separate flags to be passed directly to the linker (LD_FLAGS) from flags passed indirectly, via the compiler

svn commit: r260291 - in stable: 10/sys/boot/i386 10/sys/boot/i386/boot2 10/sys/boot/i386/gptboot 10/sys/boot/i386/gptzfsboot 10/sys/boot/i386/zfsboot 10/sys/boot/pc98/boot2 7/sys/boot/i386 7/sys/b...

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 22:00:07 2014 New Revision: 260291 URL: http://svnweb.freebsd.org/changeset/base/260291 Log: MFC r260095: For sys/boot/i386 and sys/boot/pc98, separate flags to be passed directly to the linker (LD_FLAGS) from flags passed indirectly, via the compiler

svn commit: r260291 - in stable: 10/sys/boot/i386 10/sys/boot/i386/boot2 10/sys/boot/i386/gptboot 10/sys/boot/i386/gptzfsboot 10/sys/boot/i386/zfsboot 10/sys/boot/pc98/boot2 7/sys/boot/i386 7/sys/b...

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 22:00:07 2014 New Revision: 260291 URL: http://svnweb.freebsd.org/changeset/base/260291 Log: MFC r260095: For sys/boot/i386 and sys/boot/pc98, separate flags to be passed directly to the linker (LD_FLAGS) from flags passed indirectly, via the compiler

svn commit: r260291 - in stable: 10/sys/boot/i386 10/sys/boot/i386/boot2 10/sys/boot/i386/gptboot 10/sys/boot/i386/gptzfsboot 10/sys/boot/i386/zfsboot 10/sys/boot/pc98/boot2 7/sys/boot/i386 7/sys/b...

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 22:00:07 2014 New Revision: 260291 URL: http://svnweb.freebsd.org/changeset/base/260291 Log: MFC r260095: For sys/boot/i386 and sys/boot/pc98, separate flags to be passed directly to the linker (LD_FLAGS) from flags passed indirectly, via the compiler

svn commit: r260293 - in stable: 10/sys/conf 10/sys/modules/ibcore 9/sys/conf

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 22:13:16 2014 New Revision: 260293 URL: http://svnweb.freebsd.org/changeset/base/260293 Log: MFC r260104: For sys/ofed/drivers/infiniband/core/cm.c, disable warning about unused functions for now. Modified: stable/9/sys/conf/files Directory Properties:

svn commit: r260293 - in stable: 10/sys/conf 10/sys/modules/ibcore 9/sys/conf

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 22:13:16 2014 New Revision: 260293 URL: http://svnweb.freebsd.org/changeset/base/260293 Log: MFC r260104: For sys/ofed/drivers/infiniband/core/cm.c, disable warning about unused functions for now. Modified: stable/10/sys/conf/files

svn commit: r260294 - head/sys/arm/ti

2014-01-04 Thread Ian Lepore
Author: ian Date: Sat Jan 4 22:14:59 2014 New Revision: 260294 URL: http://svnweb.freebsd.org/changeset/base/260294 Log: Doh! Use C comments, not C++. Modified: head/sys/arm/ti/ti_machdep.c Modified: head/sys/arm/ti/ti_machdep.c

svn commit: r260295 - head/sys/net

2014-01-04 Thread Alexander V. Chernikov
Author: melifaro Date: Sat Jan 4 22:25:26 2014 New Revision: 260295 URL: http://svnweb.freebsd.org/changeset/base/260295 Log: Change semantics for rnh_lookup() function: now it performs exact match search, regardless of netmask existance. This simplifies most of rnh_lookup() consumers.

svn commit: r260296 - head/sys/dev/nand

2014-01-04 Thread Warner Losh
Author: imp Date: Sat Jan 4 22:30:18 2014 New Revision: 260296 URL: http://svnweb.freebsd.org/changeset/base/260296 Log: More NAND IDs of some really old Samsung parts, also list the part number that we're matching... Modified: head/sys/dev/nand/nand_id.c Modified:

svn commit: r260297 - in stable/10/sys: conf modules/mlx4

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 23:00:56 2014 New Revision: 260297 URL: http://svnweb.freebsd.org/changeset/base/260297 Log: MFC r260111: For sys/ofed/drivers/infiniband/hw/mlx4/mcg.c, disable warning about unused variables for now. Modified: stable/10/sys/conf/files

svn commit: r260298 - in stable: 10/sys/dev/sound/pci 7/sys/dev/sound/pci 8/sys/dev/sound/pci 9/sys/dev/sound/pci

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 23:12:01 2014 New Revision: 260298 URL: http://svnweb.freebsd.org/changeset/base/260298 Log: MFC r260112: In sys/dev/sound/pci/maestro.c, #if 0 two unused static functions. Modified: stable/9/sys/dev/sound/pci/maestro.c Directory Properties: stable/9/sys/

svn commit: r260298 - in stable: 10/sys/dev/sound/pci 7/sys/dev/sound/pci 8/sys/dev/sound/pci 9/sys/dev/sound/pci

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 23:12:01 2014 New Revision: 260298 URL: http://svnweb.freebsd.org/changeset/base/260298 Log: MFC r260112: In sys/dev/sound/pci/maestro.c, #if 0 two unused static functions. Modified: stable/8/sys/dev/sound/pci/maestro.c Directory Properties: stable/8/sys/

svn commit: r260298 - in stable: 10/sys/dev/sound/pci 7/sys/dev/sound/pci 8/sys/dev/sound/pci 9/sys/dev/sound/pci

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 23:12:01 2014 New Revision: 260298 URL: http://svnweb.freebsd.org/changeset/base/260298 Log: MFC r260112: In sys/dev/sound/pci/maestro.c, #if 0 two unused static functions. Modified: stable/10/sys/dev/sound/pci/maestro.c Directory Properties: stable/10/

svn commit: r260298 - in stable: 10/sys/dev/sound/pci 7/sys/dev/sound/pci 8/sys/dev/sound/pci 9/sys/dev/sound/pci

2014-01-04 Thread Dimitry Andric
Author: dim Date: Sat Jan 4 23:12:01 2014 New Revision: 260298 URL: http://svnweb.freebsd.org/changeset/base/260298 Log: MFC r260112: In sys/dev/sound/pci/maestro.c, #if 0 two unused static functions. Modified: stable/7/sys/dev/sound/pci/maestro.c Directory Properties: stable/7/sys/

svn commit: r260299 - stable/10/sys/kern

2014-01-04 Thread Alexander Motin
Author: mav Date: Sat Jan 4 23:31:34 2014 New Revision: 260299 URL: http://svnweb.freebsd.org/changeset/base/260299 Log: MFC r259232: Create own free list for each of the first 32 possible allocation sizes. In case of 4K allocation quantum that means for allocations up to 128K. With

svn commit: r260300 - stable/10/sys/vm

2014-01-04 Thread Alexander Motin
Author: mav Date: Sat Jan 4 23:35:34 2014 New Revision: 260300 URL: http://svnweb.freebsd.org/changeset/base/260300 Log: MFC r258336: Implement soft pressure on UMA cache bucket sizes. Every time system detects low memory condition decrease bucket sizes for each zone by one item. As

svn commit: r260301 - stable/10/sys/vm

2014-01-04 Thread Alexander Motin
Author: mav Date: Sat Jan 4 23:37:01 2014 New Revision: 260301 URL: http://svnweb.freebsd.org/changeset/base/260301 Log: MFC r258337: Add two new UMA bucket zones to store 3 and 9 items per bucket. These new buckets make bucket size self-tuning more soft and precise. Without them

svn commit: r260302 - stable/10/sys/vm

2014-01-04 Thread Alexander Motin
Author: mav Date: Sat Jan 4 23:38:06 2014 New Revision: 260302 URL: http://svnweb.freebsd.org/changeset/base/260302 Log: MFC r258338: Grow UMA zone bucket size also on lock congestion during item free. Lock congestion is the same, whether it happens on alloc or free, so handle it

svn commit: r260303 - stable/10/sys/vm

2014-01-04 Thread Alexander Motin
Author: mav Date: Sat Jan 4 23:39:39 2014 New Revision: 260303 URL: http://svnweb.freebsd.org/changeset/base/260303 Log: MFC r258340, r258497: Implement mechanism to safely but slowly purge UMA per-CPU caches. This is a last resort for very low memory condition in case other measures

svn commit: r260304 - stable/10/sys/vm

2014-01-04 Thread Alexander Motin
Author: mav Date: Sat Jan 4 23:40:47 2014 New Revision: 260304 URL: http://svnweb.freebsd.org/changeset/base/260304 Log: MFC r258691: Don't count bucket allocation failures for UMA zones as their own failures. There are good reasons for this to happen, such as recursion prevention, etc.

svn commit: r260305 - stable/10/sys/vm

2014-01-04 Thread Alexander Motin
Author: mav Date: Sat Jan 4 23:42:24 2014 New Revision: 260305 URL: http://svnweb.freebsd.org/changeset/base/260305 Log: MFC r258693: Make UMA to not blindly force offpage slab header allocation for large ( PAGE_SIZE) zones. If zone is not multiple to PAGE_SIZE, there may be enough

svn commit: r260306 - stable/10/sys/vm

2014-01-04 Thread Alexander Motin
Author: mav Date: Sat Jan 4 23:43:18 2014 New Revision: 260306 URL: http://svnweb.freebsd.org/changeset/base/260306 Log: MFC r258716: - Add bucket size column to `show uma` DDB command. - Add `show umacache` command to show alike stats for cache-only UMA zones. Modified:

svn commit: r260307 - stable/10/tools/tools/umastat

2014-01-04 Thread Alexander Motin
Author: mav Date: Sat Jan 4 23:45:55 2014 New Revision: 260307 URL: http://svnweb.freebsd.org/changeset/base/260307 Log: MFC r258256, r258390: Fix umastat build on present kernel. Modified: stable/10/tools/tools/umastat/umastat.c Directory Properties: stable/10/ (props changed)

svn commit: r260310 - in head/contrib: gcc/config gcclibs/libcpp

2014-01-04 Thread Pedro F. Giffuni
Author: pfg Date: Sun Jan 5 00:32:38 2014 New Revision: 260310 URL: http://svnweb.freebsd.org/changeset/base/260310 Log: libcpp: misc fixes from Apple's GCC. Fixes some bugs detected by Apple: #error with unmatched quotes pragma mark Obtained from:Apple GCC 4.2 - 5553

svn commit: r260311 - in head/contrib: gcc gcc/cp gcc/doc gcclibs/include gcclibs/libiberty

2014-01-04 Thread Pedro F. Giffuni
Author: pfg Date: Sun Jan 5 00:43:28 2014 New Revision: 260311 URL: http://svnweb.freebsd.org/changeset/base/260311 Log: gcc: Add support for Apple's Block extension Block objects [1] are a C-level syntactic and runtime feature. They are similar to standard C functions, but in addition

svn commit: r260312 - head/sys/dev/iwn

2014-01-04 Thread Adrian Chadd
Author: adrian Date: Sun Jan 5 00:46:31 2014 New Revision: 260312 URL: http://svnweb.freebsd.org/changeset/base/260312 Log: Move the retune notification print to a debug print. Yes, I still have to do the retune. But I'm giving in to many people pestering me (very gently!) about this.

Re: svn commit: r260252 - in stable/9: share/man/man4 sys/amd64/conf sys/conf sys/dev/bxe sys/i386/conf sys/modules/bxe

2014-01-04 Thread hiren panchasara
On Fri, Jan 3, 2014 at 8:48 PM, Eric Davis eda...@freebsd.org wrote: Author: edavis Date: Sat Jan 4 04:48:58 2014 New Revision: 260252 URL: http://svnweb.freebsd.org/changeset/base/260252 Log: MFC Broadcom 10Gb bxe driver Thanks a lot! cheers, Hiren