svn commit: r245783 - head/sys/netinet

2013-01-22 Thread Lawrence Stewart
Author: lstewart Date: Tue Jan 22 09:44:21 2013 New Revision: 245783 URL: http://svnweb.freebsd.org/changeset/base/245783 Log: Simplify and fix a bug in cc_ack_received()'s are we congestion window limited logic (refer to [1] for associated discussion). snd_cwnd and snd_wnd are unsigned

svn commit: r245787 - stable/9/sys/vm

2013-01-22 Thread Andrey Zonov
Author: zont Date: Tue Jan 22 12:05:53 2013 New Revision: 245787 URL: http://svnweb.freebsd.org/changeset/base/245787 Log: MFC r240145: - Simplify VM code by using vmspace_wired_count() for counting wired memory of a process. MFC r245255: - Reduce kernel size by removing unnecessary

svn commit: r245788 - stable/9/lib/libc/sys

2013-01-22 Thread Andrey Zonov
Author: zont Date: Tue Jan 22 12:09:43 2013 New Revision: 245788 URL: http://svnweb.freebsd.org/changeset/base/245788 Log: MFC r245458: - Use standard RETURN VALUES section. Modified: stable/9/lib/libc/sys/chroot.2 Directory Properties: stable/9/lib/libc/ (props changed)

svn commit: r245789 - stable/8/lib/libc/sys

2013-01-22 Thread Andrey Zonov
Author: zont Date: Tue Jan 22 12:10:51 2013 New Revision: 245789 URL: http://svnweb.freebsd.org/changeset/base/245789 Log: MFC r245458: - Use standard RETURN VALUES section. Modified: stable/8/lib/libc/sys/chroot.2 Directory Properties: stable/8/lib/libc/ (props changed)

svn commit: r245792 - head/usr.sbin/bsdinstall

2013-01-22 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Jan 22 15:26:19 2013 New Revision: 245792 URL: http://svnweb.freebsd.org/changeset/base/245792 Log: Improve documentation of BSDINSTALL_DISTSITE and mdoc. Modified: head/usr.sbin/bsdinstall/bsdinstall.8 Modified: head/usr.sbin/bsdinstall/bsdinstall.8

svn commit: r245793 - head/usr.bin/xinstall

2013-01-22 Thread Brooks Davis
Author: brooks Date: Tue Jan 22 16:23:08 2013 New Revision: 245793 URL: http://svnweb.freebsd.org/changeset/base/245793 Log: Make install -l s[ar] act like ln -sfh as intended. This fixes installation of symbolic links where the target is a link is to an existing directory. Modified:

svn commit: r245795 - stable/9/sys/dev/ata

2013-01-22 Thread Alexander Motin
Author: mav Date: Tue Jan 22 17:05:26 2013 New Revision: 245795 URL: http://svnweb.freebsd.org/changeset/base/245795 Log: MFC r241402: Add checks for ata_sata_scr_read() return statuses. It is mostly to silence Clang Static Analyzer warnings as errors there are usually unlikely. Modified:

svn commit: r245796 - head/usr.sbin/bsdinstall/partedit

2013-01-22 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Jan 22 17:06:28 2013 New Revision: 245796 URL: http://svnweb.freebsd.org/changeset/base/245796 Log: Improve error handling and remove an unnecessary check on geom provider type. GEOM provider names can't duplicate (or shouldn't -- devfs will either break or only

svn commit: r245797 - in stable/9/sys/dev: ahci ata ata/chipsets

2013-01-22 Thread Alexander Motin
Author: mav Date: Tue Jan 22 17:06:42 2013 New Revision: 245797 URL: http://svnweb.freebsd.org/changeset/base/245797 Log: MFC r244146: Add IDs for SATA controllers on AMD Hudson-2 series chipsets. I am not exactly sure about the naming due to lack of specs on AMD site, but it is better to

svn commit: r245798 - stable/9/sys/dev/ata

2013-01-22 Thread Alexander Motin
Author: mav Date: Tue Jan 22 17:08:09 2013 New Revision: 245798 URL: http://svnweb.freebsd.org/changeset/base/245798 Log: MFC r245446: In case somebody still use it, fix legacy ataraid(4) to work on combined PATA+AHCI controllers, such as JMicron JMB363. PR: kern/159271

Re: svn commit: r245536 - head/tools/tools/notescheck

