svn commit: r257042 - in stable/9/sys/dev/usb: . wlan

2013-10-23 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 24 06:25:52 2013 New Revision: 257042 URL: http://svnweb.freebsd.org/changeset/base/257042 Log: MFC r256500: Add new USB ID. PR: usb/182936 Modified: stable/9/sys/dev/usb/usbdevs stable/9/sys/dev/usb/wlan/if_run.c Directory Properties: stabl

svn commit: r257041 - stable/9/sys/dev/usb/controller

2013-10-23 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 24 06:22:43 2013 New Revision: 257041 URL: http://svnweb.freebsd.org/changeset/base/257041 Log: MFC r252912, r254828 and r256548: Add host mode support to the Mentor Graphics USB OTG controller driver. PR: usb/181987 Modified: stable/9/sys/dev/u

svn commit: r257040 - in stable/9/sys: dev/usb dev/usb/controller mips/cavium/usb

2013-10-23 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 24 06:06:17 2013 New Revision: 257040 URL: http://svnweb.freebsd.org/changeset/base/257040 Log: MFC r241082: Inherit USB mode from RootHUB port where the USB device is connected. Only RootHUB ports can be dual mode. Disallow OTG ports on external HUBs. This s

svn commit: r257039 - stable/10/lib/libc/iconv

2013-10-23 Thread Xin LI
Author: delphij Date: Thu Oct 24 05:01:49 2013 New Revision: 257039 URL: http://svnweb.freebsd.org/changeset/base/257039 Log: MFC r256833: Drop cm_lock before calling mapper_close, which in turn could call _citrus_mapper_close again and result in a deadlock otherwise. This is similar

svn commit: r257038 - head/usr.sbin/freebsd-update

2013-10-23 Thread Colin Percival
Author: cperciva Date: Thu Oct 24 03:36:39 2013 New Revision: 257038 URL: http://svnweb.freebsd.org/changeset/base/257038 Log: Be more selective when filtering for lib*.so.N files. These are deleted at the end of the upgrade process, after warning users to upgrade any 3rd party software (e.

svn commit: r257037 - in head/sys: kern modules/dtrace modules/dtrace/dtio modules/dtrace/dtraceall

2013-10-23 Thread Mark Johnston
Author: markj Date: Thu Oct 24 02:39:07 2013 New Revision: 257037 URL: http://svnweb.freebsd.org/changeset/base/257037 Log: Redefine the io provider using the SDT(9) macros instead of doing everything manually. This change has no functional impact. Discussed with: gnn Deleted: he

svn commit: r257036 - head/sbin/mdconfig

2013-10-23 Thread Hiroki Sato
Author: hrs Date: Thu Oct 24 01:06:44 2013 New Revision: 257036 URL: http://svnweb.freebsd.org/changeset/base/257036 Log: Return 0 if: 1. "-u N" specified, no -f, and mdN found, 2. no -u, "-f /pathname" specified, and mdN associated with /pathname found, 3. "-u N" specified, "-f /

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

2013-10-23 Thread Adrian Chadd
Author: adrian Date: Thu Oct 24 01:03:42 2013 New Revision: 257035 URL: http://svnweb.freebsd.org/changeset/base/257035 Log: Break out the debug code into a new include file in preparation for some more iwn work. Added: head/sys/dev/iwn/if_iwn_debug.h (contents, props changed) Modified:

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

2013-10-23 Thread Adrian Chadd
Author: adrian Date: Thu Oct 24 01:02:54 2013 New Revision: 257034 URL: http://svnweb.freebsd.org/changeset/base/257034 Log: Add #ifdef wrapper around definitions so they aren't included multiple times. Modified: head/sys/dev/iwn/if_iwnreg.h Modified: head/sys/dev/iwn/if_iwnreg.h =

svn commit: r257029 - in head: sbin/fsck_ffs sbin/growfs sys/fs/ext2fs sys/ufs/ffs sys/ufs/ufs

