svn commit: r217877 - head/sys/dev/siis

2011-01-26 Thread Alexander Motin
Author: mav Date: Wed Jan 26 08:54:10 2011 New Revision: 217877 URL: http://svn.freebsd.org/changeset/base/217877 Log: Hardware supported by siis(4) allows software control over activity LEDs. Expose that functionality to led(4) OR-ing it with regular LED activity. Modified: head/sys/dev/si

Re: svn commit: r217830 - head/share/man/man9

2011-01-26 Thread Robert Watson
On Tue, 25 Jan 2011, Matthew D Fleming wrote: .Dv SBUF_AUTOEXTEND . .Pp The +.Fn sbuf_new_for_sysctl +function will set up an sbuf with a drain function to use +.Fn SYSCTL_OUT +when the internal buffer fills. +The sysctl old buffer will be wired, which allows for doing an +.Fn sbuf_printf +while

svn commit: r217878 - head/sys/dev/ath/ath_hal

2011-01-26 Thread Adrian Chadd
Author: adrian Date: Wed Jan 26 09:37:43 2011 New Revision: 217878 URL: http://svn.freebsd.org/changeset/base/217878 Log: * fix HAL_DEBUG_INTERRUPT to be a separate bit, it was overlapping with something else * add HAL_DEBUG_GPIO, for some GPIO related debugging I'm tinkering with at t

svn commit: r217879 - head/sys/dev/ath/ath_hal/ar5416

2011-01-26 Thread Adrian Chadd
Author: adrian Date: Wed Jan 26 10:08:37 2011 New Revision: 217879 URL: http://svn.freebsd.org/changeset/base/217879 Log: Break out the chainmask init code into a new function - ar5416InitChainMasks() . ath9k does a few different things here during config - if it's an early AR5416 with t

svn commit: r217880 - head/sys/geom/journal

2011-01-26 Thread Konstantin Belousov
Author: kib Date: Wed Jan 26 10:34:21 2011 New Revision: 217880 URL: http://svn.freebsd.org/changeset/base/217880 Log: Treat async buffer writes from the gjournal switcher thread the same as from syncer. We shall not sleep on running buffer space when suspending. Reproduced and tested by:

svn commit: r217881 - head/sys/dev/ath/ath_hal/ar5416

2011-01-26 Thread Adrian Chadd
Author: adrian Date: Wed Jan 26 10:36:43 2011 New Revision: 217881 URL: http://svn.freebsd.org/changeset/base/217881 Log: Add an AR5416 workaround - force a different bias based on 2.4ghz channel frequency. Obtained from:Linux ath9k Modified: head/sys/dev/ath/ath_hal/ar5416/ar21

svn commit: r217882 - head/sys/dev/ath/ath_hal/ar5416

2011-01-26 Thread Adrian Chadd
Author: adrian Date: Wed Jan 26 10:48:29 2011 New Revision: 217882 URL: http://svn.freebsd.org/changeset/base/217882 Log: Add ar5416RestoreChainMask() which will undo any AR5416 specific chainmask overriding after calibration. This will get set for other two chain radios, such as AR9280 a

svn commit: r217883 - head/sys/dev/siis

2011-01-26 Thread Alexander Motin
Author: mav Date: Wed Jan 26 13:10:07 2011 New Revision: 217883 URL: http://svn.freebsd.org/changeset/base/217883 Log: Add missing part of r217877. Modified: head/sys/dev/siis/siis.h Modified: head/sys/dev/siis/siis.h ==

svn commit: r217886 - in head/sys: amd64/amd64 i386/i386

2011-01-26 Thread Matthew D Fleming
Author: mdf Date: Wed Jan 26 17:06:13 2011 New Revision: 217886 URL: http://svn.freebsd.org/changeset/base/217886 Log: Set td_kstack_pages for thread0. This was already being done for most architectures, but i386 and amd64 were missing it. Submitted by: Mohd Fahadullah Modified: head

Re: svn commit: r217830 - head/share/man/man9

