Re: svn commit: r217718 - in head/sys: conf dev/usb

2011-01-23 Thread Hans Petter Selasky
On Saturday 22 January 2011 16:09:18 Gary Jennejohn wrote: On Sat, 22 Jan 2011 13:52:23 + (UTC) Hans Petter Selasky hsela...@freebsd.org wrote: Author: hselasky Date: Sat Jan 22 13:52:23 2011 New Revision: 217718 URL: http://svn.freebsd.org/changeset/base/217718 Log: Allow

Re: svn commit: r217718 - in head/sys: conf dev/usb

2011-01-23 Thread Hans Petter Selasky
On Sunday 23 January 2011 10:19:02 Hans Petter Selasky wrote: #if defined(USB_HOST_ALIGN) (USB_HOST_ALIGN != 0) #if (-USB_HOST_ALIGN USB_HOST_ALIGN) == USB_HOST_ALIGN should be != in this check. #error USB_HOST_ALIGN is not power of two. --HPS ___

svn commit: r217743 - head/sys/compat/linux

2011-01-23 Thread Dmitry Chagin
Author: dchagin Date: Sun Jan 23 09:50:39 2011 New Revision: 217743 URL: http://svn.freebsd.org/changeset/base/217743 Log: Style(9) fix. Approved by: kib(mentor) MFC after:1 month Modified: head/sys/compat/linux/linux_signal.c Modified: head/sys/compat/linux/linux_signal.c

Re: svn commit: r217738 - head/tools/tools/ath/athstats

2011-01-23 Thread Alexander Best
On Sat Jan 22 11, Adrian Chadd wrote: Author: adrian Date: Sat Jan 22 23:37:42 2011 New Revision: 217738 URL: http://svn.freebsd.org/changeset/base/217738 Log: Patch the athstats code/Makefile to cross-compile correctly. Modified: head/tools/tools/ath/athstats/Makefile

Re: svn commit: r217733 - in head: . share/man/man7

2011-01-23 Thread Bjoern A. Zeeb
On Sat, 22 Jan 2011, Garrett Cooper wrote: On Sat, Jan 22, 2011 at 2:57 PM, Bjoern A. Zeeb b...@freebsd.org wrote: Author: bz Date: Sat Jan 22 22:57:28 2011 New Revision: 217733 URL: http://svn.freebsd.org/changeset/base/217733 Log:  Properly document what the top-level `make tinderbox` does.

svn commit: r217744 - head/lib/libkvm

2011-01-23 Thread Ulrich Spoerlein
Author: uqs Date: Sun Jan 23 11:08:28 2011 New Revision: 217744 URL: http://svn.freebsd.org/changeset/base/217744 Log: libkvm code janitoring - make WARNS=6 clean for archs w/o strict alignment requirments - add const, ANSIfy, remove unused vars, cast types for comparison - thanks to

svn commit: r217746 - head/usr.bin/top

2011-01-23 Thread Giorgos Keramidas
Author: keramida (doc committer) Date: Sun Jan 23 11:08:39 2011 New Revision: 217746 URL: http://svn.freebsd.org/changeset/base/217746 Log: Touch up the sample memory usage numbers a bit, to avoid wrapping on terminal boundary. While here add definition for 'G' and fix the indentation of

svn commit: r217745 - head/lib/libkvm

2011-01-23 Thread Ulrich Spoerlein
Author: uqs Date: Sun Jan 23 11:08:36 2011 New Revision: 217745 URL: http://svn.freebsd.org/changeset/base/217745 Log: libkvm: fix process runtime calculation on crashdumps Fix a long standing bug, where the procs ticks where assumed to be in us. Instead, read cpu_tick_frequency from the

Re: svn commit: r217718 - in head/sys: conf dev/usb

2011-01-23 Thread Gary Jennejohn
On Sun, 23 Jan 2011 10:19:02 +0100 Hans Petter Selasky hsela...@freebsd.org wrote: On Saturday 22 January 2011 16:09:18 Gary Jennejohn wrote: On Sat, 22 Jan 2011 13:52:23 + (UTC) Hans Petter Selasky hsela...@freebsd.org wrote: Author: hselasky Date: Sat Jan 22 13:52:23 2011

svn commit: r217747 - head/sys/sys

2011-01-23 Thread Konstantin Belousov
Author: kib Date: Sun Jan 23 12:44:17 2011 New Revision: 217747 URL: http://svn.freebsd.org/changeset/base/217747 Log: Fix typo. MFC after:3 days Modified: head/sys/sys/pioctl.h Modified: head/sys/sys/pioctl.h

svn commit: r217748 - head/sys/netinet/cc

2011-01-23 Thread Lawrence Stewart
Author: lstewart Date: Sun Jan 23 13:00:25 2011 New Revision: 217748 URL: http://svn.freebsd.org/changeset/base/217748 Log: An sbuf configured with SBUF_AUTOEXTEND will call malloc with M_WAITOK when a write to the buffer causes it to overflow. We therefore can't hold the CC list rwlock

