svn commit: r220812 - head/sys/netinet/ipfw

2011-04-19 Thread Andrey V. Elsukov
Author: ae Date: Tue Apr 19 05:59:37 2011 New Revision: 220812 URL: http://svn.freebsd.org/changeset/base/220812 Log: Use M_WAITOK instead M_WAIT for malloc. Remove unneded checks. MFC after:1 week Modified: head/sys/netinet/ipfw/ip_dummynet.c Modified:

svn commit: r220814 - head/sys/modules/cam

2011-04-19 Thread Ulrich Spoerlein
Author: uqs Date: Tue Apr 19 07:30:22 2011 New Revision: 220814 URL: http://svn.freebsd.org/changeset/base/220814 Log: Fix make buildworld -DMODULES_WITH_WORLD after r220454. Modified: head/sys/modules/cam/Makefile Modified: head/sys/modules/cam/Makefile

svn commit: r220818 - head/sys/powerpc/aim

2011-04-19 Thread Andreas Tobler
Author: andreast Date: Tue Apr 19 07:49:58 2011 New Revision: 220818 URL: http://svn.freebsd.org/changeset/base/220818 Log: Add leading zeros when printing the physical memory chunks on __powerpc64__. Approved by: nwhitehorn (mentor) Modified: head/sys/powerpc/aim/machdep.c Modified:

svn commit: r220822 - in head/sys/dev: ahci mvs siis

2011-04-19 Thread Alexander Motin
Author: mav Date: Tue Apr 19 08:01:17 2011 New Revision: 220822 URL: http://svn.freebsd.org/changeset/base/220822 Log: Properly handle memory allocation errors during error recovery. Modified: head/sys/dev/ahci/ahci.c head/sys/dev/mvs/mvs.c head/sys/dev/siis/siis.c Modified:

svn commit: r220829 - in head/sys/dev: ahci mvs siis

2011-04-19 Thread Alexander Motin
Author: mav Date: Tue Apr 19 10:51:19 2011 New Revision: 220829 URL: http://svn.freebsd.org/changeset/base/220829 Log: According to specification. device should respond to COMRESET with COMINIT in no more then 10ms. If we detected no device presence within that time, there is no reason to

svn commit: r220830 - in head/sys/dev: ahci mvs siis

2011-04-19 Thread Alexander Motin
Author: mav Date: Tue Apr 19 10:57:40 2011 New Revision: 220830 URL: http://svn.freebsd.org/changeset/base/220830 Log: Fix some English grammar. Modified: head/sys/dev/ahci/ahci.c head/sys/dev/ahci/ahci.h head/sys/dev/mvs/mvs.c head/sys/dev/mvs/mvs.h head/sys/dev/siis/siis.c

svn commit: r220831 - head/sys/netinet/ipfw

2011-04-19 Thread Andrey V. Elsukov
Author: ae Date: Tue Apr 19 11:29:09 2011 New Revision: 220831 URL: http://svn.freebsd.org/changeset/base/220831 Log: ipdn_bound_var() functions is designed to bound a variable between specified minimum and maximum. In case when specified default value is out of bounds it does not work as

svn commit: r220832 - head/sys/netinet/ipfw

2011-04-19 Thread Andrey V. Elsukov
Author: ae Date: Tue Apr 19 11:33:39 2011 New Revision: 220832 URL: http://svn.freebsd.org/changeset/base/220832 Log: Add sysctl handlers for net.inet.ip.dummynet.hash_size, .pipe_byte_limit and .pipe_slot_limit oids to prevent to set incorrect values. MFC after:2 weeks Modified:

Re: svn commit: r220755 - in head: . contrib/gcc/doc contrib/gcc/objc contrib/libobjc etc/mtree gnu/lib gnu/lib/libobjc gnu/usr.bin/cc gnu/usr.bin/cc/cc1obj gnu/usr.bin/cc/cc_tools gnu/usr.bin/cc/doc

2011-04-19 Thread John Baldwin
On Monday, April 18, 2011 3:59:45 pm Warner Losh wrote: On Apr 18, 2011, at 12:18 PM, Doug Barton wrote: On 04/18/2011 11:14, Pawel Jakub Dawidek wrote: On Mon, Apr 18, 2011 at 11:06:42AM -0600, Warner Losh wrote: On Apr 18, 2011, at 1:01 AM, Roman Divacky wrote: please mark

