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

2011-05-08 Thread Adrian Chadd
Author: adrian Date: Sun May 8 07:21:09 2011 New Revision: 221620 URL: http://svn.freebsd.org/changeset/base/221620 Log: Fiddle with the PLL initialisation order to match ath9k/Atheros HAL. This seems to make the AR9160 behave better during heavy scanning, where before it'd hang and requ

svn commit: r221621 - stable/8/sys/dev/usb

2011-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Sun May 8 08:17:16 2011 New Revision: 221621 URL: http://svn.freebsd.org/changeset/base/221621 Log: MFC r214221, r216072 and r214809. Make configuration of USB stack more flexible. Modified: stable/8/sys/dev/usb/usb_device.c stable/8/sys/dev/usb/usb_freebsd.h Direc

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

2011-05-08 Thread Adrian Chadd
Author: adrian Date: Sun May 8 08:18:30 2011 New Revision: 221622 URL: http://svn.freebsd.org/changeset/base/221622 Log: These EEPROM bits actually defined whether HT/20 and HT/40 support for the given channel is available. It isn't used yet; ar5416GetWirelessModes() needs to be taught

svn commit: r221623 - head/sys/dev/usb

2011-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Sun May 8 08:22:11 2011 New Revision: 221623 URL: http://svn.freebsd.org/changeset/base/221623 Log: Cleanup usb_notify_addq_compat(). It should not be needed any more. MFC after:7 days Modified: head/sys/dev/usb/usb_device.c Modified: head/sys/dev/usb/usb_d

svn commit: r221624 - head/sys/geom/eli

2011-05-08 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun May 8 09:08:50 2011 New Revision: 221624 URL: http://svn.freebsd.org/changeset/base/221624 Log: Add magic field to the g_eli_key structure to detect if we are really operating on proper structures. MFC after:1 week Modified: head/sys/geom/eli/g_eli_key_cache.

Re: svn commit: r221621 - stable/8/sys/dev/usb

2011-05-08 Thread Jason Hellenthal
Hans, Was this intended. ? "udev->ugen_name," On Sun, May 08, 2011 at 08:17:17AM +, Hans Petter Selasky wrote: > Author: hselasky > Date: Sun May 8 08:17:16 2011 > New Revision: 221621 > URL: http://svn.freebsd.org/changeset/base/221621 > [...] > +#if USB_HAVE_UGEN > + "parent=%

svn commit: r221625 - head/sys/geom/eli

2011-05-08 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun May 8 09:09:49 2011 New Revision: 221625 URL: http://svn.freebsd.org/changeset/base/221625 Log: Drop proper key. MFC after:1 week Modified: head/sys/geom/eli/g_eli_integrity.c Modified: head/sys/geom/eli/g_eli_integrity.c ==

svn commit: r221626 - head/sys/geom/eli

2011-05-08 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun May 8 09:11:04 2011 New Revision: 221626 URL: http://svn.freebsd.org/changeset/base/221626 Log: Remove prototype for a function that no longer exist. MFC after:1 week Modified: head/sys/geom/eli/g_eli.h Modified: head/sys/geom/eli/g_eli.h =

svn commit: r221627 - head/sys/netinet

2011-05-08 Thread Michael Tuexen
Author: tuexen Date: Sun May 8 09:11:59 2011 New Revision: 221627 URL: http://svn.freebsd.org/changeset/base/221627 Log: Fix a locking issue showing up on Mac OS X when subscribing to authentication events. DTLS/SCTP renegotiations trigger the bug. MFC after: 2 weeks. Modified: head/s

svn commit: r221628 - head/sys/geom/eli

2011-05-08 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun May 8 09:17:56 2011 New Revision: 221628 URL: http://svn.freebsd.org/changeset/base/221628 Log: When support for multiple encryption keys was committed, GELI integrity mode was not updated to pass CRD_F_KEY_EXPLICIT flag to opencrypto. This resulted in always using fi

svn commit: r221629 - head/sys/geom/eli

2011-05-08 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun May 8 09:25:16 2011 New Revision: 221629 URL: http://svn.freebsd.org/changeset/base/221629 Log: Detect and handle metadata of version 6. MFC after:1 week Modified: head/sys/geom/eli/g_eli.h Modified: head/sys/geom/eli/g_eli.h ==

svn commit: r221630 - head/sys/geom/eli

