Re: svn commit: r250379 - in head/usr.sbin/bsnmpd/modules: . snmp_hast

2013-05-09 Thread Mikolaj Golub
On Wed, May 08, 2013 at 04:44:54PM -0700, Peter Wemm wrote: On Wed, May 8, 2013 at 4:25 PM, Peter Wemm pe...@wemm.org wrote: On Wed, May 8, 2013 at 1:03 PM, Mikolaj Golub troc...@freebsd.org wrote: Author: trociny Date: Wed May 8 20:03:37 2013 New Revision: 250379 URL:

Re: svn commit: r250379 - in head/usr.sbin/bsnmpd/modules: . snmp_hast

2013-05-09 Thread Konstantin Belousov
On Thu, May 09, 2013 at 10:14:14AM +0300, Mikolaj Golub wrote: On Wed, May 08, 2013 at 04:44:54PM -0700, Peter Wemm wrote: On Wed, May 8, 2013 at 4:25 PM, Peter Wemm pe...@wemm.org wrote: On Wed, May 8, 2013 at 1:03 PM, Mikolaj Golub troc...@freebsd.org wrote: Author: trociny Date: Wed

Re: svn commit: r250379 - in head/usr.sbin/bsnmpd/modules: . snmp_hast

2013-05-09 Thread Mikolaj Golub
On Thu, May 09, 2013 at 11:22:43AM +0300, Konstantin Belousov wrote: On Thu, May 09, 2013 at 10:14:14AM +0300, Mikolaj Golub wrote: On Wed, May 08, 2013 at 04:44:54PM -0700, Peter Wemm wrote: On Wed, May 8, 2013 at 4:25 PM, Peter Wemm pe...@wemm.org wrote: On Wed, May 8, 2013 at 1:03 PM,

svn commit: r250405 - head/usr.sbin/bsnmpd/modules/snmp_hast

2013-05-09 Thread Mikolaj Golub
Author: trociny Date: Thu May 9 11:10:46 2013 New Revision: 250405 URL: http://svnweb.freebsd.org/changeset/base/250405 Log: Move snmp_hast manual to section 3, where all other manual pages for bsnmp modules are located. Section 3 (Library Functions) looks wrong for this manual page,

svn commit: r250406 - head/lib/libc/gen

2013-05-09 Thread Jilles Tjoelker
Author: jilles Date: Thu May 9 11:43:45 2013 New Revision: 250406 URL: http://svnweb.freebsd.org/changeset/base/250406 Log: wordexp(): Simplify code by deferring work to sh. Modified: head/lib/libc/gen/wordexp.c Modified: head/lib/libc/gen/wordexp.c

Re: svn commit: r250379 - in head/usr.sbin/bsnmpd/modules: . snmp_hast

2013-05-09 Thread Konstantin Belousov
On Thu, May 09, 2013 at 01:05:35PM +0300, Mikolaj Golub wrote: Yes, it is like so. Thanks! I am now considering two possible solutions: 1) As it is suggested above, add trivial yywrap() and link without -ll. 2) Add '%option noyywrap' to hastd/token.l, and link hastd, hastctl and snmp_hast

svn commit: r250407 - in head/usr.sbin/makefs: . compat

2013-05-09 Thread Brooks Davis
Author: brooks Date: Thu May 9 14:43:36 2013 New Revision: 250407 URL: http://svnweb.freebsd.org/changeset/base/250407 Log: Remove duplicated copies of various NetBSD compatibility shims used by makefs and use libnetbsd, contrib/mtree, and contrib/mknod instead. Sponsored by: DARPA,

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

2013-05-09 Thread Adrian Chadd
Author: adrian Date: Thu May 9 15:57:55 2013 New Revision: 250408 URL: http://svnweb.freebsd.org/changeset/base/250408 Log: Update the holding buffer locking for EDMA. Modified: head/sys/dev/ath/if_ath_tx_edma.c Modified: head/sys/dev/ath/if_ath_tx_edma.c

svn commit: r250409 - head/sys/kern

2013-05-09 Thread Konstantin Belousov
Author: kib Date: Thu May 9 16:05:51 2013 New Revision: 250409 URL: http://svnweb.freebsd.org/changeset/base/250409 Log: Item 1 in r248830 causes earlier exits from the sendfile(2), before all requested data was sent. The reason is that xfsize = 0 condition must not be tested at all if

svn commit: r250410 - head/usr.sbin/bsdconfig/share/packages

2013-05-09 Thread Devin Teske
Author: dteske Date: Thu May 9 16:09:39 2013 New Revision: 250410 URL: http://svnweb.freebsd.org/changeset/base/250410 Log: Fix a bug that would cause the category menu to display the wrong value for number of packages available in the All category. Problem caused by re-using a variable

svn commit: r250411 - in head/sys: conf kern sys

2013-05-09 Thread Marcel Moolenaar
Author: marcel Date: Thu May 9 16:28:18 2013 New Revision: 250411 URL: http://svnweb.freebsd.org/changeset/base/250411 Log: Add option WITNESS_NO_VNODE to suppress printing LORs between VNODE locks. To support this, VNODE locks are created with the LK_IS_VNODE flag. This flag is propagated

svn commit: r250412 - head/lib/libc/gen

2013-05-09 Thread Jilles Tjoelker
Author: jilles Date: Thu May 9 16:42:01 2013 New Revision: 250412 URL: http://svnweb.freebsd.org/changeset/base/250412 Log: posix_spawn_file_actions_addopen(3): Correct error for bad file descriptor. As per POSIX.1-2008, posix_spawn_file_actions_add* return [EBADF] if a file descriptor

Re: svn commit: r250411 - in head/sys: conf kern sys

2013-05-09 Thread Attilio Rao
On Thu, May 9, 2013 at 6:28 PM, Marcel Moolenaar mar...@freebsd.org wrote: Author: marcel Date: Thu May 9 16:28:18 2013 New Revision: 250411 URL: http://svnweb.freebsd.org/changeset/base/250411 Log: Add option WITNESS_NO_VNODE to suppress printing LORs between VNODE locks. To support

svn commit: r250413 - head/sys/dev/e1000

2013-05-09 Thread Luigi Rizzo
Author: luigi Date: Thu May 9 16:57:02 2013 New Revision: 250413 URL: http://svnweb.freebsd.org/changeset/base/250413 Log: simplify the code to initialize the RDT while in netmap mode. Modified: head/sys/dev/e1000/if_em.c head/sys/dev/e1000/if_lem.c Modified: head/sys/dev/e1000/if_em.c

svn commit: r250414 - head/sys/dev/e1000

2013-05-09 Thread Luigi Rizzo
Author: luigi Date: Thu May 9 17:07:30 2013 New Revision: 250414 URL: http://svnweb.freebsd.org/changeset/base/250414 Log: if_lem.c: make sure that lem_rxeof() can drain the entire rx queue irrespective of the setting of lem_rx_process_limit, while giving a chance to the

svn commit: r250415 - head/sys/amd64/amd64

2013-05-09 Thread Konstantin Belousov
Author: kib Date: Thu May 9 17:25:29 2013 New Revision: 250415 URL: http://svnweb.freebsd.org/changeset/base/250415 Log: Correct the type for the literal used on the left side of the shift up to 63 bit positions. Do not fill the save area and do not set the saved bit in the xstate bit

svn commit: r250418 - head/sys/dev/pci

2013-05-09 Thread John Baldwin
Author: jhb Date: Thu May 9 19:24:50 2013 New Revision: 250418 URL: http://svnweb.freebsd.org/changeset/base/250418 Log: Revision 233677 broke certain machines. Specifically, if the firmware/BIOS assigned conflicting ranges to BARs then leaving the BARs alone could result in one device

Re: svn commit: r250407 - in head/usr.sbin/makefs: . compat

2013-05-09 Thread Garrett Cooper
On Thu, May 9, 2013 at 7:43 AM, Brooks Davis bro...@freebsd.org wrote: Author: brooks Date: Thu May 9 14:43:36 2013 New Revision: 250407 URL: http://svnweb.freebsd.org/changeset/base/250407 Log: Remove duplicated copies of various NetBSD compatibility shims used by makefs and use

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

2013-05-09 Thread Adrian Chadd
Author: adrian Date: Thu May 9 19:37:00 2013 New Revision: 250419 URL: http://svnweb.freebsd.org/changeset/base/250419 Log: Add some missing arge MDIO hints. Submitted by: Luiz Otavio O Souza loos...@gmail.com Modified: head/sys/mips/conf/ROUTERSTATION.hints Modified:

Fwd: svn commit: r250385 - head/sys/mips/conf

2013-05-09 Thread Petko Bordjukov
FYI -- Forwarded message -- From: Luiz Otavio O Souza loos...@gmail.com Date: Thu, May 9, 2013 at 10:24 PM Subject: Re: svn commit: r250385 - head/sys/mips/conf To: Petko Bordjukov bordju...@gmail.com Petko, Thanks! Well, there isn't too much to do or test with this driver,

svn commit: r250420 - head/sys/mips/mips

2013-05-09 Thread Bjoern A. Zeeb
Author: bz Date: Thu May 9 20:13:43 2013 New Revision: 250420 URL: http://svnweb.freebsd.org/changeset/base/250420 Log: MFp4 CH=227440: Convert the structures to C99 style initialisation, which makes it a lot easier to check that all of them are set and to generate a derived

Re: svn commit: r250411 - in head/sys: conf kern sys

2013-05-09 Thread Marcel Moolenaar
On May 9, 2013, at 9:46 AM, Attilio Rao atti...@freebsd.org wrote: On Thu, May 9, 2013 at 6:28 PM, Marcel Moolenaar mar...@freebsd.org wrote: Author: marcel Date: Thu May 9 16:28:18 2013 New Revision: 250411 URL: http://svnweb.freebsd.org/changeset/base/250411 Log: Add option

svn commit: r250421 - head/lib/libc/gen

2013-05-09 Thread Jilles Tjoelker
Author: jilles Date: Thu May 9 21:29:13 2013 New Revision: 250421 URL: http://svnweb.freebsd.org/changeset/base/250421 Log: posix_spawn_file_actions_adddup2(3): Document difference with dup2(). The ability to clear a file descriptor's close-on-exec flag via

svn commit: r250422 - head/bin/sh

2013-05-09 Thread Eitan Adler
Author: eadler Date: Thu May 9 21:29:16 2013 New Revision: 250422 URL: http://svnweb.freebsd.org/changeset/base/250422 Log: Fix two typos Reviewed by: jilles Modified: head/bin/sh/var.c Modified: head/bin/sh/var.c

svn commit: r250423 - in head/sys/amd64: amd64 ia32 include linux32

2013-05-09 Thread Dmitry Chagin
Author: dchagin Date: Thu May 9 21:42:43 2013 New Revision: 250423 URL: http://svnweb.freebsd.org/changeset/base/250423 Log: Retire write-only PCB_GS32BIT pcb flag on amd64. Modified: head/sys/amd64/amd64/genassym.c head/sys/amd64/amd64/machdep.c head/sys/amd64/ia32/ia32_signal.c

Re: svn commit: r250411 - in head/sys: conf kern sys

2013-05-09 Thread Attilio Rao
On Thu, May 9, 2013 at 10:56 PM, Marcel Moolenaar mar...@xcllnt.net wrote: On May 9, 2013, at 9:46 AM, Attilio Rao atti...@freebsd.org wrote: On Thu, May 9, 2013 at 6:28 PM, Marcel Moolenaar mar...@freebsd.org wrote: Author: marcel Date: Thu May 9 16:28:18 2013 New Revision: 250411 URL:

Re: svn commit: r250411 - in head/sys: conf kern sys

2013-05-09 Thread Alfred Perlstein
On 5/9/13 3:13 PM, Attilio Rao wrote: On Thu, May 9, 2013 at 10:56 PM, Marcel Moolenaar mar...@xcllnt.net wrote: On May 9, 2013, at 9:46 AM, Attilio Rao atti...@freebsd.org wrote: On Thu, May 9, 2013 at 6:28 PM, Marcel Moolenaar mar...@freebsd.org wrote: Author: marcel Date: Thu May 9

svn commit: r250426 - head/sys/contrib/octeon-sdk

2013-05-09 Thread Warner Losh
Author: imp Date: Fri May 10 02:57:46 2013 New Revision: 250426 URL: http://svnweb.freebsd.org/changeset/base/250426 Log: Both my EBH5200 and GE WANIC 6354 have a RTC as well. It looks from the Linux tree that they always include this chip in their FDT, so make support for the ds1337

svn commit: r250427 - in head/sys/amd64/vmm: . io

