svn commit: r252453 - stable/8/sys/dev/bge

2013-06-30 Thread Pyun YongHyeon
Author: yongari Date: Mon Jul 1 06:58:35 2013 New Revision: 252453 URL: http://svnweb.freebsd.org/changeset/base/252453 Log: MFC r251481: Do not report current link status if driver is not running. Reporting link status in driver has a side-effect that makes mii(4) check current lin

svn commit: r252452 - stable/9/sys/dev/bge

2013-06-30 Thread Pyun YongHyeon
Author: yongari Date: Mon Jul 1 06:58:05 2013 New Revision: 252452 URL: http://svnweb.freebsd.org/changeset/base/252452 Log: MFC r251481: Do not report current link status if driver is not running. Reporting link status in driver has a side-effect that makes mii(4) check current lin

svn commit: r252450 - head/sys/arm/broadcom/bcm2835

2013-06-30 Thread Rui Paulo
Author: rpaulo Date: Mon Jul 1 06:33:35 2013 New Revision: 252450 URL: http://svnweb.freebsd.org/changeset/base/252450 Log: The mbox driver is actually MP safe, so set the right flag in bus_setup_intr(). Modified: head/sys/arm/broadcom/bcm2835/bcm2835_mbox.c Modified: head/sys/arm/broadco

svn commit: r252449 - head/sys/arm/broadcom/bcm2835

2013-06-30 Thread Rui Paulo
Author: rpaulo Date: Mon Jul 1 06:32:56 2013 New Revision: 252449 URL: http://svnweb.freebsd.org/changeset/base/252449 Log: Disable debugging. Modified: head/sys/arm/broadcom/bcm2835/bcm2835_sdhci.c Modified: head/sys/arm/broadcom/bcm2835/bcm2835_sdhci.c

svn commit: r252448 - stable/8/share/man/man4

2013-06-30 Thread Pyun YongHyeon
Author: yongari Date: Mon Jul 1 05:33:55 2013 New Revision: 252448 URL: http://svnweb.freebsd.org/changeset/base/252448 Log: MFC r252186: Add Lenovo USB 2.0 Ethernet adapter to the list of supported devices. Modified: stable/8/share/man/man4/axe.4 Directory Properties: stable/8/sha

svn commit: r252446 - stable/9/share/man/man4

2013-06-30 Thread Pyun YongHyeon
Author: yongari Date: Mon Jul 1 05:33:01 2013 New Revision: 252446 URL: http://svnweb.freebsd.org/changeset/base/252446 Log: MFC r252186: Add Lenovo USB 2.0 Ethernet adapter to the list of supported devices. Modified: stable/9/share/man/man4/axe.4 Directory Properties: stable/9/sha

svn commit: r252445 - in stable/8/sys/dev/usb: . net

2013-06-30 Thread Pyun YongHyeon
Author: yongari Date: Mon Jul 1 05:30:38 2013 New Revision: 252445 URL: http://svnweb.freebsd.org/changeset/base/252445 Log: MFC r252185: Add Lenovo USB 2.0 Ethernet adapter. PR: usb/179920 Modified: stable/8/sys/dev/usb/net/if_axe.c stable/8/sys/dev/usb/usbdevs Directory Proper

svn commit: r252444 - in stable/9/sys/dev/usb: . net

2013-06-30 Thread Pyun YongHyeon
Author: yongari Date: Mon Jul 1 05:29:42 2013 New Revision: 252444 URL: http://svnweb.freebsd.org/changeset/base/252444 Log: MFC r252185: Add Lenovo USB 2.0 Ethernet adapter. PR: usb/179920 Modified: stable/9/sys/dev/usb/net/if_axe.c stable/9/sys/dev/usb/usbdevs Directory Proper

svn commit: r252443 - stable/8/sys/dev/usb/net

2013-06-30 Thread Pyun YongHyeon
Author: yongari Date: Mon Jul 1 05:26:29 2013 New Revision: 252443 URL: http://svnweb.freebsd.org/changeset/base/252443 Log: MFC r252143: When RX checksum offloading is active, AX88772B will prepend a checksum header. The header contains a received frame length but the defined leng

svn commit: r252442 - stable/9/sys/dev/usb/net