2013-01-22 Thread John Baldwin
On Wednesday, January 16, 2013 11:20:54 pm Eitan Adler wrote: Author: eadler Date: Thu Jan 17 04:20:53 2013 New Revision: 245536 URL: http://svnweb.freebsd.org/changeset/base/245536 Log: Convert to Python 3 Approved by:cperciva Do we really want to do this? The ports

svn commit: r245800 - stable/8/sys/dev/ata

2013-01-22 Thread Alexander Motin
Author: mav Date: Tue Jan 22 17:18:34 2013 New Revision: 245800 URL: http://svnweb.freebsd.org/changeset/base/245800 Log: MFC r241402: Add checks for ata_sata_scr_read() return statuses. It is mostly to silence Clang Static Analyzer warnings as errors there are usually unlikely. Modified:

svn commit: r245801 - in stable/8/sys/dev: ahci ata ata/chipsets

2013-01-22 Thread Alexander Motin
Author: mav Date: Tue Jan 22 17:19:44 2013 New Revision: 245801 URL: http://svnweb.freebsd.org/changeset/base/245801 Log: MFC r244146: Add IDs for SATA controllers on AMD Hudson-2 series chipsets. I am not exactly sure about the naming due to lack of specs on AMD site, but it is better to

svn commit: r245802 - stable/8/sys/dev/ata

2013-01-22 Thread Alexander Motin
Author: mav Date: Tue Jan 22 17:21:08 2013 New Revision: 245802 URL: http://svnweb.freebsd.org/changeset/base/245802 Log: MFC r245446: In case somebody still use it, fix legacy ataraid(4) to work on combined PATA+AHCI controllers, such as JMicron JMB363. PR: kern/159271

svn commit: r245803 - in head: . gnu/usr.bin share/man/man5 share/mk usr.bin/dtc

2013-01-22 Thread David Chisnall
Author: theraven Date: Tue Jan 22 17:49:51 2013 New Revision: 245803 URL: http://svnweb.freebsd.org/changeset/base/245803 Log: Import new (BSDL) device tree compiler. Now built by default, so that it can't be used on the host system (and not installed on the device, if required). The

Re: svn commit: r245752 - in head: etc share/mk

2013-01-22 Thread Chris Rees
On 21 January 2013 22:40, Brooks Davis bro...@freebsd.org wrote: Author: brooks Date: Mon Jan 21 22:40:39 2013 New Revision: 245752 URL: http://svnweb.freebsd.org/changeset/base/245752 Log: Replace all known uses of ln in the build process with appropriate install -l invocations via

Re: svn commit: r245751 - head/tools

2013-01-22 Thread Pawel Jakub Dawidek
On Mon, Jan 21, 2013 at 10:32:00PM +, Brooks Davis wrote: Author: brooks Date: Mon Jan 21 22:32:00 2013 New Revision: 245751 URL: http://svnweb.freebsd.org/changeset/base/245751 Log: Implement the -l option using ln(1) to facilitate boostrapping. Ignore the new options -D, -h,

svn commit: r245804 - head/tools/tools/notescheck

2013-01-22 Thread Ed Maste
Author: emaste Date: Tue Jan 22 18:02:48 2013 New Revision: 245804 URL: http://svnweb.freebsd.org/changeset/base/245804 Log: Restore Python 2.6+ compatibility SVN r245536 ported this to Python 3. The major change was the use of the print function. Unfortunately this is incompatible

svn commit: r245805 - head/bin/sh

2013-01-22 Thread Joel Dahl
Author: joel (doc committer) Date: Tue Jan 22 18:02:58 2013 New Revision: 245805 URL: http://svnweb.freebsd.org/changeset/base/245805 Log: Add FILES section. Discussed with: jilles Modified: head/bin/sh/sh.1 Modified: head/bin/sh/sh.1

Re: svn commit: r245751 - head/tools

2013-01-22 Thread Pawel Jakub Dawidek
On Tue, Jan 22, 2013 at 07:00:05PM +0100, Pawel Jakub Dawidek wrote: On Mon, Jan 21, 2013 at 10:32:00PM +, Brooks Davis wrote: Author: brooks Date: Mon Jan 21 22:32:00 2013 New Revision: 245751 URL: http://svnweb.freebsd.org/changeset/base/245751 Log: Implement the -l option