svn commit: r217749 - head/gnu/usr.bin/gdb/kgdb

2011-01-23 Thread Ed Maste
Author: emaste Date: Sun Jan 23 14:08:59 2011 New Revision: 217749 URL: http://svn.freebsd.org/changeset/base/217749 Log: Use string literal format strings to quiet clang warnings. Modified: head/gnu/usr.bin/gdb/kgdb/main.c Modified: head/gnu/usr.bin/gdb/kgdb/main.c

svn commit: r217750 - head/sbin/init

2011-01-23 Thread Jilles Tjoelker
Author: jilles Date: Sun Jan 23 14:22:26 2011 New Revision: 217750 URL: http://svn.freebsd.org/changeset/base/217750 Log: init: Only run /etc/rc.shutdown if /etc/rc was run. It does not make sense to shut down daemons that were not started. In particular, this fixes loss of mixer

svn commit: r217751 - head/sys/dev/ath/ath_hal/ar9002

2011-01-23 Thread Adrian Chadd
Author: adrian Date: Sun Jan 23 14:30:35 2011 New Revision: 217751 URL: http://svn.freebsd.org/changeset/base/217751 Log: Update the AR9280v2 inivals to match what is in Linux ath9k. This repairs the behaviour of my AR9280 - both radio chains now seem to correctly be receiving.

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

2011-01-23 Thread Adrian Chadd
Author: adrian Date: Sun Jan 23 14:49:50 2011 New Revision: 217752 URL: http://svn.freebsd.org/changeset/base/217752 Log: Enable the 11n PHY by default whether or not 11n is configured. The linux ath9k driver and (from what I've been told) the atheros reference driver does this; it then

svn commit: r217753 - head/sbin/init

2011-01-23 Thread Jilles Tjoelker
Author: jilles Date: Sun Jan 23 14:54:45 2011 New Revision: 217753 URL: http://svn.freebsd.org/changeset/base/217753 Log: init(8): Document that login(1) is now responsible for recording logouts. init(8) only uses utmpx for recording reboots and shutdowns. Modified:

Re: svn commit: r217748 - head/sys/netinet/cc

2011-01-23 Thread mdf
For sbuf use for a sysctl you can use sbuf_init_for_sysctl() which will, instead of growing, push the current data out using SYSCTL_OUT to a wired user buffer. There's a few examples in the vm/ code. This can sometimes significantly simplify the code since there's no need to worry about held

svn commit: r217754 - head

2011-01-23 Thread Bjoern A. Zeeb
Author: bz Date: Sun Jan 23 16:28:44 2011 New Revision: 217754 URL: http://svn.freebsd.org/changeset/base/217754 Log: For `make tinderbox` there is no need to print the extra commands. MFC after:5 days Modified: head/Makefile Modified: head/Makefile

svn commit: r217755 - head/etc/periodic/daily

2011-01-23 Thread Josh Paetzel
Author: jpaetzel Date: Sun Jan 23 17:13:29 2011 New Revision: 217755 URL: http://svn.freebsd.org/changeset/base/217755 Log: This script parses output of userland tools. In the case of a faulted zpool the output causes the script to bail out with syntax errors. Since a scrub of a faulted

svn commit: r217756 - head/sys/powerpc/powermac

2011-01-23 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Jan 23 17:20:11 2011 New Revision: 217756 URL: http://svn.freebsd.org/changeset/base/217756 Log: Disable ATAPI DMA unconditionally on Apple Kauai ATA controllers, like it is on the MacIO ones. It appears to be unreliable on all DBDMA-based controllers for

Re: svn commit: r217755 - head/etc/periodic/daily

2011-01-23 Thread Jilles Tjoelker
On Sun, Jan 23, 2011 at 05:13:29PM +, Josh Paetzel wrote: Author: jpaetzel Date: Sun Jan 23 17:13:29 2011 New Revision: 217755 URL: http://svn.freebsd.org/changeset/base/217755 Log: This script parses output of userland tools. In the case of a faulted zpool the output causes the

svn commit: r217760 - in head/sys: conf netinet

2011-01-23 Thread Michael Tuexen
Author: tuexen Date: Sun Jan 23 19:36:28 2011 New Revision: 217760 URL: http://svn.freebsd.org/changeset/base/217760 Log: Add stream scheduling support. This work is based on a patch received from Robin Seggelmann. MFC after: 3 months. Added: head/sys/netinet/sctp_ss_functions.c

svn commit: r217766 - head/sys/dev/re

2011-01-23 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 24 00:01:06 2011 New Revision: 217766 URL: http://svn.freebsd.org/changeset/base/217766 Log: Apply TX interrupt moderation to all RTL810xE PCIe Fast Ethernet controllers. Experimentation with RTL8102E, RTL8103E and RTL8105E showed dramatic decrement of TX

Re: svn commit: r217746 - head/usr.bin/top