2013-06-30 Thread Pyun YongHyeon
Author: yongari Date: Mon Jul 1 05:24:58 2013 New Revision: 252442 URL: http://svnweb.freebsd.org/changeset/base/252442 Log: MFC r252143: When RX checksum offloading is active, AX88772B will prepend a checksum header. The header contains a received frame length but the defined leng

Re: svn commit: r252439 - head/sys/boot/fdt/dts

2013-06-30 Thread Rui Paulo
On 30 Jun 2013, at 22:01, Rui Paulo wrote: > Author: rpaulo > Date: Mon Jul 1 05:01:01 2013 > New Revision: 252439 > URL: http://svnweb.freebsd.org/changeset/base/252439 > > Log: > Split bcm2835-rpi-b.dts into bcm2835.dtsi and rpi.dts. This DTS actually > works > on all R-Pi models because V

svn commit: r252440 - head/sys/arm/conf

2013-06-30 Thread Rui Paulo
Author: rpaulo Date: Mon Jul 1 05:01:27 2013 New Revision: 252440 URL: http://svnweb.freebsd.org/changeset/base/252440 Log: Use the new FDT_FILE rpi.dts. Modified: head/sys/arm/conf/RPI-B Modified: head/sys/arm/conf/RPI-B =

svn commit: r252439 - head/sys/boot/fdt/dts

2013-06-30 Thread Rui Paulo
Author: rpaulo Date: Mon Jul 1 05:01:01 2013 New Revision: 252439 URL: http://svnweb.freebsd.org/changeset/base/252439 Log: Split bcm2835-rpi-b.dts into bcm2835.dtsi and rpi.dts. This DTS actually works on all R-Pi models because VideoCore binary patches it during boot. Reviewed by: gon

svn commit: r252438 - head/sys/ufs/ufs

2013-06-30 Thread Gleb Kurtsou
Author: gleb Date: Mon Jul 1 04:06:40 2013 New Revision: 252438 URL: http://svnweb.freebsd.org/changeset/base/252438 Log: Don't assume that UFS on-disk format of a directory is the same as defined by Always start parsing at DIRBLKSIZ aligned offset, skip first entries if uio_offset is

svn commit: r252437 - head/sys/ufs/ufs

2013-06-30 Thread Pedro F. Giffuni
Author: pfg Date: Mon Jul 1 03:31:19 2013 New Revision: 252437 URL: http://svnweb.freebsd.org/changeset/base/252437 Log: Change i_gen in UFS to an unsigned type. Missed format specifier. Reported by: mdf MFC after:4 weeks Modified: head/sys/ufs/ufs/ufs_extattr.c Modified: h

svn commit: r252436 - head/sys/kern

2013-06-30 Thread Mikolaj Golub
Author: trociny Date: Mon Jul 1 03:27:14 2013 New Revision: 252436 URL: http://svnweb.freebsd.org/changeset/base/252436 Log: Plug up the lock lock leakage when exporting to a short buffer. Reported by: Alexander Leidinger Submitted by: mjg MFC after:1 week Modified: head/sys/ke

Re: svn commit: r252432 - head/sys/arm/conf

2013-06-30 Thread Rui Paulo
On 30 Jun 2013, at 17:14, Michael Tuexen wrote: > On Jul 1, 2013, at 1:29 AM, Rui Paulo wrote: > >> Author: rpaulo >> Date: Sun Jun 30 23:29:24 2013 >> New Revision: 252432 >> URL: http://svnweb.freebsd.org/changeset/base/252432 >> >> Log: >> Add INET6. >> >> Modified: >> head/sys/arm/conf/RP

svn commit: r252435 - in head/sys/ufs: ffs ufs

2013-06-30 Thread Pedro F. Giffuni
Author: pfg Date: Mon Jul 1 03:00:15 2013 New Revision: 252435 URL: http://svnweb.freebsd.org/changeset/base/252435 Log: Change i_gen in UFS to an unsigned type. In UFS, i_gen is a random generated value and there is not way for it to be negative. Actually, the value of i_gen is just use

svn commit: r252434 - in head/sys: amd64/include arm/include i386/include ia64/include kern mips/include powerpc/include sparc64/include

2013-06-30 Thread Konstantin Belousov
Author: kib Date: Mon Jul 1 02:48:27 2013 New Revision: 252434 URL: http://svnweb.freebsd.org/changeset/base/252434 Log: Fix issues with zeroing and fetching the counters, on x86 and ppc64. Issues were noted by Bruce Evans and are present on all architectures. On i386, a counter fetch sh

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