svn commit: r220833 - head/usr.sbin/nfsd

2011-04-19 Thread Rick Macklem
Author: rmacklem Date: Tue Apr 19 13:19:13 2011 New Revision: 220833 URL: http://svn.freebsd.org/changeset/base/220833 Log: Revert r220809 since it put the entry in the wrong place in the list and didn't change the date. Modified: head/usr.sbin/nfsd/nfsd.8 Modified:

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

2011-04-19 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Apr 19 13:54:51 2011 New Revision: 220834 URL: http://svn.freebsd.org/changeset/base/220834 Log: Fix mirror selection, which was broken by stderr redirection. Reported by: Garrett Cooper Modified: head/usr.sbin/bsdinstall/scripts/auto

Re: svn commit: r220755 - in head: . contrib/gcc/doc contrib/gcc/objc contrib/libobjc etc/mtree gnu/lib gnu/lib/libobjc gnu/usr.bin/cc gnu/usr.bin/cc/cc1obj gnu/usr.bin/cc/cc_tools gnu/usr.bin/cc/doc

2011-04-19 Thread mdf
Trimming since I have a mostly-unrelated question... On Tue, Apr 19, 2011 at 5:40 AM, John Baldwin j...@freebsd.org wrote: On Monday, April 18, 2011 3:59:45 pm Warner Losh wrote: In this case, there was a new kernel thing just after, so it turned out OK. But let's not gratuitously bump the

svn commit: r220835 - head/sbin/ipfw

2011-04-19 Thread Gleb Smirnoff
Author: glebius Date: Tue Apr 19 15:03:12 2011 New Revision: 220835 URL: http://svn.freebsd.org/changeset/base/220835 Log: Rewrite NAT configuration parser, so that memory allocation size is calculated dynamically. PR: kern/143653 Modified: head/sbin/ipfw/nat.c Modified:

svn commit: r220836 - head/sys/arm/xscale/i8134x

2011-04-19 Thread Sergey Kandaurov
Author: pluknet Date: Tue Apr 19 15:05:12 2011 New Revision: 220836 URL: http://svn.freebsd.org/changeset/base/220836 Log: Call init_param1() much earlier, so that msgbufsize is non-zero when we want to map and use the msgbuf. Reviewed by: cognet MFC after:1 week Modified:

svn commit: r220837 - in head/sys/netinet: . ipfw

2011-04-19 Thread Gleb Smirnoff
Author: glebius Date: Tue Apr 19 15:06:33 2011 New Revision: 220837 URL: http://svn.freebsd.org/changeset/base/220837 Log: - Rewrite functions that copyin/out NAT configuration, so that they calculate required memory size dynamically. - Fix races on chain re-lock. - Introduce new field

Re: svn commit: r220755 - in head: . contrib/gcc/doc contrib/gcc/objc contrib/libobjc etc/mtree gnu/lib gnu/lib/libobjc gnu/usr.bin/cc gnu/usr.bin/cc/cc1obj gnu/usr.bin/cc/cc_tools gnu/usr.bin/cc/doc

2011-04-19 Thread John Baldwin
On Tuesday, April 19, 2011 10:28:23 am m...@freebsd.org wrote: Trimming since I have a mostly-unrelated question... On Tue, Apr 19, 2011 at 5:40 AM, John Baldwin j...@freebsd.org wrote: On Monday, April 18, 2011 3:59:45 pm Warner Losh wrote: In this case, there was a new kernel thing just

svn commit: r220839 - head/sys/i386/bios

2011-04-19 Thread Jung-uk Kim
Author: jkim Date: Tue Apr 19 16:20:55 2011 New Revision: 220839 URL: http://svn.freebsd.org/changeset/base/220839 Log: Add suspend/resume event handlers for apm(4) as well. Modified: head/sys/i386/bios/apm.c Modified: head/sys/i386/bios/apm.c

svn commit: r220840 - head/usr.sbin/bluetooth/l2control

2011-04-19 Thread Maksim Yevmenkin
Author: emax Date: Tue Apr 19 16:21:57 2011 New Revision: 220840 URL: http://svn.freebsd.org/changeset/base/220840 Log: Improve the man page and l2control's usage() a bit. Submitted by: arundel MFC after:1 week Modified: head/usr.sbin/bluetooth/l2control/l2control.8

svn commit: r220844 - head/sys/i386/bios

2011-04-19 Thread Jung-uk Kim
Author: jkim Date: Tue Apr 19 16:30:17 2011 New Revision: 220844 URL: http://svn.freebsd.org/changeset/base/220844 Log: Do not invoke resume event handlers if suspend was successful. Pointy hat to:jkim Modified: head/sys/i386/bios/apm.c Modified: head/sys/i386/bios/apm.c

svn commit: r220846 - head/sys/kern

2011-04-19 Thread Matthew D Fleming
Author: mdf Date: Tue Apr 19 16:36:24 2011 New Revision: 220846 URL: http://svn.freebsd.org/changeset/base/220846 Log: Allow VOP_ALLOCATE to be iterative, and have kern_posix_fallocate(9) drive looping and potentially yielding. Requested by: kib Modified: head/sys/kern/vfs_default.c

svn commit: r220862 - head/sys/dev/bxe

2011-04-19 Thread Marius Strobl
Author: marius Date: Tue Apr 19 17:49:59 2011 New Revision: 220862 URL: http://svn.freebsd.org/changeset/base/220862 Log: Remove a comment which is no longer true since r213878, apart from this driver not using mii(4) in the first place. Reviewed by:yongari Modified:

Re: svn commit: r220755 - in head: . contrib/gcc/doc contrib/gcc/objc contrib/libobjc etc/mtree gnu/lib gnu/lib/libobjc gnu/usr.bin/cc gnu/usr.bin/cc/cc1obj gnu/usr.bin/cc/cc_tools gnu/usr.bin/cc/doc

2011-04-19 Thread Warner Losh
On Apr 19, 2011, at 6:40 AM, John Baldwin wrote: On Monday, April 18, 2011 3:59:45 pm Warner Losh wrote: On Apr 18, 2011, at 12:18 PM, Doug Barton wrote: On 04/18/2011 11:14, Pawel Jakub Dawidek wrote: On Mon, Apr 18, 2011 at 11:06:42AM -0600, Warner Losh wrote: On Apr 18, 2011, at

svn commit: r220863 - in head: share/mk sys/conf sys/dev/aic7xxx/aicasm

2011-04-19 Thread Dimitry Andric
Author: dim Date: Tue Apr 19 18:09:21 2011 New Revision: 220863 URL: http://svn.freebsd.org/changeset/base/220863 Log: Remove support for the Intel C Compiler from the build infrastructure. This support has not worked for several years, and is not likely to work again, unless Intel decides

Re: svn commit: r220755 - in head: . contrib/gcc/doc contrib/gcc/objc contrib/libobjc etc/mtree gnu/lib gnu/lib/libobjc gnu/usr.bin/cc gnu/usr.bin/cc/cc1obj gnu/usr.bin/cc/cc_tools gnu/usr.bin/cc/doc

2011-04-19 Thread Warner Losh
On Apr 19, 2011, at 9:29 AM, John Baldwin wrote: On Tuesday, April 19, 2011 10:28:23 am m...@freebsd.org wrote: Trimming since I have a mostly-unrelated question... On Tue, Apr 19, 2011 at 5:40 AM, John Baldwin j...@freebsd.org wrote: On Monday, April 18, 2011 3:59:45 pm Warner Losh wrote:

Re: svn commit: r220755 - in head: . contrib/gcc/doc contrib/gcc/objc contrib/libobjc etc/mtree gnu/lib gnu/lib/libobjc gnu/usr.bin/cc gnu/usr.bin/cc/cc1obj gnu/usr.bin/cc/cc_tools gnu/usr.bin/cc/doc

2011-04-19 Thread John Baldwin
On Tuesday, April 19, 2011 2:04:53 pm Warner Losh wrote: On Apr 19, 2011, at 6:40 AM, John Baldwin wrote: On Monday, April 18, 2011 3:59:45 pm Warner Losh wrote: On Apr 18, 2011, at 12:18 PM, Doug Barton wrote: On 04/18/2011 11:14, Pawel Jakub Dawidek wrote: On Mon, Apr 18, 2011

svn commit: r220865 - head/sbin/hastd

2011-04-19 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Apr 19 19:26:27 2011 New Revision: 220865 URL: http://svn.freebsd.org/changeset/base/220865 Log: Scenario: - We have two nodes connected and synchronized (local counters on both sides are 0). - We take secondary down and recreate it. - Primary connects to it and

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

2011-04-19 Thread Bernhard Schmidt
Author: bschmidt Date: Tue Apr 19 19:47:41 2011 New Revision: 220866 URL: http://svn.freebsd.org/changeset/base/220866 Log: Pull some features out of the firmware: - If a ENH_SENS TLV section exit the firmware is capable of doing enhanced sensitivity calibration. - Newer

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

2011-04-19 Thread Bernhard Schmidt
Author: bschmidt Date: Tue Apr 19 19:51:35 2011 New Revision: 220867 URL: http://svn.freebsd.org/changeset/base/220867 Log: Enable DC calibration for all 6000 series devices, except those with an internal PA. Override the chainmask also for the 6050. Modified: head/sys/dev/iwn/if_iwn.c

svn commit: r220871 - head/sys/dev/acpica

2011-04-19 Thread Matthew D Fleming
Author: mdf Date: Tue Apr 19 20:44:43 2011 New Revision: 220871 URL: http://svn.freebsd.org/changeset/base/220871 Log: Correctly output the entire array for hw.acpi.thermal._ACx. Reported by: Taku YAMAMOTO taku AT tackymt DOT homeip DOT net Tested by:Nick Ulen uncle AT wolfman

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

2011-04-19 Thread Navdeep Parhar
Author: np Date: Tue Apr 19 22:08:28 2011 New Revision: 220873 URL: http://svn.freebsd.org/changeset/base/220873 Log: - Move all Ethernet specific items from sge_eq to sge_txq. sge_eq is now a suitable base for all kinds of egress queues. - Add control queues (sge_ctrlq) and allocate

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

2011-04-19 Thread Navdeep Parhar
Author: np Date: Tue Apr 19 22:14:18 2011 New Revision: 220874 URL: http://svn.freebsd.org/changeset/base/220874 Log: Use Toeplitz hash for RSS. MFC after:3 days Modified: head/sys/dev/cxgbe/t4_main.c Modified: head/sys/dev/cxgbe/t4_main.c

svn commit: r220875 - head/usr.sbin/nfsd

2011-04-19 Thread Rick Macklem
Author: rmacklem Date: Tue Apr 19 23:33:51 2011 New Revision: 220875 URL: http://svn.freebsd.org/changeset/base/220875 Log: Add stablerestart(5) to the See Also list for nfsd.8. This is a content change. Suggested by: Jeremy Chadwick MFC after:2 weeks Modified:

svn commit: r220876 - head/sys/fs/nfsclient

2011-04-19 Thread Rick Macklem
Author: rmacklem Date: Wed Apr 20 00:21:51 2011 New Revision: 220876 URL: http://svn.freebsd.org/changeset/base/220876 Log: Modify the offset + size checks for read and write in the experimental NFS client to take care of overflows. Thanks go to dillon at apollo.backplane.com for providing

svn commit: r220877 - head/sys/fs/nfsclient

2011-04-19 Thread Rick Macklem
Author: rmacklem Date: Wed Apr 20 01:15:22 2011 New Revision: 220877 URL: http://svn.freebsd.org/changeset/base/220877 Log: Modify the offset + size checks for read and write in the experimental NFS client to take care of overflows for the calls above the buffer cache layer in a manner

Re: svn commit: r220877 - head/sys/fs/nfsclient

2011-04-19 Thread Pawel Jakub Dawidek
On Wed, Apr 20, 2011 at 01:15:22AM +, Rick Macklem wrote: Author: rmacklem Date: Wed Apr 20 01:15:22 2011 New Revision: 220877 URL: http://svn.freebsd.org/changeset/base/220877 Log: Modify the offset + size checks for read and write in the experimental NFS client to take care of