svn commit: r242695 - head/sys/dev/usb/serial

2012-11-07 Thread Hans Petter Selasky
Author: hselasky Date: Wed Nov 7 08:13:56 2012 New Revision: 242695 URL: http://svnweb.freebsd.org/changeset/base/242695 Log: Patch to improve USB serial console. MFC after:1 weeks Submitted by: Bruce Evans Modified: head/sys/dev/usb/serial/usb_serial.c Modified:

Re: svn commit: r241896 - in head: . cddl/contrib/opensolaris/lib/libzpool/common/sys share/man/man9 sys/cam/ctl sys/cddl/compat/opensolaris/kern sys/cddl/compat/opensolaris/sys sys/cddl/contrib/opens

2012-11-07 Thread Florian Smeets
On 07.11.12 08:11, Gleb Smirnoff wrote: On Tue, Nov 06, 2012 at 10:53:01PM +, Attilio Rao wrote: A no, ports/thirdy part should be adjusted on the -CURRENT ABI. btw, shouldn't the fusefs ports be patched, so that sysutils/fusefs-kmod is no longer built and installed on __FreeBSD_version

Re: svn commit: r241896 - in head: . cddl/contrib/opensolaris/lib/libzpool/common/sys share/man/man9 sys/cam/ctl sys/cddl/compat/opensolaris/kern sys/cddl/compat/opensolaris/sys sys/cddl/contrib/opens

2012-11-07 Thread Gleb Smirnoff
On Wed, Nov 07, 2012 at 09:29:35AM +0100, Florian Smeets wrote: F On 07.11.12 08:11, Gleb Smirnoff wrote: F On Tue, Nov 06, 2012 at 10:53:01PM +, Attilio Rao wrote: F A no, ports/thirdy part should be adjusted on the -CURRENT ABI. F F btw, shouldn't the fusefs ports be patched, so that

svn commit: r242696 - head/usr.sbin/wpa/wpa_supplicant

2012-11-07 Thread Isabell Long
Author: issyl0 (doc committer) Date: Wed Nov 7 15:47:36 2012 New Revision: 242696 URL: http://svnweb.freebsd.org/changeset/base/242696 Log: Document all of the options that wpa_supplicant accepts. PR: docs/171755 Reviewed by: gavin Approved by: gabor (mentor) MFC after:

svn commit: r242697 - head/sbin/ifconfig

2012-11-07 Thread Warren Block
Author: wblock (doc committer) Date: Wed Nov 7 15:59:24 2012 New Revision: 242697 URL: http://svnweb.freebsd.org/changeset/base/242697 Log: Add devd.conf(5) and devd(8) to SEE ALSO xrefs. Give users a pointer to seemingly mysterious actions that are not done by ifconfig itself, but by

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

2012-11-07 Thread Adrian Chadd
Author: adrian Date: Wed Nov 7 16:34:09 2012 New Revision: 242698 URL: http://svnweb.freebsd.org/changeset/base/242698 Log: Don't compile in my (not yet committed) ath_alq code unless ATH_DEBUG_ALQ is defined. This will unbreak ATH_DEBUG builds. Modified: head/sys/dev/ath/if_ath.c

svn commit: r242700 - in head/sys/arm: arm at91

2012-11-07 Thread Warner Losh
Author: imp Date: Wed Nov 7 16:59:12 2012 New Revision: 242700 URL: http://svnweb.freebsd.org/changeset/base/242700 Log: Minor cosmetic changes to bring atmel's initarm and the default initarm for FDT closer together. More to follow. Modified: head/sys/arm/arm/machdep.c

svn commit: r242702 - head/sys/dev/usb/serial

2012-11-07 Thread Hans Petter Selasky
Author: hselasky Date: Wed Nov 7 18:44:05 2012 New Revision: 242702 URL: http://svnweb.freebsd.org/changeset/base/242702 Log: The tty_inwakeup callback appears to be called both locked and unlocked. Handle the required locking automatically for now. MFC after:1 weeks Modified:

svn commit: r242703 - head/sys/dev/usb/serial