2013-06-30 Thread Alexey Dokuchaev
On Mon, Jul 01, 2013 at 11:56:25AM +1000, Bruce Evans wrote: > On Sun, 30 Jun 2013, Aleksandr Rybalko wrote: > >Log: > > Decrypt magic numbers - define names for fields of Generic Timer's > > CNTKCTL reg. > >... > >+#define GENERIC_TIMER_CNTPSIRQ 29 > > Here the interesting part CNTPSIRQ is f

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

2013-06-30 Thread Bruce Evans
On Sun, 30 Jun 2013, Aleksandr Rybalko wrote: Log: Decrypt magic numbers - define names for fields of Generic Timer's CNTKCTL reg. Submitted by: Ruslan Bukin Modified: head/sys/arm/arm/generic_timer.c Modified: head/sys/arm/arm/generic_timer.c

Re: svn commit: r252432 - head/sys/arm/conf

2013-06-30 Thread Michael Tuexen
On Jul 1, 2013, at 1:29 AM, Rui Paulo wrote: > Author: rpaulo > Date: Sun Jun 30 23:29:24 2013 > New Revision: 252432 > URL: http://svnweb.freebsd.org/changeset/base/252432 > > Log: > Add INET6. > > Modified: > head/sys/arm/conf/RPI-B > > Modified: head/sys/arm/conf/RPI-B > =

svn commit: r252432 - head/sys/arm/conf

2013-06-30 Thread Rui Paulo
Author: rpaulo Date: Sun Jun 30 23:29:24 2013 New Revision: 252432 URL: http://svnweb.freebsd.org/changeset/base/252432 Log: Add INET6. Modified: head/sys/arm/conf/RPI-B Modified: head/sys/arm/conf/RPI-B == --- head/

svn commit: r252431 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2013-06-30 Thread Robert Millan
Author: rmh Date: Sun Jun 30 23:14:55 2013 New Revision: 252431 URL: http://svnweb.freebsd.org/changeset/base/252431 Log: Enable kernel-specific code for FreeBSD also on other systems that use the kernel of FreeBSD. Reviewed by: pjd Modified: head/sys/cddl/contrib/opensolaris/uts/comm

svn commit: r252430 - head/lib/libdwarf

2013-06-30 Thread Kai Wang
Author: kaiw Date: Sun Jun 30 21:06:47 2013 New Revision: 252430 URL: http://svnweb.freebsd.org/changeset/base/252430 Log: When decoding SLEB128, make sure sign extension is performed for 64-bit integers. MFC after:3 days Modified: head/lib/libdwarf/dwarf_init.c head/lib/libdwarf

svn commit: r252429 - head/lib/libc/gen

2013-06-30 Thread Jilles Tjoelker
Author: jilles Date: Sun Jun 30 20:51:15 2013 New Revision: 252429 URL: http://svnweb.freebsd.org/changeset/base/252429 Log: libc: Access _sigintr more efficiently. The variable _sigintr is not exported via the version script; therefore, tell the compiler that no indirection (to allow int

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

2013-06-30 Thread Ed Schouten
2013/6/30 Tijl Coosemans : > The N1570 draft of C11 7.1.2 point 6 says: > Any declaration of a library function shall have external linkage. Then I think we are in serious troubles. For example, atomic_fetch_add() is described as a "generic function". Is a "generic function" a "library function"?

svn commit: r252428 - head/usr.bin/killall

2013-06-30 Thread Mateusz Guzik
Author: mjg Date: Sun Jun 30 20:27:31 2013 New Revision: 252428 URL: http://svnweb.freebsd.org/changeset/base/252428 Log: killall: add -q flag to suppress error message when no processes are matched Man-page text provided by wblock. PR: bin/30542 Submitted by: Tony Finch (

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

2013-06-30 Thread Tijl Coosemans
On 2013-06-30 21:44, Ed Schouten wrote: > 2013/6/30 Tijl Coosemans : >> I don't think you can use static inline. Standard library functions need >> to have external linkage, which means you have to implement them in libc. > > First of all, I could be mistaken, so please correct me if I say > somet

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

2013-06-30 Thread Aleksandr Rybalko
Author: ray Date: Sun Jun 30 19:53:52 2013 New Revision: 252427 URL: http://svnweb.freebsd.org/changeset/base/252427 Log: Replace some spaces to tab. Modified: head/sys/arm/arm/generic_timer.c Modified: head/sys/arm/arm/generic_timer.c

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

