svn commit: r239891 - stable/9/sys/netinet6

2012-08-30 Thread Maxim Konovalov
Author: maxim Date: Thu Aug 30 07:25:17 2012 New Revision: 239891 URL: http://svn.freebsd.org/changeset/base/239891 Log: MFC r230584 by glebius: remove casts from inet6 address testing macros, thus preserving qualifier from original argument. Modified: stable/9/sys/netinet6/in6.h Modified:

svn commit: r239892 - stable/9/usr.sbin/jail

2012-08-30 Thread Maxim Konovalov
Author: maxim Date: Thu Aug 30 07:34:25 2012 New Revision: 239892 URL: http://svn.freebsd.org/changeset/base/239892 Log: MFC r237697: restore -u getopt(3) flag. Modified: stable/9/usr.sbin/jail/jail.c Directory Properties: stable/9/usr.sbin/jail/ (props changed) Modified: stable/9/usr.s

svn commit: r239893 - stable/9/usr.bin/ncal

2012-08-30 Thread Maxim Konovalov
Author: maxim Date: Thu Aug 30 07:38:24 2012 New Revision: 239893 URL: http://svn.freebsd.org/changeset/base/239893 Log: MFC r232004: use ISO 3166 county code for Sweden. Modified: stable/9/usr.bin/ncal/ncal.c Directory Properties: stable/9/usr.bin/ncal/ (props changed) Modified: stable/

svn commit: r239894 - stable/9/games/pom

2012-08-30 Thread Maxim Konovalov
Author: maxim Date: Thu Aug 30 07:45:25 2012 New Revision: 239894 URL: http://svn.freebsd.org/changeset/base/239894 Log: MFC r230644: preserve argv[0] to use it later in usage(). Modified: stable/9/games/pom/pom.c Directory Properties: stable/9/games/pom/ (props changed) Modified: stable

svn commit: r239895 - head/sys/vm

2012-08-30 Thread Andrey Zonov
Author: zont Date: Thu Aug 30 08:03:33 2012 New Revision: 239895 URL: http://svn.freebsd.org/changeset/base/239895 Log: - Remove accounting of locked memory from vsunlock(9) that I missed in r239818. Approved by: kib (mentor) Modified: head/sys/vm/vm_glue.c Modified: head/sys/vm/vm_gl

svn commit: r239896 - head/usr.sbin/watchdogd

2012-08-30 Thread Andrey Zonov
Author: zont Date: Thu Aug 30 08:07:37 2012 New Revision: 239896 URL: http://svn.freebsd.org/changeset/base/239896 Log: - It's also need to lock current memory. Approved by: kib (mentor) MFC after:1 week Modified: head/usr.sbin/watchdogd/watchdogd.c Modified: head/usr.sbin/watchd

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

2012-08-30 Thread Konstantin Belousov
Author: kib Date: Thu Aug 30 08:37:06 2012 New Revision: 239897 URL: http://svn.freebsd.org/changeset/base/239897 Log: MFC r238180: Style. Modified: stable/9/sys/vm/vm_pageout.c Directory Properties: stable/9/sys/ (props changed) Modified: stable/9/sys/vm/vm_pageout.c =

svn commit: r239898 - head/usr.bin/truss

2012-08-30 Thread Andrey Zonov
Author: zont Date: Thu Aug 30 08:54:13 2012 New Revision: 239898 URL: http://svn.freebsd.org/changeset/base/239898 Log: - Remove unused variables. - Fix warnings about comparing signed and unsigned ints. Approved by: kib (mentor) Modified: head/usr.bin/truss/powerpc-fbsd.c head/usr.

svn commit: r239899 - in stable/9: lib/libc/sys sys/kern sys/sys

