svn commit: r250324 - head/sys/arm/mv

2013-05-06 Thread Grzegorz Bernacki
Author: gber Date: Tue May 7 06:42:07 2013 New Revision: 250324 URL: http://svnweb.freebsd.org/changeset/base/250324 Log: decode_win_sdram_fixup() function should be declared, defined and used only by Armada XP Obtained from:Semihalf Modified: head/sys/arm/mv/common.c Modifie

Re: svn commit: r250294 - head/sys/arm/arm

2013-05-06 Thread Grzegorz Bernacki
In my opinion this is the simplest way to do it, however if you think it should be done other way I can change it. grzesiek On 05/06/13 20:45, Adrian Chadd wrote: .. is this really the only way to do this reliably? adrian On 6 May 2013 07:27, Grzegorz Bernacki wrote: Author: gber Date: M

svn commit: r250323 - in head/usr.sbin/bsdconfig: . include packages packages/include share share/media share/packages

2013-05-06 Thread Devin Teske
Author: dteske Date: Tue May 7 05:40:20 2013 New Revision: 250323 URL: http://svnweb.freebsd.org/changeset/base/250323 Log: Commit first portion of package module -- this includes the ability to view categories, view packages, mark packages for installation, de-installation, or re-installat

Re: svn commit: r250315 - head/share/misc

2013-05-06 Thread Joel Dahl
On Tue, May 07, 2013 at 02:03:00AM +, Eitan Adler wrote: > Author: eadler > Date: Tue May 7 02:03:00 2013 > New Revision: 250315 > URL: http://svnweb.freebsd.org/changeset/base/250315 > > Log: > Add two missing NetBSD releases You didn't add them to the family tree. -- Joel _

svn commit: r250322 - head/usr.sbin/bsdconfig/dot

2013-05-06 Thread Devin Teske
Author: dteske Date: Tue May 7 04:47:56 2013 New Revision: 250322 URL: http://svnweb.freebsd.org/changeset/base/250322 Log: Explicitly track "script.subr" which wasn't showing up in the graph because it's not used by anything within bsdconfig nor any modules (rather, the script.subr include

svn commit: r250321 - head/usr.sbin/bsdconfig/dot

2013-05-06 Thread Devin Teske
Author: dteske Date: Tue May 7 04:46:08 2013 New Revision: 250321 URL: http://svnweb.freebsd.org/changeset/base/250321 Log: Recursively calculate includes. This solves the problem of some includes missing from the graph, but it also unfortunately forces yet another bug in graphviz dot(1) to

svn commit: r250320 - head/usr.sbin/bsdconfig/dot

2013-05-06 Thread Devin Teske
Author: dteske Date: Tue May 7 04:40:57 2013 New Revision: 250320 URL: http://svnweb.freebsd.org/changeset/base/250320 Log: Remove unused variables. Modified: head/usr.sbin/bsdconfig/dot/dot Modified: head/usr.sbin/bsdconfig/dot/dot ==

svn commit: r250319 - head/usr.sbin/bsdconfig/include

2013-05-06 Thread Devin Teske
Author: dteske Date: Tue May 7 04:23:50 2013 New Revision: 250319 URL: http://svnweb.freebsd.org/changeset/base/250319 Log: Alphabetize strings by variable names. Modified: head/usr.sbin/bsdconfig/include/messages.subr Modified: head/usr.sbin/bsdconfig/include/messages.subr

svn commit: r250318 - head/usr.sbin/bsdconfig/share

2013-05-06 Thread Devin Teske
Author: dteske Date: Tue May 7 04:03:59 2013 New Revision: 250318 URL: http://svnweb.freebsd.org/changeset/base/250318 Log: Re-organize and add missing installVarDefaults and mediaSetDirectory. Modified: head/usr.sbin/bsdconfig/share/script.subr Modified: head/usr.sbin/bsdconfig/share/scrip

svn commit: r250317 - in head/usr.sbin/bsdconfig: share startup

2013-05-06 Thread Devin Teske
Author: dteske Date: Tue May 7 03:57:45 2013 New Revision: 250317 URL: http://svnweb.freebsd.org/changeset/base/250317 Log: Add f_isset() utility subroutine for checking if a variable is set but in a more readable fashion. Modified: head/usr.sbin/bsdconfig/share/common.subr head/usr.sbin

svn commit: r250316 - head/share/misc

2013-05-06 Thread Eitan Adler
Author: eadler Date: Tue May 7 02:05:00 2013 New Revision: 250316 URL: http://svnweb.freebsd.org/changeset/base/250316 Log: I miscopied the previous date. Also add another NetBSD release. Obtained from:NetBSD Modified: head/share/misc/bsd-family-tree Modified: head/share/misc/

