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 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

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

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 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

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

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

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: 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: r213404 - head

2010-10-04 Thread Gordon Tetlow
Author: gordon Date: Mon Oct 4 15:39:53 2010 New Revision: 213404 URL: http://svn.freebsd.org/changeset/base/213404 Log: Add updating entry for manpath.config deprecation. Approved by: wes (mentor) Modified: head/UPDATING Modified: head/UPDATING

svn commit: r213406 - head/libexec/rtld-elf/powerpc

2010-10-04 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Oct 4 16:02:11 2010 New Revision: 213406 URL: http://svn.freebsd.org/changeset/base/213406 Log: Fix two subtle problems in PPC32 RTLD. The first is a concurrency issue where long PLT calls in multi-threaded environments could end up with incorrect jmptab

svn commit: r213407 - head/sys/powerpc/aim

2010-10-04 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Oct 4 16:07:48 2010 New Revision: 213407 URL: http://svn.freebsd.org/changeset/base/213407 Log: Follow exactly the steps in architecture manual for correctly invalidating TLB entries instead of trying to cut corners. Modified: head/sys/powerpc/aim/mmu_oea.c

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

2010-10-04 Thread Ben Kaduk
On Mon, Oct 4, 2010 at 7:42 AM, Alexander Best arun...@freebsd.org wrote: 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      The -P option assumes that the underlying file system is

svn commit: r213408 - head/sys/vm

2010-10-04 Thread Alan Cox
Author: alc Date: Mon Oct 4 16:49:40 2010 New Revision: 213408 URL: http://svn.freebsd.org/changeset/base/213408 Log: If vm_map_find() is asked to allocate a superpage-aligned region of virtual addresses that is greater than a superpage in size but not a multiple of the superpage size,

svn commit: r213409 - head/sys/dev/hwpmc

2010-10-04 Thread George V. Neville-Neil
Author: gnn Date: Mon Oct 4 17:22:18 2010 New Revision: 213409 URL: http://svn.freebsd.org/changeset/base/213409 Log: Fix two aliases that had the same name but were pointing to different events. These are now disamiguated. MFC after:1 week Modified:

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

2010-10-04 Thread Kostik Belousov
On Tue, Oct 05, 2010 at 12:30:02AM +0900, Hajimu UMEMOTO wrote: 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

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

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: 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: 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: