svn commit: r228457 - head/share/man/man5

2011-12-13 Thread Ruslan Ermilov
Author: ru Date: Tue Dec 13 08:23:03 2011 New Revision: 228457 URL: http://svn.freebsd.org/changeset/base/228457 Log: The inet keyword in the ifconfig_IF_aliasN is mandatory for IPv4 aliases to work since network.subr@197139. MFC after:3 days Modified:

Re: svn commit: r228457 - head/share/man/man5

2011-12-13 Thread Gleb Smirnoff
On Tue, Dec 13, 2011 at 08:23:03AM +, Ruslan Ermilov wrote: R Author: ru R Date: Tue Dec 13 08:23:03 2011 R New Revision: 228457 R URL: http://svn.freebsd.org/changeset/base/228457 R R Log: R The inet keyword in the ifconfig_IF_aliasN is mandatory for R IPv4 aliases to work since

svn commit: r228458 - head/sbin/dumpfs

2011-12-13 Thread Ed Schouten
Author: ed Date: Tue Dec 13 09:01:44 2011 New Revision: 228458 URL: http://svn.freebsd.org/changeset/base/228458 Log: Staticify dumpfs. This tool only consists of a single C file, so we can simply mark everything except main() static. This seems to shave off about 8% of the binary

svn commit: r228462 - head/share/examples/scsi_target

2011-12-13 Thread Alexander Motin
Author: mav Date: Tue Dec 13 11:13:28 2011 New Revision: 228462 URL: http://svn.freebsd.org/changeset/base/228462 Log: - Fix different variable types use in different files after r121184, causing problems on amd64. - s/%lud/%lu/. MFC after:1 month Modified:

svn commit: r228463 - head/sbin/dhclient

2011-12-13 Thread Gleb Smirnoff
Author: glebius Date: Tue Dec 13 11:54:51 2011 New Revision: 228463 URL: http://svn.freebsd.org/changeset/base/228463 Log: dhclient-script relied on incorrect behavior of SIOCAIFADDR ioctl, that changed 0.0.0.0/0.0.0.0 prefix to 0.0.0.0/255.0.0.0. In the r228313 this behavior was fixed,

Re: svn commit: r197139 - in head/etc: . rc.d

2011-12-13 Thread Pawel Jakub Dawidek
On Sat, Sep 12, 2009 at 10:13:41PM +, Hiroki Sato wrote: Author: hrs Date: Sat Sep 12 22:13:41 2009 New Revision: 197139 URL: http://svn.freebsd.org/changeset/base/197139 Log: Integrate rc.d/network_ipv6 into rc.d/netif: - Add rc.d/stf and rc.d/faith for stf(4) and faith(4).

svn commit: r228468 - in head: include sys/dev/uart sys/sys usr.bin/mail

2011-12-13 Thread Ed Schouten
Author: ed Date: Tue Dec 13 13:32:56 2011 New Revision: 228468 URL: http://svn.freebsd.org/changeset/base/228468 Log: Replace __const by const in all non-contributed source code. As C1X is close to being released, there is no need to wrap around a feature that is already part of C90.

svn commit: r228469 - in head/sys: amd64/include arm/include i386/include ia64/include mips/include ofed/include/asm powerpc/include sparc64/include

2011-12-13 Thread Ed Schouten
Author: ed Date: Tue Dec 13 13:38:03 2011 New Revision: 228469 URL: http://svn.freebsd.org/changeset/base/228469 Log: Replace __signed by signed. The signed keyword is an integral part of the C syntax. There's no need to use __signed. Modified: head/sys/amd64/include/_types.h

svn commit: r228470 - head/sys/kern

2011-12-13 Thread Eitan Adler
Author: eadler (ports committer) Date: Tue Dec 13 14:00:27 2011 New Revision: 228470 URL: http://svn.freebsd.org/changeset/base/228470 Log: - Add a sysctl to allow non-root users the ability to set idle priorities. - While here fix up some style nits. Discussed with: cperciva

Re: svn commit: r228469 - in head/sys: amd64/include arm/include i386/include ia64/include mips/include ofed/include/asm powerpc/include sparc64/include

2011-12-13 Thread David Schultz
On Tue, Dec 13, 2011, Ed Schouten wrote: Author: ed Date: Tue Dec 13 13:38:03 2011 New Revision: 228469 URL: http://svn.freebsd.org/changeset/base/228469 Log: Replace __signed by signed. The signed keyword is an integral part of the C syntax. There's no need to use __signed.

svn commit: r228471 - in head/sys: boot/arm/at91/libat91 dev/cm dev/de dev/fdc dev/pccard dev/spibus dev/xen/netback pc98/cbus

2011-12-13 Thread Ed Schouten
Author: ed Date: Tue Dec 13 14:06:01 2011 New Revision: 228471 URL: http://svn.freebsd.org/changeset/base/228471 Log: Replace `inline static' by `static inline'. If I interpret the C standard correctly, the storage specifier should be placed before the inline keyword. While at it,