Re: svn commit: r245536 - head/tools/tools/notescheck

2013-01-22 Thread Ed Maste
On 22 January 2013 10:50, John Baldwin j...@freebsd.org wrote: On Wednesday, January 16, 2013 11:20:54 pm Eitan Adler wrote: Author: eadler Date: Thu Jan 17 04:20:53 2013 New Revision: 245536 URL: http://svnweb.freebsd.org/changeset/base/245536 Log: Convert to Python 3 Approved by:

svn commit: r245806 - head/usr.bin/netstat

2013-01-22 Thread Gleb Smirnoff
Author: glebius Date: Tue Jan 22 18:07:59 2013 New Revision: 245806 URL: http://svnweb.freebsd.org/changeset/base/245806 Log: Use pluralies() for entry/entries. Modified: head/usr.bin/netstat/inet.c Modified: head/usr.bin/netstat/inet.c

svn commit: r245807 - head/usr.bin/dtc

2013-01-22 Thread David Chisnall
Author: theraven Date: Tue Jan 22 18:12:31 2013 New Revision: 245807 URL: http://svnweb.freebsd.org/changeset/base/245807 Log: Fix logic error in explicitly specified dtb versions spotted by gavin. Modified: head/usr.bin/dtc/dtc.cc Modified: head/usr.bin/dtc/dtc.cc

svn commit: r245809 - head/usr.bin/dtc

2013-01-22 Thread David Chisnall
Author: theraven Date: Tue Jan 22 18:15:43 2013 New Revision: 245809 URL: http://svnweb.freebsd.org/changeset/base/245809 Log: Fix the missing sentence that ended in the middle in the man page for dtc (also spotted by gavin). Modified: head/usr.bin/dtc/dtc.1 Modified:

svn commit: r245813 - head/share/misc

2013-01-22 Thread Dru Lavigne
Author: dru (doc committer) Date: Tue Jan 22 18:27:19 2013 New Revision: 245813 URL: http://svnweb.freebsd.org/changeset/base/245813 Log: add myself to committers-doc.dot Approved by: bcr (mentor) Modified: head/share/misc/committers-doc.dot Modified: head/share/misc/committers-doc.dot

svn commit: r245815 - head/usr.bin/dtc

2013-01-22 Thread Joel Dahl
Author: joel (doc committer) Date: Tue Jan 22 18:33:31 2013 New Revision: 245815 URL: http://svnweb.freebsd.org/changeset/base/245815 Log: Minor mdoc fixes. Modified: head/usr.bin/dtc/dtc.1 Modified: head/usr.bin/dtc/dtc.1

Re: svn commit: r245752 - in head: etc share/mk

2013-01-22 Thread Chris Rees
On 22 January 2013 18:13, Brooks Davis bro...@freebsd.org wrote: On Tue, Jan 22, 2013 at 05:55:31PM +, Chris Rees wrote: On 21 January 2013 22:40, Brooks Davis bro...@freebsd.org wrote: Author: brooks Date: Mon Jan 21 22:40:39 2013 New Revision: 245752 URL:

svn commit: r245816 - head/usr.bin/dtc

2013-01-22 Thread Joel Dahl
Author: joel (doc committer) Date: Tue Jan 22 18:35:42 2013 New Revision: 245816 URL: http://svnweb.freebsd.org/changeset/base/245816 Log: Remove EOL whitespace. Modified: head/usr.bin/dtc/dtc.1 Modified: head/usr.bin/dtc/dtc.1

svn commit: r245817 - head/sys/fs/ext2fs

2013-01-22 Thread Pedro F. Giffuni
Author: pfg Date: Tue Jan 22 18:36:31 2013 New Revision: 245817 URL: http://svnweb.freebsd.org/changeset/base/245817 Log: ext2fs: temporarily disable the reallocation code. Testing with fsx has revealed problems and in order to hunt the bugs properly we need reduce the complexity.

Re: svn commit: r245536 - head/tools/tools/notescheck

2013-01-22 Thread Eitan Adler
On 22 January 2013 10:50, John Baldwin j...@freebsd.org wrote: On Wednesday, January 16, 2013 11:20:54 pm Eitan Adler wrote: Author: eadler Date: Thu Jan 17 04:20:53 2013 New Revision: 245536 URL: http://svnweb.freebsd.org/changeset/base/245536 Log: Convert to Python 3 Approved by:

