Re: svn commit: r226698 - head/sys/conf

2011-10-25 Thread Bruce Evans
On Mon, 24 Oct 2011, Dimitry Andric wrote: Log: Put in a temporary band-aid to fix kernel builds when CC=clang, after r226665. Hrmph. It is still quite broken for clang. Modified: head/sys/conf/kern.mk == ---

svn commit: r226725 - head/usr.sbin/ypserv

2011-10-25 Thread Gleb Smirnoff
Author: glebius Date: Tue Oct 25 10:33:26 2011 New Revision: 226725 URL: http://svn.freebsd.org/changeset/base/226725 Log: Protect NIS server with madvise(2) since this daemon is required for succesful authentication of users. Modified: head/usr.sbin/ypserv/yp_main.c Modified:

svn commit: r226726 - head/sbin/hastctl

2011-10-25 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Oct 25 12:26:19 2011 New Revision: 226726 URL: http://svn.freebsd.org/changeset/base/226726 Log: Remove duplicated line. MFC after:3 days Modified: head/sbin/hastctl/Makefile Modified: head/sbin/hastctl/Makefile

svn commit: r226727 - head/sys/geom/eli

2011-10-25 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Oct 25 13:08:03 2011 New Revision: 226727 URL: http://svn.freebsd.org/changeset/base/226727 Log: Fit lines into 80 chars. MFC after:3 days Modified: head/sys/geom/eli/g_eli.c Modified: head/sys/geom/eli/g_eli.c

svn commit: r226728 - head/sys/geom/eli

2011-10-25 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Oct 25 13:09:22 2011 New Revision: 226728 URL: http://svn.freebsd.org/changeset/base/226728 Log: Prefer G_ELI_VERSION_* defines for version numbers over plain digits. MFC after:3 days Modified: head/sys/geom/eli/g_eli.c Modified: head/sys/geom/eli/g_eli.c

svn commit: r226729 - head/tools/regression/geom_eli

2011-10-25 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Oct 25 13:41:12 2011 New Revision: 226729 URL: http://svn.freebsd.org/changeset/base/226729 Log: Fix resize regressions tests - we need to destroy BSDlabel before we can create GPT. MFC after:3 days Modified: head/tools/regression/geom_eli/resize.t Modified:

svn commit: r226730 - head/sys/geom/eli

2011-10-25 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Oct 25 13:44:23 2011 New Revision: 226730 URL: http://svn.freebsd.org/changeset/base/226730 Log: When decoding metadata, check magic string, so we know this is not GELI device before we check its version. We don't want to report that some garbage is unsupported version

svn commit: r226731 - head/sbin/hastctl

2011-10-25 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Oct 25 13:49:48 2011 New Revision: 226731 URL: http://svn.freebsd.org/changeset/base/226731 Log: Revert r226726. The line was not duplicated. Spotted by: pluknet MFC after:3 days Modified: head/sbin/hastctl/Makefile Modified: head/sbin/hastctl/Makefile

svn commit: r226732 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2011-10-25 Thread Martin Matuska
Author: mm Date: Tue Oct 25 13:52:38 2011 New Revision: 226732 URL: http://svn.freebsd.org/changeset/base/226732 Log: Fix typo in copyright notice introduced in r226724 (missing character in e-mail adress) Reported by: pjd MFC after:3 days Modified:

svn commit: r226733 - in head: sbin/geom/class/eli sys/geom/eli

2011-10-25 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Oct 25 13:57:50 2011 New Revision: 226733 URL: http://svn.freebsd.org/changeset/base/226733 Log: Add support for creating GELI devices with older metadata version for use with older FreeBSD versions: - Add -V option to 'geli init' to specify version number. If no -V is

svn commit: r226734 - head/sys/kern

2011-10-25 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Oct 25 14:01:17 2011 New Revision: 226734 URL: http://svn.freebsd.org/changeset/base/226734 Log: The v_data field is a pointer, so set it to NULL, not 0. MFC after:3 days Modified: head/sys/kern/vfs_subr.c Modified: head/sys/kern/vfs_subr.c

svn commit: r226736 - head/sys/geom