2012-11-07 Thread Hans Petter Selasky
Author: hselasky Date: Wed Nov 7 18:59:42 2012 New Revision: 242703 URL: http://svnweb.freebsd.org/changeset/base/242703 Log: Add lock asserts instead of auto-locking. MFC after:1 weeks Suggested by: ed @ Modified: head/sys/dev/usb/serial/usb_serial.c Modified:

svn commit: r242704 - head/sbin/ifconfig

2012-11-07 Thread Warren Block
Author: wblock (doc committer) Date: Wed Nov 7 19:26:32 2012 New Revision: 242704 URL: http://svnweb.freebsd.org/changeset/base/242704 Log: Remove fifteen-year-old notes on media selection (suggested by simon@). Add commas after e.g. and i.e.. Change silent to silence in wireless create

svn commit: r242705 - head/sbin/ifconfig

2012-11-07 Thread Warren Block
Author: wblock (doc committer) Date: Wed Nov 7 19:32:21 2012 New Revision: 242705 URL: http://svnweb.freebsd.org/changeset/base/242705 Log: Actually change silent to silence this time (reviewed by adri@). MFC after:1 week Modified: head/sbin/ifconfig/ifconfig.8 Modified:

Re: svn commit: r242703 - head/sys/dev/usb/serial

2012-11-07 Thread Adrian Chadd
Thanks for this. The auto-locking method is .. highly wrong/suspect. Please don't do that. :) Adrian On 7 November 2012 10:59, Hans Petter Selasky hsela...@freebsd.org wrote: Author: hselasky Date: Wed Nov 7 18:59:42 2012 New Revision: 242703 URL:

svn commit: r242706 - in head/sys/boot/pc98: boot2 cdboot

2012-11-07 Thread Dimitry Andric
Author: dim Date: Wed Nov 7 19:51:53 2012 New Revision: 242706 URL: http://svnweb.freebsd.org/changeset/base/242706 Log: Put in a band-aid to get the pc98 bootstraps building, now clang is the default compiler. This has two parts: - Make sys/boot/pc98/boot2 always build with gcc for now,

svn commit: r242707 - head/usr.bin/clang/clang

2012-11-07 Thread Dimitry Andric
Author: dim Date: Wed Nov 7 20:03:45 2012 New Revision: 242707 URL: http://svnweb.freebsd.org/changeset/base/242707 Log: Belatedly add links from /usr/bin/clang to /usr/bin/CC, like it has been done for g++. MFC after:3 days Modified: head/usr.bin/clang/clang/Makefile Modified:

svn commit: r242708 - head/sys/netinet

2012-11-07 Thread Michael Tuexen
Author: tuexen Date: Wed Nov 7 20:59:00 2012 New Revision: 242708 URL: http://svnweb.freebsd.org/changeset/base/242708 Log: Improve PR-SCTP if used in combination with NR-SACK. Based on work done by Mohammad Rajiullah. MFC after: 1 week Modified: head/sys/netinet/sctp_constants.h

svn commit: r242709 - head/sys/netinet

2012-11-07 Thread Michael Tuexen
Author: tuexen Date: Wed Nov 7 21:25:32 2012 New Revision: 242709 URL: http://svnweb.freebsd.org/changeset/base/242709 Log: Add some missing changes missed in the last commit. MFC after: 1 week X-MFC with: 242708 Modified: head/sys/netinet/sctp_indata.c

svn commit: r242710 - head/share/mk

2012-11-07 Thread Simon J. Gerraty
Author: sjg Date: Wed Nov 7 21:44:04 2012 New Revision: 242710 URL: http://svnweb.freebsd.org/changeset/base/242710 Log: Latest progs.mk from crufty.net for ATF Approved by: marcel (mentor) Modified: head/share/mk/bsd.progs.mk Modified: head/share/mk/bsd.progs.mk

svn commit: r242711 - head/share/mk

2012-11-07 Thread Simon J. Gerraty
Author: sjg Date: Wed Nov 7 22:02:02 2012 New Revision: 242711 URL: http://svnweb.freebsd.org/changeset/base/242711 Log: Enable ATF testing. Submitted by: Garrett Cooper Approved by: marcel (mentor) Added: head/share/mk/atf.test.mk (contents, props changed)

svn commit: r242712 - head/share/mk

