Re: svn commit: r213398 - head/bin/rm

2010-10-04 Thread Alexander Best
On Mon Oct 4 10, Pawel Jakub Dawidek wrote: On Mon, Oct 04, 2010 at 02:35:54PM +0400, Dmitry Morozovsky wrote: On Mon, 4 Oct 2010, Alexander Best wrote: AB On Mon Oct 4 10, Pawel Jakub Dawidek wrote: AB On Mon, Oct 04, 2010 at 06:17:46AM +, Xin LI wrote: AB Author: delphij

Re: svn commit: r213398 - head/bin/rm

2010-10-04 Thread Alexander Best
On Mon Oct 4 10, Pawel Jakub Dawidek wrote: On Mon, Oct 04, 2010 at 06:17:46AM +, Xin LI wrote: Author: delphij Date: Mon Oct 4 06:17:45 2010 New Revision: 213398 URL: http://svn.freebsd.org/changeset/base/213398 Log: Clarify the combination effect of -P and -f to make it

Re: svn commit: r213398 - head/bin/rm

2010-10-04 Thread Ivan Voras
On 4 October 2010 13:42, Alexander Best arun...@freebsd.org wrote: good point. ZFS should really be added to the list and LFS should go away. are there any other relevant filesystems without a fixed-block size that need to be mentioned? what about afs? or tmpfs? (it's not that the block

Re: svn commit: r213398 - head/bin/rm

2010-10-04 Thread Pawel Jakub Dawidek
On Mon, Oct 04, 2010 at 02:35:54PM +0400, Dmitry Morozovsky wrote: On Mon, 4 Oct 2010, Alexander Best wrote: AB On Mon Oct 4 10, Pawel Jakub Dawidek wrote: AB On Mon, Oct 04, 2010 at 06:17:46AM +, Xin LI wrote: AB Author: delphij AB Date: Mon Oct 4 06:17:45 2010 AB New

svn commit: r213400 - stable/8/sys/netinet

2010-10-04 Thread Bjoern A. Zeeb
Author: bz Date: Mon Oct 4 07:00:47 2010 New Revision: 213400 URL: http://svn.freebsd.org/changeset/base/213400 Log: MFC r213325: Proper bracketing. Submitted by: SunMinghao (sunminghao hotmail.com) PR: kern/151100 Modified: stable/8/sys/netinet/igmp.c

Re: svn commit: r213346 - in head/sys: contrib/octeon-sdk mips/cavium mips/cavium/octe

2010-10-04 Thread Rafal Jaworowski
On 2010-10-02, at 07:43, Juli Mallett wrote: Author: jmallett Date: Sat Oct 2 05:43:17 2010 New Revision: 213346 URL: http://svn.freebsd.org/changeset/base/213346 Log: o) Allow devices to override the MDIO read and write functions presented to the miibus attached to octe

svn commit: r213398 - head/bin/rm

2010-10-04 Thread Xin LI
Author: delphij Date: Mon Oct 4 06:17:45 2010 New Revision: 213398 URL: http://svn.freebsd.org/changeset/base/213398 Log: Clarify the combination effect of -P and -f to make it clear. Submitted by: arundel MFC after:2 weeks Modified: head/bin/rm/rm.1 Modified: head/bin/rm/rm.1

Re: svn commit: r213398 - head/bin/rm

2010-10-04 Thread Pawel Jakub Dawidek
On Mon, Oct 04, 2010 at 06:17:46AM +, Xin LI wrote: Author: delphij Date: Mon Oct 4 06:17:45 2010 New Revision: 213398 URL: http://svn.freebsd.org/changeset/base/213398 Log: Clarify the combination effect of -P and -f to make it clear. While you're at it, it would be nice to add a

svn commit: r213399 - stable/8/usr.bin

2010-10-04 Thread Xin LI
Author: delphij Date: Mon Oct 4 06:49:12 2010 New Revision: 213399 URL: http://svn.freebsd.org/changeset/base/213399 Log: Revision 209601 should have merged this part of r203711 to make fmt(1) build unconditional. PR: misc/151180 Modified: stable/8/usr.bin/Makefile

svn commit: r213402 - head/lib/libpmc

2010-10-04 Thread George V. Neville-Neil
Author: gnn Date: Mon Oct 4 14:32:14 2010 New Revision: 213402 URL: http://svn.freebsd.org/changeset/base/213402 Log: Fix punctuation and grammar, mostly by ending sentences with a period. MFC after:1 day Modified: head/lib/libpmc/pmc.westmere.3 head/lib/libpmc/pmc.westmereuc.3

Re: svn commit: r213398 - head/bin/rm

2010-10-04 Thread Dmitry Morozovsky
On Mon, 4 Oct 2010, Alexander Best wrote: AB On Mon Oct 4 10, Pawel Jakub Dawidek wrote: AB On Mon, Oct 04, 2010 at 06:17:46AM +, Xin LI wrote: AB Author: delphij AB Date: Mon Oct 4 06:17:45 2010 AB New Revision: 213398 AB URL: http://svn.freebsd.org/changeset/base/213398 AB AB

svn commit: r213401 - head/sys/sys

2010-10-04 Thread Poul-Henning Kamp
Author: phk Date: Mon Oct 4 10:48:47 2010 New Revision: 213401 URL: http://svn.freebsd.org/changeset/base/213401 Log: Certain static code analysis tools (FlexeLint being one) are very suspicious about 'l' and '1' being confused in numeric constants. The fear being that some old fart

svn commit: r213403 - head/lib/libc/net

2010-10-04 Thread Hajimu UMEMOTO
Author: ume Date: Mon Oct 4 15:28:01 2010 New Revision: 213403 URL: http://svn.freebsd.org/changeset/base/213403 Log: Clear errno for each method dispatch. Spotted by: Kostik Belousov kostikbel__at__gmail.com MFC after:2 weeks Modified: head/lib/libc/net/nsdispatch.c Modified:

Re: svn commit: r211276 - head/lib/libc/net

2010-10-04 Thread Hajimu UMEMOTO
Hi, On Sun, 3 Oct 2010 21:49:26 +0300 Kostik Belousov kostik...@gmail.com said: kostikbel I suspect there is some subtle issue with the commit present. kostikbel When getprotobyname_r() is unable to find the protocol, it seems kostikbel that established behaviour is to return 0 and set

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

2010-10-04 Thread Pyun YongHyeon
Author: yongari Date: Mon Oct 4 18:01:23 2010 New Revision: 213410 URL: http://svn.freebsd.org/changeset/base/213410 Log: Consistently use ifHCOutOctets/ifHCInOctets instead of Octets as these names are used in data sheet. Also use UnicastPkts, MulticastPkts and BroadcastPkts instead of

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

2010-10-04 Thread Pyun YongHyeon
Author: yongari Date: Mon Oct 4 18:09:01 2010 New Revision: 213411 URL: http://svn.freebsd.org/changeset/base/213411 Log: Enable fix for read DMA FIFO overruns on controllers that have this fix. Note, we still need workaround for controllers that lacks this fix and it needs more work in RX

svn commit: r213412 - head/lib/libvgl

2010-10-04 Thread Dimitry Andric
Author: dim Date: Mon Oct 4 18:16:38 2010 New Revision: 213412 URL: http://svn.freebsd.org/changeset/base/213412 Log: Change libvgl's set4pixels() and set2lines() functions from plain 'inline' to 'static inline'. Otherwise, a C99 compiler (such as clang) will output an undefined symbol

svn commit: r213413 - stable/8/usr.bin/tftp

2010-10-04 Thread Marius Strobl
Author: marius Date: Mon Oct 4 19:39:51 2010 New Revision: 213413 URL: http://svn.freebsd.org/changeset/base/213413 Log: MFC: r213053 Remove an explicit assignment of the CFLAGS variable intended for debugging purposes only. Modified: stable/8/usr.bin/tftp/Makefile Directory

svn commit: r213414 - stable/7/usr.bin/tftp

2010-10-04 Thread Marius Strobl
Author: marius Date: Mon Oct 4 19:40:01 2010 New Revision: 213414 URL: http://svn.freebsd.org/changeset/base/213414 Log: MFC: r213053 Remove an explicit assignment of the CFLAGS variable intended for debugging purposes only. Modified: stable/7/usr.bin/tftp/Makefile Directory

svn commit: r213415 - in stable/8: libexec/tftpd usr.bin/tftp

2010-10-04 Thread Marius Strobl
Author: marius Date: Mon Oct 4 19:51:15 2010 New Revision: 213415 URL: http://svn.freebsd.org/changeset/base/213415 Log: MFC: 213075 Try to adhere to style.Makefile(5). Modified: stable/8/libexec/tftpd/Makefile stable/8/usr.bin/tftp/Makefile Directory Properties:

svn commit: r213416 - in stable/7: libexec/tftpd usr.bin/tftp

2010-10-04 Thread Marius Strobl
Author: marius Date: Mon Oct 4 19:51:16 2010 New Revision: 213416 URL: http://svn.freebsd.org/changeset/base/213416 Log: MFC: r213075 Try to adhere to style.Makefile(5). Modified: stable/7/libexec/tftpd/Makefile stable/7/usr.bin/tftp/Makefile Directory Properties:

svn commit: r213417 - in stable/8: libexec/tftpd usr.bin/tftp

2010-10-04 Thread Marius Strobl
Author: marius Date: Mon Oct 4 19:59:08 2010 New Revision: 213417 URL: http://svn.freebsd.org/changeset/base/213417 Log: MFC: r213099 Make WARNS=6 clean. Modified: stable/8/libexec/tftpd/Makefile stable/8/libexec/tftpd/tftp-file.c stable/8/libexec/tftpd/tftp-options.c

svn commit: r213418 - in stable/7: libexec/tftpd usr.bin/tftp

2010-10-04 Thread Marius Strobl
Author: marius Date: Mon Oct 4 19:59:11 2010 New Revision: 213418 URL: http://svn.freebsd.org/changeset/base/213418 Log: MFC: r213099 Make WARNS=6 clean. Modified: stable/7/libexec/tftpd/Makefile stable/7/libexec/tftpd/tftp-file.c stable/7/libexec/tftpd/tftp-options.c

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

2010-10-04 Thread Bruce Evans
On Mon, 4 Oct 2010, Poul-Henning Kamp wrote: Log: Certain static code analysis tools (FlexeLint being one) are very suspicious about 'l' and '1' being confused in numeric constants. The fear being that some old fart programmer might still think that he is using a Remmington Noiseless as

svn commit: r213419 - stable/8/libexec/tftpd

2010-10-04 Thread Marius Strobl
Author: marius Date: Mon Oct 4 20:02:48 2010 New Revision: 213419 URL: http://svn.freebsd.org/changeset/base/213419 Log: MFC: r213102 Remove the duplicate logging of failed read requests, whose error message also was inappropriate as it triggered for every EACCESS and ENOTFOUND, not

svn commit: r213420 - stable/7/libexec/tftpd

2010-10-04 Thread Marius Strobl
Author: marius Date: Mon Oct 4 20:02:54 2010 New Revision: 213420 URL: http://svn.freebsd.org/changeset/base/213420 Log: MFC: r213102 Remove the duplicate logging of failed read requests, whose error message also was inappropriate as it triggered for every EACCESS and ENOTFOUND, not

svn commit: r213421 - stable/8/sys/dev/mpt

2010-10-04 Thread Marius Strobl
Author: marius Date: Mon Oct 4 20:13:19 2010 New Revision: 213421 URL: http://svn.freebsd.org/changeset/base/213421 Log: MFC: r213105, r213147 Improve r56796; the reply handler actually may remove the request from the chain in which case it shouldn't be removed twice. Reported by:

svn commit: r213422 - stable/7/sys/dev/mpt

2010-10-04 Thread Marius Strobl
Author: marius Date: Mon Oct 4 20:13:21 2010 New Revision: 213422 URL: http://svn.freebsd.org/changeset/base/213422 Log: MFC: r213105, r213147 Improve r56796; the reply handler actually may remove the request from the chain in which case it shouldn't be removed twice. Reported by:

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

2010-10-04 Thread Pyun YongHyeon
Author: yongari Date: Mon Oct 4 20:49:38 2010 New Revision: 213423 URL: http://svn.freebsd.org/changeset/base/213423 Log: Move updating TX packet counter to the inside of send loop. axe(4) controllers combine multiple TX requests into single one if there is room in TX buffer of controller.

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

2010-10-04 Thread Pyun YongHyeon
Author: yongari Date: Mon Oct 4 21:01:27 2010 New Revision: 213424 URL: http://svn.freebsd.org/changeset/base/213424 Log: Make upper stack know driver's output status. This change increased TX performance from 221kpps to 231kpps. Modified: head/sys/dev/usb/net/if_axe.c Modified:

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

2010-10-04 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 4 21:24:10 2010 New Revision: 213425 URL: http://svn.freebsd.org/changeset/base/213425 Log: The root mount hold reference was not released on USB controller attach failures during boot. Fix this. Approved by:thompsa (mentor) Modified:

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

2010-10-04 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 4 21:30:15 2010 New Revision: 213426 URL: http://svn.freebsd.org/changeset/base/213426 Log: Add missing DRIVER_MODULE() entry for the musbotg driver. Add some more comments. Approved by:thompsa (mentor) Modified:

svn commit: r213427 - head/sys/dev/usb

2010-10-04 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 4 21:38:10 2010 New Revision: 213427 URL: http://svn.freebsd.org/changeset/base/213427 Log: Add missing USB 3.0 definitions. Correct some wrong ones. Approved by:thompsa (mentor) Modified: head/sys/dev/usb/usb.h Modified: head/sys/dev/usb/usb.h

svn commit: r213428 - head/sbin/hastd

2010-10-04 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Oct 4 21:41:18 2010 New Revision: 213428 URL: http://svn.freebsd.org/changeset/base/213428 Log: We can't mask ignored signal, so install dummy signal hander for SIGCHLD before masking it. This fixes bogus reports about hooks running for too long and other problems

Re: svn commit: r212979 - in head: gnu/lib/libobjc sys/boot/i386/boot2 sys/boot/pc98/boot2

2010-10-04 Thread Anonymous
Dimitry Andric d...@freebsd.org writes: The particular case of libobjc is special, because it is the only Makefile that both modifies CC, and takes the default CFLAGS from make.conf. The only other cases where we *must* compile with gcc for now, are boot2 for i386 and pc98, but these set

svn commit: r213429 - head/sbin/hastd

2010-10-04 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Oct 4 21:43:06 2010 New Revision: 213429 URL: http://svn.freebsd.org/changeset/base/213429 Log: hook_check() is now only used to report about long-running hooks, so the argument is redundant, remove it. MFC after:3 days Modified: head/sbin/hastd/hastd.c

svn commit: r213430 - head/sbin/hastd

2010-10-04 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Oct 4 21:44:26 2010 New Revision: 213430 URL: http://svn.freebsd.org/changeset/base/213430 Log: Decrease report interval to 5 seconds, as this also means we will check for signals every 5 seconds and not every 10 seconds as before. MFC after:3 days Modified:

svn commit: r213431 - head/sys/dev/usb

2010-10-04 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 4 22:04:22 2010 New Revision: 213431 URL: http://svn.freebsd.org/changeset/base/213431 Log: Correct IOCTL return code. Approved by:thompsa (mentor) Modified: head/sys/dev/usb/usb_dev.c Modified: head/sys/dev/usb/usb_dev.c

svn commit: r213432 - head/sys/dev/usb

2010-10-04 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 4 22:21:30 2010 New Revision: 213432 URL: http://svn.freebsd.org/changeset/base/213432 Log: Serialise USB re-enumeration with the USB explore thread. This patch can solve problems when multiple USB devices are re-enumerated at the same time on the same bus.

svn commit: r213433 - head/sys/dev/usb

2010-10-04 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 4 22:45:17 2010 New Revision: 213433 URL: http://svn.freebsd.org/changeset/base/213433 Log: Add more strict USB string filtering. Approved by:thompsa (mentor) Modified: head/sys/dev/usb/usb_request.c Modified: head/sys/dev/usb/usb_request.c

svn commit: r213434 - head/sys/dev/usb

2010-10-04 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 4 22:50:08 2010 New Revision: 213434 URL: http://svn.freebsd.org/changeset/base/213434 Log: Add missing #if's Approved by:thompsa (mentor) Modified: head/sys/dev/usb/usb_handle_request.c Modified: head/sys/dev/usb/usb_handle_request.c

svn commit: r213435 - in head/sys/dev/usb: . controller

2010-10-04 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 4 23:18:05 2010 New Revision: 213435 URL: http://svn.freebsd.org/changeset/base/213435 Log: This commit adds full support for USB 3.0 devices in host and device mode in the USB core. The patch mostly consists of updating the USB HUB code to support USB 3.0

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

2010-10-04 Thread Pyun YongHyeon
Author: yongari Date: Mon Oct 4 23:19:31 2010 New Revision: 213436 URL: http://svn.freebsd.org/changeset/base/213436 Log: Don't count input error twice. uether_rxbuf() already updated that counter. Modified: head/sys/dev/usb/net/if_axe.c Modified: head/sys/dev/usb/net/if_axe.c

svn commit: r213437 - in head/sys: conf modules/usb modules/usb/xhci

2010-10-04 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 4 23:22:03 2010 New Revision: 213437 URL: http://svn.freebsd.org/changeset/base/213437 Log: Link the XHCI (USB 3.0 hardware driver) into the default kernel build. Approved by:thompsa (mentor) Added: head/sys/modules/usb/xhci/

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

2010-10-04 Thread Pyun YongHyeon
Author: yongari Date: Mon Oct 4 23:25:38 2010 New Revision: 213438 URL: http://svn.freebsd.org/changeset/base/213438 Log: RX buffer allocation failure is not an input error. Controller successfully received a frame but we failed to pass it to upper stack due to lack of resources. So update

svn commit: r213439 - head/sys/dev/usb/storage

2010-10-04 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 4 23:30:44 2010 New Revision: 213439 URL: http://svn.freebsd.org/changeset/base/213439 Log: Print out correct USB connection speed for USB 3.0 mass storage devices. Approved by:thompsa (mentor) Modified: head/sys/dev/usb/storage/umass.c Modified:

svn commit: r213440 - head/usr.bin/netstat

2010-10-04 Thread Ruslan Ermilov
Author: ru Date: Tue Oct 5 05:15:27 2010 New Revision: 213440 URL: http://svn.freebsd.org/changeset/base/213440 Log: Show hostcache statistics. Submitted by: Maxim Dounin Modified: head/usr.bin/netstat/inet.c Modified: head/usr.bin/netstat/inet.c

svn commit: r213441 - head/sys/mips/rmi

2010-10-04 Thread Jayachandran C.
Author: jchandra Date: Tue Oct 5 05:49:38 2010 New Revision: 213441 URL: http://svn.freebsd.org/changeset/base/213441 Log: Fix asm for XKPHYS read for o32, constriants needed for input registers that are clobbered. Fixes a crash when compiled without DEBUG Modified: