svn commit: r250229 - head/sys/dev/ath

2013-05-03 Thread Adrian Chadd
Author: adrian Date: Sat May 4 04:03:50 2013 New Revision: 250229 URL: http://svnweb.freebsd.org/changeset/base/250229 Log: The holding buffer logic needs to be used for _all_ transmission, not just "when the queue is busy." After talking with the MAC team, it turns out that the linked l

svn commit: r250228 - stable/9/sys/netinet

2013-05-03 Thread Colin Percival
Author: cperciva Date: Sat May 4 00:31:41 2013 New Revision: 250228 URL: http://svnweb.freebsd.org/changeset/base/250228 Log: MFC r25: Move IPPROTO_IPV6 from #ifdef __BSD_VISIBLE to #if __POSIX_VISIBLE >= 201112 since POSIX 2001 states that it shall be defined. Modified: stable/9

svn commit: r250227 - in head: contrib/binutils/binutils contrib/binutils/ld lib/libc/net lib/libipsec sbin/devd usr.bin/ar usr.bin/csup usr.bin/xlint/lint1 usr.sbin/apmd usr.sbin/config usr.sbin/j...

2013-05-03 Thread Jung-uk Kim
Author: jkim Date: Fri May 3 23:51:32 2013 New Revision: 250227 URL: http://svnweb.freebsd.org/changeset/base/250227 Log: Improve compatibility with recent flex from flex.sourceforge.net. Modified: head/contrib/binutils/binutils/arlex.l head/contrib/binutils/ld/ldlex.l head/lib/libc/net/

svn commit: r250226 - in head/usr.bin/m4: . TEST

2013-05-03 Thread Jung-uk Kim
Author: jkim Date: Fri May 3 23:29:38 2013 New Revision: 250226 URL: http://svnweb.freebsd.org/changeset/base/250226 Log: Reduce diff with upstream. Modified: head/usr.bin/m4/TEST/ack.m4 head/usr.bin/m4/TEST/hanoi.m4 head/usr.bin/m4/TEST/hash.m4 head/usr.bin/m4/TEST/sqroot.m4 head/us

svn commit: r250225 - vendor/libz/1.2.8

2013-05-03 Thread Xin LI
Author: delphij Date: Fri May 3 22:33:41 2013 New Revision: 250225 URL: http://svnweb.freebsd.org/changeset/base/250225 Log: Tag zlib 1.2.8. Added: vendor/libz/1.2.8/ - copied from r250224, vendor/libz/dist/ ___ svn-src-all@freebsd.org mailing

svn commit: r250224 - in vendor/libz/dist: . contrib test

2013-05-03 Thread Xin LI
Author: delphij Date: Fri May 3 22:32:49 2013 New Revision: 250224 URL: http://svnweb.freebsd.org/changeset/base/250224 Log: Vendor import of zlib 1.2.8. Modified: vendor/libz/dist/ChangeLog vendor/libz/dist/README vendor/libz/dist/compress.c vendor/libz/dist/contrib/README.contrib v

kern/174707: [PATCH] ng_ubt: Add vendor IDs for Broadcom USB dongles (BCM20702)

2013-05-03 Thread Darren
I've been trying to follow the instructions at http://www.freebsd.org/doc/en/books/...bluetooth.html however I am just not getting the same results. BCM20702A0 is supported as I found it mentioned in the ng_ubt.c driver. /* Broadcom USB dongles, mostly BCM20702 and BCM20702A0 */ { USB_VEND

Re: svn commit: r250223 - in head: lib/libprocstat sys/kern sys/sys usr.bin/fstat

2013-05-03 Thread John Baldwin
On Friday, May 03, 2013 5:11:57 pm John Baldwin wrote: > Author: jhb > Date: Fri May 3 21:11:57 2013 > New Revision: 250223 > URL: http://svnweb.freebsd.org/changeset/base/250223 > > Log: > Similar to 233760 and 236717, export some more useful info about the > kernel-based POSIX semaphore des

svn commit: r250223 - in head: lib/libprocstat sys/kern sys/sys usr.bin/fstat

2013-05-03 Thread John Baldwin
Author: jhb Date: Fri May 3 21:11:57 2013 New Revision: 250223 URL: http://svnweb.freebsd.org/changeset/base/250223 Log: Similar to 233760 and 236717, export some more useful info about the kernel-based POSIX semaphore descriptors to userland via procstat(1) and fstat(1): - Change sem fil