2012-08-30 Thread Konstantin Belousov
Author: kib Date: Thu Aug 30 10:12:40 2012 New Revision: 239899 URL: http://svn.freebsd.org/changeset/base/239899 Log: MFC r238667: Fixes for symbols visibility issues and style in fcntl.h. Modified: stable/9/lib/libc/sys/fcntl.c stable/9/sys/kern/kern_descrip.c stable/9/sys/sys/fcntl.h

svn commit: r239900 - in stable/9/sys: compat/ia32 kern

2012-08-30 Thread Konstantin Belousov
Author: kib Date: Thu Aug 30 10:18:55 2012 New Revision: 239900 URL: http://svn.freebsd.org/changeset/base/239900 Log: MFC r238687: Cosmetics: define FREEBSD32_MINUSER and AOUT32_MINUSER for struct sysentvec .sv_minuser. Also improve style. Modified: stable/9/sys/compat/ia32/ia32_sysvec.c

svn commit: r239901 - stable/9/sys/sys

2012-08-30 Thread Konstantin Belousov
Author: kib Date: Thu Aug 30 10:23:27 2012 New Revision: 239901 URL: http://svn.freebsd.org/changeset/base/239901 Log: MFC r238703: Put struct ostat and struct nstat under #ifdef _KERNEL. The compatibility definitions are only needed for implementation of the syscalls, they cause namespace

svn commit: r239902 - in stable/9/sys: amd64/include i386/include

2012-08-30 Thread Konstantin Belousov
Author: kib Date: Thu Aug 30 10:38:41 2012 New Revision: 239902 URL: http://svn.freebsd.org/changeset/base/239902 Log: MFC r238972: Add lfence(). Modified: stable/9/sys/amd64/include/cpufunc.h stable/9/sys/i386/include/cpufunc.h Directory Properties: stable/9/sys/ (props changed) Mod

svn commit: r239903 - in stable/8/sys: amd64/include i386/include

2012-08-30 Thread Konstantin Belousov
Author: kib Date: Thu Aug 30 11:00:00 2012 New Revision: 239903 URL: http://svn.freebsd.org/changeset/base/239903 Log: MFC r238972: Add lfence(). Modified: stable/8/sys/amd64/include/cpufunc.h stable/8/sys/i386/include/cpufunc.h Directory Properties: stable/8/sys/ (props changed) Mod

svn commit: r239904 - head/share/man/man9

2012-08-30 Thread Sergey Kandaurov
Author: pluknet Date: Thu Aug 30 11:52:26 2012 New Revision: 239904 URL: http://svn.freebsd.org/changeset/base/239904 Log: Remove a duplicated "thread". Modified: head/share/man/man9/locking.9 Modified: head/share/man/man9/locking.9 ===

svn commit: r239905 - head/sys/net

2012-08-30 Thread Gleb Smirnoff
Author: glebius Date: Thu Aug 30 12:18:45 2012 New Revision: 239905 URL: http://svn.freebsd.org/changeset/base/239905 Log: In ifc_alloc_unit(): - In the !wildcard case, return ENOSPC instead of confusing EEXIST in case if ifc->ifc_maxunit reached. - Fix unit leak, that I've introduced in

svn commit: r239906 - head/share/man/man9

2012-08-30 Thread John Baldwin
Author: jhb Date: Thu Aug 30 14:44:30 2012 New Revision: 239906 URL: http://svn.freebsd.org/changeset/base/239906 Log: Clarify that bus_dma does not stall future load requests once a load is deferred. The caller is required to enforce that if that is desired. MFC after:2 weeks Modif

svn commit: r239907 - in head/sys/dev: ahci ata ata/chipsets

2012-08-30 Thread Alexander Motin
Author: mav Date: Thu Aug 30 15:23:59 2012 New Revision: 239907 URL: http://svn.freebsd.org/changeset/base/239907 Log: Add IDs for JMicron JMB360/JMB362 AHCI SATA controllers. MFC after:1 week Modified: head/sys/dev/ahci/ahci.c head/sys/dev/ata/ata-pci.h head/sys/dev/ata/chipsets

