svn commit: r223583 - head/sys/net80211

2011-06-26 Thread Adrian Chadd
Author: adrian Date: Mon Jun 27 05:57:14 2011 New Revision: 223583 URL: http://svn.freebsd.org/changeset/base/223583 Log: Print out a big warning if DFS can't find a channel to use. This way people debugging DFS won't be surprised when their AP stops talking. Modified: head/sys/net80211/i

Re: svn commit: r223519 - head/etc/devd

2011-06-26 Thread Warner Losh
On Jun 26, 2011, at 3:33 AM, Ronald Klop wrote: > Is this part of the auto-detect hardware discussion I read on one of the > mailinglists lately? About having less drivers in GENERIC and more > auto-loaded? > If it is... Looks like a nice feature. Not in GENERIC. 9.0 is getting ready to featu

svn commit: r223582 - head/lib/libmd

2011-06-26 Thread Colin Percival
Author: cperciva Date: Mon Jun 27 02:10:10 2011 New Revision: 223582 URL: http://svn.freebsd.org/changeset/base/223582 Log: Rewrite HISTORY: The SHA256 code first appeared in 6.0, and the SHA512 code in 9.0; neither existed in FreeBSD 4.0. Modified: head/lib/libmd/sha256.3 head/lib/libmd/

svn commit: r223580 - head/bin/sh

2011-06-26 Thread Jilles Tjoelker
Author: jilles Date: Sun Jun 26 20:12:05 2011 New Revision: 223580 URL: http://svn.freebsd.org/changeset/base/223580 Log: sh: Include instead of non-standard . Modified: head/bin/sh/arith_yacc.c Modified: head/bin/sh/arith_yacc.c =

svn commit: r223579 - head/contrib/traceroute

2011-06-26 Thread Dimitry Andric
Author: dim Date: Sun Jun 26 19:03:33 2011 New Revision: 223579 URL: http://svn.freebsd.org/changeset/base/223579 Log: For some reason, contrib/traceroute/traceroute.c ensures MAXHOSTNAMELEN is defined, but then proceeds to use a hardcoded maximum hostname length of 64 anyway. Fix this by c

svn commit: r223576 - in head/lib/libc: gen stdlib

2011-06-26 Thread Ed Schouten
Author: ed Date: Sun Jun 26 18:27:17 2011 New Revision: 223576 URL: http://svn.freebsd.org/changeset/base/223576 Log: Fix whitespace inconsistencies in libc in files copyrighted by me. Modified: head/lib/libc/gen/getutxent.3 head/lib/libc/gen/posix_spawn.3 head/lib/libc/gen/posix_spawn.c

svn commit: r223575 - in head/sys: dev/pty dev/snp dev/syscons kern

2011-06-26 Thread Ed Schouten
Author: ed Date: Sun Jun 26 18:26:20 2011 New Revision: 223575 URL: http://svn.freebsd.org/changeset/base/223575 Log: Fix whitespace inconsistencies in the TTY layer and its drivers owned by me. Modified: head/sys/dev/pty/pty.c head/sys/dev/snp/snp.c head/sys/dev/syscons/scterm-teken.c

svn commit: r223574 - in head/sys/teken: . demo libteken

2011-06-26 Thread Ed Schouten
Author: ed Date: Sun Jun 26 18:25:10 2011 New Revision: 223574 URL: http://svn.freebsd.org/changeset/base/223574 Log: Fix various whitespace inconsistencies in sys/teken. Modified: head/sys/teken/demo/teken_demo.c head/sys/teken/gensequences head/sys/teken/libteken/teken.3 head/sys/teke

svn commit: r223573 - head/usr.bin/tar

2011-06-26 Thread Tim Kientzle
Author: kientzle Date: Sun Jun 26 17:54:11 2011 New Revision: 223573 URL: http://svn.freebsd.org/changeset/base/223573 Log: The --newer-than test should descend into old directories to look for new files. PR: bin/150890 Submitted by: Tobias Herre MFC after:3 weeks Modif

svn commit: r223571 - head/sys/powerpc/ofw

2011-06-26 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Jun 26 16:11:36 2011 New Revision: 223571 URL: http://svn.freebsd.org/changeset/base/223571 Log: Add better error handling for RTAS calls. These can potentially cause machine checks (e.g. invalid PCI configuration cycles), but these can be caught and recovered fr

svn commit: r223570 - head/sys/powerpc/aim

2011-06-26 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Jun 26 15:08:14 2011 New Revision: 223570 URL: http://svn.freebsd.org/changeset/base/223570 Log: Revert r223479. It is unnecessary and served only to slightly ameliorate some manifestations of the bug actually fixed in r223485. Modified: head/sys/powerpc/aim/tra

svn commit: r223569 - head/etc/mtree

2011-06-26 Thread Adrian Chadd
Author: adrian Date: Sun Jun 26 14:29:49 2011 New Revision: 223569 URL: http://svn.freebsd.org/changeset/base/223569 Log: .. this wasn't supposed to be committed! sorry. Modified: head/etc/mtree/BSD.include.dist Modified: head/etc/mtree/BSD.include.dist ==

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

2011-06-26 Thread Adrian Chadd
Author: adrian Date: Sun Jun 26 13:53:24 2011 New Revision: 223568 URL: http://svn.freebsd.org/changeset/base/223568 Log: Fix beacon transmission after a channel set. The DFS code was tickling the channel set directly whilst going through the state RUN -> CSA -> RUN. This only changed the