Re: svn commit: r250193 - head/sys/fs/msdosfs

2013-05-03 Thread John Baldwin
On Friday, May 03, 2013 4:35:41 pm Konstantin Belousov wrote: > On Fri, May 03, 2013 at 11:55:47AM -0400, John Baldwin wrote: > > On Thursday, May 02, 2013 4:00:11 pm Konstantin Belousov wrote: > > > Author: kib > > > Date: Thu May 2 20:00:11 2013 > > > New Revision: 250193 > > > URL: http://svnwe

Re: svn commit: r250219 - head/sys/vm

2013-05-03 Thread John Baldwin
On Friday, May 03, 2013 2:58:38 pm John Baldwin wrote: > Author: jhb > Date: Fri May 3 18:58:37 2013 > New Revision: 250219 > URL: http://svnweb.freebsd.org/changeset/base/250219 > > Log: > Fix two bugs in the current NUMA-aware allocation code: > - vm_phys_alloc_freelist_pages() can be calle

Re: svn commit: r250215 - stable/9/lib/libc/locale

2013-05-03 Thread Sergey Kandaurov
On 3 May 2013 23:55, Jilles Tjoelker wrote: > On Fri, May 03, 2013 at 09:49:05PM +0400, Sergey Kandaurov wrote: >> On 3 May 2013 20:40, Andrey Chernov wrote: >> > I don't think this change is optimal (cause slowdown) since you add >> > unneeded strlen() in the loop for known-sized elements plus o

svn commit: r250222 - head/tools/regression/bin/sh/builtins

2013-05-03 Thread Jilles Tjoelker
Author: jilles Date: Fri May 3 20:39:53 2013 New Revision: 250222 URL: http://svnweb.freebsd.org/changeset/base/250222 Log: sh: Remove racy test case for read builtin. This test case sometimes fails because of an EINTR-related race condition. Fixing this race condition likely requires an

Re: svn commit: r250193 - head/sys/fs/msdosfs

2013-05-03 Thread Konstantin Belousov
On Fri, May 03, 2013 at 11:55:47AM -0400, John Baldwin wrote: > On Thursday, May 02, 2013 4:00:11 pm Konstantin Belousov wrote: > > Author: kib > > Date: Thu May 2 20:00:11 2013 > > New Revision: 250193 > > URL: http://svnweb.freebsd.org/changeset/base/250193 > > > > Log: > > The fsync(2) call

svn commit: r250221 - head/sys/dev/cxgbe

2013-05-03 Thread Navdeep Parhar
Author: np Date: Fri May 3 20:09:17 2013 New Revision: 250221 URL: http://svnweb.freebsd.org/changeset/base/250221 Log: cxgbe: Switch to a better way to install firmware. MFC after:1 week Modified: head/sys/dev/cxgbe/t4_main.c Modified: head/sys/dev/cxgbe/t4_main.c

Re: svn commit: r250215 - stable/9/lib/libc/locale

2013-05-03 Thread Jilles Tjoelker
On Fri, May 03, 2013 at 09:49:05PM +0400, Sergey Kandaurov wrote: > On 3 May 2013 20:40, Andrey Chernov wrote: > > I don't think this change is optimal (cause slowdown) since you add > > unneeded strlen() in the loop for known-sized elements plus one strlen() > > for tested property, and wctype_l(

svn commit: r250220 - head/sys/kern

2013-05-03 Thread John Baldwin
Author: jhb Date: Fri May 3 19:08:58 2013 New Revision: 250220 URL: http://svnweb.freebsd.org/changeset/base/250220 Log: Fix FIONREAD on regular files. The computed result was being ignored and it was being passed down to VOP_IOCTL() where it promptly resulted in ENOTTY due to a missing el

svn commit: r250219 - head/sys/vm

2013-05-03 Thread John Baldwin
Author: jhb Date: Fri May 3 18:58:37 2013 New Revision: 250219 URL: http://svnweb.freebsd.org/changeset/base/250219 Log: Fix two bugs in the current NUMA-aware allocation code: - vm_phys_alloc_freelist_pages() can be called by vm_page_alloc_freelist() to allocate a page from a specific fr

Re: svn commit: r249774 - head/sys/boot/fdt/dts

2013-05-03 Thread Oleksandr Tymoshenko
On 4/29/2013 9:31 PM, Tim Kientzle wrote: On Apr 22, 2013, at 11:53 AM, Oleksandr Tymoshenko wrote: Author: gonzo Date: Mon Apr 22 18:53:36 2013 New Revision: 249774 URL: http://svnweb.freebsd.org/changeset/base/249774 Log: Split BeagleBone DTS to generic AM335x part and Beagle-bone specific