svn commit: r239908 - head/sys/dev/sound/pci/hda

2012-08-30 Thread Alexander Motin
Author: mav Date: Thu Aug 30 15:47:20 2012 New Revision: 239908 URL: http://svn.freebsd.org/changeset/base/239908 Log: Add bunch of ATI HDMI HDA controller IDs. Submitted by: Dmitry Luhtionov MFC after:1 week Modified: head/sys/dev/sound/pci/hda/hdac.c head/sys/dev/sound/pci/hda

svn commit: r239909 - head/sys/dev/usb/controller

2012-08-30 Thread Hans Petter Selasky
Author: hselasky Date: Thu Aug 30 16:19:05 2012 New Revision: 239909 URL: http://svn.freebsd.org/changeset/base/239909 Log: Preparations for adding USB HOST mode to the DWC OTG driver. Merge register file with external one and put all register definitions in a separate file. Submitted b

svn commit: r239910 - head/usr.sbin/ac

2012-08-30 Thread Ed Schouten
Author: ed Date: Thu Aug 30 16:45:27 2012 New Revision: 239910 URL: http://svn.freebsd.org/changeset/base/239910 Log: Massively refactor ac(8). - Use queue(3) -- not some homegrown implementation of linked lists. - Rename structures to _entry, as they are entries in the linked list --

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

2012-08-30 Thread Adrian Chadd
Author: adrian Date: Thu Aug 30 17:35:12 2012 New Revision: 239911 URL: http://svn.freebsd.org/changeset/base/239911 Log: The DIR-825 cal data is in an odd spot. I don't know why it's here. (This works on my board because I wrote new caldata into this spot; but this obviously won't work f

svn commit: r239912 - head/sys/dev/amr

2012-08-30 Thread John Baldwin
Author: jhb Date: Thu Aug 30 17:37:01 2012 New Revision: 239912 URL: http://svn.freebsd.org/changeset/base/239912 Log: Use callout(9) rather than timeout(9). Note that the periodic timer in amr(4) is never started, so this should be even more of a NOP than normal. Modified: head/sys/dev/

svn commit: r239913 - head/sys/dev/cxgb

2012-08-30 Thread John Baldwin
Author: jhb Date: Thu Aug 30 17:47:39 2012 New Revision: 239913 URL: http://svn.freebsd.org/changeset/base/239913 Log: Attach interrupt handlers during attach instead of during the first time the interface is brought up. Without this, the boot time interrupt round-robin assignment does not

svn commit: r239914 - in stable/9/sys: amd64/amd64 amd64/include i386/include i386/isa

2012-08-30 Thread John Baldwin
Author: jhb Date: Thu Aug 30 18:03:03 2012 New Revision: 239914 URL: http://svn.freebsd.org/changeset/base/239914 Log: MFC 238311: Add a clts() wrapper around the 'clts' instruction to on x86 and use that to implement stop_emulating() in the fpu/npx code. Reimplement start_emulating() in

svn commit: r239915 - stable/9/sys/kern

2012-08-30 Thread John Baldwin
Author: jhb Date: Thu Aug 30 18:29:49 2012 New Revision: 239915 URL: http://svn.freebsd.org/changeset/base/239915 Log: MFC 238424: Make the interval timings for EVFILT_TIMER more accurate. tvtohz() always adds an extra tick to account for the current partial clock tick. However, that is

svn commit: r239916 - stable/8/sys/kern

2012-08-30 Thread John Baldwin
Author: jhb Date: Thu Aug 30 18:30:08 2012 New Revision: 239916 URL: http://svn.freebsd.org/changeset/base/239916 Log: MFC 238424: Make the interval timings for EVFILT_TIMER more accurate. tvtohz() always adds an extra tick to account for the current partial clock tick. However, that is

svn commit: r239917 - stable/9/sys/dev/pci

