svn commit: r207695 - in stable/8/sys: contrib/ipfilter/netinet net netinet netinet6 netipsec

2010-05-06 Thread Bjoern A. Zeeb
Author: bz Date: Thu May 6 06:44:19 2010 New Revision: 207695 URL: http://svn.freebsd.org/changeset/base/207695 Log: MFC r207369: MFP4: @176978-176982, 176984, 176990-176994, 177441 Whitspace churn after the VIMAGE/VNET whirls. Remove the need for some init functions within

svn commit: r207697 - stable/8/sys/kern

2010-05-06 Thread Marko Zec
Author: zec Date: Thu May 6 09:52:32 2010 New Revision: 207697 URL: http://svn.freebsd.org/changeset/base/207697 Log: MFC r207475: Remove a redundant variable assignment. Reviewed by: bz, rwatson Modified: stable/8/sys/kern/uipc_mbuf.c Directory Properties: stable/8/sys/

svn commit: r207698 - stable/8/sys/netgraph

2010-05-06 Thread Marko Zec
Author: zec Date: Thu May 6 09:54:01 2010 New Revision: 207698 URL: http://svn.freebsd.org/changeset/base/207698 Log: MFC r207572: When destroying a vnet, shut down all netgraph nodes tied to that vnet before proceeding with dismantling other protocol domains. This change only

svn commit: r207700 - head/sys/kern

2010-05-06 Thread Alan Cox
Author: alc Date: Thu May 6 15:52:08 2010 New Revision: 207700 URL: http://svn.freebsd.org/changeset/base/207700 Log: Eliminate a small bit of unneeded code from kern_sendfile(): While kern_sendfile() is running, the file's vm object can't be destroyed because kern_sendfile() increments

svn commit: r207701 - head/usr.bin/calendar

2010-05-06 Thread Andrey A. Chernov
Author: ache Date: Thu May 6 16:37:50 2010 New Revision: 207701 URL: http://svn.freebsd.org/changeset/base/207701 Log: Fix recent space skipping: 1) add missing (unsigned char) cast to ctype() macro 2) fix off-by-one error causing last letter always doubled Modified:

svn commit: r207702 - in head/sys: amd64/amd64 i386/i386 sparc64/sparc64 vm

2010-05-06 Thread Alan Cox
Author: alc Date: Thu May 6 16:39:43 2010 New Revision: 207702 URL: http://svn.freebsd.org/changeset/base/207702 Log: Push down the page queues lock inside of vm_page_free_toq() and pmap_page_is_mapped() in preparation for removing page queues locking around calls to vm_page_free().

svn commit: r207703 - head/usr.bin/calendar

2010-05-06 Thread Andrey A. Chernov
Author: ache Date: Thu May 6 16:54:46 2010 New Revision: 207703 URL: http://svn.freebsd.org/changeset/base/207703 Log: While I am here, add more missing (unsigned char) casts to ctype() macros Modified: head/usr.bin/calendar/io.c head/usr.bin/calendar/parsedata.c Modified:

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

2010-05-06 Thread Xin LI
Author: delphij Date: Thu May 6 17:03:27 2010 New Revision: 207704 URL: http://svn.freebsd.org/changeset/base/207704 Log: MFC r207382: bwn(4) will first appear in FreeBSD 8.1-RELEASE. Modified: stable/8/share/man/man4/bwn.4 Directory Properties: stable/8/share/man/man4/ (props

svn commit: r207705 - head/usr.bin/find

2010-05-06 Thread Xin LI
Author: delphij Date: Thu May 6 17:06:36 2010 New Revision: 207705 URL: http://svn.freebsd.org/changeset/base/207705 Log: Revert r207677 which is considered a violation of style(9). Pointed out by: bde Pointy hat to:delphij Modified: head/usr.bin/find/find.c

Re: svn commit: r207677 - head/usr.bin/find

2010-05-06 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2010/05/05 18:00, Bruce Evans wrote: On Wed, 5 May 2010, Xin LI wrote: Log: Move SCCS tags to comments as they were already #if 0'ed. This is explicitly disrecommended in style(9): All VCS (version control system) revision

svn commit: r207706 - head/sys/vm

2010-05-06 Thread Alan Cox
Author: alc Date: Thu May 6 17:28:59 2010 New Revision: 207706 URL: http://svn.freebsd.org/changeset/base/207706 Log: Update a comment to say that access to a page's wire count is now synchronized by the page lock. Modified: head/sys/vm/vm_page.h Modified: head/sys/vm/vm_page.h

svn commit: r207708 - in head/sys: kern net

