Re: svn commit: r212803 - head/sys/netinet

2010-10-24 Thread Andre Oppermann
On 23.10.2010 15:10, Bjoern A. Zeeb wrote: On Fri, 17 Sep 2010, Andre Oppermann wrote: Author: andre Date: Fri Sep 17 22:05:27 2010 New Revision: 212803 URL: http://svn.freebsd.org/changeset/base/212803 Log: Rearrange the TSO code to make it more readable and to clearly separate the decision

svn commit: r214261 - head/tools/tools/syscall_timing

2010-10-24 Thread Robert Watson
Author: rwatson Date: Sun Oct 24 09:14:21 2010 New Revision: 214261 URL: http://svn.freebsd.org/changeset/base/214261 Log: Add microbenchmark for create/unlink of a zero-byte file. Sponsored by: Google, Inc. MFC after:2 weeks Modified:

svn commit: r214262 - head/sys/dev/mii

2010-10-24 Thread Marius Strobl
Author: marius Date: Sun Oct 24 11:37:01 2010 New Revision: 214262 URL: http://svn.freebsd.org/changeset/base/214262 Log: - Take advantage of mii_phy_dev_probe(). - Use mii_phy_add_media() instead of mii_add_media(). I'm not sure how this driver actually managed to work before as

svn commit: r214264 - in head/sys/dev: mii tl

2010-10-24 Thread Marius Strobl
Author: marius Date: Sun Oct 24 12:51:02 2010 New Revision: 214264 URL: http://svn.freebsd.org/changeset/base/214264 Log: - Add IFM_10_2 and IFM_10_5 media via tlphy(4) only in case the respective interface also has such connectors. - In tl_attach() unify three different ways of obtaining

svn commit: r214265 - head/sys/dev/mii

2010-10-24 Thread Marius Strobl
Author: marius Date: Sun Oct 24 12:59:43 2010 New Revision: 214265 URL: http://svn.freebsd.org/changeset/base/214265 Log: - Given that as of r214264 all PHY drivers using mii(4) finally have been converted to use the mii_phy_add_media()/mii_phy_setmedia() pair instead of

Re: svn commit: r214261 - head/tools/tools/syscall_timing

2010-10-24 Thread Alexander Best
On Sun Oct 24 10, Robert Watson wrote: Author: rwatson Date: Sun Oct 24 09:14:21 2010 New Revision: 214261 URL: http://svn.freebsd.org/changeset/base/214261 Log: Add microbenchmark for create/unlink of a zero-byte file. clang still complaining: syscall_timing.c:766:24: warning:

svn commit: r214271 - head/usr.sbin/usbconfig

2010-10-24 Thread Hans Petter Selasky
Author: hselasky Date: Sun Oct 24 13:48:11 2010 New Revision: 214271 URL: http://svn.freebsd.org/changeset/base/214271 Log: Remove stray semicolon. Submitted by: arundel Modified: head/usr.sbin/usbconfig/usbconfig.c Modified: head/usr.sbin/usbconfig/usbconfig.c

svn commit: r214272 - head/usr.bin/lex

2010-10-24 Thread Ulrich Spoerlein
Author: uqs Date: Sun Oct 24 15:31:41 2010 New Revision: 214272 URL: http://svn.freebsd.org/changeset/base/214272 Log: flex: add missing ifdef magic to create/hide prototypes This unbreaks build for some software with higher WARNS flags. Reviewed by: rpaulo PR: bin/139319

svn commit: r214273 - head/sbin/hastd

2010-10-24 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Oct 24 15:38:58 2010 New Revision: 214273 URL: http://svn.freebsd.org/changeset/base/214273 Log: Load geom_gate.ko module after parsing arguments. MFC after:3 days Modified: head/sbin/hastd/hastd.c Modified: head/sbin/hastd/hastd.c

svn commit: r214274 - head/sbin/hastd

2010-10-24 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Oct 24 15:41:23 2010 New Revision: 214274 URL: http://svn.freebsd.org/changeset/base/214274 Log: Plug memory leaks. Found with: valgrind MFC after:3 days Modified: head/sbin/hastd/parse.y head/sbin/hastd/primary.c head/sbin/hastd/synch.h Modified:

svn commit: r214275 - head/sbin/hastd

2010-10-24 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Oct 24 15:42:16 2010 New Revision: 214275 URL: http://svn.freebsd.org/changeset/base/214275 Log: Plug memory leak. MFC after:3 days Modified: head/sbin/hastd/secondary.c Modified: head/sbin/hastd/secondary.c

svn commit: r214276 - head/sbin/hastd

2010-10-24 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Oct 24 15:44:23 2010 New Revision: 214276 URL: http://svn.freebsd.org/changeset/base/214276 Log: Simplify code a bit. MFC after:3 days Modified: head/sbin/hastd/secondary.c Modified: head/sbin/hastd/secondary.c

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

2010-10-24 Thread Jaakko Heinonen
Author: jh Date: Sun Oct 24 15:56:21 2010 New Revision: 214277 URL: http://svn.freebsd.org/changeset/base/214277 Log: Document make_dev_p(9). Reviewed by: brueffer, kib Modified: head/share/man/man9/Makefile head/share/man/man9/make_dev.9 Modified: head/share/man/man9/Makefile

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

2010-10-24 Thread Jaakko Heinonen
Author: jh Date: Sun Oct 24 16:10:32 2010 New Revision: 214278 URL: http://svn.freebsd.org/changeset/base/214278 Log: Use .Dv with NULL. Modified: head/share/man/man9/make_dev.9 Modified: head/share/man/man9/make_dev.9

svn commit: r214279 - in head: share/man/man4 sys/cam sys/cam/ata sys/kern

2010-10-24 Thread Bruce Cran
Author: brucec Date: Sun Oct 24 16:31:57 2010 New Revision: 214279 URL: http://svn.freebsd.org/changeset/base/214279 Log: Mostly revert r203420, and add similar functionality into ada(4) since the existing code caused problems with some SCSI controllers. A new sysctl

Re: svn commit: r214279 - in head: share/man/man4 sys/cam sys/cam/ata sys/kern

2010-10-24 Thread Bruce Cran
On Sunday 24 October 2010 17:31:58 Bruce Cran wrote: Log: Mostly revert r203420, and add similar functionality into ada(4) since the existing code caused problems with some SCSI controllers. A new sysctl kern.cam.ada.spindown_shutdown has been added that controls whether or not to

svn commit: r214280 - head/tools/regression/bin/sh/parser

2010-10-24 Thread Jilles Tjoelker
Author: jilles Date: Sun Oct 24 16:55:17 2010 New Revision: 214280 URL: http://svn.freebsd.org/changeset/base/214280 Log: sh: Add some testcases for alias expansion. Added: head/tools/regression/bin/sh/parser/alias1.0 (contents, props changed) head/tools/regression/bin/sh/parser/alias2.0

svn commit: r214281 - in head: bin/sh tools/regression/bin/sh/parser

2010-10-24 Thread Jilles Tjoelker
Author: jilles Date: Sun Oct 24 17:06:49 2010 New Revision: 214281 URL: http://svn.freebsd.org/changeset/base/214281 Log: sh: Change ! within a pipeline to start a new pipeline instead. This is how ksh93 treats ! within a pipeline and makes the ! in a | ! b | c negate the exit status

svn commit: r214282 - head/sbin/hastd

2010-10-24 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Oct 24 17:22:34 2010 New Revision: 214282 URL: http://svn.freebsd.org/changeset/base/214282 Log: Move all NV defines into nv.c, they are not used externally thus there is no need to make then visible from outside. MFC after:3 days Modified:

svn commit: r214283 - head/sbin/hastd

2010-10-24 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Oct 24 17:24:08 2010 New Revision: 214283 URL: http://svn.freebsd.org/changeset/base/214283 Log: Implement nv_exists() function that returns true if argument of the given name exists. MFC after:3 days Modified: head/sbin/hastd/nv.c head/sbin/hastd/nv.h

svn commit: r214284 - head/sbin/hastd

2010-10-24 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Oct 24 17:28:25 2010 New Revision: 214284 URL: http://svn.freebsd.org/changeset/base/214284 Log: Before this change on first connect between primary and secondary we initialize all the data. This is huge waste of time and resources if there were no writes yet, as there

Re: svn commit: r214279 - in head: share/man/man4 sys/cam sys/cam/ata sys/kern

2010-10-24 Thread Garrett Cooper
On Sun, Oct 24, 2010 at 10:03 AM, Alexander Motin m...@freebsd.org wrote: Bruce Cran wrote: On Sunday 24 October 2010 17:31:58 Bruce Cran wrote: Log:   Mostly revert r203420, and add similar functionality into ada(4) since the existing code caused problems with some SCSI controllers.