2012-08-30 Thread John Baldwin
Author: jhb Date: Thu Aug 30 19:46:38 2012 New Revision: 239917 URL: http://svn.freebsd.org/changeset/base/239917 Log: MFC 239103: Explicitly enable busmastering on PCI-PCI bridges. Transactions initiated on the secondary side of a bridge will not be propagated to the primary bus unless t

svn commit: r239918 - stable/8/sys/dev/pci

2012-08-30 Thread John Baldwin
Author: jhb Date: Thu Aug 30 19:47:15 2012 New Revision: 239918 URL: http://svn.freebsd.org/changeset/base/239918 Log: MFC 239103: Explicitly enable busmastering on PCI-PCI bridges. Transactions initiated on the secondary side of a bridge will not be propagated to the primary bus unless t

svn commit: r239919 - in head/sys: conf dev/uart

2012-08-30 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Aug 30 20:31:53 2012 New Revision: 239919 URL: http://svn.freebsd.org/changeset/base/239919 Log: Add PrimeCell UART (PL011) driver Obtained from:Semihalf Added: head/sys/dev/uart/uart_dev_pl011.c (contents, props changed) Modified: head/sys/conf/files

svn commit: r239920 - stable/9/sys/dev/ipmi

2012-08-30 Thread John Baldwin
Author: jhb Date: Thu Aug 30 20:42:42 2012 New Revision: 239920 URL: http://svn.freebsd.org/changeset/base/239920 Log: MFC 239128: Don't try to stop the IPMI watchdog timer if it is not running. Starting or stopping the IPMI watchdog is rather expensive with the current implementation as a

svn commit: r239921 - stable/8/sys/dev/ipmi

2012-08-30 Thread John Baldwin
Author: jhb Date: Thu Aug 30 20:43:01 2012 New Revision: 239921 URL: http://svn.freebsd.org/changeset/base/239921 Log: MFC 239128: Don't try to stop the IPMI watchdog timer if it is not running. Starting or stopping the IPMI watchdog is rather expensive with the current implementation as a

svn commit: r239922 - in head/sys: arm/broadcom arm/broadcom/bcm2835 arm/conf boot/fdt/dts

2012-08-30 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Aug 30 20:59:37 2012 New Revision: 239922 URL: http://svn.freebsd.org/changeset/base/239922 Log: Add barebone Raspberry Pi port. Supported parts: - Interrupts controller - Watchdog - System timer - Framebuffer (hardcoded resolution/bpp) Added: head/sys/

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

2012-08-30 Thread Attilio Rao
Author: attilio Date: Thu Aug 30 21:22:47 2012 New Revision: 239923 URL: http://svn.freebsd.org/changeset/base/239923 Log: Post r222812 KTR_CPUMASK started being initialized only as a tunable handler and not more statically. Unfortunately, it seems that this is not ideal for new platform

svn commit: r239927 - head/tools/tools/track

2012-08-30 Thread Dag-Erling Sm�rgrav
Author: des Date: Thu Aug 30 22:56:32 2012 New Revision: 239927 URL: http://svn.freebsd.org/changeset/base/239927 Log: The error syntax has changed. Modified: head/tools/tools/track/track.sh Modified: head/tools/tools/track/track.sh ===

svn commit: r239928 - in stable/9/sys: conf powerpc/conf powerpc/powermac

2012-08-30 Thread Justin Hibbits
Author: jhibbits Date: Thu Aug 30 23:50:11 2012 New Revision: 239928 URL: http://svn.freebsd.org/changeset/base/239928 Log: MFC r239027 Add backlight support for nVidia-based PowerBooks/iBooks/iMacs. Added: stable/9/sys/powerpc/powermac/nvbl.c - copied unchanged from r239027, head/s

svn commit: r239929 - stable/9/sys/powerpc/powermac

2012-08-30 Thread Justin Hibbits
Author: jhibbits Date: Thu Aug 30 23:54:49 2012 New Revision: 239929 URL: http://svn.freebsd.org/changeset/base/239929 Log: MFC r239548: phandle_t is unsigned, and OF_finddevice() returns (phandle_t)(-1) on failure, so check for that instead of 0. While here, provide a better descrip