2012-11-07 Thread Simon J. Gerraty
Author: sjg Date: Wed Nov 7 22:02:53 2012 New Revision: 242712 URL: http://svnweb.freebsd.org/changeset/base/242712 Log: Add ATF and reformat to ease reviews Approved by: marcel (mentor) Modified: head/share/mk/Makefile Modified: head/share/mk/Makefile

svn commit: r242713 - head/lib/libcrypt/tests

2012-11-07 Thread Simon J. Gerraty
Author: sjg Date: Wed Nov 7 22:03:59 2012 New Revision: 242713 URL: http://svnweb.freebsd.org/changeset/base/242713 Log: Simple unit-tests for libcrypt, to show how easy it is. Approved by: marcel (mentor) Added: head/lib/libcrypt/tests/ head/lib/libcrypt/tests/Makefile (contents,

svn commit: r242715 - head/sys/conf

2012-11-07 Thread Dimitry Andric
Author: dim Date: Wed Nov 7 22:15:28 2012 New Revision: 242715 URL: http://svnweb.freebsd.org/changeset/base/242715 Log: For kernel builds with PROFLEVEL = 1, such as LINT, don't attempt to use the -falign-functions option if the compiler is clang, as the flag is not supported. MFC

Re: svn commit: r242715 - head/sys/conf

2012-11-07 Thread Jung-uk Kim
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2012-11-07 17:15:28 -0500, Dimitry Andric wrote: Author: dim Date: Wed Nov 7 22:15:28 2012 New Revision: 242715 URL: http://svnweb.freebsd.org/changeset/base/242715 Log: For kernel builds with PROFLEVEL = 1, such as LINT, don't attempt to

svn commit: r242716 - head/sys/dev/etherswitch/arswitch

2012-11-07 Thread Aleksandr Rybalko
Author: ray Date: Wed Nov 7 22:43:09 2012 New Revision: 242716 URL: http://svnweb.freebsd.org/changeset/base/242716 Log: Disable automatic attachment of arswitch. It can't be auto-detected (like PHYs do) and cause a problems trying to attach another instance to child mdio. Submitted by:

Re: svn commit: r242715 - head/sys/conf

2012-11-07 Thread Dimitry Andric
On 2012-11-07 23:37, Jung-uk Kim wrote: ... FYI, PROF needs a similar work-around: % clang -c -pg -mprofiler-epilogue test.c clang: warning: argument unused during compilation: '-mprofiler-epilogue' Yeah, I was just going to commit that. Thanks! :)

svn commit: r242717 - head/sys/conf

2012-11-07 Thread Dimitry Andric
Author: dim Date: Wed Nov 7 22:45:34 2012 New Revision: 242717 URL: http://svnweb.freebsd.org/changeset/base/242717 Log: For kernel builds with PROFLEVEL = 2, such as LINT, don't attempt to use the -mprofiler-epilogue option if the compiler is clang, as the flag is not supported. While

svn commit: r242718 - head/sys/mips/conf

2012-11-07 Thread Aleksandr Rybalko
Author: ray Date: Wed Nov 7 22:46:30 2012 New Revision: 242718 URL: http://svnweb.freebsd.org/changeset/base/242718 Log: Hint miibus to attach arswitch on AP91, AP93 and RSPRO boards. Submitted by: Luiz Otavio O Souza Approved by: adrian (menthor) Modified:

svn commit: r242719 - head/sys/dev/ahci

2012-11-07 Thread Alexander Motin
Author: mav Date: Wed Nov 7 22:53:46 2012 New Revision: 242719 URL: http://svnweb.freebsd.org/changeset/base/242719 Log: Announce diagnostic page 7 (Element Descriptor) support. Modified: head/sys/dev/ahci/ahciem.c Modified: head/sys/dev/ahci/ahciem.c

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

2012-11-07 Thread Alexander Motin
Author: mav Date: Wed Nov 7 23:12:53 2012 New Revision: 242720 URL: http://svnweb.freebsd.org/changeset/base/242720 Log: Use information about suported diagnostic pages to avoid reading optional Element Descriptor page if it is not supported. This removes one error message from verbose

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