Re: svn commit: r214279 - in head: share/man/man4 sys/cam sys/cam/ata sys/kern

2010-10-24 Thread Alexander Motin
Garrett Cooper wrote: On Sun, Oct 24, 2010 at 10:03 AM, Alexander Motin m...@freebsd.org wrote: Bruce Cran wrote: On Sunday 24 October 2010 17:31:58 Bruce Cran wrote: Log: Mostly revert r203420, and add similar functionality into ada(4) since the existing code caused problems with some

Re: svn commit: r214279 - in head: share/man/man4 sys/cam sys/cam/ata sys/kern

2010-10-24 Thread Garrett Cooper
On Sun, Oct 24, 2010 at 10:55 AM, Alexander Motin m...@freebsd.org wrote: Garrett Cooper wrote: On Sun, Oct 24, 2010 at 10:03 AM, Alexander Motin m...@freebsd.org wrote: Bruce Cran wrote: On Sunday 24 October 2010 17:31:58 Bruce Cran wrote: Log:   Mostly revert r203420, and add similar

svn commit: r214288 - head/sys/cam/scsi

2010-10-24 Thread Alexander Motin
Author: mav Date: Sun Oct 24 18:53:16 2010 New Revision: 214288 URL: http://svn.freebsd.org/changeset/base/214288 Log: Make da driver to handle some probably broken Android devices, returning zero media and sector size instead of Medium not present error, until some confirmation button is

svn commit: r214289 - head/tools/regression/bin/sh/execution

2010-10-24 Thread Jilles Tjoelker
Author: jilles Date: Sun Oct 24 19:56:34 2010 New Revision: 214289 URL: http://svn.freebsd.org/changeset/base/214289 Log: sh: Add a test trying to close a descriptor that is not open. In stable/8 and older, this fails. Some of the redirection changes in head have fixed it. Added:

svn commit: r214291 - in head: bin/sh tools/regression/bin/sh/parser

2010-10-24 Thread Jilles Tjoelker
Author: jilles Date: Sun Oct 24 20:45:13 2010 New Revision: 214291 URL: http://svn.freebsd.org/changeset/base/214291 Log: sh: Make sure defined functions can actually be called. Add some conservative checks on function names: - Disallow expansions or quoting characters; these can only be

svn commit: r214292 - head/sys/dev/bge

2010-10-24 Thread Pyun YongHyeon
Author: yongari Date: Sun Oct 24 20:54:46 2010 New Revision: 214292 URL: http://svn.freebsd.org/changeset/base/214292 Log: Use bge_chipid to compare controller ids. r214251 incorrectly used bge_chiprev. Reported by: Buganini buganini gmail dot com Modified:

svn commit: r214305 - head/bin/sh

2010-10-24 Thread Jilles Tjoelker
Author: jilles Date: Sun Oct 24 22:25:38 2010 New Revision: 214305 URL: http://svn.freebsd.org/changeset/base/214305 Log: sh: Ignore double-quotes in arithmetic rather than treating them as quotes. This provides similar behaviour, but allows a simpler parser. This changes r206473.

svn commit: r214306 - in head/share/examples: jails netgraph

2010-10-24 Thread Julian Elischer
Author: julian Date: Sun Oct 24 22:59:38 2010 New Revision: 214306 URL: http://svn.freebsd.org/changeset/base/214306 Log: Add two scripts that demonstrate how to make and hook together jails using teh vortual networking feature. Submitted by: Yavuz Gokirmak MFC after:2 weeks

svn commit: r214308 - head/etc/mtree

2010-10-24 Thread Julian Elischer
Author: julian Date: Sun Oct 24 23:19:11 2010 New Revision: 214308 URL: http://svn.freebsd.org/changeset/base/214308 Log: Add a jails directory in the examples section MFC after:2 weeks Modified: head/etc/mtree/BSD.usr.dist Modified: head/etc/mtree/BSD.usr.dist

Re: svn commit: r214303 - in head/sys: conf netinet

2010-10-24 Thread Julian Elischer
On 10/24/10 3:02 PM, Bjoern A. Zeeb wrote: Author: bz Date: Sun Oct 24 22:02:36 2010 New Revision: 214303 URL: http://svn.freebsd.org/changeset/base/214303 Log: Add initial inet DDB support for show in_ifaddr and show sin commands which proved to be useful while debugging address list