2010-05-06 Thread Alan Cox
Author: alc Date: Thu May 6 17:43:41 2010 New Revision: 207708 URL: http://svn.freebsd.org/changeset/base/207708 Log: Remove page queues locking from all sf_buf_mext()-like functions. The page lock now suffices. Fix a couple nearby style violations. Modified:

svn commit: r207709 - head/sys/dev/iwn

2010-05-06 Thread Bernhard Schmidt
Author: bschmidt Date: Thu May 6 17:53:04 2010 New Revision: 207709 URL: http://svn.freebsd.org/changeset/base/207709 Log: Add a workaround for a bug in the firmware regarding the transition from passive to active scans. Basicly disable it by increasing the amount packets to be received to

Re: svn commit: r207709 - head/sys/dev/iwn

2010-05-06 Thread Ben Kaduk
On Thu, May 6, 2010 at 1:53 PM, Bernhard Schmidt bschm...@freebsd.org wrote: Author: bschmidt Date: Thu May 6 17:53:04 2010 New Revision: 207709 URL: http://svn.freebsd.org/changeset/base/207709 Log: Add a workaround for a bug in the firmware regarding the transition from passive to

svn commit: r207710 - stable/8/sys/dev/sge

2010-05-06 Thread Pyun YongHyeon
Author: yongari Date: Thu May 6 18:17:36 2010 New Revision: 207710 URL: http://svn.freebsd.org/changeset/base/207710 Log: MFC r207375-207377. r207375: Preserve unknown bits of RX MAC control register when driver programs RX filter configuration. It seems RX MAC control register

svn commit: r207711 - stable/7/sys/dev/sge

2010-05-06 Thread Pyun YongHyeon
Author: yongari Date: Thu May 6 18:26:43 2010 New Revision: 207711 URL: http://svn.freebsd.org/changeset/base/207711 Log: MFC r207375-207377. r207375: Preserve unknown bits of RX MAC control register when driver programs RX filter configuration. It seems RX MAC control register

Re: svn commit: r207709 - head/sys/dev/iwn

2010-05-06 Thread Bernhard Schmidt
On Thu, May 06, 2010 at 01:55:11PM -0400, Ben Kaduk wrote: On Thu, May 6, 2010 at 1:53 PM, Bernhard Schmidt bschm...@freebsd.org wrote: Author: bschmidt Date: Thu May 6 17:53:04 2010 New Revision: 207709 URL: http://svn.freebsd.org/changeset/base/207709 Log: Add a workaround for a

svn commit: r207712 - stable/8/sys/dev/sge

2010-05-06 Thread Pyun YongHyeon
Author: yongari Date: Thu May 6 18:30:46 2010 New Revision: 207712 URL: http://svn.freebsd.org/changeset/base/207712 Log: MFC r207379: Enable FCS stripping and padding 10 bytes bit of RX MAC control register. Due to lack of SiS190 controller, I'm not sure whether this is also

svn commit: r207713 - stable/7/sys/dev/sge

2010-05-06 Thread Pyun YongHyeon
Author: yongari Date: Thu May 6 18:32:02 2010 New Revision: 207713 URL: http://svn.freebsd.org/changeset/base/207713 Log: MFC r207379: Enable FCS stripping and padding 10 bytes bit of RX MAC control register. Due to lack of SiS190 controller, I'm not sure whether this is also

svn commit: r207714 - stable/8/sys/dev/sge

2010-05-06 Thread Pyun YongHyeon
Author: yongari Date: Thu May 6 18:34:15 2010 New Revision: 207714 URL: http://svn.freebsd.org/changeset/base/207714 Log: MFC r207380: Enable VLAN hardware tag insertion/stripping. Due to lack of SiS190 controller, I'm not sure whether this is also applicable to SiS190 so this

svn commit: r207715 - stable/7/sys/dev/sge

2010-05-06 Thread Pyun YongHyeon
Author: yongari Date: Thu May 6 18:35:53 2010 New Revision: 207715 URL: http://svn.freebsd.org/changeset/base/207715 Log: MFC r207380: Enable VLAN hardware tag insertion/stripping. Due to lack of SiS190 controller, I'm not sure whether this is also applicable to SiS190 so this

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

2010-05-06 Thread Pyun YongHyeon
Author: yongari Date: Thu May 6 18:37:39 2010 New Revision: 207716 URL: http://svn.freebsd.org/changeset/base/207716 Log: MFC r207381: Now sge(4) supports hardware VLAN tag insertion/stripping. Modified: stable/8/share/man/man4/sge.4 stable/8/share/man/man4/vlan.4 Directory

svn commit: r207717 - stable/7/share/man/man4