2013-06-30 Thread Aleksandr Rybalko
Author: ray Date: Sun Jun 30 19:52:41 2013 New Revision: 252425 URL: http://svnweb.freebsd.org/changeset/base/252425 Log: Decrypt magic numbers - define names for fields of Generic Timer's CNTKCTL reg. Submitted by: Ruslan Bukin Modified: head/sys/arm/arm/generic_timer.c Modified: hea

svn commit: r252426 - head/etc

2013-06-30 Thread Hiroki Sato
Author: hrs Date: Sun Jun 30 19:52:45 2013 New Revision: 252426 URL: http://svnweb.freebsd.org/changeset/base/252426 Log: Add "ether" and "link" to ifconfig_alias{es,N}. Modified: head/etc/network.subr Modified: head/etc/network.subr ==

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

2013-06-30 Thread Ed Schouten
Hi Tijl, 2013/6/30 Tijl Coosemans : > I don't think you can use static inline. Standard library functions need > to have external linkage, which means you have to implement them in libc. First of all, I could be mistaken, so please correct me if I say something wrong here. If my memory serves me

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

2013-06-30 Thread Olivier Houchard
Author: cognet Date: Sun Jun 30 19:36:17 2013 New Revision: 252424 URL: http://svnweb.freebsd.org/changeset/base/252424 Log: In generic_bs_map(), use kmem_alloc_nofault() instead of kmem_alloc(), as we only need virtual addresses. Submitted by: alc Modified: head/sys/arm/arm/bus_space_

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

2013-06-30 Thread Benjamin Kaduk
Author: bjk (doc committer) Date: Sun Jun 30 19:33:07 2013 New Revision: 252423 URL: http://svnweb.freebsd.org/changeset/base/252423 Log: Grammar tweaks for locking.9 Reviewed by: jhb Approved by: hrs (mentor) Modified: head/share/man/man9/locking.9 Modified: head/share/man/man9/loc

svn commit: r252422 - head/sys/kern

2013-06-30 Thread Mateusz Guzik
Author: mjg Date: Sun Jun 30 19:08:06 2013 New Revision: 252422 URL: http://svnweb.freebsd.org/changeset/base/252422 Log: acct: create a special plimit object and set it for exiting processes instead of allocating new one each time All limits are set to RLIM_INFINITY which sould be ok (ev

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

2013-06-30 Thread Tijl Coosemans
On 2013-06-30 10:54, Ed Schouten wrote: > Author: ed > Date: Sun Jun 30 08:54:41 2013 > New Revision: 252411 > URL: http://svnweb.freebsd.org/changeset/base/252411 > > Log: > Make various fixes to . > > - According to the standard, memory_order is a type. Use a typedef. > > - atomic_*_

svn commit: r252421 - head/sbin/hastd

2013-06-30 Thread Jens Schweikhardt
Author: schweikh Date: Sun Jun 30 17:59:40 2013 New Revision: 252421 URL: http://svnweb.freebsd.org/changeset/base/252421 Log: Correct some grammar. Modified: head/sbin/hastd/hastd.8 Modified: head/sbin/hastd/hastd.8 ===

svn commit: r252420 - stable/9/sys/fs/ext2fs

2013-06-30 Thread Pedro F. Giffuni
Author: pfg Date: Sun Jun 30 16:02:42 2013 New Revision: 252420 URL: http://svnweb.freebsd.org/changeset/base/252420 Log: MFC r252259: Minor sort. Modified: stable/9/sys/fs/ext2fs/ext2_extern.h Directory Properties: stable/9/sys/ (props changed) stable/9/sys/fs/ (props changed)

svn commit: r252419 - head

2013-06-30 Thread Simon J. Gerraty
Author: sjg Date: Sun Jun 30 15:00:07 2013 New Revision: 252419 URL: http://svnweb.freebsd.org/changeset/base/252419 Log: Use && rather than ; when success of previous job matters. Modified: head/Makefile.inc1 head/UPDATING Modified: head/Makefile.inc1 =

Re: svn commit: r252376 - head/lib/libutil