2011-01-23 Thread Sergey Kandaurov
On 23 January 2011 14:08, Giorgos Keramidas keram...@freebsd.org wrote: Author: keramida (doc committer) Date: Sun Jan 23 11:08:39 2011 New Revision: 217746 URL: http://svn.freebsd.org/changeset/base/217746 Log:  Touch up the sample memory usage numbers a bit, to avoid wrapping  on

Re: svn commit: r217746 - head/usr.bin/top

2011-01-23 Thread Garrett Cooper
On Sun, Jan 23, 2011 at 6:44 PM, Sergey Kandaurov pluk...@freebsd.org wrote: On 23 January 2011 14:08, Giorgos Keramidas keram...@freebsd.org wrote: Author: keramida (doc committer) Date: Sun Jan 23 11:08:39 2011 New Revision: 217746 URL: http://svn.freebsd.org/changeset/base/217746 Log:  

svn commit: r217767 - head/usr.sbin/freebsd-update

2011-01-23 Thread Gordon Tetlow
Author: gordon Date: Mon Jan 24 04:32:59 2011 New Revision: 217767 URL: http://svn.freebsd.org/changeset/base/217767 Log: Honor $PAGER instead of always calling more. Approved by: colin@ MFC after:1 week Modified: head/usr.sbin/freebsd-update/freebsd-update.sh Modified:

svn commit: r217769 - in head: sbin/dump sbin/fsck_ffs sbin/fsdb sbin/fsirand sbin/newfs usr.sbin/makefs usr.sbin/quot

2011-01-23 Thread Kirk McKusick
Author: mckusick Date: Mon Jan 24 06:17:05 2011 New Revision: 217769 URL: http://svn.freebsd.org/changeset/base/217769 Log: The dump, fsck_ffs, fsdb, fsirand, newfs, makefs, and quot utilities include sys/time.h instead of time.h. This include is incorrect as per the manpages for the APIs

Re: svn commit: r217734 - head

2011-01-23 Thread Warner Losh
On 01/22/2011 16:10, Bjoern A. Zeeb wrote: Author: bz Date: Sat Jan 22 23:10:58 2011 New Revision: 217734 URL: http://svn.freebsd.org/changeset/base/217734 Log: In `make targets` print the make variable TARGETS as we expect it rather than the grammatically better sounding variant without

Re: svn commit: r217714 - head/sbin/fdisk

2011-01-23 Thread Warner Losh
Maxim, In case it wasn't clear from Bruce's long explaination, parts of this are technically wrong and need to be reverted or fixed. Warner On 01/22/2011 00:47, Bruce Evans wrote: On Sat, 22 Jan 2011, Maxim Sobolev wrote: Log: Warn user when value entered is greated than the amount

svn commit: r217770 - in head/tools/tools/ath: . ath_ee_v4k_print

2011-01-23 Thread Adrian Chadd
Author: adrian Date: Mon Jan 24 06:46:03 2011 New Revision: 217770 URL: http://svn.freebsd.org/changeset/base/217770 Log: Add a simple tool to print the contents of a v4k EEPROM dump. Added: head/tools/tools/ath/ath_ee_v4k_print/ head/tools/tools/ath/ath_ee_v4k_print/Makefile (contents,

svn commit: r217771 - head/sbin/fdisk

2011-01-23 Thread Maxim Sobolev
Author: sobomax Date: Mon Jan 24 07:16:20 2011 New Revision: 217771 URL: http://svn.freebsd.org/changeset/base/217771 Log: o Cylinder numbers are 10 bits in the MBR; o Sector numbers are only 6 bits in the MBR; o bde'cize name of the local variable. Submitted by: bde Modified:

Re: svn commit: r217748 - head/sys/netinet/cc

2011-01-23 Thread Lawrence Stewart
Hi Matthew, On 01/24/11 02:39, m...@freebsd.org wrote: For sbuf use for a sysctl you can use sbuf_init_for_sysctl() which I assume you mean sbuf_new_for_sysctl() that's in kern/kern_sysctl.c? It would be useful to document this function in sbuf(9) - I wasn't aware of it and didn't find it when

svn commit: r217772 - head/sys/conf

2011-01-23 Thread Adrian Chadd
Author: adrian Date: Mon Jan 24 07:45:14 2011 New Revision: 217772 URL: http://svn.freebsd.org/changeset/base/217772 Log: Undo a local option which mistakenly crept into a commit. Modified: head/sys/conf/options Modified: head/sys/conf/options

svn commit: r217773 - in head/sys/modules: . khelp

2011-01-23 Thread Lawrence Stewart
Author: lstewart Date: Mon Jan 24 07:50:29 2011 New Revision: 217773 URL: http://svn.freebsd.org/changeset/base/217773 Log: Add build infrastructure for Khelp modules. Sponsored by: FreeBSD Foundation Reviewed by: bz MFC after:3 months Added: head/sys/modules/khelp/