svn commit: r250218 - head/sys/dev/cxgbe/tom

2013-05-03 Thread Navdeep Parhar
Author: np Date: Fri May 3 18:37:50 2013 New Revision: 250218 URL: http://svnweb.freebsd.org/changeset/base/250218 Log: cxgbe/tom: Do not use M_PROTO1 to mark rx zero-copy mbufs as special. All the M_PROTOn flags are clobbered when an mbuf is appended to the socket buffer. MFC after:

Re: svn commit: r250215 - stable/9/lib/libc/locale

2013-05-03 Thread Sergey Kandaurov
On 3 May 2013 20:40, Andrey Chernov wrote: > I don't think this change is optimal (cause slowdown) since you add > unneeded strlen() in the loop for known-sized elements plus one strlen() > for tested property, and wctype_l() itself can be called very often, so > we definitely don't need slowdown

Re: svn commit: r250193 - head/sys/fs/msdosfs

2013-05-03 Thread John Baldwin
On Thursday, May 02, 2013 4:00:11 pm Konstantin Belousov wrote: > Author: kib > Date: Thu May 2 20:00:11 2013 > New Revision: 250193 > URL: http://svnweb.freebsd.org/changeset/base/250193 > > Log: > The fsync(2) call should sync the vnode in such way that even after > system crash which happe

Re: svn commit: r250215 - stable/9/lib/libc/locale

2013-05-03 Thread Andrey Chernov
I don't think this change is optimal (cause slowdown) since you add unneeded strlen() in the loop for known-sized elements plus one strlen() for tested property, and wctype_l() itself can be called very often, so we definitely don't need slowdown here. Since most of elements have equal sizes, your

svn commit: r250217 - head/lib/clang/include/llvm/Config

2013-05-03 Thread Dimitry Andric
Author: dim Date: Fri May 3 16:29:51 2013 New Revision: 250217 URL: http://svnweb.freebsd.org/changeset/base/250217 Log: Allow building clang on older FreeBSD releases, where log2() does not exist yet. With this change, I have verified that building head on 8.1-RELEASE works. Noticed

svn commit: r250216 - stable/9/lib/libc/locale

2013-05-03 Thread Sergey Kandaurov
Author: pluknet Date: Fri May 3 15:54:13 2013 New Revision: 250216 URL: http://svnweb.freebsd.org/changeset/base/250216 Log: MFC r244091: Improve style(9) compliance of function declarations. Modified: stable/9/lib/libc/locale/setrunelocale.c Directory Properties: stable/9/lib/libc/

svn commit: r250215 - stable/9/lib/libc/locale

2013-05-03 Thread Sergey Kandaurov
Author: pluknet Date: Fri May 3 15:52:43 2013 New Revision: 250215 URL: http://svnweb.freebsd.org/changeset/base/250215 Log: MFC r228269,228921: - libc: Eliminate 13 relative relocations in wctype(). - libc: Eliminate some relative relocations in setlocale(). Modified: stable/9/lib/li

svn commit: r250214 - in head: bin/sh tools/regression/bin/sh/builtins

2013-05-03 Thread Jilles Tjoelker
Author: jilles Date: Fri May 3 15:28:31 2013 New Revision: 250214 URL: http://svnweb.freebsd.org/changeset/base/250214 Log: sh: Improve error handling in read builtin: * If read -t times out, return status as if interrupted by SIGALRM (formerly 1). * If a trapped signal interrupts re

svn commit: r250213 - stable/9/lib/libc/locale

2013-05-03 Thread Sergey Kandaurov
Author: pluknet Date: Fri May 3 14:59:32 2013 New Revision: 250213 URL: http://svnweb.freebsd.org/changeset/base/250213 Log: MFC r233473,233512,233518,233992,233994,238808,238920,250209-250211. libc/locale: sync mdoc changes with head. r233473: mdoc: document title should be all

svn commit: r250212 - head/sys/dev/usb

2013-05-03 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 3 13:33:36 2013 New Revision: 250212 URL: http://svnweb.freebsd.org/changeset/base/250212 Log: Fix compile warning. Modified: head/sys/dev/usb/usb_device.c Modified: head/sys/dev/usb/usb_device.c

svn commit: r250211 - head/lib/libc/locale