2011-01-26 Thread mdf
On Wed, Jan 26, 2011 at 1:37 AM, Robert Watson wrote: > On Tue, 25 Jan 2011, Matthew D Fleming wrote: > >> .Dv SBUF_AUTOEXTEND . >> .Pp >> The >> +.Fn sbuf_new_for_sysctl >> +function will set up an sbuf with a drain function to use >> +.Fn SYSCTL_OUT >> +when the internal buffer fills. >> +The sy

svn commit: r217888 - head/sys/netinet

2011-01-26 Thread Daniel Eischen
Author: deischen Date: Wed Jan 26 17:31:03 2011 New Revision: 217888 URL: http://svn.freebsd.org/changeset/base/217888 Log: Prison check addresses set with multicast interface options. Reviewed by: bz MFC after:1 week Modified: head/sys/netinet/in_pcb.c Modified: head/sys/netinet

Re: svn commit: r217830 - head/share/man/man9

2011-01-26 Thread Robert N. M. Watson
On 26 Jan 2011, at 17:12, m...@freebsd.org wrote: >> Hmm. Is this description missing mention of how wiring failures are >> handled? (Also, it should probably mention that this call can sleep for >> potentially quite long periods of time, even if sbuf_printf (and friends) >> can't). > > I'm not

Re: svn commit: r217830 - head/share/man/man9

2011-01-26 Thread mdf
On Wed, Jan 26, 2011 at 9:55 AM, Robert N. M. Watson wrote: > > On 26 Jan 2011, at 17:12, m...@freebsd.org wrote: > >>> Hmm.  Is this description missing mention of how wiring failures are >>> handled? (Also, it should probably mention that this call can sleep for >>> potentially quite long period

svn commit: r217890 - head/usr.bin/getopt

2011-01-26 Thread Ulrich Spoerlein
Author: uqs Date: Wed Jan 26 18:43:15 2011 New Revision: 217890 URL: http://svn.freebsd.org/changeset/base/217890 Log: Fix typo in example getopt(1) script: $i vs $1 [1] While here apply style hammer. PR: docs/154289 [1] Submitted by: Jamie Landeg Jones MFC after:1 week

svn commit: r217893 - in head/share/doc/papers: kernmalloc sysperf

2011-01-26 Thread Ulrich Spoerlein
Author: uqs Date: Wed Jan 26 19:39:31 2011 New Revision: 217893 URL: http://svn.freebsd.org/changeset/base/217893 Log: Unroll vgrind filter to no longer depend on vgrind(1) during buildworld. The source files haven't been touched in ages and this is unlikely to change in the future. Adde

svn commit: r217894 - head/sys/netinet

2011-01-26 Thread Michael Tuexen
Author: tuexen Date: Wed Jan 26 19:49:03 2011 New Revision: 217894 URL: http://svn.freebsd.org/changeset/base/217894 Log: Change infrastructure for SCTP_MAX_BURST to allow compliance with the latest socket API ID. Especially it can be disabled. Full compliance needs changing the structure

svn commit: r217895 - head/sys/netinet

2011-01-26 Thread Michael Tuexen
Author: tuexen Date: Wed Jan 26 19:55:54 2011 New Revision: 217895 URL: http://svn.freebsd.org/changeset/base/217895 Log: Make SCTP_MAX_BURST compliant with the latest version of the socket API ID. This is not compatible with the API in stable/8. Modified: head/sys/netinet/sctp_usrreq.c

svn commit: r217896 - in head/sys: amd64/amd64 amd64/linux32 compat/linprocfs fs/procfs i386/linux kern powerpc/aim powerpc/powerpc sys

2011-01-26 Thread Dmitry Chagin
Author: dchagin Date: Wed Jan 26 20:03:58 2011 New Revision: 217896 URL: http://svn.freebsd.org/changeset/base/217896 Log: Add macro to test the sv_flags of any process. Change some places to test the flags instead of explicit comparing with address of known sysentvec structures. MFC af

svn commit: r217902 - in head/sys: dev/re pci

2011-01-26 Thread Pyun YongHyeon
Author: yongari Date: Wed Jan 26 20:25:40 2011 New Revision: 217902 URL: http://svn.freebsd.org/changeset/base/217902 Log: Do not use interrupt taskqueue on controllers with MSI/MSI-X capability. One of reason using interrupt taskqueue in re(4) was to reduce number of TX/RX interrupts under

Re: svn commit: r217871 - head/sbin/mount

2011-01-26 Thread Doug Barton
On 01/25/2011 23:55, Bruce Evans wrote: On Wed, 26 Jan 2011, Doug Barton wrote: Log: Clarify the availability of the noatime option on network file systems Modified: head/sbin/mount/mount.8 Modified: head/sbin/mount/mount.8 =

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

2011-01-26 Thread Pyun YongHyeon
Author: yongari Date: Wed Jan 26 21:07:44 2011 New Revision: 217910 URL: http://svn.freebsd.org/changeset/base/217910 Log: Add Realtek RTL8201E 10/100 PHY found in RTL8105E controller. The exact model name is not clear yet. All previous RTL8201 10/100 PHYs used 0x8201 in MII_PHYIDR2 which in

Re: svn commit: r217830 - head/share/man/man9

2011-01-26 Thread Robert N. M. Watson
On 26 Jan 2011, at 18:29, m...@freebsd.org wrote: >> I suppose an important question is now often we see this actually failing > > I don't believe we've ever seen a memory failure relating to sysctls > at Isilon and we've been using the equivalent of this code for a few > years. Our machines ar

Re: svn commit: r217830 - head/share/man/man9

2011-01-26 Thread mdf
On Wed, Jan 26, 2011 at 1:10 PM, Robert N. M. Watson wrote: > > On 26 Jan 2011, at 18:29, m...@freebsd.org wrote: > >>> I suppose an important question is now often we see this actually failing >> >> I don't believe we've ever seen a memory failure relating to sysctls >> at Isilon and we've been u

svn commit: r217911 - in head/sys: dev/re pci

2011-01-26 Thread Pyun YongHyeon
Author: yongari Date: Wed Jan 26 21:14:20 2011 New Revision: 217911 URL: http://svn.freebsd.org/changeset/base/217911 Log: Add support for RTL8105E PCIe Fast Ethernet controller. It seems the controller has a kind of embedded controller/memory and vendor applies a large set of magic code via

Re: svn commit: r217830 - head/share/man/man9

2011-01-26 Thread Robert N. M. Watson
On 26 Jan 2011, at 21:14, m...@freebsd.org wrote: >> The kinds of cases I worry about are things like the tcp connection >> monitoring sysctls. Most systems have a dozen, hundred, or a thousand >> connections. Some have half a million or a million. If we switched to >> requiring wiring every p

svn commit: r217913 - head/sys/netinet

2011-01-26 Thread Michael Tuexen
Author: tuexen Date: Wed Jan 26 21:38:17 2011 New Revision: 217913 URL: http://svn.freebsd.org/changeset/base/217913 Log: * Use 300 ms as the default for RTO_MIN. * Disable burst mitigation by default. * Remove unused constant. Discussed with rrs. MFC after: 3 months. Modified: head/s

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

2011-01-26 Thread Pyun YongHyeon
Author: yongari Date: Wed Jan 26 21:59:59 2011 New Revision: 217914 URL: http://svn.freebsd.org/changeset/base/217914 Log: Document newly added tunables. hw.re.intr_filter hw.re.msix_disable dev.re.%d.int_rx_mod Modified: head/share/man/man4/re.4 Modified: head/share/man/man4/re.4 =

Re: svn commit: r217830 - head/share/man/man9

2011-01-26 Thread John Baldwin
On Wednesday, January 26, 2011 4:14:15 pm m...@freebsd.org wrote: > On Wed, Jan 26, 2011 at 1:10 PM, Robert N. M. Watson > wrote: > > > > On 26 Jan 2011, at 18:29, m...@freebsd.org wrote: > > > >>> I suppose an important question is now often we see this actually failing > >> > >> I don't believe

Re: svn commit: r217871 - head/sbin/mount

2011-01-26 Thread Garrett Cooper
On Wed, Jan 26, 2011 at 12:30 PM, Doug Barton wrote: > On 01/25/2011 23:55, Bruce Evans wrote: >> >> On Wed, 26 Jan 2011, Doug Barton wrote: >> >>> Log: >>> Clarify the availability of the noatime option on network file systems >>> >>> Modified: >>> head/sbin/mount/mount.8 >>> >>> Modified: head/s

svn commit: r217915 - in head/sys: geom kern sys

2011-01-26 Thread Matthew D Fleming
Author: mdf Date: Wed Jan 26 22:48:09 2011 New Revision: 217915 URL: http://svn.freebsd.org/changeset/base/217915 Log: Remove the CTLFLAG_NOLOCK as it seems to be both unused and unfunctional. Wiring the user buffer has only been done explicitly since r101422. Mark the kern.disks sysct

Re: svn commit: r217830 - head/share/man/man9

2011-01-26 Thread mdf
On Wed, Jan 26, 2011 at 1:19 PM, Robert N. M. Watson wrote: > > On 26 Jan 2011, at 21:14, m...@freebsd.org wrote: > >>> The kinds of cases I worry about are things like the tcp connection >>> monitoring sysctls. Most systems have a dozen, hundred, or a thousand >>> connections. Some have half a

svn commit: r217916 - in head: share/man/man9 sys/dev/cxgb sys/kern sys/vm

2011-01-26 Thread Matthew D Fleming
Author: mdf Date: Thu Jan 27 00:34:12 2011 New Revision: 217916 URL: http://svn.freebsd.org/changeset/base/217916 Log: Explicitly wire the user buffer rather than doing it implicitly in sbuf_new_for_sysctl(9). This allows using an sbuf with a SYSCTL_OUT drain for extremely large amounts of

Re: svn commit: r217358 - head/usr.sbin/usbdump

2011-01-26 Thread Weongyo Jeong
On Thu, Jan 13, 2011 at 04:37:12PM +, Weongyo Jeong wrote: > Author: weongyo > Date: Thu Jan 13 16:37:12 2011 > New Revision: 217358 > URL: http://svn.freebsd.org/changeset/base/217358 > > Log: > Documents OUTPUT formats. While I'm here cleans up styles and words. > > Reviewed by:

svn commit: r217921 - head/sys/dev/ath/ath_hal

2011-01-26 Thread Adrian Chadd
Author: adrian Date: Thu Jan 27 02:56:03 2011 New Revision: 217921 URL: http://svn.freebsd.org/changeset/base/217921 Log: Writing to the analog registers on the AR9220 (Merlin PCI) seems to require a delay. This, along with an initval change which will appear in a subsequent commit, fixe

svn commit: r217922 - head/sys/fs/nfs

2011-01-26 Thread George V. Neville-Neil
Author: gnn Date: Thu Jan 27 03:32:16 2011 New Revision: 217922 URL: http://svn.freebsd.org/changeset/base/217922 Log: Quick fix to a comment. Modified: head/sys/fs/nfs/nfsport.h Modified: head/sys/fs/nfs/nfsport.h =

Re: svn commit: r217871 - head/sbin/mount

2011-01-26 Thread Bruce Evans
On Wed, 26 Jan 2011, Doug Barton wrote: On 01/25/2011 23:55, Bruce Evans wrote: ... Even atimes are not supported by at least the non-experimental FreeBSD client, so attempts to turn them off are nonsense and should have always failed at mount time. But such attempts bogusly always succeed ...

svn commit: r217923 - head/sys/dev/ath/ath_hal

2011-01-26 Thread Adrian Chadd
Author: adrian Date: Thu Jan 27 07:33:17 2011 New Revision: 217923 URL: http://svn.freebsd.org/changeset/base/217923 Log: Make a note to re-check whether that particular check is needed. Modified: head/sys/dev/ath/ath_hal/ah.c Modified: head/sys/dev/ath/ath_hal/ah.c =