Re: svn commit: r202572 - head/lib/libc/gen

2010-01-20 Thread Bruce Evans
On Wed, 20 Jan 2010, Andrey Chernov wrote: On Wed, Jan 20, 2010 at 01:42:08AM +1100, Bruce Evans wrote: The comment was correct. It says that POSIX requires strcoll() for alphasort(), not for opendir(). Since opendir() is not alphasort(), and it wants plain ASCII sorting to support union file

svn commit: r202686 - head/usr.sbin/ypserv

2010-01-20 Thread Hiroki Sato
Author: hrs Date: Wed Jan 20 09:29:07 2010 New Revision: 202686 URL: http://svn.freebsd.org/changeset/base/202686 Log: Try a privileged port for binding whenever possible because the ypbind daemon requires the ypserv daemon is running on a privileged port. Reported by: Andrzej Tobola

Re: svn commit: r202572 - head/lib/libc/gen

2010-01-20 Thread Andrey Chernov
On Wed, Jan 20, 2010 at 07:43:29PM +1100, Bruce Evans wrote: > No, it is a comment about opendir()'s comparison function. It has nothing > to do with scandir(), and the only thing that it has to do with alphasort() > is that it must be different for the reasons described. Then the comment was pla

Re: svn commit: r202572 - head/lib/libc/gen

2010-01-20 Thread Bruce Evans
On Wed, 20 Jan 2010, Andrey Chernov wrote: On Wed, Jan 20, 2010 at 07:43:29PM +1100, Bruce Evans wrote: No, it is a comment about opendir()'s comparison function. It has nothing to do with scandir(), and the only thing that it has to do with alphasort() is that it must be different for the rea

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

2010-01-20 Thread Andrey A. Chernov
Author: ache Date: Wed Jan 20 11:55:14 2010 New Revision: 202691 URL: http://svn.freebsd.org/changeset/base/202691 Log: For alphasort() add reference to strcoll(3) Modified: head/lib/libc/gen/scandir.3 Modified: head/lib/libc/gen/scandir.3

svn commit: r202692 - in head/sys: kern sys

2010-01-20 Thread Konstantin Belousov
Author: kib Date: Wed Jan 20 11:58:04 2010 New Revision: 202692 URL: http://svn.freebsd.org/changeset/base/202692 Log: When traced process is about to receive the signal, the process is stopped and debugger may modify or drop the signal. After the changes to keep process-targeted signals on

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

2010-01-20 Thread Andrey A. Chernov
Author: ache Date: Wed Jan 20 11:59:46 2010 New Revision: 202693 URL: http://svn.freebsd.org/changeset/base/202693 Log: Style: reword comment. Submitted by: bde Modified: head/lib/libc/gen/scandir.c Modified: head/lib/libc/gen/scandir.c

Re: svn commit: r202572 - head/lib/libc/gen

2010-01-20 Thread Andrey Chernov
On Wed, Jan 20, 2010 at 09:33:08PM +1100, Bruce Evans wrote: > > But there is > > nothing said about opendir() & strcoll() relation in the mentioned > > standards. The only word I found is that opendir() returns "ordered" > > sequence, but nowhere mentioned ordered by what criteria, so perhaps they

svn commit: r202694 - head/sbin/camcontrol

2010-01-20 Thread Alexander Motin
Author: mav Date: Wed Jan 20 13:31:12 2010 New Revision: 202694 URL: http://svn.freebsd.org/changeset/base/202694 Log: - Add -v argument to `camcontrol identify` command. It makes camcontrol print full identify data block. - Improve identify result view and add TRIM support. Modified: hea

svn commit: r202697 - head/sys/mips/mips

2010-01-20 Thread Neel Natu
Author: neel Date: Wed Jan 20 14:17:41 2010 New Revision: 202697 URL: http://svn.freebsd.org/changeset/base/202697 Log: Make sure that interrupts are enabled when thread0 is running. Approved by: imp (mentor) Modified: head/sys/mips/mips/machdep.c Modified: head/sys/mips/mips/machdep.c

svn commit: r202698 - in head/sys/mips: include mips

2010-01-20 Thread Neel Natu
Author: neel Date: Wed Jan 20 14:21:28 2010 New Revision: 202698 URL: http://svn.freebsd.org/changeset/base/202698 Log: Get rid of unused function MipsTLBInvalidException(). Approved by: imp (mentor) Modified: head/sys/mips/include/trap.h head/sys/mips/mips/db_trace.c head/sys/mips/m

svn commit: r202699 - head/sys/dev/ata

2010-01-20 Thread Rui Paulo
Author: rpaulo Date: Wed Jan 20 14:29:55 2010 New Revision: 202699 URL: http://svn.freebsd.org/changeset/base/202699 Log: Make ata_getrev() an optional method by implementing ata_null_getrev(). This fixes a bogus '???' boot message on Cambria boards with a CompactFlash card. Reviewed by

svn commit: r202700 - stable/8/share/man/man9

2010-01-20 Thread John Baldwin
Author: jhb Date: Wed Jan 20 14:48:42 2010 New Revision: 202700 URL: http://svn.freebsd.org/changeset/base/202700 Log: MFC 202285: - Note that if_xname, if_dname, and if_dunit are usually initialized via if_initname(). - Document if_drv_flags and replace references to IFF_(RUNNING|OACTIV

svn commit: r202701 - stable/7/share/man/man9

2010-01-20 Thread John Baldwin
Author: jhb Date: Wed Jan 20 14:48:58 2010 New Revision: 202701 URL: http://svn.freebsd.org/changeset/base/202701 Log: MFC 202285: - Note that if_xname, if_dname, and if_dunit are usually initialized via if_initname(). - Document if_drv_flags and replace references to IFF_(RUNNING|OACTIV

svn commit: r202702 - stable/8/contrib/gcc/config/i386

2010-01-20 Thread John Baldwin
Author: jhb Date: Wed Jan 20 15:13:38 2010 New Revision: 202702 URL: http://svn.freebsd.org/changeset/base/202702 Log: MFC 198344: Change gcc to assume a default machine architecture of 486 instead of 386 on "i386". Doing it in the compiler is deemed to be less fragile then attempting to

svn commit: r202703 - stable/7/contrib/gcc/config/i386

2010-01-20 Thread John Baldwin
Author: jhb Date: Wed Jan 20 15:14:20 2010 New Revision: 202703 URL: http://svn.freebsd.org/changeset/base/202703 Log: MFC 198344: Change gcc to assume a default machine architecture of 486 instead of 386 on "i386". Doing it in the compiler is deemed to be less fragile then attempting to

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

2010-01-20 Thread Konstantin Belousov
Author: kib Date: Wed Jan 20 15:24:24 2010 New Revision: 202705 URL: http://svn.freebsd.org/changeset/base/202705 Log: MFC r198470, r198521: Syncronize iwn(4) manpages with HEAD. Modified: stable/8/share/man/man4/iwn.4 stable/8/share/man/man4/iwnfw.4 Directory Properties: stable/8/share

svn commit: r202706 - stable/8/sys/powerpc/include

2010-01-20 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Jan 20 16:28:39 2010 New Revision: 202706 URL: http://svn.freebsd.org/changeset/base/202706 Log: MFC r200018: Bump limits on PowerPC. This allows large executables like parts of LLVM to function. Reviewed by: grehan Obtained from:NetBSD Modifi

svn commit: r202707 - head/usr.sbin/ypserv

2010-01-20 Thread Hiroki Sato
Author: hrs Date: Wed Jan 20 16:50:13 2010 New Revision: 202707 URL: http://svn.freebsd.org/changeset/base/202707 Log: Simply ignore unsupported protocols listed in /etc/netconfig and abort only if no transport is available. This fixes (INET && !INET6) and (!INET && INET6) case, for example

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

2010-01-20 Thread Jaakko Heinonen
Author: jh Date: Wed Jan 20 16:56:20 2010 New Revision: 202708 URL: http://svn.freebsd.org/changeset/base/202708 Log: - Change the type of nodes_max to u_int and use "%u" format string to convert its value. [1] - Set default tm_nodes_max to min(pages + 3, UINT32_MAX). It's more reasona

Re: svn commit: r202708 - head/sys/fs/tmpfs

2010-01-20 Thread Ivan Voras
2010/1/20 Jaakko Heinonen : > Author: jh > Date: Wed Jan 20 16:56:20 2010 > New Revision: 202708 > URL: http://svn.freebsd.org/changeset/base/202708 > Modified: >  head/sys/fs/tmpfs/tmpfs_subr.c >  head/sys/fs/tmpfs/tmpfs_vfsops.c Any chance of downgrading the "considered highly experimental" sta

Re: svn commit: r202708 - head/sys/fs/tmpfs

2010-01-20 Thread Ronald Klop
On Wed, 20 Jan 2010 18:34:37 +0100, Ivan Voras wrote: 2010/1/20 Jaakko Heinonen : Author: jh Date: Wed Jan 20 16:56:20 2010 New Revision: 202708 URL: http://svn.freebsd.org/changeset/base/202708 Modified: head/sys/fs/tmpfs/tmpfs_subr.c head/sys/fs/tmpfs/tmpfs_vfsops.c Any chance of down

svn commit: r202709 - head/usr.sbin/burncd

2010-01-20 Thread Xin LI
Author: delphij Date: Wed Jan 20 18:22:56 2010 New Revision: 202709 URL: http://svn.freebsd.org/changeset/base/202709 Log: Give the right value when complaining it being wrong. Reported by: danfe MFC after:3 days Modified: head/usr.sbin/burncd/burncd.c Modified: head/usr.sbin/bur

svn commit: r202711 - stable/7/sys/netinet

2010-01-20 Thread Michael Tuexen
Author: tuexen Date: Wed Jan 20 18:50:49 2010 New Revision: 202711 URL: http://svn.freebsd.org/changeset/base/202711 Log: MFC 199372 Do not start the iterator when there are no associations. This fixes a bug found by Irene Ruengeler. Modified: stable/7/sys/netinet/sctp_asconf.c Directory

svn commit: r202712 - stable/7/sys/netinet

2010-01-20 Thread Michael Tuexen
Author: tuexen Date: Wed Jan 20 18:55:40 2010 New Revision: 202712 URL: http://svn.freebsd.org/changeset/base/202712 Log: MFC 199437 Use always LIST_EMPTY instead of sometime SCTP_LIST_EMPTY, which is defined as LIST_EMPTY. Modified: stable/7/sys/netinet/sctp_auth.c stable/7/sys/neti

svn commit: r202713 - stable/7/sys/netinet

2010-01-20 Thread Michael Tuexen
Author: tuexen Date: Wed Jan 20 18:58:23 2010 New Revision: 202713 URL: http://svn.freebsd.org/changeset/base/202713 Log: MFC 201523 Correct usage of parenthesis. Modified: stable/7/sys/netinet/sctp_pcb.c Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/contrib

svn commit: r202714 - stable/7/sys/netinet

2010-01-20 Thread Michael Tuexen
Author: tuexen Date: Wed Jan 20 19:11:31 2010 New Revision: 202714 URL: http://svn.freebsd.org/changeset/base/202714 Log: MFC 199369 Do not hold the lock longer than necessary. Modified: stable/7/sys/netinet/sctputil.c Directory Properties: stable/7/sys/ (props changed) stable/7/sy

svn commit: r202715 - stable/7/sys/netinet

2010-01-20 Thread Michael Tuexen
Author: tuexen Date: Wed Jan 20 19:14:34 2010 New Revision: 202715 URL: http://svn.freebsd.org/changeset/base/202715 Log: MFC 199866 Use the default stack size for the iterator thread. This fixes a crash reported by Irene Ruengeler. Modified: stable/7/sys/netinet/sctp_constants.h Direc

svn commit: r202716 - stable/7/sys/netinet

2010-01-20 Thread Michael Tuexen
Author: tuexen Date: Wed Jan 20 19:20:31 2010 New Revision: 202716 URL: http://svn.freebsd.org/changeset/base/202716 Log: MFC 197868 Use correct arguments when calling SCTP_RTALLOC(). Modified: stable/7/sys/netinet/sctp_output.c Directory Properties: stable/7/sys/ (props changed) s

svn commit: r202717 - head/sys/dev/bce

2010-01-20 Thread David Christensen
Author: davidch Date: Wed Jan 20 20:33:10 2010 New Revision: 202717 URL: http://svn.freebsd.org/changeset/base/202717 Log: - Added a workaround for NC-SI management firmware that would allow frames to be accepted while the driver is resetting the hardware. This failure is generally obser

svn commit: r202718 - head/usr.bin/getent

2010-01-20 Thread Ed Schouten
Author: ed Date: Wed Jan 20 21:12:30 2010 New Revision: 202718 URL: http://svn.freebsd.org/changeset/base/202718 Log: Also print UNIX timestamps in getent utmpx output. Modified: head/usr.bin/getent/getent.c Modified: head/usr.bin/getent/getent.c =

svn commit: r202719 - in head: . gnu/usr.bin usr.bin usr.bin/bc usr.bin/bc/USD.doc usr.bin/dc usr.bin/dc/USD.doc