2011-10-25 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Oct 25 14:05:39 2011 New Revision: 226736 URL: http://svn.freebsd.org/changeset/base/226736 Log: Improve style a bit. MFC after:3 days Modified: head/sys/geom/geom_disk.c Modified: head/sys/geom/geom_disk.c

svn commit: r226737 - head/sys/geom

2011-10-25 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Oct 25 14:07:17 2011 New Revision: 226737 URL: http://svn.freebsd.org/changeset/base/226737 Log: Allow upper layers to discover than BIO_DELETE and/or BIO_FLUSH is not supported by returning EOPNOTSUPP instead of 0 or ENODEV. MFC after:3 days Modified:

svn commit: r226738 - head/sys/modules/zfs

2011-10-25 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Oct 25 16:22:43 2011 New Revision: 226738 URL: http://svn.freebsd.org/changeset/base/226738 Log: Don't look for includes in userland directories. There is no need for it and it breaks building the kernel without userland sources. Reported by: andre, imp MFC

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

2011-10-25 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Oct 25 16:30:16 2011 New Revision: 226739 URL: http://svn.freebsd.org/changeset/base/226739 Log: Provide an error message instead of silent failure if no disks are present in the system. PR: bin/161950 MFC after:3 days Modified:

svn commit: r226740 - head/sys/vm

2011-10-25 Thread Alan Cox
Author: alc Date: Tue Oct 25 16:35:08 2011 New Revision: 226740 URL: http://svn.freebsd.org/changeset/base/226740 Log: Speed up vm_page_cache() and vm_page_remove() by checking for a few common cases that can be handled in constant time. The insight being that a page's parent in the vm

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

2011-10-25 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Oct 25 16:35:48 2011 New Revision: 226741 URL: http://svn.freebsd.org/changeset/base/226741 Log: Provide an error message and error handling if there are no network interfaces in the system. This is a non-fatal error except when doing a network installation.

svn commit: r226742 - head/sbin/swapon

2011-10-25 Thread Ed Schouten
Author: ed Date: Tue Oct 25 17:10:15 2011 New Revision: 226742 URL: http://svn.freebsd.org/changeset/base/226742 Log: Build swapon with WARNS=6. Don't use a variable called stat, because it collides with stat(2). Modified: head/sbin/swapon/Makefile head/sbin/swapon/swapon.c Modified:

svn commit: r226743 - head/sys/dev/usb/net

2011-10-25 Thread Pyun YongHyeon
Author: yongari Date: Tue Oct 25 18:36:18 2011 New Revision: 226743 URL: http://svn.freebsd.org/changeset/base/226743 Log: Implement TX/RX checksum offloading support for ASIX AX88772B controller. AX88772B data sheet does not show detailed information about checksum offloading related

svn commit: r226744 - head/share/man/man4

2011-10-25 Thread Pyun YongHyeon
Author: yongari Date: Tue Oct 25 19:04:56 2011 New Revision: 226744 URL: http://svn.freebsd.org/changeset/base/226744 Log: AX88178/AX88772A/AX88772B supports VLAN over-sized frame. Xr vlan. Modified: head/share/man/man4/axe.4 Modified: head/share/man/man4/axe.4

svn commit: r226745 - head/share/man/man4

2011-10-25 Thread Pyun YongHyeon
Author: yongari Date: Tue Oct 25 19:10:10 2011 New Revision: 226745 URL: http://svn.freebsd.org/changeset/base/226745 Log: axe(4) got VLAN over-sized frame support. Add axe(4) to the list of interfaces that support VLAN over-sized frame. Modified: head/share/man/man4/vlan.4 Modified:

svn commit: r226746 - in head/sys/boot: i386/boot2 i386/btx/lib i386/common i386/libi386 pc98/boot2 pc98/btx/lib pc98/libpc98 pc98/loader

2011-10-25 Thread John Baldwin
Author: jhb Date: Tue Oct 25 19:45:12 2011 New Revision: 226746 URL: http://svn.freebsd.org/changeset/base/226746 Log: Consolidate duplicate definitions of V86_CY() and V86_ZR() which check for the carry and zero flags being set, respectively, in btxv86.h and use them throughout the x86

svn commit: r226748 - in head/sys/boot/i386: common libi386

2011-10-25 Thread John Baldwin
Author: jhb Date: Tue Oct 25 19:54:06 2011 New Revision: 226748 URL: http://svn.freebsd.org/changeset/base/226748 Log: - Add a new header for the x86 boot code that defines various structures and constants related to the BIOS Enhanced Disk Drive Specification. - Use this header instead of

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

2011-10-25 Thread Pyun YongHyeon
Author: yongari Date: Tue Oct 25 20:45:14 2011 New Revision: 226749 URL: http://svn.freebsd.org/changeset/base/226749 Log: Whitespace nits. Modified: head/sys/dev/bge/if_bge.c Modified: head/sys/dev/bge/if_bge.c ==

svn commit: r226752 - head/contrib/tzdata

2011-10-25 Thread Edwin Groothuis
Author: edwin Date: Tue Oct 25 21:53:43 2011 New Revision: 226752 URL: http://svn.freebsd.org/changeset/base/226752 Log: MFV of r226750, tzdata2011m Europe: - Pridnestrovian Moldavian Republic (PMR, also known as Pridnestrovie) has abolished seasonal clock change (no transition

svn commit: r226758 - head/sys/dev/ath/ath_hal/ar5416

2011-10-25 Thread Adrian Chadd
Author: adrian Date: Tue Oct 25 23:01:53 2011 New Revision: 226758 URL: http://svn.freebsd.org/changeset/base/226758 Log: Reduce the NF wait timeout. When doing heavy 11n RX loads, this can actually interfere with traffic, as the NF load can take quite a while and poking the AGC every 10uS

svn commit: r226759 - in head/sys/dev/ath/ath_hal: . ar5416

2011-10-25 Thread Adrian Chadd
Author: adrian Date: Tue Oct 25 23:09:07 2011 New Revision: 226759 URL: http://svn.freebsd.org/changeset/base/226759 Log: Add some 11n bits from the if_ath_tx 11n branch: * Add the TID field in the TX status descriptor; * Add in the 11n first/middle/last functions for fiddling with

svn commit: r226760 - in head/sys/dev/ath/ath_hal: ar5212 ar5416

2011-10-25 Thread Adrian Chadd
Author: adrian Date: Tue Oct 25 23:13:36 2011 New Revision: 226760 URL: http://svn.freebsd.org/changeset/base/226760 Log: Save and restore the association ID across interface resets. Obtained from:Atheros MFC after:1 week Modified: head/sys/dev/ath/ath_hal/ar5212/ar5212.h

svn commit: r226761 - head/sys/dev/ath/ath_hal/ar5416

2011-10-25 Thread Adrian Chadd
Author: adrian Date: Tue Oct 25 23:14:40 2011 New Revision: 226761 URL: http://svn.freebsd.org/changeset/base/226761 Log: Fix an incorrect flag. Obtained from:Atheros Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c

svn commit: r226762 - head/sys/dev/ath/ath_hal/ar5416

2011-10-25 Thread Adrian Chadd
Author: adrian Date: Tue Oct 25 23:17:53 2011 New Revision: 226762 URL: http://svn.freebsd.org/changeset/base/226762 Log: Correct/complete a partially-disabled TX interrupt mitigation configuration. Although a previous commit disabled TX interrupt mitigation handling and configuration,

svn commit: r226764 - head/sys/dev/ath/ath_hal/ar5416

2011-10-25 Thread Adrian Chadd
Author: adrian Date: Tue Oct 25 23:24:05 2011 New Revision: 226764 URL: http://svn.freebsd.org/changeset/base/226764 Log: Add some fixes to the 11n aggregation HAL calls: * preserve AR_TxIntrReq on every descriptor in an aggregate chain, not just the first descriptor; * always blank

svn commit: r226765 - head/sys/dev/ath/ath_hal/ar5212

2011-10-25 Thread Adrian Chadd
Author: adrian Date: Tue Oct 25 23:28:16 2011 New Revision: 226765 URL: http://svn.freebsd.org/changeset/base/226765 Log: The AR5413 datasheet specifies that AR_TxIntrReq should be set consistently for all frames, so do so. Modified: head/sys/dev/ath/ath_hal/ar5212/ar5212_xmit.c Modified:

svn commit: r226767 - in head/sys/dev/ath/ath_hal: . ar5416

2011-10-25 Thread Adrian Chadd
Author: adrian Date: Tue Oct 25 23:33:54 2011 New Revision: 226767 URL: http://svn.freebsd.org/changeset/base/226767 Log: Add in some more 11n related HAL methods. Modified: head/sys/dev/ath/ath_hal/ah.h head/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c Modified:

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

2011-10-25 Thread Pyun YongHyeon
Author: yongari Date: Wed Oct 26 01:03:53 2011 New Revision: 226770 URL: http://svn.freebsd.org/changeset/base/226770 Log: Fix long standing bge_sysctl_debug_info() issues. o Protect bge(4) status block access and register dump with driver lock. o Add missing bus_dmamap_sync() before

svn commit: r226771 - head/contrib/tzdata

2011-10-25 Thread Edwin Groothuis
Author: edwin Date: Wed Oct 26 01:56:22 2011 New Revision: 226771 URL: http://svn.freebsd.org/changeset/base/226771 Log: Fix breakage in tzsetup: MD +4700+02850 Europe/Chisinau most locations Modified: head/contrib/tzdata/zone.tab Modified: head/contrib/tzdata/zone.tab

svn commit: r226775 - in head: etc sbin/devd

2011-10-25 Thread Hiroki Sato
Author: hrs Date: Wed Oct 26 02:11:28 2011 New Revision: 226775 URL: http://svn.freebsd.org/changeset/base/226775 Log: - Add support for a ! character in regex matching in devd(8). It inverts the logic (true/false) of the matching. - Add !usbus[0-9]+ to IFNET ATTACH notification

Re: svn commit: r226702 - in head: contrib/gcc gnu/usr.bin/cc

2011-10-25 Thread Dimitry Andric
On 2011-10-24 22:52, David E. O'Brien wrote: Author: obrien Date: Mon Oct 24 20:52:41 2011 New Revision: 226702 URL: http://svn.freebsd.org/changeset/base/226702 Log: * Don't give the impression that this compiler is GPLv3. (It is well known that GCC 4.2.2 is GPLv3.) * Don't give the

svn commit: r226716 - head/sbin/geom/class/eli

2011-10-25 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Oct 25 07:31:13 2011 New Revision: 226716 URL: http://svn.freebsd.org/changeset/base/226716 Log: Simplify eli_backup_create() and eli_backup_restore() functions. As a side-effect it is now possible to backup unsupported (newer) GELI metadata versions. MFC after:

svn commit: r226718 - head/sbin/geom/misc

2011-10-25 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Oct 25 07:34:35 2011 New Revision: 226718 URL: http://svn.freebsd.org/changeset/base/226718 Log: If 'req' is NULL, print error on stderr. MFC after:3 days Modified: head/sbin/geom/misc/subr.c Modified: head/sbin/geom/misc/subr.c

svn commit: r226720 - head/sbin/geom/class/eli

2011-10-25 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Oct 25 07:44:10 2011 New Revision: 226720 URL: http://svn.freebsd.org/changeset/base/226720 Log: Simplify eli_resize() function. MFC after:3 days Modified: head/sbin/geom/class/eli/geom_eli.c Modified: head/sbin/geom/class/eli/geom_eli.c

svn commit: r226723 - head/sbin/geom/class/eli

2011-10-25 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Oct 25 08:03:51 2011 New Revision: 226723 URL: http://svn.freebsd.org/changeset/base/226723 Log: Add 'geli version' subcommand, which will print GELI metadata version of each given GEOM provider or if not providers are given it will print versions supported by userland

svn commit: r226724 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2011-10-25 Thread Martin Matuska
Author: mm Date: Tue Oct 25 08:35:30 2011 New Revision: 226724 URL: http://svn.freebsd.org/changeset/base/226724 Log: Update copyright information in several ZFS files, as the clause 3.3 of the CDDL licence explicitly requires every Contributor to add a copyright notice. This also