2013-10-23 Thread Pedro F. Giffuni
Author: pfg Date: Thu Oct 24 00:33:29 2013 New Revision: 257029 URL: http://svnweb.freebsd.org/changeset/base/257029 Log: UFS2: make di_extsize unsigned. di_extsize is the EA size and as such it should be unsigned. Adjust related types for consistency. Reviewed by: mckusick (previou

svn commit: r257018 - in head/usr.sbin: bhyve bhyveload

2013-10-23 Thread Neel Natu
Author: neel Date: Wed Oct 23 21:42:53 2013 New Revision: 257018 URL: http://svnweb.freebsd.org/changeset/base/257018 Log: Tidy usage messages for bhyve and bhyveload. Submitted by: jhb Modified: head/usr.sbin/bhyve/bhyverun.c head/usr.sbin/bhyveload/bhyveload.c Modified: head/usr.sbi

svn commit: r257017 - head/sys/mips/include

2013-10-23 Thread Brooks Davis
Author: brooks Date: Wed Oct 23 21:35:39 2013 New Revision: 257017 URL: http://svnweb.freebsd.org/changeset/base/257017 Log: MFP4: Change 221534 by rwatson@rwatson_zenith_cl_cam_ac_uk on 2013/01/27 16:05:30 FreeBSD/mips stores page-table entries in a near-identical format

svn commit: r257016 - in head/sys: conf dev/ofw powerpc/powerpc

2013-10-23 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Oct 23 20:00:14 2013 New Revision: 257016 URL: http://svnweb.freebsd.org/changeset/base/257016 Log: Factor out MI portions of the PowerPC nexus device into /sys/dev/ofw. The sparc64 driver will be modified to use this shortly. Added: head/sys/dev/ofw/ofw_nexus.c

svn commit: r257015 - head/sys/arm/mv

2013-10-23 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Oct 23 19:56:13 2013 New Revision: 257015 URL: http://svnweb.freebsd.org/changeset/base/257015 Log: Typo while reviewing diffs. Sorry for the breakage! Modified: head/sys/arm/mv/gpio.c Modified: head/sys/arm/mv/gpio.c =

Re: svn commit: r256710 - head/tools/build/mk

2013-10-23 Thread Andrey Zonov
ed in 2007. I'll commit attached patch if no objections will be met. -- Andrey Zonov diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc index d77260c..7111d15 100644 --- a/ObsoleteFiles.inc +++ b/ObsoleteFiles.inc @@ -38,6 +38,8 @@ # xargs -n1 | sort | uniq -d; # done +# 20131023: remove

svn commit: r257007 - head/sys/dev/oce

2013-10-23 Thread Xin LI
Author: delphij Date: Wed Oct 23 18:58:38 2013 New Revision: 257007 URL: http://svnweb.freebsd.org/changeset/base/257007 Log: Update driver to version 10.0.664.0. Many thanks to Emulex for their continued support of FreeBSD. Submitted by: Venkata Duvvuru MFC after:3 day Modifie

svn commit: r257006 - head/sbin/geom/class/part

2013-10-23 Thread Alan Somers
Author: asomers Date: Wed Oct 23 18:58:11 2013 New Revision: 257006 URL: http://svnweb.freebsd.org/changeset/base/257006 Log: sbin/geom/class/part/geom_part.c Always validate the return of find_geomcfg(). It could be NULL, for example when the geom is withering. Approved by

svn commit: r257005 - head/usr.sbin/bhyve

2013-10-23 Thread Peter Grehan
Author: grehan Date: Wed Oct 23 18:54:58 2013 New Revision: 257005 URL: http://svnweb.freebsd.org/changeset/base/257005 Log: Export the block size capability to guests. - Use #defines for capability bits - Export the VTBLK_F_BLK_SIZE capability - Fix bug in calculating capacity: it is in

Re: svn commit: r256962 - head/sys/netinet