svn commit: r250315 - head/share/misc

2013-05-06 Thread Eitan Adler
Author: eadler Date: Tue May 7 02:03:00 2013 New Revision: 250315 URL: http://svnweb.freebsd.org/changeset/base/250315 Log: Add two missing NetBSD releases Obtained from:NetBSD Modified: head/share/misc/bsd-family-tree Modified: head/share/misc/bsd-family-tree =

svn commit: r250314 - head/sys/dev/bwn

2013-05-06 Thread Hiren Panchasara
Author: hiren Date: Mon May 6 21:57:44 2013 New Revision: 250314 URL: http://svnweb.freebsd.org/changeset/base/250314 Log: Fixing a clang warning about using uninitialized variable. PR: 176712 Suggested by: jhb Approved by: sbruno (mentor) Modified: head/sys/dev/bwn/if_bwn.c Modif

svn commit: r250313 - head/sys/netpfil/pf

2013-05-06 Thread Gleb Smirnoff
Author: glebius Date: Mon May 6 21:44:06 2013 New Revision: 250313 URL: http://svnweb.freebsd.org/changeset/base/250313 Log: Improve KASSERT() message. Modified: head/sys/netpfil/pf/if_pfsync.c Modified: head/sys/netpfil/pf/if_pfsync.c ===

svn commit: r250312 - head/sys/netpfil/pf

2013-05-06 Thread Gleb Smirnoff
Author: glebius Date: Mon May 6 21:43:15 2013 New Revision: 250312 URL: http://svnweb.freebsd.org/changeset/base/250312 Log: Simplify printf(). Modified: head/sys/netpfil/pf/pf.c Modified: head/sys/netpfil/pf/pf.c =

svn commit: r250310 - head/sys/fs/tmpfs

2013-05-06 Thread Konstantin Belousov
Author: kib Date: Mon May 6 21:04:42 2013 New Revision: 250310 URL: http://svnweb.freebsd.org/changeset/base/250310 Log: Avoid deactivating the page if it is already on a queue, only requeue the page. This both reduces the number of queues locking and avoids moving the active page to inact

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

2013-05-06 Thread Pawel Jakub Dawidek
On Mon, May 06, 2013 at 11:05:30PM +0300, Konstantin Belousov wrote: > On Mon, May 06, 2013 at 08:16:11PM +0200, Pawel Jakub Dawidek wrote: > > On Sun, Apr 28, 2013 at 07:12:09PM +, Konstantin Belousov wrote: > > > Author: kib > > > Date: Sun Apr 28 19:12:09 2013 > > > New Revision: 250027 > >

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

2013-05-06 Thread Konstantin Belousov
On Mon, May 06, 2013 at 08:16:11PM +0200, Pawel Jakub Dawidek wrote: > On Sun, Apr 28, 2013 at 07:12:09PM +, Konstantin Belousov wrote: > > Author: kib > > Date: Sun Apr 28 19:12:09 2013 > > New Revision: 250027 > > URL: http://svnweb.freebsd.org/changeset/base/250027 > > > > Log: > > Elimin

Re: svn commit: r250235 - in head: etc/rc.d sbin/mount

2013-05-06 Thread Jeremie Le Hen
On Mon, May 06, 2013 at 08:50:51PM +0100, Chris Rees wrote: > > Hm, that's probably true. I suppose there's no use for it, except that it > is equivalent to; > > mount -a > mount -aL Yes, that's my point. > I think it may be useful on rare occasions, perhaps in single user when you > want to *

Re: svn commit: r250235 - in head: etc/rc.d sbin/mount

2013-05-06 Thread Chris Rees
On 6 May 2013 20:47, "Jeremie Le Hen" wrote: > > Hi Chris, > > On Sat, May 04, 2013 at 02:00:16PM +, Chris Rees wrote: > > > > Log: > > Introduce and use new flag -L to mount for mounting only late filesystems. > > > > Previously, rc.d/mountlate mounted *all* filesystems, causing problems

Re: svn commit: r250235 - in head: etc/rc.d sbin/mount

2013-05-06 Thread Jeremie Le Hen
Hi Chris, On Sat, May 04, 2013 at 02:00:16PM +, Chris Rees wrote: > > Log: > Introduce and use new flag -L to mount for mounting only late filesystems. > > Previously, rc.d/mountlate mounted *all* filesystems, causing problems with > background NFS mounts being mounted twice. Does t

Re: svn commit: r250294 - head/sys/arm/arm