2010-05-06 Thread Pyun YongHyeon
Author: yongari Date: Thu May 6 18:38:19 2010 New Revision: 207717 URL: http://svn.freebsd.org/changeset/base/207717 Log: MFC r207381: Now sge(4) supports hardware VLAN tag insertion/stripping. Modified: stable/7/share/man/man4/sge.4 stable/7/share/man/man4/vlan.4 Directory

svn commit: r207718 - stable/8/sys/dev/msk

2010-05-06 Thread Pyun YongHyeon
Author: yongari Date: Thu May 6 18:43:00 2010 New Revision: 207718 URL: http://svn.freebsd.org/changeset/base/207718 Log: MFC r207409,207442: r207409: Both RX_GMF_LP_THR and RX_GMF_UP_THR must be 16 bits register. If it is 8bits register then RX FIFO size can't exceed 2KB which is

svn commit: r207719 - in head/sys: fs/msdosfs fs/tmpfs kern sys

2010-05-06 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 6 18:43:19 2010 New Revision: 207719 URL: http://svn.freebsd.org/changeset/base/207719 Log: Style fixes and removal of unneeded variable. Submitted by: bde@ Modified: head/sys/fs/msdosfs/msdosfs_vnops.c head/sys/fs/tmpfs/tmpfs_vnops.c

svn commit: r207720 - stable/7/sys/dev/msk

2010-05-06 Thread Pyun YongHyeon
Author: yongari Date: Thu May 6 18:44:49 2010 New Revision: 207720 URL: http://svn.freebsd.org/changeset/base/207720 Log: MFC r207409,207442: r207409: Both RX_GMF_LP_THR and RX_GMF_UP_THR must be 16 bits register. If it is 8bits register then RX FIFO size can't exceed 2KB which is

svn commit: r207721 - stable/8/sys/dev/msk

2010-05-06 Thread Pyun YongHyeon
Author: yongari Date: Thu May 6 18:47:16 2010 New Revision: 207721 URL: http://svn.freebsd.org/changeset/base/207721 Log: MFC r207445: Add basic support for Marvell 88E8059 Yukon Optima. Tested by: James LaLagna jameslalagna gmail dot com Modified:

svn commit: r207722 - stable/7/sys/dev/msk

2010-05-06 Thread Pyun YongHyeon
Author: yongari Date: Thu May 6 18:48:44 2010 New Revision: 207722 URL: http://svn.freebsd.org/changeset/base/207722 Log: MFC r207445: Add basic support for Marvell 88E8059 Yukon Optima. Tested by: James LaLagna jameslalagna gmail dot com Modified:

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

2010-05-06 Thread Pyun YongHyeon
Author: yongari Date: Thu May 6 18:50:23 2010 New Revision: 207723 URL: http://svn.freebsd.org/changeset/base/207723 Log: MFC r207446: Add Marvell PHYG65G Gigabit PHY which is found on 88E8059 Yukon Optima. Tested by: James LaLagna jameslalagna gmail dot com Modified:

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

2010-05-06 Thread Pyun YongHyeon
Author: yongari Date: Thu May 6 18:51:47 2010 New Revision: 207724 URL: http://svn.freebsd.org/changeset/base/207724 Log: MFC r207446: Add Marvell PHYG65G Gigabit PHY which is found on 88E8059 Yukon Optima. Tested by: James LaLagna jameslalagna gmail dot com Modified:

svn commit: r207725 - head/sys/kern

2010-05-06 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 6 18:52:41 2010 New Revision: 207725 URL: http://svn.freebsd.org/changeset/base/207725 Log: Avoid overflow. Submitted by: bde@ Modified: head/sys/kern/vfs_vnops.c Modified: head/sys/kern/vfs_vnops.c

svn commit: r207727 - stable/7/share/man/man4

2010-05-06 Thread Pyun YongHyeon
Author: yongari Date: Thu May 6 18:53:43 2010 New Revision: 207727 URL: http://svn.freebsd.org/changeset/base/207727 Log: MFC r207447: Marvell 88E8059(Yukon Optima) is now supported. Modified: stable/7/share/man/man4/msk.4 Directory Properties: stable/7/share/man/man4/ (props

svn commit: r207728 - in head/sys: fs/nfsclient fs/nwfs fs/smbfs kern nfsclient ufs/ffs vm

2010-05-06 Thread Alan Cox
Author: alc Date: Thu May 6 18:58:32 2010 New Revision: 207728 URL: http://svn.freebsd.org/changeset/base/207728 Log: Eliminate page queues locking around most calls to vm_page_free(). Modified: head/sys/fs/nfsclient/nfs_clbio.c head/sys/fs/nwfs/nwfs_io.c head/sys/fs/smbfs/smbfs_io.c

svn commit: r207729 - in head/sys: fs/devfs kern sys

2010-05-06 Thread Konstantin Belousov
Author: kib Date: Thu May 6 19:22:50 2010 New Revision: 207729 URL: http://svn.freebsd.org/changeset/base/207729 Log: Add MAKEDEV_NOWAIT flag to make_dev_credf(9), to create a device node in a no-sleep context. If resource allocation cannot be done without sleep, make_dev_credf() fails and

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

2010-05-06 Thread Konstantin Belousov
Author: kib Date: Thu May 6 19:23:49 2010 New Revision: 207730 URL: http://svn.freebsd.org/changeset/base/207730 Log: Document MAKEDEV_NOWAIT flag for make_dev_credf(9). Reviewed by: jh MFC after:2 weeks Modified: head/share/man/man9/make_dev.9 Modified:

svn commit: r207731 - head/usr.sbin/pmcstat

2010-05-06 Thread Fabien Thomas
Author: fabient Date: Thu May 6 20:54:19 2010 New Revision: 207731 URL: http://svn.freebsd.org/changeset/base/207731 Log: Exclude undefined symbol from ELF file when doing function resolve. MFC after: 3 days Modified: head/usr.sbin/pmcstat/pmcstat_log.c Modified:

svn commit: r207732 - head/sys/netgraph

2010-05-06 Thread Fabien Thomas
Author: fabient Date: Thu May 6 20:58:23 2010 New Revision: 207732 URL: http://svn.freebsd.org/changeset/base/207732 Log: Fix an invalid parameter detected by INVARIANT and confirmed by r193272. Modified: head/sys/netgraph/ng_ksocket.c Modified: head/sys/netgraph/ng_ksocket.c

Re: svn commit: r207677 - head/usr.bin/find

2010-05-06 Thread Bruce Evans
On Thu, 6 May 2010, Xin LI wrote: On 2010/05/05 18:00, Bruce Evans wrote: On Wed, 5 May 2010, Xin LI wrote: Log: Move SCCS tags to comments as they were already #if 0'ed. This is explicitly disrecommended in style(9): ... Sorry for that. I thought that the style(9) approach actually

svn commit: r207733 - head/usr.bin/rpcgen

2010-05-06 Thread Xin LI
Author: delphij Date: Thu May 6 21:57:38 2010 New Revision: 207733 URL: http://svn.freebsd.org/changeset/base/207733 Log: Plug a memory leak. MFC after:2 weeks Modified: head/usr.bin/rpcgen/rpc_cout.c Modified: head/usr.bin/rpcgen/rpc_cout.c

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

2010-05-06 Thread Jilles Tjoelker
Author: jilles Date: Thu May 6 22:06:14 2010 New Revision: 207734 URL: http://svn.freebsd.org/changeset/base/207734 Log: sigaltstack(2): document some modernizations: * un-document 'struct sigaltstack' tag for stack_t as this is BSD-specific; this doesn't seem useful enough to document

svn commit: r207735 - in head: lib/libc/gen lib/libc/sys usr.bin/lastcomm

2010-05-06 Thread Jilles Tjoelker
Author: jilles Date: Thu May 6 22:49:54 2010 New Revision: 207735 URL: http://svn.freebsd.org/changeset/base/207735 Log: Update xrefs from 4.3BSD to modern signal functions in various man pages. sigvec(2) references have been updated to sigaction(2), sigsetmask(2) and sigblock(2) to

svn commit: r207736 - in head: contrib/top lib/libc/sys lib/libutil libexec/rpc.rquotad sbin/quotacheck sys/ufs/ufs usr.bin/quota usr.sbin/edquota usr.sbin/quotaon usr.sbin/repquota

2010-05-06 Thread Kirk McKusick
Author: mckusick Date: Fri May 7 00:41:12 2010 New Revision: 207736 URL: http://svn.freebsd.org/changeset/base/207736 Log: Merger of the quota64 project into head. This joint work of Dag-Erling Smørgrav and myself updates the FFS quota system to support both traditional 32-bit and new

svn commit: r207738 - head/sys/vm

2010-05-06 Thread Alan Cox
Author: alc Date: Fri May 7 04:14:07 2010 New Revision: 207738 URL: http://svn.freebsd.org/changeset/base/207738 Log: Push down the page queues lock into vm_page_deactivate(). Eliminate an incorrect comment. Modified: head/sys/vm/vm_fault.c head/sys/vm/vm_page.c Modified:

svn commit: r207739 - in head/sys: sys vm

2010-05-06 Thread Alan Cox
Author: alc Date: Fri May 7 05:23:15 2010 New Revision: 207739 URL: http://svn.freebsd.org/changeset/base/207739 Log: Eliminate acquisitions of the page queues lock that are no longer needed. Switch to a per-processor counter for the number of pages freed during process termination.