Re: svn commit: r239927 - head/tools/tools/track

2012-08-30 Thread Doug Barton
On 08/30/2012 12:56 PM, Dag-Erling Sm�rgrav wrote: > Author: des > Date: Thu Aug 30 22:56:32 2012 > New Revision: 239927 > URL: http://svn.freebsd.org/changeset/base/239927 > > Log: > The error syntax has changed. > > Modified: > head/tools/tools/track/track.sh > > Modified: head/tools/too

svn commit: r239931 - stable/9/sbin/md5

2012-08-30 Thread Xin LI
Author: delphij Date: Fri Aug 31 00:33:09 2012 New Revision: 239931 URL: http://svn.freebsd.org/changeset/base/239931 Log: MFC r238964: Teach md5(1) about sha512. Modified: stable/9/sbin/md5/Makefile stable/9/sbin/md5/md5.1 stable/9/sbin/md5/md5.c Directory Properties: stable/9/sbi

svn commit: r239932 - stable/8/sbin/md5

2012-08-30 Thread Xin LI
Author: delphij Date: Fri Aug 31 00:34:48 2012 New Revision: 239932 URL: http://svn.freebsd.org/changeset/base/239932 Log: MFC r238964: Teach md5(1) about sha512. Modified: stable/8/sbin/md5/Makefile stable/8/sbin/md5/md5.1 stable/8/sbin/md5/md5.c Directory Properties: stable/8/sbi

svn commit: r239934 - head/sys/arm/arm

2012-08-30 Thread Alan Cox
Author: alc Date: Fri Aug 31 02:59:44 2012 New Revision: 239934 URL: http://svn.freebsd.org/changeset/base/239934 Log: Replace all uses of the vm page queues lock by a r/w lock that is private to this pmap. Tested by:Ian Lepore Modified: head/sys/arm/arm/pmap.c Modified: head/sys/

svn commit: r239935 - stable/9/usr.sbin/ifmcstat

2012-08-30 Thread Maxim Konovalov
Author: maxim Date: Fri Aug 31 06:34:46 2012 New Revision: 239935 URL: http://svn.freebsd.org/changeset/base/239935 Log: MFC r230617: allow to build ifmcstat(8) without kvm(3) support. Modified: stable/9/usr.sbin/ifmcstat/ifmcstat.c Directory Properties: stable/9/usr.sbin/ifmcstat/ (props

svn commit: r239936 - in stable/9: sys/netinet6 usr.bin/netstat

2012-08-30 Thread Maxim Konovalov
Author: maxim Date: Fri Aug 31 06:38:43 2012 New Revision: 239936 URL: http://svn.freebsd.org/changeset/base/239936 Log: MFC r228700: convert IPv6 read-only stats sysctls to the read-write ones. Teach netstat(1) -z to reset these sysctls. Modified: stable/9/sys/netinet6/in6_proto.c stable

svn commit: r239937 - in stable: 8/sbin/md5 9/sbin/md5

2012-08-30 Thread Xin LI
Author: delphij Date: Fri Aug 31 06:42:51 2012 New Revision: 239937 URL: http://svn.freebsd.org/changeset/base/239937 Log: Revert 239931 and 239932 until I figure out why it breaks on stable branches but not on -HEAD. Noticed by: tinderbox Pointy hat to:delphij Modified: st

svn commit: r239937 - in stable: 8/sbin/md5 9/sbin/md5

2012-08-30 Thread Xin LI
Author: delphij Date: Fri Aug 31 06:42:51 2012 New Revision: 239937 URL: http://svn.freebsd.org/changeset/base/239937 Log: Revert 239931 and 239932 until I figure out why it breaks on stable branches but not on -HEAD. Noticed by: tinderbox Pointy hat to:delphij Modified: st