2013-06-30 Thread Dimitry Andric
On Jun 29, 2013, at 18:19, Konstantin Belousov wrote: > On Sat, Jun 29, 2013 at 03:52:49PM +, Tim Kientzle wrote: >> Author: kientzle >> Date: Sat Jun 29 15:52:48 2013 >> New Revision: 252376 >> URL: http://svnweb.freebsd.org/changeset/base/252376 >> >> Log: >> Fix -Wunsequenced warning > Wh

svn commit: r252415 - head/sys/kern

2013-06-30 Thread Mateusz Guzik
Author: mjg Date: Sun Jun 30 13:17:37 2013 New Revision: 252415 URL: http://svnweb.freebsd.org/changeset/base/252415 Log: acct: reduce code duplication by using acct_disable as cleanup for failed kproc_create MFC after:1 week Modified: head/sys/kern/kern_acct.c Modified: head/sys/

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

2013-06-30 Thread Mateusz Guzik
Author: mjg Date: Sun Jun 30 13:14:46 2013 New Revision: 252414 URL: http://svnweb.freebsd.org/changeset/base/252414 Log: truss: recognize O_DIRECTORY, O_EXEC, O_TTY_INIT and O_CLOEXEC MFC after:3 days Modified: head/usr.bin/truss/syscalls.c Modified: head/usr.bin/truss/syscalls.c =

Re: svn commit: r252346 - head/share/man/man9

2013-06-30 Thread Julian Elischer
On 6/29/13 10:02 PM, Jilles Tjoelker wrote: On Sat, Jun 29, 2013 at 09:37:42PM +0800, Julian Elischer wrote: On 6/29/13 9:16 PM, Julian Elischer wrote: -If the owner is not currently actually running then the spin step is skipped. +then a thread attempting to acquire the mutex will spin rather

svn commit: r252413 - head/sys/sys

2013-06-30 Thread Ed Schouten
Author: ed Date: Sun Jun 30 10:38:20 2013 New Revision: 252413 URL: http://svnweb.freebsd.org/changeset/base/252413 Log: Make atomic_fetch_add() and atomic_fetch_sub() work for pointers with GCC 4.2. According to the standard, atomic_fetch_*() has to behave identical to regular arithmetic

svn commit: r252412 - head/lib/librt

2013-06-30 Thread Ed Schouten
Author: ed Date: Sun Jun 30 08:59:33 2013 New Revision: 252412 URL: http://svnweb.freebsd.org/changeset/base/252412 Log: Convert this piece of code to use C11 atomics. As mentioned before, we should at least aim to have one piece of code in both user space and kernel space that uses C11 a

svn commit: r252411 - head/sys/sys

2013-06-30 Thread Ed Schouten
Author: ed Date: Sun Jun 30 08:54:41 2013 New Revision: 252411 URL: http://svnweb.freebsd.org/changeset/base/252411 Log: Make various fixes to . - According to the standard, memory_order is a type. Use a typedef. - atomic_*_fence() and atomic_flag_*() are described by the standard as

svn commit: r252410 - stable/9/lib/libprocstat

2013-06-30 Thread Mikolaj Golub
Author: trociny Date: Sun Jun 30 08:36:19 2013 New Revision: 252410 URL: http://svnweb.freebsd.org/changeset/base/252410 Log: MFC r250378: Make errbuf optional, so if a caller is not interested in an error message she can pass NULL (procstat(1) already does this). Modified: stable/9/li

svn commit: r252409 - in head: crypto/heimdal/lib/gssapi/gssapi include/gssapi

2013-06-30 Thread Hiroki Sato
Author: hrs Date: Sun Jun 30 07:46:22 2013 New Revision: 252409 URL: http://svnweb.freebsd.org/changeset/base/252409 Log: Fix gssapi/gssapi_krb5.h after Heimdal 1.5.1 import. Reviewed by: dfr Modified: head/crypto/heimdal/lib/gssapi/gssapi/gssapi_krb5.h head/include/gssapi/gssapi.h M

svn commit: r252408 - head/sbin/ifconfig

2013-06-30 Thread Hiroki Sato
Author: hrs Date: Sun Jun 30 07:37:31 2013 New Revision: 252408 URL: http://svnweb.freebsd.org/changeset/base/252408 Log: Do not display a warning message in a jail without AF_INET6 support. MFC after:3 days Modified: head/sbin/ifconfig/af_nd6.c Modified: head/sbin/ifconfig/af_nd6.c