svn commit: r228472 - head/etc

2011-12-13 Thread Gleb Smirnoff
Author: glebius Date: Tue Dec 13 14:36:04 2011 New Revision: 228472 URL: http://svn.freebsd.org/changeset/base/228472 Log: Add compatibility support for specifing IPv4 aliases in rc.conf without the inet keyword. Obtained from:hrs Modified: head/etc/network.subr Modified:

svn commit: r228473 - head/lib/libedit

2011-12-13 Thread Ed Schouten
Author: ed Date: Tue Dec 13 14:53:26 2011 New Revision: 228473 URL: http://svn.freebsd.org/changeset/base/228473 Log: Don't use __P(). The rest of the file doesn't use it either and according to style(9), it should not be used. Modified: head/lib/libedit/histedit.h Modified:

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

2011-12-13 Thread Pawel Jakub Dawidek
On Tue, Dec 13, 2011 at 02:00:28PM +, Eitan Adler wrote: Author: eadler (ports committer) Date: Tue Dec 13 14:00:27 2011 New Revision: 228470 URL: http://svn.freebsd.org/changeset/base/228470 Log: - Add a sysctl to allow non-root users the ability to set idle priorities. [...]

svn commit: r228474 - in head/contrib/gcclibs/libcpp: . include

2011-12-13 Thread Ed Schouten
Author: ed Date: Tue Dec 13 17:34:47 2011 New Revision: 228474 URL: http://svn.freebsd.org/changeset/base/228474 Log: Add support for __COUNTER__. __COUNTER__ allows one to obtain incrementing (read: unique) numbers from the C preprocesor. This is useful when implementing things like a

svn commit: r228475 - head/sys/kern

2011-12-13 Thread David E. O'Brien
Author: obrien Date: Tue Dec 13 17:59:16 2011 New Revision: 228475 URL: http://svn.freebsd.org/changeset/base/228475 Log: Disallow various debug.kdb sysctl's when securelevel is raised. PR: 161350 Modified: head/sys/kern/kern_shutdown.c Modified: head/sys/kern/kern_shutdown.c

svn commit: r228476 - head/sys/dev/bce

2011-12-13 Thread Pyun YongHyeon
Author: yongari Date: Tue Dec 13 18:11:25 2011 New Revision: 228476 URL: http://svn.freebsd.org/changeset/base/228476 Log: Rework link state tracking and remove superfluous link UP/DOWN messages. o Add check for actually resolved speed in miibus_statchg callback instead of blindly

r228377 to r228473 top not working

2011-12-13 Thread Ivan Klymenko
Hi all! I have uname -a FreeBSD nonamehost 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r228473M: Tue Dec 13 20:09:45 EET 2011 ivan@nonamehost:/usr/obj/usr/src/sys/mk9 amd64 After update source code from r228377 to r228473 top stopped working # top top: sysctl(vm.stats.vm.v_active_count...) failed:

svn commit: r228477 - head/sys/sys

2011-12-13 Thread Ed Schouten
Author: ed Date: Tue Dec 13 19:37:27 2011 New Revision: 228477 URL: http://svn.freebsd.org/changeset/base/228477 Log: Make support for C1X keywords more complete. - _Alignof(), which returns the aligment of a certain type. - _Static_assert(), which can be used to check compile-time

svn commit: r228478 - head/sys/sys

2011-12-13 Thread Ed Schouten
Author: ed Date: Tue Dec 13 19:39:24 2011 New Revision: 228478 URL: http://svn.freebsd.org/changeset/base/228478 Log: Reimplement CTASSERT() using _Static_assert(). Modified: head/sys/sys/systm.h Modified: head/sys/sys/systm.h

Re: r228377 to r228473 top not working

2011-12-13 Thread Eitan Adler
On Tue, Dec 13, 2011 at 2:34 PM, Ivan Klymenko fi...@ukr.net wrote: Hi all! I have uname -a FreeBSD nonamehost 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r228473M: Tue Dec 13 20:09:45 EET 2011     ivan@nonamehost:/usr/obj/usr/src/sys/mk9  amd64 After update source code from r228377 to r228473 top

Re: svn commit: r228478 - head/sys/sys

2011-12-13 Thread Bjoern A. Zeeb
On Tue, 13 Dec 2011, Ed Schouten wrote: Author: ed Date: Tue Dec 13 19:39:24 2011 New Revision: 228478 URL: http://svn.freebsd.org/changeset/base/228478 Log: Reimplement CTASSERT() using _Static_assert(). Cool, can we have a second variant with a custom error message? Not having file:line

Re: svn commit: r228478 - head/sys/sys

2011-12-13 Thread Ed Schouten
* Bjoern A. Zeeb bzeeb-li...@lists.zabbadoz.net, 20111213 21:06: Cool, can we have a second variant with a custom error message? Yes; just use _Static_assert for that! It won't print the custom error message right now, but as soon as compilers implement C1X, it will work for you. -- Ed

svn commit: r228479 - head/sys/dev/bge

2011-12-13 Thread Pyun YongHyeon
Author: yongari Date: Tue Dec 13 20:26:46 2011 New Revision: 228479 URL: http://svn.freebsd.org/changeset/base/228479 Log: BCM5720 performance tweak from Broadcom. o Allow multiple outstanding read requests from non-LSO read DMA engine. o Allow 4KB burst length reads for non-LSO frames.

svn commit: r228480 - head/sys/dev/bge

2011-12-13 Thread Pyun YongHyeon
Author: yongari Date: Tue Dec 13 20:31:57 2011 New Revision: 228480 URL: http://svn.freebsd.org/changeset/base/228480 Log: Destroy DMA tag for jumbo RX buffer in device detach. Modified: head/sys/dev/bge/if_bge.c Modified: head/sys/dev/bge/if_bge.c

svn commit: r228481 - in head: share/examples/scsi_target share/man/man4 sys/cam/scsi

2011-12-13 Thread Ed Schouten
Author: ed Date: Tue Dec 13 21:26:33 2011 New Revision: 228481 URL: http://svn.freebsd.org/changeset/base/228481 Log: Change targ(4) to use cdevpriv, instead of multiple character devices. Also update the manpage and the scsi_target example program accordingly. Discussed on: scsi@

svn commit: r228483 - in head/sys: arm/econa dev/usb dev/usb/controller mips/atheros mips/cavium/usb mips/rmi mips/rt305x modules/usb modules/usb/avr32dci powerpc/ps3

2011-12-13 Thread Hans Petter Selasky
Author: hselasky Date: Wed Dec 14 00:28:54 2011 New Revision: 228483 URL: http://svn.freebsd.org/changeset/base/228483 Log: Implement better support for USB controller suspend and resume. This patch should remove the need for kldunload of USB controller drivers at suspend and kldload of

svn commit: r228484 - head/sys/dev/sound/usb

2011-12-13 Thread Hans Petter Selasky
Author: hselasky Date: Wed Dec 14 00:48:20 2011 New Revision: 228484 URL: http://svn.freebsd.org/changeset/base/228484 Log: Stop USB audio transfers early so that any audio applications will time out and close opened /dev/dspX.Y device(s), if any. This is a workaround because we cannot

svn commit: r228485 - head/sys/dev/sound/usb

2011-12-13 Thread Hans Petter Selasky
Author: hselasky Date: Wed Dec 14 01:03:07 2011 New Revision: 228485 URL: http://svn.freebsd.org/changeset/base/228485 Log: Use usbd_transfer_unsetup() instead of usbd_transfer_stop() so that we don't have to worry about locking. MFC after:1 weeks Modified:

Re: svn commit: r223637 - in head: . contrib/pf/authpf contrib/pf/ftp-proxy contrib/pf/man contrib/pf/pfctl contrib/pf/pflogd sbin/pflogd sys/conf sys/contrib/altq/altq sys/contrib/pf/net sys/modules

2011-12-13 Thread Peter Jeremy
On 2011-Jun-28 11:57:25 +, Bjoern A. Zeeb b...@freebsd.org wrote: Author: bz Date: Tue Jun 28 11:57:25 2011 New Revision: 223637 URL: http://svn.freebsd.org/changeset/base/223637 Log: Update packet filter (pf) code to OpenBSD 4.5. This is very belated but I've just found the following

svn commit: r228487 - head/sys/kern

2011-12-13 Thread David E. O'Brien
Author: obrien Date: Wed Dec 14 02:31:32 2011 New Revision: 228487 URL: http://svn.freebsd.org/changeset/base/228487 Log: Match other formatting. Modified: head/sys/kern/kern_shutdown.c Modified: head/sys/kern/kern_shutdown.c

Re: svn commit: r228471 - in head/sys: boot/arm/at91/libat91 dev/cm dev/de dev/fdc dev/pccard dev/spibus dev/xen/netback pc98/cbus

2011-12-13 Thread Bruce Evans
On Tue, 13 Dec 2011, Stefan Farfeleder wrote: Log: Replace `inline static' by `static inline'. If I interpret the C standard correctly, the storage specifier should be placed before the inline keyword. While at it, replace __inline by inline in the files affected. No,

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

2011-12-13 Thread Navdeep Parhar
Author: np Date: Wed Dec 14 05:34:23 2011 New Revision: 228491 URL: http://svn.freebsd.org/changeset/base/228491 Log: Do not clobber the ingress queue's congestion setting. MFC after:1 month Modified: head/sys/dev/cxgbe/t4_sge.c Modified: head/sys/dev/cxgbe/t4_sge.c