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

2010-07-26 Thread Bruce Evans
On Sun, 25 Jul 2010, Kostik Belousov wrote: On Sun, Jul 25, 2010 at 09:55:10PM +0200, Nathan Whitehorn wrote: On 07/25/10 20:12, Kostik Belousov wrote: On Mon, Jul 26, 2010 at 01:36:07AM +1000, Bruce Evans wrote: On Sat, 24 Jul 2010, Stefan Farfeleder wrote: declaring enums like this is

svn commit: r210493 - head/sys/netinet

2010-07-26 Thread Randall Stewart
Author: rrs Date: Mon Jul 26 09:20:55 2010 New Revision: 210493 URL: http://svn.freebsd.org/changeset/base/210493 Log: When counting the number of chunks in the retransmission queue to validate the retran count, we need to include the chunks in the control send queue too. Otherwise the

svn commit: r210494 - head/sys/netinet

2010-07-26 Thread Randall Stewart
Author: rrs Date: Mon Jul 26 09:22:52 2010 New Revision: 210494 URL: http://svn.freebsd.org/changeset/base/210494 Log: Make sure that we report chunks if a socket still exists that were not sent. In either case carefully remove the data if it does not get taken by the reporting routines.

svn commit: r210495 - head/sys/netinet

2010-07-26 Thread Michael Tuexen
Author: tuexen Date: Mon Jul 26 09:26:55 2010 New Revision: 210495 URL: http://svn.freebsd.org/changeset/base/210495 Log: Fix a bug where the length of a FORWARD-TSN chunk was set incorrectly in the chunk. This resulted in malformed frames. Remove a duplicate assignment. MFC after: 2

Re: svn commit: r210479 - head/usr.bin/grep

2010-07-26 Thread Dag-Erling Smørgrav
Gabor Kovesdan ga...@freebsd.org writes: I did run regression testing, the test suite that GNU grep has. Does that test suite include a test for the bug you fixed? If not, running it before committing this particular patch was close to useless. By definition, a regression test is designed to

svn commit: r210496 - head/sys/dev/md

2010-07-26 Thread Jaakko Heinonen
Author: jh Date: Mon Jul 26 10:37:14 2010 New Revision: 210496 URL: http://svn.freebsd.org/changeset/base/210496 Log: - Remove some extra white space. - Wrap g_md_dumpconf() prototype to 80 columns. Modified: head/sys/dev/md/md.c Modified: head/sys/dev/md/md.c

svn commit: r210498 - in head/sys: compat/freebsd32 sys

2010-07-26 Thread Konstantin Belousov
Author: kib Date: Mon Jul 26 12:52:44 2010 New Revision: 210498 URL: http://svn.freebsd.org/changeset/base/210498 Log: Revert r210451, and the similar part of the r210431. The forward-declaration for the enum tag when enum definition is not complete is not allowed by C99, and is gcc

Re: svn commit: r210498 - in head/sys: compat/freebsd32 sys

2010-07-26 Thread Stefan Farfeleder
On Mon, Jul 26, 2010 at 12:52:45PM +, Konstantin Belousov wrote: Author: kib Date: Mon Jul 26 12:52:44 2010 New Revision: 210498 URL: http://svn.freebsd.org/changeset/base/210498 Log: Revert r210451, and the similar part of the r210431. The forward-declaration for the enum tag

svn commit: r210500 - head/sys/netgraph/netflow

2010-07-26 Thread Gleb Smirnoff
Author: glebius Date: Mon Jul 26 13:48:35 2010 New Revision: 210500 URL: http://svn.freebsd.org/changeset/base/210500 Log: Zero padding fields of netflow records. This helps to reduce size of compressed export logs. Requested by: Alexey Illarionov littlesavage orionet.ru Modified:

svn commit: r210504 - head/usr.sbin/bsnmpd/modules

2010-07-26 Thread Shteryana Shopova
Author: syrinx Date: Mon Jul 26 16:26:26 2010 New Revision: 210504 URL: http://svn.freebsd.org/changeset/base/210504 Log: Connect the snmp_wlan(3) module to the build. Sponsored by: The FreeBSD Foundation Modified: head/usr.sbin/bsnmpd/modules/Makefile Modified:

svn commit: r210505 - head/sys/dev/cxgb