2012-11-07 Thread Jilles Tjoelker
Author: jilles Date: Wed Nov 7 23:15:36 2012 New Revision: 242721 URL: http://svnweb.freebsd.org/changeset/base/242721 Log: sh: Test that a redefined alias works. Added: head/tools/regression/bin/sh/parser/alias9.0 (contents, props changed) Added:

svn commit: r242722 - head/bin/ls

2012-11-07 Thread Greg Lehey
Author: grog Date: Wed Nov 7 23:37:24 2012 New Revision: 242722 URL: http://svnweb.freebsd.org/changeset/base/242722 Log: Sort option parsing as far as practical. Modified: head/bin/ls/ls.c Modified: head/bin/ls/ls.c

svn commit: r242723 - in head: cddl/contrib/opensolaris/lib/libdtrace/powerpc cddl/lib cddl/lib/libdtrace cddl/usr.sbin lib lib/libproc sys/cddl/contrib/opensolaris/uts/common/dtrace sys/cddl/contr...

2012-11-07 Thread Justin Hibbits
Author: jhibbits Date: Wed Nov 7 23:45:09 2012 New Revision: 242723 URL: http://svnweb.freebsd.org/changeset/base/242723 Log: Implement DTrace for PowerPC. This includes both 32-bit and 64-bit. There is one known issue: Some probes will display an error message along the lines of:

svn commit: r242724 - head/sys/mips/conf

2012-11-07 Thread Adrian Chadd
Author: adrian Date: Wed Nov 7 23:50:28 2012 New Revision: 242724 URL: http://svnweb.freebsd.org/changeset/base/242724 Log: Update AP96 to directly attach an arswitch. Modified: head/sys/mips/conf/AP96.hints Modified: head/sys/mips/conf/AP96.hints

svn commit: r242725 - head/bin/ls

2012-11-07 Thread Greg Lehey
Author: grog Date: Thu Nov 8 00:24:26 2012 New Revision: 242725 URL: http://svnweb.freebsd.org/changeset/base/242725 Log: Add y flag and environment variable LS_SAMESORT to specify the same sorting order for time and name with the -t option. IEEE Std 1003.2 (POSIX.2) mandates that the -t

svn commit: r242726 - head/sys/dev/mfi

2012-11-07 Thread Doug Ambrisko
Author: ambrisko Date: Thu Nov 8 00:32:36 2012 New Revision: 242726 URL: http://svnweb.freebsd.org/changeset/base/242726 Log: Add support for SCSI pass through devices to be attached and detached. PR: 172864 Submitted by: rstone@ Modified: head/sys/dev/mfi/mfi.c

svn commit: r242727 - head/sys/fs/fuse

2012-11-07 Thread Attilio Rao
Author: attilio Date: Thu Nov 8 00:32:49 2012 New Revision: 242727 URL: http://svnweb.freebsd.org/changeset/base/242727 Log: - Current caching mode is completely broken because it simply relies on timing of the operations and not real lookup, bringing too many false positives. Remove

svn commit: r242728 - head/share/man/man4

2012-11-07 Thread Xin LI
Author: delphij Date: Thu Nov 8 00:54:43 2012 New Revision: 242728 URL: http://svnweb.freebsd.org/changeset/base/242728 Log: ICMPV6_FILTER should read ICMP6_FILTER. Submitted by: Frédéric Perrin frederic.perrin resel.fr MFC after:2 weeks Modified: head/share/man/man4/icmp6.4

svn commit: r242731 - head/sys/modules/nxge

2012-11-07 Thread Kevin Lo
Author: kevlo Date: Thu Nov 8 01:35:02 2012 New Revision: 242731 URL: http://svnweb.freebsd.org/changeset/base/242731 Log: Use .PATH instead of VPATH. Reviewed by: gnn,rwatson Modified: head/sys/modules/nxge/Makefile Modified: head/sys/modules/nxge/Makefile

svn commit: r242734 - head/sys/ufs/ffs

2012-11-07 Thread Jeff Roberson
Author: jeff Date: Thu Nov 8 01:41:04 2012 New Revision: 242734 URL: http://svnweb.freebsd.org/changeset/base/242734 Log: - Implement BIO_FLUSH support around journal entries. This will not 100% solve power loss problems with dishonest write caches. However, it should improve the

svn commit: r242736 - head/sys/kern

2012-11-07 Thread Jeff Roberson
Author: jeff Date: Thu Nov 8 01:46:47 2012 New Revision: 242736 URL: http://svnweb.freebsd.org/changeset/base/242736 Log: - Change ULE to use dynamic slice sizes for the timeshare queue in order to further reduce latency for threads in this queue. This should help as threads

svn commit: r242737 - head/sys/powerpc/conf

2012-11-07 Thread Justin Hibbits
Author: jhibbits Date: Thu Nov 8 01:51:23 2012 New Revision: 242737 URL: http://svnweb.freebsd.org/changeset/base/242737 Log: Add DTrace to 32-bit PowerPC GENERIC now. MFC after:1 month Modified: head/sys/powerpc/conf/GENERIC Modified: head/sys/powerpc/conf/GENERIC

svn commit: r242738 - head/lib/libc/stdio

2012-11-07 Thread Greg Lehey
Author: grog Date: Thu Nov 8 02:01:04 2012 New Revision: 242738 URL: http://svnweb.freebsd.org/changeset/base/242738 Log: Clarify that the ' flag is an apostrophe. MFC after:2 weeks Modified: head/lib/libc/stdio/printf.3 Modified: head/lib/libc/stdio/printf.3

svn commit: r242743 - head/usr.bin/locale

2012-11-07 Thread Greg Lehey
Author: grog Date: Thu Nov 8 02:55:30 2012 New Revision: 242743 URL: http://svnweb.freebsd.org/changeset/base/242743 Log: Make parameters to -c and -k options optional. If no parameters are supplied, print information for all keywords. Improve output of -c option, in particular in

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

2012-11-07 Thread Konstantin Belousov
Author: kib Date: Thu Nov 8 03:17:41 2012 New Revision: 242744 URL: http://svnweb.freebsd.org/changeset/base/242744 Log: Zero the newly allocated md(4) swap-backed page to prevent random kernel memory leakage to userspace. For the typical use, when a filesystem put on the md disk, the

svn commit: r242745 - head/sys/netinet

2012-11-07 Thread Bjoern A. Zeeb
Author: bz Date: Thu Nov 8 03:29:55 2012 New Revision: 242745 URL: http://svnweb.freebsd.org/changeset/base/242745 Log: Cleanup some whitspace in this file to get it out of an upcoming patch. MFC after:10 days Modified: head/sys/netinet/tcp_subr.c Modified:

svn commit: r242746 - in head/sys/arm: arm at91

2012-11-07 Thread Warner Losh
Author: imp Date: Thu Nov 8 04:02:36 2012 New Revision: 242746 URL: http://svnweb.freebsd.org/changeset/base/242746 Log: Reduce differences between these two initarms a bit more. Modified: head/sys/arm/arm/machdep.c head/sys/arm/at91/at91_machdep.c Modified: head/sys/arm/arm/machdep.c

Re: svn commit: r242715 - head/sys/conf

2012-11-07 Thread Bruce Evans
On Wed, 7 Nov 2012, Jung-uk Kim wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2012-11-07 17:15:28 -0500, Dimitry Andric wrote: Author: dim Date: Wed Nov 7 22:15:28 2012 New Revision: 242715 URL: http://svnweb.freebsd.org/changeset/base/242715 Log: For kernel builds with PROFLEVEL

Re: svn commit: r242029 - head/sys/kern

2012-11-07 Thread Alfred Perlstein
[[ + peter ]] Folks, I spent quite a bit of time trying to figure out how to resolve maxusers scaling in a happy way for all. I think I came up with a solution. This solution should work for i386, and other 32 bit platforms, as well as scaling well for 64 bit (or higher) platforms that have

Re: svn commit: r242029 - head/sys/kern

2012-11-07 Thread Peter Wemm
On Wed, Nov 7, 2012 at 10:24 PM, Alfred Perlstein bri...@mu.org wrote: [[ + peter ]] Folks, I spent quite a bit of time trying to figure out how to resolve maxusers scaling in a happy way for all. I think I came up with a solution. This solution should work for i386, and other 32 bit