2013-05-09 Thread Neel Natu
Author: neel Date: Fri May 10 02:59:49 2013 New Revision: 250427 URL: http://svnweb.freebsd.org/changeset/base/250427 Log: Support array-type of stats in bhyve. An array-type stat in vmm.ko is defined as follows: VMM_STAT_ARRAY(IPIS_SENT, VM_MAXCPU, ipis sent to vcpu); It is

svn commit: r250428 - head/sys/contrib/octeon-sdk

2013-05-09 Thread Warner Losh
Author: imp Date: Fri May 10 03:04:45 2013 New Revision: 250428 URL: http://svnweb.freebsd.org/changeset/base/250428 Log: Add support from GE Intelligent Platform Cavium Octeon boards. Add options OCTEON_VENDOR_GEFES to enable support for these boards, to match changes that GE publishes to

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

2013-05-09 Thread Warner Losh
Author: imp Date: Fri May 10 03:05:44 2013 New Revision: 250429 URL: http://svnweb.freebsd.org/changeset/base/250429 Log: Add commented out OCTEON_VENDOR_GEFES Modified: head/sys/mips/conf/OCTEON1 Modified: head/sys/mips/conf/OCTEON1

Re: svn commit: r250220 - head/sys/kern

2013-05-09 Thread Bruce Evans
On Mon, 6 May 2013, John Baldwin wrote: On Saturday, May 04, 2013 4:47:43 am Bruce Evans wrote: 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 else for the past 8

Re: svn commit: r250426 - head/sys/contrib/octeon-sdk

2013-05-09 Thread Juli Mallett
On Thu, May 9, 2013 at 7:57 PM, Warner Losh i...@freebsd.org wrote: Log: Both my EBH5200 and GE WANIC 6354 have a RTC as well. It looks from the Linux tree that they always include this chip in their FDT, so make support for the ds1337 opt-out rather than opt-in. Now my boards boot

svn commit: r250430 - head/sbin/dmesg

2013-05-09 Thread Eitan Adler
Author: eadler Date: Fri May 10 03:42:48 2013 New Revision: 250430 URL: http://svnweb.freebsd.org/changeset/base/250430 Log: Add support for 'dmesg -c' which clears the dmesg buffer after it has been printed. This provides compatibility with other *nix systems (including Linux). While

Re: svn commit: r250426 - head/sys/contrib/octeon-sdk

2013-05-09 Thread Warner Losh
On May 9, 2013, at 9:26 PM, Juli Mallett wrote: On Thu, May 9, 2013 at 7:57 PM, Warner Losh i...@freebsd.org wrote: Log: Both my EBH5200 and GE WANIC 6354 have a RTC as well. It looks from the Linux tree that they always include this chip in their FDT, so make support for the ds1337

svn commit: r250432 - head/usr.bin/split

2013-05-09 Thread Eitan Adler
Author: eadler Date: Fri May 10 04:23:03 2013 New Revision: 250432 URL: http://svnweb.freebsd.org/changeset/base/250432 Log: Implement 'split -d' which allows a numeric suffix instead of an alphabetic one. PR: bin/116209 Submitted by: Marcin Gryszkalis m...@fork.pl (adapted

svn commit: r250433 - head/sys/contrib/octeon-sdk

2013-05-09 Thread Warner Losh
Author: imp Date: Fri May 10 04:30:14 2013 New Revision: 250433 URL: http://svnweb.freebsd.org/changeset/base/250433 Log: Remove the commented out code I just committed. If we need it, I'll bring it back uncommented our, or rewrite it. Modified: head/sys/contrib/octeon-sdk/cvmx-pcie.c

svn commit: r250434 - head/sys/contrib/octeon-sdk

2013-05-09 Thread Warner Losh
Author: imp Date: Fri May 10 04:49:40 2013 New Revision: 250434 URL: http://svnweb.freebsd.org/changeset/base/250434 Log: As requested, move this back to opt-in and list my boards. Modified: head/sys/contrib/octeon-sdk/cvmx-rtc.h Modified: head/sys/contrib/octeon-sdk/cvmx-rtc.h

svn commit: r250435 - head/sys/boot/fdt/dts

2013-05-09 Thread Tim Kientzle
Author: kientzle Date: Fri May 10 05:34:08 2013 New Revision: 250435 URL: http://svnweb.freebsd.org/changeset/base/250435 Log: Move 'compatible' line out of the common am335x.dtsi and into the beaglebone-specific .dts file. Add a new .dts for the BeagleBone Black with more memory,