2011-05-08 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun May 8 09:25:54 2011 New Revision: 221630 URL: http://svn.freebsd.org/changeset/base/221630 Log: Version 6 is compatible with version 5 when it comes to control commands. MFC after:1 week Modified: head/sys/geom/eli/g_eli_ctl.c Modified: head/sys/geom/eli/g_eli

svn commit: r221631 - head/sys/geom/eli

2011-05-08 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun May 8 09:29:21 2011 New Revision: 221631 URL: http://svn.freebsd.org/changeset/base/221631 Log: Export GELI class version via sysctl kern.geom.eli.version. MFC after:1 week Modified: head/sys/geom/eli/g_eli.c Modified: head/sys/geom/eli/g_eli.c ===

svn commit: r221632 - head/sbin/hastd

2011-05-08 Thread Mikolaj Golub
Author: trociny Date: Sun May 8 09:31:17 2011 New Revision: 221632 URL: http://svn.freebsd.org/changeset/base/221632 Log: Fix isitme(), which is used to check if node-specific configuration belongs to our node, and was returning false positive if the first part of a node name matches short

Re: svn commit: r221621 - stable/8/sys/dev/usb

2011-05-08 Thread Hans Petter Selasky
On Sunday 08 May 2011 10:45:37 Jason Hellenthal wrote: > Hans, > > Was this intended. ? "udev->ugen_name," > No, we added a second variable, ugen=ugenX.Y. That's why it is listed twice. I think if ugen_name is NULL, the print statement will not panic. Thanks for your comment! --HPS __

svn commit: r221633 - head/sbin/geom/class/eli

2011-05-08 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun May 8 09:46:09 2011 New Revision: 221633 URL: http://svn.freebsd.org/changeset/base/221633 Log: Document the following sysctls: kern.geom.eli.version kern.geom.eli.key_cache_limit kern.geom.eli.key_cache_hits kern.geom.eli.key_cache_misses MFC after:1 w

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

2011-05-08 Thread Bruce Evans
On Sat, 7 May 2011, Garrett Cooper wrote: On Sat, May 7, 2011 at 10:13 AM, wrote: On Sat, May 7, 2011 at 9:36 AM, Hans Petter Selasky wrote: On Saturday 07 May 2011 18:28:24 Hans Petter Selasky wrote: ? - Use memcpy() instead of bcopy(). - Use memset() instead of bzero(). Why? ?It usua

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

2011-05-08 Thread Bruce Evans
On Sat, 7 May 2011, Hans Petter Selasky wrote: On Saturday 07 May 2011 19:13:27 m...@freebsd.org wrote: On Sat, May 7, 2011 at 9:36 AM, Hans Petter Selasky wrote: On Saturday 07 May 2011 18:28:24 Hans Petter Selasky wrote: - Use memcpy() instead of bcopy(). - Use memset() instead of bze

svn commit: r221634 - head/sys/dev/iwn

2011-05-08 Thread Bernhard Schmidt
Author: bschmidt Date: Sun May 8 10:19:29 2011 New Revision: 221634 URL: http://svn.freebsd.org/changeset/base/221634 Log: Re-add 2 device IDs which got lost. Pointed out by: benjsc Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c ==

svn commit: r221635 - head/sys/dev/iwn

2011-05-08 Thread Bernhard Schmidt
Author: bschmidt Date: Sun May 8 10:21:42 2011 New Revision: 221635 URL: http://svn.freebsd.org/changeset/base/221635 Log: The 6000 series adapters have a slightly different offset for band 6, 2GHz HT40 channels. Modified: head/sys/dev/iwn/if_iwn.c head/sys/dev/iwn/if_iwnreg.h Modified:

svn commit: r221636 - head/sys/dev/iwn

2011-05-08 Thread Bernhard Schmidt
Author: bschmidt Date: Sun May 8 10:31:22 2011 New Revision: 221636 URL: http://svn.freebsd.org/changeset/base/221636 Log: Hook HT channel setup. Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c =

svn commit: r221637 - head/sys/dev/iwn

2011-05-08 Thread Bernhard Schmidt
Author: bschmidt Date: Sun May 8 10:35:16 2011 New Revision: 221637 URL: http://svn.freebsd.org/changeset/base/221637 Log: Use the enhanced TX power information availabe on newer EEPROMs. Modified: head/sys/dev/iwn/if_iwn.c head/sys/dev/iwn/if_iwnreg.h head/sys/dev/iwn/if_iwnvar.h Modif

svn commit: r221638 - head/sys/dev/iwn

2011-05-08 Thread Bernhard Schmidt
Author: bschmidt Date: Sun May 8 10:54:50 2011 New Revision: 221638 URL: http://svn.freebsd.org/changeset/base/221638 Log: Allocate all TX rings, those will be use for TX packet aggregation. Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c

svn commit: r221639 - head/sys/dev/iwn

2011-05-08 Thread Bernhard Schmidt
Author: bschmidt Date: Sun May 8 10:57:44 2011 New Revision: 221639 URL: http://svn.freebsd.org/changeset/base/221639 Log: RX aggregation is slightly different then the legacy path, we will only receive one RX_PHY for each aggregate and not one RX_PHY per frame. Modified: head/sys/dev/iwn/

svn commit: r221640 - head/sys/dev/iwn

2011-05-08 Thread Bernhard Schmidt
Author: bschmidt Date: Sun May 8 11:01:53 2011 New Revision: 221640 URL: http://svn.freebsd.org/changeset/base/221640 Log: Disable background scan support for 4965 adapters. On legacy channels every once in a while the firmware throws a SYSASSERT on line 208. On HT channels though this d

svn commit: r221641 - head/sys/dev/iwn

2011-05-08 Thread Bernhard Schmidt
Author: bschmidt Date: Sun May 8 11:03:16 2011 New Revision: 221641 URL: http://svn.freebsd.org/changeset/base/221641 Log: Add HT capabilities to probe requests. Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c =

svn commit: r221642 - head/sys/dev/iwn

2011-05-08 Thread Bernhard Schmidt
Author: bschmidt Date: Sun May 8 11:05:03 2011 New Revision: 221642 URL: http://svn.freebsd.org/changeset/base/221642 Log: Read chainmask information before announcing it. Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c ===

svn commit: r221643 - head/sbin/hastd

2011-05-08 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun May 8 11:10:56 2011 New Revision: 221643 URL: http://svn.freebsd.org/changeset/base/221643 Log: Allow to specify remote as 'none' again which was broken by r219351, where 'none' was defined as a value for checksum. Reported by: trasz MFC after:1 week Modifie

svn commit: r221644 - head/sys/geom/part

2011-05-08 Thread Andrey V. Elsukov
Author: ae Date: Sun May 8 11:16:17 2011 New Revision: 221644 URL: http://svn.freebsd.org/changeset/base/221644 Log: Limit number of sectors that can be addressed. MFC after:1 week Modified: head/sys/geom/part/g_part_mbr.c Modified: head/sys/geom/part/g_part_mbr.c =

svn commit: r221645 - head/sys/geom/part

2011-05-08 Thread Andrey V. Elsukov
Author: ae Date: Sun May 8 11:20:27 2011 New Revision: 221645 URL: http://svn.freebsd.org/changeset/base/221645 Log: Limit number of sectors that can be addressed. MFC after:1 week Modified: head/sys/geom/part/g_part_pc98.c Modified: head/sys/geom/part/g_part_pc98.c ===

svn commit: r221646 - in head: bin/sh tools/regression/bin/sh/builtins tools/regression/bin/sh/expansion

2011-05-08 Thread Jilles Tjoelker
Author: jilles Date: Sun May 8 11:32:20 2011 New Revision: 221646 URL: http://svn.freebsd.org/changeset/base/221646 Log: sh: Add UTF-8 support to pattern matching. ?, [...] patterns match codepoints instead of bytes. They do not match invalid sequences. [...] patterns must not contain in

Re: svn commit: r221645 - head/sys/geom/part

2011-05-08 Thread Kostik Belousov
On Sun, May 08, 2011 at 11:20:27AM +, Andrey V. Elsukov wrote: > Author: ae > Date: Sun May 8 11:20:27 2011 > New Revision: 221645 > URL: http://svn.freebsd.org/changeset/base/221645 > > Log: > Limit number of sectors that can be addressed. > > MFC after: 1 week > > Modified: > hea

svn commit: r221647 - head/sys/geom/part

2011-05-08 Thread Andrey V. Elsukov
Author: ae Date: Sun May 8 11:42:51 2011 New Revision: 221647 URL: http://svn.freebsd.org/changeset/base/221647 Log: Replace UINT_MAX to UINT32_MAX. Pointed out by: kib MFC after:1 week Modified: head/sys/geom/part/g_part_mbr.c head/sys/geom/part/g_part_pc98.c Modified: h

svn commit: r221648 - head/sys/dev/iwn

2011-05-08 Thread Bernhard Schmidt
Author: bschmidt Date: Sun May 8 11:49:50 2011 New Revision: 221648 URL: http://svn.freebsd.org/changeset/base/221648 Log: Prepare for transmitting frames at MCS rates: - instead of calling iwn_plcp_signal() for every frame, map the expected value directly within wn->ridx - concat plcp,

svn commit: r221649 - head/sys/dev/iwn

2011-05-08 Thread Bernhard Schmidt
Author: bschmidt Date: Sun May 8 11:54:38 2011 New Revision: 221649 URL: http://svn.freebsd.org/changeset/base/221649 Log: Add support for transmitting frames at MCS rates. Modified: head/sys/dev/iwn/if_iwn.c head/sys/dev/iwn/if_iwnreg.h Modified: head/sys/dev/iwn/if_iwn.c ===

svn commit: r221650 - head/sys/dev/iwn

2011-05-08 Thread Bernhard Schmidt
Author: bschmidt Date: Sun May 8 11:58:23 2011 New Revision: 221650 URL: http://svn.freebsd.org/changeset/base/221650 Log: Add support for RX packet aggregation. Modified: head/sys/dev/iwn/if_iwn.c head/sys/dev/iwn/if_iwnvar.h Modified: head/sys/dev/iwn/if_iwn.c ==

svn commit: r221651 - head/sys/dev/iwn

2011-05-08 Thread Bernhard Schmidt
Author: bschmidt Date: Sun May 8 12:06:12 2011 New Revision: 221651 URL: http://svn.freebsd.org/changeset/base/221651 Log: Add support for TX packet aggregation. Modified: head/sys/dev/iwn/if_iwn.c head/sys/dev/iwn/if_iwnreg.h head/sys/dev/iwn/if_iwnvar.h Modified: head/sys/dev/iwn/if_i

svn commit: r221652 - head/sys/geom/part

2011-05-08 Thread Andrey V. Elsukov
Author: ae Date: Sun May 8 12:11:16 2011 New Revision: 221652 URL: http://svn.freebsd.org/changeset/base/221652 Log: Limit number of sectors that can be addressed. MFC after:1 week Modified: head/sys/geom/part/g_part_bsd.c Modified: head/sys/geom/part/g_part_bsd.c =

svn commit: r221653 - head/sys/dev/iwn

2011-05-08 Thread Bernhard Schmidt
Author: bschmidt Date: Sun May 8 12:11:20 2011 New Revision: 221653 URL: http://svn.freebsd.org/changeset/base/221653 Log: Notify firmware about various HT parameters once associated. Modified: head/sys/dev/iwn/if_iwn.c head/sys/dev/iwn/if_iwnreg.h Modified: head/sys/dev/iwn/if_iwn.c

svn commit: r221654 - head/sys/geom/part

2011-05-08 Thread Andrey V. Elsukov
Author: ae Date: Sun May 8 12:16:39 2011 New Revision: 221654 URL: http://svn.freebsd.org/changeset/base/221654 Log: Limit number of sectors that can be addressed. Reject table if blkcount from metadata is greater than provider. Modified: head/sys/geom/part/g_part_apm.c Modified: head/sys

svn commit: r221655 - head/usr.sbin/jail

2011-05-08 Thread Benedict Reuschling
Author: bcr (doc committer) Date: Sun May 8 12:16:39 2011 New Revision: 221655 URL: http://svn.freebsd.org/changeset/base/221655 Log: Jails have a problem in that if the jail directory is world-readable, an attacker with root access to the jail can create a setuid binary for their own use i

svn commit: r221656 - head/sys/geom/part

2011-05-08 Thread Andrey V. Elsukov
Author: ae Date: Sun May 8 12:20:30 2011 New Revision: 221656 URL: http://svn.freebsd.org/changeset/base/221656 Log: Limit number of sectors that can be addressed. MFC after:1 week Modified: head/sys/geom/part/g_part_ebr.c Modified: head/sys/geom/part/g_part_ebr.c =

svn commit: r221657 - head/sys/dev/iwn

2011-05-08 Thread Bernhard Schmidt
Author: bschmidt Date: Sun May 8 12:23:01 2011 New Revision: 221657 URL: http://svn.freebsd.org/changeset/base/221657 Log: Enable 11n (sans HT40) support. Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c

svn commit: r221658 - head/sys/geom/part

2011-05-08 Thread Andrey V. Elsukov
Author: ae Date: Sun May 8 12:28:13 2011 New Revision: 221658 URL: http://svn.freebsd.org/changeset/base/221658 Log: Limit number of sectors that can be addressed. MFC after:1 week Modified: head/sys/geom/part/g_part_vtoc8.c Modified: head/sys/geom/part/g_part_vtoc8.c =

svn commit: r221659 - in head/sbin: dumpfs growfs tunefs

2011-05-08 Thread Gavin Atkinson
Author: gavin Date: Sun May 8 12:34:31 2011 New Revision: 221659 URL: http://svn.freebsd.org/changeset/base/221659 Log: We now have multiple filesystems (UFS, ZFS, ...), so for tools that only operate on one type of filesystem, mention this. While here, capitalise the use of "UFS" in growfs

Re: svn commit: r221550 - head/sys/powerpc/conf

2011-05-08 Thread Andreas Tobler
On 08.05.11 00:17, Attilio Rao wrote: 2011/5/6 Attilio Rao: 2011/5/6 Nathan Whitehorn: Author: nwhitehorn Date: Fri May 6 20:43:02 2011 New Revision: 221550 URL: http://svn.freebsd.org/changeset/base/221550 Log: SMP has worked perfectly for a very long time on 32-bit PowerPC on both UP an

Re: svn commit: r221645 - head/sys/geom/part

2011-05-08 Thread Bruce Evans
On Sun, 8 May 2011, Kostik Belousov wrote: On Sun, May 08, 2011 at 11:20:27AM +, Andrey V. Elsukov wrote: Log: Limit number of sectors that can be addressed. MFC after:1 week Modified: head/sys/geom/part/g_part_pc98.c Modified: head/sys/geom/part/g_part_pc98.c =

svn commit: r221660 - head/bin/sh

2011-05-08 Thread Jilles Tjoelker
Author: jilles Date: Sun May 8 14:03:44 2011 New Revision: 221660 URL: http://svn.freebsd.org/changeset/base/221660 Log: sh(1): Update BUGS section for UTF-8 support. Modified: head/bin/sh/sh.1 Modified: head/bin/sh/sh.1 ==

svn commit: r221665 - head/usr.sbin/jail

2011-05-08 Thread Benedict Reuschling
Author: bcr (doc committer) Date: Sun May 8 14:57:01 2011 New Revision: 221665 URL: http://svn.freebsd.org/changeset/base/221665 Log: Revert r221655: Various people voiced their concerns about these changes. Until this is resolved, we should use the old version. Modified: head/usr.sbi

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

2011-05-08 Thread Adrian Chadd
Author: adrian Date: Sun May 8 15:25:22 2011 New Revision: 221666 URL: http://svn.freebsd.org/changeset/base/221666 Log: * Add AR_SREV_KITE macro for later use * Modify AR_SREV_MERLIN_20() to match the Atheros/Linux ath9k behaviour - its supposed to match Merlin 2.0 and later Merlin chips

svn commit: r221667 - in head/sys/dev/ath/ath_hal: . ar9002

2011-05-08 Thread Adrian Chadd
Author: adrian Date: Sun May 8 15:55:52 2011 New Revision: 221667 URL: http://svn.freebsd.org/changeset/base/221667 Log: Fix the 5ghz fast clock logic. The macro which I incorrectly copied into ah_internal.h assumed that it'd be called with an AR_SREV_MERLIN_20() check to ensure it was

svn commit: r221668 - head/bin/sh

2011-05-08 Thread Jilles Tjoelker
Author: jilles Date: Sun May 8 16:15:50 2011 New Revision: 221668 URL: http://svn.freebsd.org/changeset/base/221668 Log: sh: Optimize variable code by storing the length of the name. Obtained from:NetBSD Modified: head/bin/sh/var.c head/bin/sh/var.h Modified: head/bin/sh/var.

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

2011-05-08 Thread Jilles Tjoelker
Author: jilles Date: Sun May 8 17:40:10 2011 New Revision: 221669 URL: http://svn.freebsd.org/changeset/base/221669 Log: sh: Add \u/\U support (in $'...') for UTF-8. Because we have no iconv in base, support for other charsets is not possible. Note that \u/\U are processed using the

Re: svn commit: r221550 - head/sys/powerpc/conf

2011-05-08 Thread Attilio Rao
2011/5/8 Andreas Tobler : > On 08.05.11 00:17, Attilio Rao wrote: >> >> 2011/5/6 Attilio Rao: >>> >>> 2011/5/6 Nathan Whitehorn: Author: nwhitehorn Date: Fri May  6 20:43:02 2011 New Revision: 221550 URL: http://svn.freebsd.org/changeset/base/221550 Log:  SMP