2013-05-03 Thread Sergey Kandaurov
Author: pluknet Date: Fri May 3 13:27:13 2013 New Revision: 250211 URL: http://svnweb.freebsd.org/changeset/base/250211 Log: Also, add a missing period. Modified: head/lib/libc/locale/duplocale.3 head/lib/libc/locale/newlocale.3 head/lib/libc/locale/uselocale.3 Modified: head/lib/libc/l

svn commit: r250210 - head/lib/libc/locale

2013-05-03 Thread Sergey Kandaurov
Author: pluknet Date: Fri May 3 12:45:45 2013 New Revision: 250210 URL: http://svnweb.freebsd.org/changeset/base/250210 Log: Remove an extra comma. Modified: head/lib/libc/locale/duplocale.3 head/lib/libc/locale/freelocale.3 head/lib/libc/locale/newlocale.3 Modified: head/lib/libc/local

svn commit: r250209 - head/lib/libc/locale

2013-05-03 Thread Sergey Kandaurov
Author: pluknet Date: Fri May 3 12:42:43 2013 New Revision: 250209 URL: http://svnweb.freebsd.org/changeset/base/250209 Log: Remove the STANDARDS section. querylocale is not part of IEEE Std 1003.1-2008. MFC after:3 days Modified: head/lib/libc/locale/querylocale.3 Modified: head

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

2013-05-03 Thread Alexander Motin
Author: mav Date: Fri May 3 11:53:06 2013 New Revision: 250208 URL: http://svnweb.freebsd.org/changeset/base/250208 Log: Tune support for removable media in da driver: - remove DA_FLAG_SAW_MEDIA flag, almost opposite to DA_FLAG_PACK_INVALID, using the last instead. - allow opening devic

svn commit: r250207 - in head/sys/dev/usb: . template

2013-05-03 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 3 11:10:04 2013 New Revision: 250207 URL: http://svnweb.freebsd.org/changeset/base/250207 Log: - Add more defines to limit USB memory usage and number of allocations in reduced memory systems. - Split allocation and freeing of the configuration descriptor i

svn commit: r250206 - head/sys/dev/mps

2013-05-03 Thread Steven Hartland
Author: smh Date: Fri May 3 10:37:59 2013 New Revision: 250206 URL: http://svnweb.freebsd.org/changeset/base/250206 Log: Fix uninitialized warning in mps Reviewed by: pjd (mentor) Approved by: pjd (mentor) MFC after:2 weeks Modified: head/sys/dev/mps/mps_mapping.c Modified: h

svn commit: r250205 - head/sys/dev/usb

2013-05-03 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 3 10:13:29 2013 New Revision: 250205 URL: http://svnweb.freebsd.org/changeset/base/250205 Log: Always put space before the comma before ##__VA_ARGS__ due to subtle compiler differences. Modified: head/sys/dev/usb/usb_debug.h Modified: head/sys/dev/usb/usb_de

svn commit: r250204 - head/sys/dev/usb

2013-05-03 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 3 09:23:06 2013 New Revision: 250204 URL: http://svnweb.freebsd.org/changeset/base/250204 Log: Add some defines to limit USB memory usage in reduced memory systems. Modified: head/sys/dev/usb/usb_device.c head/sys/dev/usb/usb_device.h head/sys/dev/usb/usb_f

svn commit: r250203 - head/lib/libpmc

2013-05-03 Thread Ulrich Spoerlein
Author: uqs Date: Fri May 3 08:20:10 2013 New Revision: 250203 URL: http://svnweb.freebsd.org/changeset/base/250203 Log: Always install pmc.foo(3) manpages. There is no point in hiding, e.g. pmc.xscale(3) from a developer running on amd64, when the target arch in question will probably n

svn commit: r250202 - in head/sys: conf dev/usb

2013-05-03 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 3 08:19:09 2013 New Revision: 250202 URL: http://svnweb.freebsd.org/changeset/base/250202 Log: Allow the default USB template to be specified at compile time. Modified: head/sys/conf/options head/sys/dev/usb/usb_device.c Modified: head/sys/conf/options =

svn commit: r250201 - in head: lib/libusb sys/dev/usb

2013-05-03 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 3 07:44:58 2013 New Revision: 250201 URL: http://svnweb.freebsd.org/changeset/base/250201 Log: Add new USB API to get the port path of a USB device. MFC after:2 weeks Requested by: emaste @ Modified: head/lib/libusb/Makefile head/lib/libusb/libusb2