2013-10-23 Thread John Baldwin
On Wednesday, October 23, 2013 1:49:19 pm Gleb Smirnoff wrote: > On Wed, Oct 23, 2013 at 01:22:50PM +, John Baldwin wrote: > J> Author: jhb > J> Date: Wed Oct 23 13:22:50 2013 > J> New Revision: 256962 > J> URL: http://svnweb.freebsd.org/changeset/base/256962 > J> > J> Log: > J> Finish r2549

svn commit: r256999 - head/cddl/contrib/opensolaris/cmd/zfs

2013-10-23 Thread Steven Hartland
Author: smh Date: Wed Oct 23 18:22:27 2013 New Revision: 256999 URL: http://svnweb.freebsd.org/changeset/base/256999 Log: Added support for the 'zfs list -t snap' and 'zfs snap' aliases which are available under Oracle Solaris 11. This includes an update to the ZFS(8) man page to reflect

svn commit: r256998 - in stable/10: . lib/libyaml share/mk tools usr.sbin/pkg

2013-10-23 Thread Bryan Drewery
Author: bdrewery (ports committer) Date: Wed Oct 23 18:07:07 2013 New Revision: 256998 URL: http://svnweb.freebsd.org/changeset/base/256998 Log: MFC r256450: Rename libbsdyml to libyaml, make private, and bump SHLIB_MAJOR to 1.0 Approved by: bapt Approved by: re (glebius) De

svn commit: r256996 - stable/10/contrib/mtree

2013-10-23 Thread Brooks Davis
Author: brooks Date: Wed Oct 23 17:59:17 2013 New Revision: 256996 URL: http://svnweb.freebsd.org/changeset/base/256996 Log: MFC r256687: Upgrade to the latest version of mtree from NetBSD. This revision re-removes the printing of size for non-regular files, supports type-less root (.)

svn commit: r256995 - head/sys/cam/ctl

2013-10-23 Thread Alexander Motin
Author: mav Date: Wed Oct 23 17:55:35 2013 New Revision: 256995 URL: http://svnweb.freebsd.org/changeset/base/256995 Log: Remove 128KB bzero() call done for every block I/O data buffer. On my tests this improves performance of the new iSCSI target backed by GEOM STRIPE of SSDs from 75K to

Re: svn commit: r256962 - head/sys/netinet

2013-10-23 Thread Gleb Smirnoff
On Wed, Oct 23, 2013 at 01:22:50PM +, John Baldwin wrote: J> Author: jhb J> Date: Wed Oct 23 13:22:50 2013 J> New Revision: 256962 J> URL: http://svnweb.freebsd.org/changeset/base/256962 J> J> Log: J> Finish r254925 and remove the last remaining sysctl name list macro. The J> one port tha

svn commit: r256994 - in head/sys: dev/ofw powerpc/ofw powerpc/powerpc powerpc/pseries

2013-10-23 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Oct 23 17:24:21 2013 New Revision: 256994 URL: http://svnweb.freebsd.org/changeset/base/256994 Log: Add two new interfaces to ofw_bus: - ofw_bus_map_intr() Maps an (iparent, IRQ) tuple to a system-global interrupt number in some platform dependent way. This

svn commit: r256988 - stable/9/sys/cam

2013-10-23 Thread Alexander Motin
Author: mav Date: Wed Oct 23 17:08:50 2013 New Revision: 256988 URL: http://svnweb.freebsd.org/changeset/base/256988 Log: MFC r256188: Close the race on path ID allocation in xpt_bus_register() if two buses are registered simultaneously. Due to topology unlock between the ID allocation and

svn commit: r256982 - in stable/10: etc/defaults etc/rc.d etc/sendmail share/man/man8

2013-10-23 Thread John-Mark Gurney
Author: jmg Date: Wed Oct 23 16:55:20 2013 New Revision: 256982 URL: http://svnweb.freebsd.org/changeset/base/256982 Log: MFC r256773: Enable the automatic creation of a certificate (if one does not exists) and enable the usage by sendmail if sendmail is enabled. Reviewed by:gshapir

svn commit: r256978 - head/usr.sbin/pkg

2013-10-23 Thread Baptiste Daroussin
Author: bapt Date: Wed Oct 23 15:29:42 2013 New Revision: 256978 URL: http://svnweb.freebsd.org/changeset/base/256978 Log: Fix build with gcc MFC after:3 days Modified: head/usr.sbin/pkg/dns_utils.c Modified: head/usr.sbin/pkg/dns_utils.c

svn commit: r256977 - head/sys/mips/conf

2013-10-23 Thread Brooks Davis
Author: brooks Date: Wed Oct 23 15:24:05 2013 New Revision: 256977 URL: http://svnweb.freebsd.org/changeset/base/256977 Log: BERI_SIM.hint is no longer used, remove it. MFC after:3 days Sponsored by: DARPA/AFRL Deleted: head/sys/mips/conf/BERI_SIM.hints

svn commit: r256975 - head/sys/cam

2013-10-23 Thread Alexander Motin
Author: mav Date: Wed Oct 23 14:58:09 2013 New Revision: 256975 URL: http://svnweb.freebsd.org/changeset/base/256975 Log: Minor (mostly cosmetical) addition to r256960. Modified: head/sys/cam/cam_xpt.c Modified: head/sys/cam/cam_xpt.c =

svn commit: r256974 - head/sys/powerpc/booke

2013-10-23 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Oct 23 14:34:04 2013 New Revision: 256974 URL: http://svnweb.freebsd.org/changeset/base/256974 Log: A quick addendum: the standard says that timebase-frequency can be either 32 or 64 bits, so allow either. Modified: head/sys/powerpc/booke/platform_bare.c Modifi

svn commit: r256972 - head/sys/sys

2013-10-23 Thread Brooks Davis
Author: brooks Date: Wed Oct 23 14:28:42 2013 New Revision: 256972 URL: http://svnweb.freebsd.org/changeset/base/256972 Log: Revert addition of sbintime and getsbintime that crept into r256963. Pointyhat:brooks Modified: head/sys/sys/time.h Modified: head/sys/sys/time.h

svn commit: r256973 - head/sys/powerpc/booke

2013-10-23 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Oct 23 14:28:59 2013 New Revision: 256973 URL: http://svnweb.freebsd.org/changeset/base/256973 Log: If the device tree directly contains the timebase frequency, use it. This property is required by ePAPR, but maintain the fallback to bus-frequency for compatibili

svn commit: r256971 - head/usr.sbin/pkg

2013-10-23 Thread Baptiste Daroussin
Author: bapt Date: Wed Oct 23 14:23:48 2013 New Revision: 256971 URL: http://svnweb.freebsd.org/changeset/base/256971 Log: Allow to bootstrap by doing pkg add ./a/path/to/a/pkg_package.txz Requested by: many MFC after:3 days Modified: head/usr.sbin/pkg/pkg.c Modified: head/usr.sbi

svn commit: r256967 - in head/sys: arm/mv dev/fdt dev/ofw

2013-10-23 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Oct 23 14:04:09 2013 New Revision: 256967 URL: http://svnweb.freebsd.org/changeset/base/256967 Log: Remove OF_instance_to_package() hack for FDT and replace with use of the generic OF_xref_phandle() API universally. Also replace some related explicit uses of fdt3

svn commit: r256966 - head/sys/dev/ofw

2013-10-23 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Oct 23 13:55:41 2013 New Revision: 256966 URL: http://svnweb.freebsd.org/changeset/base/256966 Log: Make all Open Firmware internal interfaces endian-safe by using the new OF_getencprop() API. This removes one explicit endianness conversion in ofw_iicbus.c. Modi

svn commit: r256968 - head/usr.sbin/pkg