2013-05-06 Thread Adrian Chadd
.. is this really the only way to do this reliably? adrian On 6 May 2013 07:27, Grzegorz Bernacki wrote: > Author: gber > Date: Mon May 6 14:27:46 2013 > New Revision: 250294 > URL: http://svnweb.freebsd.org/changeset/base/250294 > > Log: > Avoid calling pcpu_init() simultaneously. > > pc

svn commit: r250304 - head/usr.sbin/pmcannotate

2013-05-06 Thread Hiren Panchasara
Author: hiren Date: Mon May 6 18:30:49 2013 New Revision: 250304 URL: http://svnweb.freebsd.org/changeset/base/250304 Log: objdump output changed indentation from 1 space to 2 spaces somewhere between FreeBSD9 and CURRENT. Removing this rather unnecessary check which expects the second char

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

2013-05-06 Thread Pawel Jakub Dawidek
On Sun, Apr 28, 2013 at 07:12:09PM +, Konstantin Belousov wrote: > Author: kib > Date: Sun Apr 28 19:12:09 2013 > New Revision: 250027 > URL: http://svnweb.freebsd.org/changeset/base/250027 > > Log: > Eliminate the layering violation in the kern_sendfile(). When quering > the file size, u

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

2013-05-06 Thread John Baldwin
On Saturday, May 04, 2013 4:47:43 am Bruce Evans wrote: > > Log: > > Fix FIONREAD on regular files. The computed result was being ignored and > > it was being passed down to VOP_IOCTL() where it promptly resulted in > > ENOTTY due to a missing else for the past 8 years. While here, use a > >

svn commit: r250303 - head/sbin/iscontrol

2013-05-06 Thread Eitan Adler
Author: eadler Date: Mon May 6 17:44:12 2013 New Revision: 250303 URL: http://svnweb.freebsd.org/changeset/base/250303 Log: Remove includes for old versions of FreeBSD. Reviewed by: stass Obtained From:DragonFlyBSD MFC After:1 week Modified: head/sbin/iscontrol/auth_sub

svn commit: r250302 - head/usr.sbin/rtadvd

2013-05-06 Thread Eitan Adler
Author: eadler Date: Mon May 6 17:21:28 2013 New Revision: 250302 URL: http://svnweb.freebsd.org/changeset/base/250302 Log: Fix a typo in an error message. Obtained From:DragonFlyBSD (commit 66e72101cc32272ae370b895ca3d9e3e99c5c3a8) Modified: head/usr.sbin/rtadvd/rrenum.c Modi

Re: svn commit: r250298 - head/sys/cam/ata

2013-05-06 Thread Alexander Motin
On 06.05.2013 19:16, Ian Lepore wrote: On Mon, 2013-05-06 at 15:58 +, Alexander Motin wrote: Author: mav Date: Mon May 6 15:58:53 2013 New Revision: 250298 URL: http://svnweb.freebsd.org/changeset/base/250298 Log: Fix byte order of ATA WWN when converting it to SCSI LUN ID. Modified:

svn commit: r250301 - head/sys/cam/ata

2013-05-06 Thread Alexander Motin
Author: mav Date: Mon May 6 16:50:39 2013 New Revision: 250301 URL: http://svnweb.freebsd.org/changeset/base/250301 Log: Rework r250298 in more correct way. Modified: head/sys/cam/ata/ata_xpt.c Modified: head/sys/cam/ata/ata_xpt.c

svn commit: r250300 - in head/sys: kern net netinet sys

2013-05-06 Thread Andre Oppermann
Author: andre Date: Mon May 6 16:42:18 2013 New Revision: 250300 URL: http://svnweb.freebsd.org/changeset/base/250300 Log: Back out r249318, r249320 and r249327 due to a heisenbug most likely related to a race condition in the ipi_hash_lock with the exact cause currently unknown but under i

Re: svn commit: r250298 - head/sys/cam/ata

2013-05-06 Thread Ian Lepore
On Mon, 2013-05-06 at 15:58 +, Alexander Motin wrote: > Author: mav > Date: Mon May 6 15:58:53 2013 > New Revision: 250298 > URL: http://svnweb.freebsd.org/changeset/base/250298 > > Log: > Fix byte order of ATA WWN when converting it to SCSI LUN ID. > > Modified: > head/sys/cam/ata/ata_x

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

2013-05-06 Thread Grzegorz Bernacki
Author: gber Date: Mon May 6 16:11:53 2013 New Revision: 250299 URL: http://svnweb.freebsd.org/changeset/base/250299 Log: Fix page reference emulation on ARMv6 and v7 Submitted by: Zbigniew Bodek Obtained from: Semihalf Modified: head/sys/arm/arm/pmap-v6.c Modified: head/sys/arm/arm/

svn commit: r250298 - head/sys/cam/ata

2013-05-06 Thread Alexander Motin
Author: mav Date: Mon May 6 15:58:53 2013 New Revision: 250298 URL: http://svnweb.freebsd.org/changeset/base/250298 Log: Fix byte order of ATA WWN when converting it to SCSI LUN ID. Modified: head/sys/cam/ata/ata_xpt.c Modified: head/sys/cam/ata/ata_xpt.c ===

svn commit: r250297 - in head/sys/arm: arm include

2013-05-06 Thread Grzegorz Bernacki
Author: gber Date: Mon May 6 15:30:34 2013 New Revision: 250297 URL: http://svnweb.freebsd.org/changeset/base/250297 Log: Fix L2 PTE access permissions management. Keep following access permissions: APX AP Kernel User 1 01 R N 1 10 R

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

2013-05-06 Thread Grzegorz Bernacki
Author: gber Date: Mon May 6 14:57:02 2013 New Revision: 250296 URL: http://svnweb.freebsd.org/changeset/base/250296 Log: Correct comment about initial VA=>PA mapping Modified: head/sys/arm/arm/locore.S Modified: head/sys/arm/arm/locore.S

svn commit: r250295 - head/sys/arm/mv

2013-05-06 Thread Grzegorz Bernacki
Author: gber Date: Mon May 6 14:54:17 2013 New Revision: 250295 URL: http://svnweb.freebsd.org/changeset/base/250295 Log: Disable decoding windows with no FDT entry. - On ARMADAXP B0 (GP development board) we are not able to use PCI due to whole 32-bit address space used by 4GB of RAM

Re: svn commit: r250293 - in head/sys/arm: arm mv mv/armadaxp

2013-05-06 Thread Ian Lepore
On Mon, 2013-05-06 at 14:12 +, Grzegorz Bernacki wrote: > Modified: head/sys/arm/arm/locore.S > == > --- head/sys/arm/arm/locore.S Mon May 6 13:52:49 2013(r250292) > +++ head/sys/arm/arm/locore.S Mon May 6

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

2013-05-06 Thread Grzegorz Bernacki
Author: gber Date: Mon May 6 14:27:46 2013 New Revision: 250294 URL: http://svnweb.freebsd.org/changeset/base/250294 Log: Avoid calling pcpu_init() simultaneously. pcpu_init() updates queue, so cannot be called by multiple cores at the same time Obtained from:Semihalf Modif

svn commit: r250293 - in head/sys/arm: arm mv mv/armadaxp

2013-05-06 Thread Grzegorz Bernacki
Author: gber Date: Mon May 6 14:12:36 2013 New Revision: 250293 URL: http://svnweb.freebsd.org/changeset/base/250293 Log: Properly initialize Armada XP MP subsystem. - correct setting of Auxiliary Control Register for MP mode - correct setting of Auxiliarty Debug registers - cleanup ma

svn commit: r250292 - in head/sys/arm/mv: . armadaxp

2013-05-06 Thread Grzegorz Bernacki
Author: gber Date: Mon May 6 13:52:49 2013 New Revision: 250292 URL: http://svnweb.freebsd.org/changeset/base/250292 Log: Initialize L2 cache for Armada XP. Obtained from:Semihalf Modified: head/sys/arm/mv/armadaxp/armadaxp.c head/sys/arm/mv/armadaxp/std.armadaxp head/sys/ar

svn commit: r250291 - in head/sys: arm/mv boot/fdt/dts dev/cesa

2013-05-06 Thread Grzegorz Bernacki
Author: gber Date: Mon May 6 13:34:36 2013 New Revision: 250291 URL: http://svnweb.freebsd.org/changeset/base/250291 Log: Move initialization of CESA decoding windows from common section to driver specific files. - window initialization is done during device attach - CESA TDMA decoding

Re: svn commit: r250245 - head/lib/libc/locale

2013-05-06 Thread Andrey Chernov
On 06.05.2013 1:03, David Chisnall wrote: > On 5 May 2013, at 19:31, Andrey Chernov wrote: > >> It is better to fix this function return type to match POSIX standard >> rather than to document its non-standard behavior. We try to follow >> POSIX when possible and this is the case. > > We follow

Re: svn commit: r250223 - in head: lib/libprocstat sys/kern sys/sys usr.bin/fstat

2013-05-06 Thread John Baldwin
On Saturday, May 04, 2013 02:54:20 PM Mikolaj Golub wrote: > On Fri, May 03, 2013 at 09:11:57PM +, John Baldwin wrote: > > +static int > > +procstat_get_sem_info_kvm(kvm_t *kd, struct filestat *fst, > > +struct semstat *sem, char *errbuf) > > +{ > > + struct ksem ksem; > > + void *ksemp