svn commit: r223567 - in head/sys: conf dev/ath

2011-06-26 Thread Adrian Chadd
Author: adrian Date: Sun Jun 26 13:43:15 2011 New Revision: 223567 URL: http://svn.freebsd.org/changeset/base/223567 Log: Add ATH_ENABLE_DFS which enables the DFS flag so the DFS code can be tested. This doesn't at all actually do radar detection! It's just so developers who wish to tes

Re: svn commit: r223557 - head/sys/cam/scsi

2011-06-26 Thread Scott Long
On Jun 25, 2011, at 7:32 PM, Justin T. Gibbs wrote: > Author: gibbs > Date: Sun Jun 26 01:32:46 2011 > New Revision: 223557 > URL: http://svn.freebsd.org/changeset/base/223557 > > Log: > cam/scsi/scsi_cd.c: > In cdregister(), hold the periph lock semaphore during changer > probe/conf

Re: svn commit: r223519 - head/etc/devd

2011-06-26 Thread Hans Petter Selasky
On Sunday 26 June 2011 11:33:51 Ronald Klop wrote: > Is this part of the auto-detect hardware discussion I read on one of the > mailinglists lately? About having less drivers in GENERIC and more > auto-loaded? > If it is... Looks like a nice feature. > > Ronald. > > On Fri, 24 Jun 2011 23:32:03 +

svn commit: r223566 - in head: etc/devd sys/dev/usb/wlan

2011-06-26 Thread Gavin Atkinson
Author: gavin Date: Sun Jun 26 11:37:24 2011 New Revision: 223566 URL: http://svn.freebsd.org/changeset/base/223566 Log: The SMCWUSBG is a zyd(4) device, not an uath(4) device. Remove from the latter. It appears that the addition to uath(4) came in through PR kern/135009, which had tes

svn commit: r223565 - stable/8/lib/libc/gen

2011-06-26 Thread Jilles Tjoelker
Author: jilles Date: Sun Jun 26 10:50:11 2011 New Revision: 223565 URL: http://svn.freebsd.org/changeset/base/223565 Log: MFC r222511,r223206: posix_spawn(): Do not fail when trying to close an fd that is not open. As noted in Austin Group issue #370 (an interpretation has been issued),

svn commit: r223564 - head/etc

2011-06-26 Thread Adrian Chadd
Author: adrian Date: Sun Jun 26 10:34:01 2011 New Revision: 223564 URL: http://svn.freebsd.org/changeset/base/223564 Log: I think 23dBm is the correct value to use here. CRDA uses 20dBm + 3dB max antenna gain; I believe net80211 doesn't take antenna gain into account and leaves it up to the

svn commit: r223563 - in head/etc: . mtree

2011-06-26 Thread Adrian Chadd
Author: adrian Date: Sun Jun 26 10:32:09 2011 New Revision: 223563 URL: http://svn.freebsd.org/changeset/base/223563 Log: Add a couple more frequency ranges to the FCC3 (FCC + DFS) regulatory domain. The frequency range 5490MHz -> 5710MHz was opened up sometime in 2009, but regdomain.xml

svn commit: r223562 - in head/sys: arm/at91 arm/sa11x0 mips/atheros mips/mips mips/rmi mips/rmi/dev/xlr mips/sentry5 mips/sibyte

2011-06-26 Thread Kevin Lo
Author: kevlo Date: Sun Jun 26 10:07:48 2011 New Revision: 223562 URL: http://svn.freebsd.org/changeset/base/223562 Log: Remove duplicate header includes Modified: head/sys/arm/at91/at91_machdep.c head/sys/arm/sa11x0/assabet_machdep.c head/sys/arm/sa11x0/sa11x0.c head/sys/mips/atheros/a

Re: svn commit: r223519 - head/etc/devd

2011-06-26 Thread Ronald Klop
Is this part of the auto-detect hardware discussion I read on one of the mailinglists lately? About having less drivers in GENERIC and more auto-loaded? If it is... Looks like a nice feature. Ronald. On Fri, 24 Jun 2011 23:32:03 +0200, Hans Petter Selasky wrote: Author: hselasky Date:

svn commit: r223561 - head/etc

2011-06-26 Thread Adrian Chadd
Author: adrian Date: Sun Jun 26 09:32:46 2011 New Revision: 223561 URL: http://svn.freebsd.org/changeset/base/223561 Log: Replace tab with 8 spaces, bringing it in line with the rest of the file. Modified: head/etc/regdomain.xml Modified: head/etc/regdomain.xml ==

Re: svn commit: r223537 - head/sys/dev/usb/wlan

2011-06-26 Thread Kevin Lo
On Sat, 2011-06-25 at 20:55 +0200, Hans Petter Selasky wrote: > On Saturday 25 June 2011 20:51:38 Hans Petter Selasky wrote: > > On Saturday 25 June 2011 20:43:59 Hans Petter Selasky wrote: > > > On Saturday 25 June 2011 20:26:19 Gavin Atkinson wrote: > > > > On Sat, 25 Jun 2011, Hans Petter Selask

svn commit: r223560 - stable/8/sys/dev/safe

2011-06-26 Thread Xin LI
Author: delphij Date: Sun Jun 26 07:12:48 2011 New Revision: 223560 URL: http://svn.freebsd.org/changeset/base/223560 Log: Use swap32() right. Submitted by: gcopper Modified: stable/8/sys/dev/safe/safe.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include