svn commit: r240592 - head/sys/dev/ath

2012-09-16 Thread Adrian Chadd
Author: adrian Date: Mon Sep 17 03:17:42 2012 New Revision: 240592 URL: http://svn.freebsd.org/changeset/base/240592 Log: Take credit for the work I've done in this source file. Modified: head/sys/dev/ath/if_ath_tx.c Modified: head/sys/dev/ath/if_ath_tx.c

svn commit: r240590 - head/sys/dev/isp

2012-09-16 Thread Matt Jacob
Author: mjacob Date: Mon Sep 17 02:50:16 2012 New Revision: 240590 URL: http://svn.freebsd.org/changeset/base/240590 Log: Minor correction. MFC after:1 day Modified: head/sys/dev/isp/isp_freebsd.c Modified: head/sys/dev/isp/isp_freebsd.c =

svn commit: r240589 - head/sys/dev/isp

2012-09-16 Thread Matt Jacob
Author: mjacob Date: Mon Sep 17 02:49:02 2012 New Revision: 240589 URL: http://svn.freebsd.org/changeset/base/240589 Log: Add some edits to the changed comments so that they make more sense. MFC after:1 day Modified: head/sys/dev/isp/isp_freebsd.c Modified: head/sys/dev/isp/isp_free

svn commit: r240588 - head/share/man/man7

2012-09-16 Thread Glen Barber
Author: gjb (doc,ports committer) Date: Mon Sep 17 02:45:52 2012 New Revision: 240588 URL: http://svn.freebsd.org/changeset/base/240588 Log: Update release(7) to reflect changes from r240586 and r240587: - Remove cvs(1) references. - Remove CVS* environment references. - Add default

svn commit: r240587 - head/release

2012-09-16 Thread Glen Barber
Author: gjb (doc,ports committer) Date: Mon Sep 17 02:35:00 2012 New Revision: 240587 URL: http://svn.freebsd.org/changeset/base/240587 Log: Update usage() in comment section. Remove CVS_* variables in comments. MFC after:1 week X-MFC-With: r240586 Modified: head/release/genera

svn commit: r240586 - head/release

2012-09-16 Thread Glen Barber
Author: gjb (doc,ports committer) Date: Mon Sep 17 02:23:03 2012 New Revision: 240586 URL: http://svn.freebsd.org/changeset/base/240586 Log: Update generate-release.sh script: - Use svn for ports and doc trees - When installing a binary textproc/docproj package, switch pkg_add(1) t

svn commit: r240585 - head/sys/dev/ath

2012-09-16 Thread Adrian Chadd
Author: adrian Date: Mon Sep 17 01:21:55 2012 New Revision: 240585 URL: http://svn.freebsd.org/changeset/base/240585 Log: Add a per-TID filter queue and filter state bits. These are intended for software TX filtering support, where the NIC decides there has been too many successive failue

svn commit: r240584 - head/sys/dev/ath

2012-09-16 Thread Adrian Chadd
Author: adrian Date: Mon Sep 17 01:18:47 2012 New Revision: 240584 URL: http://svn.freebsd.org/changeset/base/240584 Log: Add a debug bit for TX destination filtering. Modified: head/sys/dev/ath/if_ath_debug.h Modified: head/sys/dev/ath/if_ath_debug.h

svn commit: r240583 - head/sys/dev/ath/ath_rate/sample

2012-09-16 Thread Adrian Chadd
Author: adrian Date: Mon Sep 17 01:09:17 2012 New Revision: 240583 URL: http://svn.freebsd.org/changeset/base/240583 Log: Improve performance of the Sample rate algorithm on 802.11n networks. * Don't treat high percentage failures as "sucessive failures" - high MCS rates are very picky

svn commit: r240575 - head/usr.bin/rctl

2012-09-16 Thread Edward Tomasz Napierala
Author: trasz Date: Sun Sep 16 23:25:13 2012 New Revision: 240575 URL: http://svn.freebsd.org/changeset/base/240575 Log: Remove references to userstat(1) and jailstat(1). Those tools were never merged from the Perforce branch. They might be brought in when %CPU limits go into the tree.

svn commit: r240574 - head/sys/net80211

2012-09-16 Thread Adrian Chadd
Author: adrian Date: Sun Sep 16 22:45:00 2012 New Revision: 240574 URL: http://svn.freebsd.org/changeset/base/240574 Log: Fix a crash bug introduced in the iterate node work recently done. When resuming, the first VAP is checked for max_aid; however if there is no VAP, this results in a N

Re: svn commit: r240549 - head/sys/arm/tegra

2012-09-16 Thread Bruce Evans
On Sun, 16 Sep 2012, Chris Rees wrote: On 16 September 2012 18:41, Ian Lepore wrote: On Sun, 2012-09-16 at 18:30 +0100, Chris Rees wrote: On 16 Sep 2012 16:19, "David Chisnall" wrote: On 16 Sep 2012, at 10:37, Chris Rees wrote: Actually: for (;;) ; This form will generate a com

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

2012-09-16 Thread Joel Dahl
Author: joel (doc committer) Date: Sun Sep 16 21:17:28 2012 New Revision: 240573 URL: http://svn.freebsd.org/changeset/base/240573 Log: Remove trailing whitespace. Modified: head/share/man/man9/pfil.9 Modified: head/share/man/man9/pfil.9 ==

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

2012-09-16 Thread John-Mark Gurney
Author: jmg Date: Sun Sep 16 19:48:48 2012 New Revision: 240572 URL: http://svn.freebsd.org/changeset/base/240572 Log: fix the kernel files to match our standard "option" format such that when commenting/uncommentting lines, horizontal spacing is maintained... Also fix some minor commen

svn commit: r240571 - head/sys/arm/ti/cpsw

2012-09-16 Thread John-Mark Gurney
Author: jmg Date: Sun Sep 16 19:42:27 2012 New Revision: 240571 URL: http://svn.freebsd.org/changeset/base/240571 Log: remove some unnecessary debugging statements, dead code and incorrect comment... Reviewed by: gnn, imp Modified: head/sys/arm/ti/cpsw/if_cpsw.c Modified: head/sys/ar

Re: svn commit: r240549 - head/sys/arm/tegra

2012-09-16 Thread Julian Elischer
On 9/16/12 3:07 AM, Chris Rees wrote: On 16 Sep 2012 10:53, "Alexey Dokuchaev" > wrote: > > On Sun, Sep 16, 2012 at 10:37:56AM +0100, Chris Rees wrote: > > On 16 September 2012 10:28, Alexey Dokuchaev > wrote: > > > I thought preferred and m

Re: svn commit: r240527 - head/bin/df

2012-09-16 Thread Erik Cederstrand
Den 16/09/2012 kl. 18.05 skrev Eitan Adler : > On 16 September 2012 10:24, Tijl Coosemans wrote: >> On 16-09-2012 01:27, Eitan Adler wrote: >>> On 15 September 2012 17:20, Bruce Cran wrote: On 15/09/2012 21:57, Tijl Coosemans wrote: > > Freeing memory right before exiting is a wast

Re: svn commit: r240549 - head/sys/arm/tegra

2012-09-16 Thread Eitan Adler
On 16 September 2012 13:45, Chris Rees wrote: > On 16 September 2012 18:41, Ian Lepore wrote: >> On Sun, 2012-09-16 at 18:30 +0100, Chris Rees wrote: >>> On 16 Sep 2012 16:19, "David Chisnall" wrote: >>> > >>> > On 16 Sep 2012, at 10:37, Chris Rees wrote: >>> > >>> > > Actually: >>> > > >>> > >

Re: svn commit: r240549 - head/sys/arm/tegra

2012-09-16 Thread Alexey Dokuchaev
On Sun, Sep 16, 2012 at 06:45:30PM +0100, Chris Rees wrote: > On 16 September 2012 18:41, Ian Lepore wrote: > > One of the examples allows > > > > for (;;) > > stmt; > > > > Using "continue;" as the statement is consistant with that. > > Ok, so with approval from a docs/src guy I'd li

Re: svn commit: r240549 - head/sys/arm/tegra

2012-09-16 Thread Chris Rees
On 16 September 2012 18:41, Ian Lepore wrote: > On Sun, 2012-09-16 at 18:30 +0100, Chris Rees wrote: >> On 16 Sep 2012 16:19, "David Chisnall" wrote: >> > >> > On 16 Sep 2012, at 10:37, Chris Rees wrote: >> > >> > > Actually: >> > > >> > > for (;;) >> > >; >> > >> > This form will generat

Re: svn commit: r240549 - head/sys/arm/tegra

2012-09-16 Thread Ian Lepore
On Sun, 2012-09-16 at 18:30 +0100, Chris Rees wrote: > On 16 Sep 2012 16:19, "David Chisnall" wrote: > > > > On 16 Sep 2012, at 10:37, Chris Rees wrote: > > > > > Actually: > > > > > > for (;;) > > >; > > > > This form will generate a compiler warning, because it looks like a > missing loo

Re: svn commit: r240549 - head/sys/arm/tegra

2012-09-16 Thread Chris Rees
On 16 Sep 2012 16:19, "David Chisnall" wrote: > > On 16 Sep 2012, at 10:37, Chris Rees wrote: > > > Actually: > > > > for (;;) > >; > > This form will generate a compiler warning, because it looks like a missing loop body. You can silence the warning by this form: > > for (;;) {} > > This

svn commit: r240566 - head/lib/msun/i387

2012-09-16 Thread Tijl Coosemans
Author: tijl Date: Sun Sep 16 16:58:49 2012 New Revision: 240566 URL: http://svn.freebsd.org/changeset/base/240566 Log: Optimise i387 trigonometric functions. Replace "andw 0x400,%ax \ jnz" with "sahf \ jp", "fprem1" with "fprem" and "fstsw %ax" with "fnstsw %ax". Modified: head/lib/msun/i3

svn commit: r240565 - head/bin/df

2012-09-16 Thread Eitan Adler
Author: eadler Date: Sun Sep 16 16:08:20 2012 New Revision: 240565 URL: http://svn.freebsd.org/changeset/base/240565 Log: Revert 240527: mntbuf can poit to memory allocated by getmntinfo(3) which can't be freed PR: bin/171634 Approved by: cperciva (implicit) Modified:

Re: svn commit: r240527 - head/bin/df

2012-09-16 Thread Eitan Adler
On 16 September 2012 10:24, Tijl Coosemans wrote: > On 16-09-2012 01:27, Eitan Adler wrote: >> On 15 September 2012 17:20, Bruce Cran wrote: >>> On 15/09/2012 21:57, Tijl Coosemans wrote: Freeing memory right before exiting is a waste of time. The tool shouldn't complain about it.

svn commit: r240563 - head/usr.sbin/jail

2012-09-16 Thread Dag-Erling Sm�rgrav
Author: des Date: Sun Sep 16 15:22:15 2012 New Revision: 240563 URL: http://svn.freebsd.org/changeset/base/240563 Log: Warn about filesystem-based attacks. Modified: head/usr.sbin/jail/jail.8 Modified: head/usr.sbin/jail/jail.8

Re: svn commit: r240549 - head/sys/arm/tegra

2012-09-16 Thread David Chisnall
On 16 Sep 2012, at 10:37, Chris Rees wrote: > Actually: > > for (;;) >; This form will generate a compiler warning, because it looks like a missing loop body. You can silence the warning by this form: for (;;) {} This makes it clear that you have an explicit body containing no statem

Re: svn commit: r240549 - head/sys/arm/tegra

2012-09-16 Thread mdf
On Sun, Sep 16, 2012 at 2:53 AM, Alexey Dokuchaev wrote: > On Sun, Sep 16, 2012 at 10:37:56AM +0100, Chris Rees wrote: >> On 16 September 2012 10:28, Alexey Dokuchaev wrote: >> > I thought preferred and more style(9) compliant way to code [empty >> > endless loop] is: >> > >> > for (;;) >

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

2012-09-16 Thread Andrey Zonov
Author: zont Date: Sun Sep 16 14:38:01 2012 New Revision: 240562 URL: http://svn.freebsd.org/changeset/base/240562 Log: - Make truss thread-aware. Approved by: kib (mentor) MFC after:2 weeks Modified: head/usr.bin/truss/amd64-fbsd.c head/usr.bin/truss/amd64-fbsd32.c head/usr.b

Re: svn commit: r240527 - head/bin/df

2012-09-16 Thread Tijl Coosemans
On 16-09-2012 01:27, Eitan Adler wrote: > On 15 September 2012 17:20, Bruce Cran wrote: >> On 15/09/2012 21:57, Tijl Coosemans wrote: >>> >>> Freeing memory right before exiting is a waste of time. The tool shouldn't >>> complain about it. > > Perhaps, but tools do. This has already been brought

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

2012-09-16 Thread Alexander V. Chernikov
Author: melifaro Date: Sun Sep 16 13:13:02 2012 New Revision: 240561 URL: http://svn.freebsd.org/changeset/base/240561 Log: Add section describing existing filtering points. Document byteorder behavior in AF_INET[6] hooks in new section. MFC after:2 weeks Modified: head/share/man/m

Re: svn commit: r240549 - head/sys/arm/tegra

2012-09-16 Thread Chris Rees
On 16 Sep 2012 10:53, "Alexey Dokuchaev" wrote: > > On Sun, Sep 16, 2012 at 10:37:56AM +0100, Chris Rees wrote: > > On 16 September 2012 10:28, Alexey Dokuchaev wrote: > > > I thought preferred and more style(9) compliant way to code [empty > > > endless loop] is: > > > > > > for (;;) > >

Re: svn commit: r240549 - head/sys/arm/tegra

2012-09-16 Thread Alexey Dokuchaev
On Sun, Sep 16, 2012 at 10:37:56AM +0100, Chris Rees wrote: > On 16 September 2012 10:28, Alexey Dokuchaev wrote: > > I thought preferred and more style(9) compliant way to code [empty > > endless loop] is: > > > > for (;;) > > continue; > > Actually: > > for (;;) >

Re: svn commit: r240549 - head/sys/arm/tegra

2012-09-16 Thread Chris Rees
On 16 September 2012 10:28, Alexey Dokuchaev wrote: > On Sun, Sep 16, 2012 at 07:55:49AM +, Andrew Turner wrote: >> New Revision: 240549 >> URL: http://svn.freebsd.org/changeset/base/240549 >> >> Log: >> The cpu_reset function is noreturn, make sure this is true on Tegra 2. >> While here f

Re: svn commit: r240549 - head/sys/arm/tegra

2012-09-16 Thread Alexey Dokuchaev
On Sun, Sep 16, 2012 at 07:55:49AM +, Andrew Turner wrote: > New Revision: 240549 > URL: http://svn.freebsd.org/changeset/base/240549 > > Log: > The cpu_reset function is noreturn, make sure this is true on Tegra 2. > While here fix a typo. > > + > + while(1); I thought preferred an

svn commit: r240551 - head/sys/arm/tegra

2012-09-16 Thread Andrew Turner
Author: andrew Date: Sun Sep 16 08:09:10 2012 New Revision: 240551 URL: http://svn.freebsd.org/changeset/base/240551 Log: Start to clean up ARMv6 initarm implementations by making the Tegra 2 version similar to the Ti version. Modified: head/sys/arm/tegra/tegra2_machdep.c Modified: head/sy

svn commit: r240550 - head/sys/arm/tegra

2012-09-16 Thread Andrew Turner
Author: andrew Date: Sun Sep 16 08:00:29 2012 New Revision: 240550 URL: http://svn.freebsd.org/changeset/base/240550 Log: In the Tegra 2 standard config: * Remove an unneeded makeoption * Set machine correctly * Properly indent the include of files.tegra2 Modified: head/sys/arm/tegra

svn commit: r240549 - head/sys/arm/tegra

2012-09-16 Thread Andrew Turner
Author: andrew Date: Sun Sep 16 07:55:49 2012 New Revision: 240549 URL: http://svn.freebsd.org/changeset/base/240549 Log: The cpu_reset function is noreturn, make sure this is true on Tegra 2. While here fix a typo. Modified: head/sys/arm/tegra/common.c Modified: head/sys/arm/tegra/common.