2013-10-23 Thread Baptiste Daroussin
Author: bapt Date: Wed Oct 23 14:06:07 2013 New Revision: 256968 URL: http://svnweb.freebsd.org/changeset/base/256968 Log: Improve SRV records support for the pkg(8) bootstrap: - order srv records by priorities - for all entries of the same priority, order randomly respect the weight - sel

svn commit: r256969 - head/sys/powerpc/powerpc

2013-10-23 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Oct 23 14:06:41 2013 New Revision: 256969 URL: http://svnweb.freebsd.org/changeset/base/256969 Log: Use OF_getencprop() in preference to OF_getprop() for numerical quantities. Since all supported PowerPC systems are big-endian, this is a no-op, but this is prepar

svn commit: r256963 - in head/sys: mips/include sys

2013-10-23 Thread Brooks Davis
Author: brooks Date: Wed Oct 23 13:32:52 2013 New Revision: 256963 URL: http://svnweb.freebsd.org/changeset/base/256963 Log: Revert r256934, it needs work to build on mips32. Modified: head/sys/mips/include/pte.h head/sys/sys/time.h Modified: head/sys/mips/include/pte.h ===

svn commit: r256962 - head/sys/netinet

2013-10-23 Thread John Baldwin
Author: jhb Date: Wed Oct 23 13:22:50 2013 New Revision: 256962 URL: http://svnweb.freebsd.org/changeset/base/256962 Log: Finish r254925 and remove the last remaining sysctl name list macro. The one port that used it has been fixed to use the more portable getprotoent(3) instead. Modified:

svn commit: r256961 - head/sys/conf

2013-10-23 Thread Luiz Otavio O Souza
Author: loos Date: Wed Oct 23 13:09:57 2013 New Revision: 256961 URL: http://svnweb.freebsd.org/changeset/base/256961 Log: Enable the build of OFW I2C bus for FDT systems. Approved by: adrian (mentor) Modified: head/sys/conf/files Modified: head/sys/conf/files =

svn commit: r256960 - head/sys/cam

2013-10-23 Thread Alexander Motin
Author: mav Date: Wed Oct 23 12:53:05 2013 New Revision: 256960 URL: http://svnweb.freebsd.org/changeset/base/256960 Log: Move CAM_UNQUEUED_INDEX setting to the last moment and under the periph lock. This fixes race condition with cam_periph_ccbwait(), causing use-after-free. Modified: head

svn commit: r256959 - in head/sys: arm/broadcom/bcm2835 arm/conf boot/fdt/dts

2013-10-23 Thread Luiz Otavio O Souza
Author: loos Date: Wed Oct 23 12:29:39 2013 New Revision: 256959 URL: http://svnweb.freebsd.org/changeset/base/256959 Log: Add the Raspberry Pi BSC (I2C compliant) controller driver. Reviewed by: rpaulo Approved by: adrian (mentor) Added: head/sys/arm/broadcom/bcm2835/bcm2835_bsc.c

svn commit: r256956 - in head/sys: cam/ata cam/scsi cddl/contrib/opensolaris/uts/common/fs/zfs cddl/contrib/opensolaris/uts/common/fs/zfs/sys geom sys

2013-10-23 Thread Steven Hartland
Author: smh Date: Wed Oct 23 09:54:58 2013 New Revision: 256956 URL: http://svnweb.freebsd.org/changeset/base/256956 Log: Improve ZFS N-way mirror read performance by using load and locality information. The existing algorithm selects a preferred leaf vdev based on offset of the zio re

svn commit: r256955 - head/sys/dev/usb/wlan

2013-10-23 Thread Kevin Lo
Author: kevlo Date: Wed Oct 23 09:53:37 2013 New Revision: 256955 URL: http://svnweb.freebsd.org/changeset/base/256955 Log: Fix the RT2860_TX_SW_CFG2 init value on older revisions of RT3070 chip. Modified: head/sys/dev/usb/wlan/if_run.c Modified: head/sys/dev/usb/wlan/if_run.c ==