Re: svn commit: r245803 - in head: . gnu/usr.bin share/man/man5 share/mk usr.bin/dtc

2013-01-22 Thread John Baldwin
On Tuesday, January 22, 2013 12:49:51 pm David Chisnall wrote: Author: theraven Date: Tue Jan 22 17:49:51 2013 New Revision: 245803 URL: http://svnweb.freebsd.org/changeset/base/245803 Log: Import new (BSDL) device tree compiler. Now built by default, so that it can't be used on

svn commit: r245818 - head/sys/dev/altera/sdcard

2013-01-22 Thread Brooks Davis
Author: brooks Date: Tue Jan 22 18:48:45 2013 New Revision: 245818 URL: http://svnweb.freebsd.org/changeset/base/245818 Log: MFP4 change 219819 Remove a duplicate computation of C_SIZE_MULT. Once is sufficient. Sponsored by: DARPA, AFRL Modified:

svn commit: r245819 - head/sys/dev/altera/sdcard

2013-01-22 Thread Brooks Davis
Author: brooks Date: Tue Jan 22 18:51:14 2013 New Revision: 245819 URL: http://svnweb.freebsd.org/changeset/base/245819 Log: MFP4 change 219820 Add a missing 0 to the mask for byte0 of C_SIZE. The previous mask (0xc) worked except that the last 0-1536K of the disk could not be

svn commit: r245820 - head/sys/fs/ext2fs

2013-01-22 Thread Pedro F. Giffuni
Author: pfg Date: Tue Jan 22 18:54:03 2013 New Revision: 245820 URL: http://svnweb.freebsd.org/changeset/base/245820 Log: ext2fs: make some inode fields match the ext2 spec. Ext2fs uses unsigned fields in its dinode struct. FreeBSD can have negative values in some of those fields and

svn commit: r245821 - head/usr.bin/xinstall

2013-01-22 Thread Brooks Davis
Author: brooks Date: Tue Jan 22 18:57:51 2013 New Revision: 245821 URL: http://svnweb.freebsd.org/changeset/base/245821 Log: Remove documentation of the old -M option. Sponsored by: DARPA, AFRL Modified: head/usr.bin/xinstall/install.1 Modified: head/usr.bin/xinstall/install.1

svn commit: r245822 - head

2013-01-22 Thread David Chisnall
Author: theraven Date: Tue Jan 22 19:40:26 2013 New Revision: 245822 URL: http://svnweb.freebsd.org/changeset/base/245822 Log: Fix spurious leading / on dtc path in Makefile.inc1. Spotted by jhb. Modified: head/Makefile.inc1 Modified: head/Makefile.inc1

svn commit: r245823 - head/sys/netinet

2013-01-22 Thread John Baldwin
Author: jhb Date: Tue Jan 22 19:45:04 2013 New Revision: 245823 URL: http://svnweb.freebsd.org/changeset/base/245823 Log: Use decimal values for UDP and TCP socket options rather than hex to avoid implying that these constants should be treated as bit masks. Reviewed by: net MFC

svn commit: r245824 - head/sys/sys

2013-01-22 Thread John Baldwin
Author: jhb Date: Tue Jan 22 20:37:31 2013 New Revision: 245824 URL: http://svnweb.freebsd.org/changeset/base/245824 Log: Similar to r245823, use decimal constants for UNIX domain socket options. MFC after:1 week Modified: head/sys/sys/un.h Modified: head/sys/sys/un.h

Re: svn commit: r245763 - stable/9/sbin/newfs_msdos

2013-01-22 Thread Konstantin Belousov
On Tue, Jan 22, 2013 at 03:39:55AM +, Pedro F. Giffuni wrote: Author: pfg Date: Tue Jan 22 03:39:55 2013 New Revision: 245763 URL: http://svnweb.freebsd.org/changeset/base/245763 Log: MFC r245648: newfs_msdos: cosmetical cleanups - Simplify diagnostic messages. -

svn commit: r245825 - in head: . etc

2013-01-22 Thread Brooks Davis
Author: brooks Date: Tue Jan 22 21:10:03 2013 New Revision: 245825 URL: http://svnweb.freebsd.org/changeset/base/245825 Log: Introduce a new option -DNO_ROOT that allows install and distribution targets to be run without root privilege. Information about ownership, group, flags, and suid