2010-01-20 Thread Gabor Kovesdan
le is partitioned: OLD_FILES first, then OLD_LIBS and OLD_DIRS last. # +# 20100120: replacing GNU bc/dc with BSDL versions +OLD_FILES+=usr/share/examples/bc/ckbook.b +OLD_FILES+=usr/share/examples/bc/pi.b +OLD_FILES+=usr/share/examples/bc/primes.b +OLD_FILES+=usr/share/examples/bc/twins.b +OLD_FILES

svn commit: r202721 - head/lib/libc/sys

2010-01-20 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Jan 20 22:26:36 2010 New Revision: 202721 URL: http://svn.freebsd.org/changeset/base/202721 Log: The waitpid(2) function needs neither sys/time.h nor sys/resource.h. Modified: head/lib/libc/sys/wait.2 Modified: head/lib/libc/sys/wait.2 ==

Re: svn commit: r202719 - in head: . gnu/usr.bin usr.bin usr.bin/bc usr.bin/bc/USD.doc usr.bin/dc usr.bin/dc/USD.doc

2010-01-20 Thread Ed Schouten
Wed Jan 20 21:30:52 2010(r202719) > @@ -14,6 +14,13 @@ > # The file is partitioned: OLD_FILES first, then OLD_LIBS and OLD_DIRS last. > # > > +# 20100120: replacing GNU bc/dc with BSDL versions > +OLD_FILES+=usr/share/examples/bc/ckbook.b > +OLD_FILES+=usr/share/e

Re: svn commit: r202719 - in head: . gnu/usr.bin usr.bin usr.bin/bc usr.bin/bc/USD.doc usr.bin/dc usr.bin/dc/USD.doc

2010-01-20 Thread Gabor Kovesdan
El 2010. 01. 20. 23:36, Ed Schouten escribió: +# 20100120: replacing GNU bc/dc with BSDL versions +OLD_FILES+=usr/share/examples/bc/ckbook.b +OLD_FILES+=usr/share/examples/bc/pi.b +OLD_FILES+=usr/share/examples/bc/primes.b +OLD_FILES+=usr/share/examples/bc/twins.b +OLD_FILES+=usr/share/info

svn commit: r202722 - head/sys/sys

2010-01-20 Thread Gabor Kovesdan
Author: gabor (doc,ports committer) Date: Wed Jan 20 22:45:59 2010 New Revision: 202722 URL: http://svn.freebsd.org/changeset/base/202722 Log: - Bump __FreeBSD_version for BSDL bc/dc import to deprecate GNU bc/dc Approved by: delphij Modified: head/sys/sys/param.h Modified: head/sys/sy

svn commit: r202723 - head/sys/mips/atheros

2010-01-20 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Jan 21 00:15:59 2010 New Revision: 202723 URL: http://svn.freebsd.org/changeset/base/202723 Log: - Remove unnecessary register writes in activate_device and deactivate_device - Save state before attaching driver and restore it when detaching - Clear CLK bi

svn commit: r202724 - stable/8/sys/dev/mii

2010-01-20 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 21 00:37:14 2010 New Revision: 202724 URL: http://svn.freebsd.org/changeset/base/202724 Log: MFC r202269: Add BCM5754 PHY id that is found on Dell Studio XPS 16. Modified: stable/8/sys/dev/mii/brgphy.c stable/8/sys/dev/mii/miidevs Directory Properties: st

svn commit: r202725 - stable/7/sys/dev/mii

2010-01-20 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 21 00:39:45 2010 New Revision: 202725 URL: http://svn.freebsd.org/changeset/base/202725 Log: MFC r202269: Add BCM5754 PHY id that is found on Dell Studio XPS 16. Modified: stable/7/sys/dev/mii/brgphy.c stable/7/sys/dev/mii/miidevs Directory Properties: st

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

2010-01-20 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 21 00:45:12 2010 New Revision: 202726 URL: http://svn.freebsd.org/changeset/base/202726 Log: MFC r202293: For controllers that has dual mode PHY(copper or fiber) interfaces over GMII, make sure to enable GMII. With this change brgphy(4) is used to handle

svn commit: r202727 - stable/7/sys/dev/bge

2010-01-20 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 21 00:46:54 2010 New Revision: 202727 URL: http://svn.freebsd.org/changeset/base/202727 Log: MFC r202293: For controllers that has dual mode PHY(copper or fiber) interfaces over GMII, make sure to enable GMII. With this change brgphy(4) is used to handle

svn commit: r202728 - stable/8/sys/dev/mii

2010-01-20 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 21 00:49:14 2010 New Revision: 202728 URL: http://svn.freebsd.org/changeset/base/202728 Log: MFC r202294: Add check for fiber mode for BCM5714 PHY. This PHY supports both copper and fiber interfaces over GMII so an explicit check is necessary to know whe

svn commit: r202729 - stable/7/sys/dev/mii

2010-01-20 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 21 00:50:46 2010 New Revision: 202729 URL: http://svn.freebsd.org/changeset/base/202729 Log: MFC r202294: Add check for fiber mode for BCM5714 PHY. This PHY supports both copper and fiber interfaces over GMII so an explicit check is necessary to know whe

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

2010-01-20 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 21 00:53:00 2010 New Revision: 202730 URL: http://svn.freebsd.org/changeset/base/202730 Log: MFC r202406: Don't free mbuf chains when bge(4) fails to collapse the mbuf chains. This part of code is to enhance performance so failing the collapsing should n

svn commit: r202731 - stable/7/sys/dev/bge

2010-01-20 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 21 00:54:22 2010 New Revision: 202731 URL: http://svn.freebsd.org/changeset/base/202731 Log: MFC r202406: Don't free mbuf chains when bge(4) fails to collapse the mbuf chains. This part of code is to enhance performance so failing the collapsing should n

Re: svn commit: r202724 - stable/8/sys/dev/mii

2010-01-20 Thread Sean C. Farley
On Thu, 21 Jan 2010, Pyun YongHyeon wrote: Author: yongari Date: Thu Jan 21 00:37:14 2010 New Revision: 202724 URL: http://svn.freebsd.org/changeset/base/202724 Log: MFC r202269: Add BCM5754 PHY id that is found on Dell Studio XPS 16. Thank you! Sean -- s...@freebsd.org _

Re: svn commit: r202598 - head/sys/compat/linux

2010-01-20 Thread Wojciech A. Koszek
On Tue, Jan 19, 2010 at 09:15:00AM +0100, Alexander Leidinger wrote: > Quoting "Wojciech A. Koszek" (from Mon, 18 Jan 2010 > 22:46:06 + (UTC)): > >> Author: wkoszek >> Date: Mon Jan 18 22:46:06 2010 >> New Revision: 202598 >> URL: http://svn.freebsd.org/changeset/base/202598 >> >> Log: >>

svn commit: r202732 - head/sys/mips/mips

2010-01-20 Thread Neel Natu
Author: neel Date: Thu Jan 21 02:21:31 2010 New Revision: 202732 URL: http://svn.freebsd.org/changeset/base/202732 Log: Get rid of redundant setting of interrupt enable bit when restoring the status register from the PCB. Remove a couple of misleading comments while I am here. The comment

svn commit: r202733 - in stable/8/sys/dev/cxgb: . common

2010-01-20 Thread Navdeep Parhar
Author: np Date: Thu Jan 21 03:06:52 2010 New Revision: 202733 URL: http://svn.freebsd.org/changeset/base/202733 Log: MFC r201907,202671,202678 r201907: Extra parantheses to keep certain compilers happy. r202671: Fix for a cxgb(4) panic. cxgb_ioctl can be called by the IP and IPv6

svn commit: r202734 - head/usr.sbin/extattr

2010-01-20 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Jan 21 03:49:18 2010 New Revision: 202734 URL: http://svn.freebsd.org/changeset/base/202734 Log: Fix a bug when printing attributes from multiple files: buflen could be longer than the length of the current attribute if the buffer were reused and previously longe

Re: svn commit: r202708 - head/sys/fs/tmpfs

2010-01-20 Thread Yoshihiro Ota
On Wed, 20 Jan 2010 18:50:58 +0100 "Ronald Klop" wrote: > On Wed, 20 Jan 2010 18:34:37 +0100, Ivan Voras wrote: > > > 2010/1/20 Jaakko Heinonen : > >> Author: jh > >> Date: Wed Jan 20 16:56:20 2010 > >> New Revision: 202708 > >> URL: http://svn.freebsd.org/changeset/base/202708 > > > >> Modifie

Re: svn commit: r202572 - head/lib/libc/gen

2010-01-20 Thread Bruce Evans
On Wed, 20 Jan 2010, Andrey Chernov wrote: On Wed, Jan 20, 2010 at 09:33:08PM +1100, Bruce Evans wrote: But there is nothing said about opendir() & strcoll() relation in the mentioned standards. The only word I found is that opendir() returns "ordered" sequence, but nowhere mentioned ordered by