2010-07-26 Thread John Baldwin
Author: jhb Date: Mon Jul 26 17:31:15 2010 New Revision: 210505 URL: http://svn.freebsd.org/changeset/base/210505 Log: - Change the warning about PCI-e links narrower than x8 to only apply to 10G cards. 1G cards are x4 only. - Use constants from pcireg.h for reading the current link

svn commit: r210511 - head/contrib/netcat

2010-07-26 Thread Benedict Reuschling
Author: bcr (doc committer) Date: Mon Jul 26 18:33:33 2010 New Revision: 210511 URL: http://svn.freebsd.org/changeset/base/210511 Log: Use printf instead of echo -n in an example because it should be more compatible for most shells that are out there. I contacted Philip Guenther at

svn commit: r210514 - in head/sys/amd64: acpica amd64

2010-07-26 Thread Jung-uk Kim
Author: jkim Date: Mon Jul 26 19:53:09 2010 New Revision: 210514 URL: http://svn.freebsd.org/changeset/base/210514 Log: Re-implement FPU suspend/resume for amd64. This removes superfluous uses of critical_enter(9) and critical_exit(9) by fpugetregs() and fpusetregs(). Also, we do not touch

svn commit: r210515 - in head/sys/dev/usb: . quirk

2010-07-26 Thread Gavin Atkinson
Author: gavin Date: Mon Jul 26 20:44:29 2010 New Revision: 210515 URL: http://svn.freebsd.org/changeset/base/210515 Log: Prevent ukbd(4) and uhid(4) from attaching when a WiSPY DBx Spectrum Analyzer is attached. PR: usb/134631 Submitted by: Jesse Kempf jkempf davisvision.com

svn commit: r210516 - in head/sys/dev/usb: . quirk

2010-07-26 Thread Gavin Atkinson
Author: gavin Date: Mon Jul 26 21:22:57 2010 New Revision: 210516 URL: http://svn.freebsd.org/changeset/base/210516 Log: Prevent uhid(4) from attaching to the Gembird Silver Shield remote power plug. Note that the Vendor ID 0x04b4 is officially assigned to Cypress, so use that instead of

svn commit: r210517 - in head/sys: amd64/amd64 i386/isa

2010-07-26 Thread Jung-uk Kim
Author: jkim Date: Mon Jul 26 21:24:52 2010 New Revision: 210517 URL: http://svn.freebsd.org/changeset/base/210517 Log: FNSTSW instruction can use AX register as an operand. Obtained from:fenv.h Modified: head/sys/amd64/amd64/fpu.c head/sys/i386/isa/npx.c Modified:

svn commit: r210518 - in head/sys: amd64/amd64 i386/isa

2010-07-26 Thread Jung-uk Kim
Author: jkim Date: Mon Jul 26 22:16:36 2010 New Revision: 210518 URL: http://svn.freebsd.org/changeset/base/210518 Log: Reduce diff against fenv.h: Mark all inline asms as volatile for safety. No object file change after this commit (verified with md5). Modified:

svn commit: r210519 - head/sys/i386/isa

2010-07-26 Thread Jung-uk Kim
Author: jkim Date: Mon Jul 26 22:55:14 2010 New Revision: 210519 URL: http://svn.freebsd.org/changeset/base/210519 Log: Remove an unused macro since r189418. Modified: head/sys/i386/isa/npx.c Modified: head/sys/i386/isa/npx.c

svn commit: r210520 - head/sys/amd64/amd64

2010-07-26 Thread Jung-uk Kim
Author: jkim Date: Mon Jul 26 23:02:18 2010 New Revision: 210520 URL: http://svn.freebsd.org/changeset/base/210520 Log: Add missing ldmxcsr() prototype for lint case. Modified: head/sys/amd64/amd64/fpu.c Modified: head/sys/amd64/amd64/fpu.c

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

2010-07-26 Thread Jung-uk Kim
Author: jkim Date: Mon Jul 26 23:24:42 2010 New Revision: 210522 URL: http://svn.freebsd.org/changeset/base/210522 Log: Fix an apparent typo. Found by: clang Reviewed by: davidch, yongari Modified: head/sys/dev/bce/if_bce.c Modified: head/sys/dev/bce/if_bce.c