svn commit: r245826 - stable/9/sbin/newfs_msdos

2013-01-22 Thread Pedro F. Giffuni
Author: pfg Date: Tue Jan 22 22:30:17 2013 New Revision: 245826 URL: http://svnweb.freebsd.org/changeset/base/245826 Log: MFCr245648; Missing mergeinfo. Noticed by: kib Modified: Directory Properties: stable/9/sbin/newfs_msdos/ (props changed)

svn commit: r245827 - stable/8/sbin/newfs_msdos

2013-01-22 Thread Pedro F. Giffuni
Author: pfg Date: Tue Jan 22 22:31:38 2013 New Revision: 245827 URL: http://svnweb.freebsd.org/changeset/base/245827 Log: MFCr245648; Missing mergeinfo. Noticed by: kib Modified: Directory Properties: stable/8/sbin/newfs_msdos/ (props changed)

Re: svn commit: r245763 - stable/9/sbin/newfs_msdos

2013-01-22 Thread Pedro Giffuni
- Messaggio originale - Da: Konstantin Belousov  On Tue, Jan 22, 2013 at 03:39:55AM +, Pedro F. Giffuni wrote: Author: pfg Date: Tue Jan 22 03:39:55 2013 New Revision: 245763 URL: http://svnweb.freebsd.org/changeset/base/245763 Log:   MFC    r245648:    

svn commit: r245828 - head/usr.sbin/pkg_install/lib

2013-01-22 Thread Baptiste Daroussin
:41:12 2013 (r245828) @@ -99,7 +99,7 @@ * Version of the package tools - increase whenever you make a change * in the code that is not cosmetic only. */ -#define PKG_INSTALL_VERSION20121109 +#define PKG_INSTALL_VERSION20130122 #define PKG_WRAPCONF_FNAME /var/db

svn commit: r245832 - head/bin/cp

2013-01-22 Thread David E. O'Brien
Author: obrien Date: Wed Jan 23 02:06:20 2013 New Revision: 245832 URL: http://svnweb.freebsd.org/changeset/base/245832 Log: Return failure as we do for 'cp -i' and a n answer. Otherwise with '-v' we print out the file name as if it was copied: /tmp/2gb-card/M0132.CTG not overwritten

svn commit: r245834 - head/sys/net

2013-01-22 Thread Luigi Rizzo
Author: luigi Date: Wed Jan 23 03:49:48 2013 New Revision: 245834 URL: http://svnweb.freebsd.org/changeset/base/245834 Log: leftover from r245579... flags for semi transparent mode and direct forwarding through a VALE switch Modified: head/sys/net/netmap.h Modified: head/sys/net/netmap.h

svn commit: r245835 - head/sys/dev/netmap

2013-01-22 Thread Luigi Rizzo
Author: luigi Date: Wed Jan 23 03:51:47 2013 New Revision: 245835 URL: http://svnweb.freebsd.org/changeset/base/245835 Log: control some debugging messages with dev.netmap.verbose add infrastracture to adapt to changes in number of queues and buffers at runtime Modified:

svn commit: r245836 - head/sys/dev/netmap

2013-01-22 Thread Luigi Rizzo
Author: luigi Date: Wed Jan 23 05:37:45 2013 New Revision: 245836 URL: http://svnweb.freebsd.org/changeset/base/245836 Log: Add support for transparent mode while in netmap. By setting dev.netmap.fwd=1 (or enabling the feature with a per-ring flag), packets are forwarded between the NIC

svn commit: r245837 - head/usr.sbin/pkg_install/lib

2013-01-22 Thread Jason Evans
Author: jasone Date: Wed Jan 23 07:22:33 2013 New Revision: 245837 URL: http://svnweb.freebsd.org/changeset/base/245837 Log: Fix compilation errors. Modified: head/usr.sbin/pkg_install/lib/pkgng.c Modified: head/usr.sbin/pkg_install/lib/pkgng.c

svn commit: r245838 - head/sys/conf

2013-01-22 Thread Andrew Turner
Author: andrew Date: Wed Jan 23 07:27:38 2013 New Revision: 245838 URL: http://svnweb.freebsd.org/changeset/base/245838 Log: Don't build the kernel with Thumb interworking as we don't support Thumb. Modified: head/sys/conf/Makefile.arm Modified: head/sys/conf/Makefile.arm