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

2011-07-30 Thread Adrian Chadd
Author: adrian Date: Sun Jul 31 05:59:33 2011 New Revision: 224540 URL: http://svn.freebsd.org/changeset/base/224540 Log: Fix typo! Approved by: re (kib) Modified: head/sys/dev/ath/if_athvar.h Modified: head/sys/dev/ath/if_athvar.h ==

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

2011-07-30 Thread Adrian Chadd
Author: adrian Date: Sun Jul 31 05:01:42 2011 New Revision: 224539 URL: http://svn.freebsd.org/changeset/base/224539 Log: Add extra flags for the radar event API. (They're not used by any public code at the current time.) Approved by: re (kib) Modified: head/sys/dev/ath/ath_hal/ah.h

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

2011-07-30 Thread Adrian Chadd
Author: adrian Date: Sun Jul 31 03:33:02 2011 New Revision: 224538 URL: http://svn.freebsd.org/changeset/base/224538 Log: Add some more phyerr bits. Obtained from:Atheros Approved by: re (kib) Modified: head/sys/dev/ath/ath_hal/ah_desc.h Modified: head/sys/dev/ath/ath_hal/ah_

svn commit: r224537 - head/libexec/tftpd

2011-07-30 Thread Craig Rodrigues
Author: rodrigc Date: Sun Jul 31 03:18:36 2011 New Revision: 224537 URL: http://svn.freebsd.org/changeset/base/224537 Log: Pull in some wording to the tftpd.8 man page from NetBSD, with some slight changes: =

svn commit: r224536 - head/libexec/tftpd

2011-07-30 Thread Craig Rodrigues
Author: rodrigc Date: Sun Jul 31 03:12:20 2011 New Revision: 224536 URL: http://svn.freebsd.org/changeset/base/224536 Log: In the old TFTP server, there was an undocumented behavior where the block counter would rollover to 0 if a file larger than 65535 blocks was transferred. With the defa

svn commit: r224535 - head/usr.sbin/pw

2011-07-30 Thread Xin LI
Author: delphij Date: Sun Jul 31 03:00:00 2011 New Revision: 224535 URL: http://svn.freebsd.org/changeset/base/224535 Log: Backout r223115 which potentially caused a POLA violation, by restoring historic behavior (create the default base directory in pw.conf) before I came up with a better f

Re: svn commit: r224516 - in head/sys: amd64/amd64 i386/i386 pc98/pc98

2011-07-30 Thread Bruce Evans
On Sun, 31 Jul 2011, Bruce Evans wrote: ... In the whole kernel, 155 lines match TUNABLE.*FETCH and 14 of these match 'if ('. Some of the 14 are not wrong. About 1/3 of them are for dubious use in memory sizing. E.g., in amd64/machdep.c: % realmem = Maxmem; The unprobed Maxmem remains

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

2011-07-30 Thread Joel Dahl
Author: joel (doc committer) Date: Sat Jul 30 23:09:52 2011 New Revision: 224533 URL: http://svn.freebsd.org/changeset/base/224533 Log: Add a better description, a few examples and a couple of minor fixes. Reviewed by: brueffer Approved by: re (kib) Modified: head/share/man/man4/pcm.

Re: svn commit: r224516 - in head/sys: amd64/amd64 i386/i386 pc98/pc98

2011-07-30 Thread Bruce Evans
On Sat, 30 Jul 2011, John Baldwin wrote: On Jul 30, 2011, at 9:33 AM, Bjoern A. Zeeb wrote: Author: bz Date: Sat Jul 30 13:33:05 2011 New Revision: 224516 URL: http://svn.freebsd.org/changeset/base/224516 Log: Introduce a tunable to disable the time consuming parts of bootup memtesting, wh

svn commit: r224532 - head/sys/fs/nfsclient

2011-07-30 Thread Rick Macklem
Author: rmacklem Date: Sat Jul 30 22:57:38 2011 New Revision: 224532 URL: http://svn.freebsd.org/changeset/base/224532 Log: The new NFS client failed to vput() the new vnode if a setattr failed after the file was created in nfs_create(). This would probably only happen during a forced dismou

Re: svn commit: r224496 - head/sys/cam

2011-07-30 Thread Alexander Motin
Andriy Gapon wrote: > on 30/07/2011 23:47 Alexander Motin said the following: >> After many experiments I believe that problem is not related to this >> change. I've managed to reproduce it depending on GEOM modules >> registration order. After I disabled all GEOM modules and only geom_dev >> left,

svn commit: r224531 - head/sys/cam/ata

2011-07-30 Thread Alexander Motin
Author: mav Date: Sat Jul 30 21:42:53 2011 New Revision: 224531 URL: http://svn.freebsd.org/changeset/base/224531 Log: Higher-priority initialization request can eat request scheduling done from adaclose(). Add immediate_priority check into adaschedule() to restore it. Approved by: re (k

Re: svn commit: r224496 - head/sys/cam

2011-07-30 Thread Andriy Gapon
on 30/07/2011 23:47 Alexander Motin said the following: > Kostik Belousov wrote: >> On Fri, Jul 29, 2011 at 08:30:28PM +, Alexander Motin wrote: >>> Author: mav >>> Date: Fri Jul 29 20:30:28 2011 >>> New Revision: 224496 >>> URL: http://svn.freebsd.org/changeset/base/224496 >>> >>> Log: >>> I

svn commit: r224529 - head/release/doc/en_US.ISO8859-1/hardware

2011-07-30 Thread Andriy Gapon
Author: avg Date: Sat Jul 30 21:09:45 2011 New Revision: 224529 URL: http://svn.freebsd.org/changeset/base/224529 Log: fix a typo/tautology in the release documentation Approved by: re (kib) MFC after:1 week Modified: head/release/doc/en_US.ISO8859-1/hardware/article.sgml Modifie

Re: svn commit: r224496 - head/sys/cam

2011-07-30 Thread Alexander Motin
Kostik Belousov wrote: > On Fri, Jul 29, 2011 at 08:30:28PM +, Alexander Motin wrote: >> Author: mav >> Date: Fri Jul 29 20:30:28 2011 >> New Revision: 224496 >> URL: http://svn.freebsd.org/changeset/base/224496 >> >> Log: >> In some cases failed SATA disks may report their presence, but don'

Re: svn commit: r224523 - head/contrib/gcc/cp

2011-07-30 Thread Roman Divacky
Why are we compiling our in-tree gcc with assertions enabled in the first place? On Sat, Jul 30, 2011 at 05:27:29PM +, Martin Matuska wrote: > Author: mm > Date: Sat Jul 30 17:27:29 2011 > New Revision: 224523 > URL: http://svn.freebsd.org/changeset/base/224523 > > Log: > Fix invalid assert

svn commit: r224528 - in head: release/doc/en_US.ISO8859-1/hardware share/man/man4 tools/tools/sysdoc

2011-07-30 Thread Andriy Gapon
Author: avg Date: Sat Jul 30 20:42:14 2011 New Revision: 224528 URL: http://svn.freebsd.org/changeset/base/224528 Log: update smp related documentation after recent changes Remove references to machdep.hlt_logical_cpus and machdep.hlt_cpus sysctls and tunables. Document machdep.hyperthr

svn commit: r224527 - head/sys/kern

2011-07-30 Thread Andriy Gapon
Author: avg Date: Sat Jul 30 20:29:39 2011 New Revision: 224527 URL: http://svn.freebsd.org/changeset/base/224527 Log: smp_rendezvous: master cpu should wait until all slaves are fully done This is a followup to r222032 and a reimplementation of it. While that revision fixed the race for

Re: svn commit: r224516 - in head/sys: amd64/amd64 i386/i386 pc98/pc98

2011-07-30 Thread John Baldwin
On Jul 30, 2011, at 9:33 AM, Bjoern A. Zeeb wrote: > Author: bz > Date: Sat Jul 30 13:33:05 2011 > New Revision: 224516 > URL: http://svn.freebsd.org/changeset/base/224516 > > Log: > Introduce a tunable to disable the time consuming parts of bootup > memtesting, which can easily save seconds t

svn commit: r224526 - in head: cddl/contrib/opensolaris/cmd/ztest sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2011-07-30 Thread Martin Matuska
Author: mm Date: Sat Jul 30 19:00:31 2011 New Revision: 224526 URL: http://svn.freebsd.org/changeset/base/224526 Log: Fix serious bug in ZIL that can lead to pool corruption in the case of a held dataset during remount. Detailed description is available at: https://www.illumos.org/issue

svn commit: r224525 - head/cddl/contrib/opensolaris/lib/libzfs/common

2011-07-30 Thread Martin Matuska
Author: mm Date: Sat Jul 30 17:44:06 2011 New Revision: 224525 URL: http://svn.freebsd.org/changeset/base/224525 Log: Fix wrong initialization of "cmd" for calling the jail/unjail ioctl. Reviewed by: pjd@, delphij@ Approved by: re (kib) MFC after:3 days Modified: head/cddl/cont

svn commit: r224524 - head/contrib/gcc/cp

2011-07-30 Thread Martin Matuska
Author: mm Date: Sat Jul 30 17:40:11 2011 New Revision: 224524 URL: http://svn.freebsd.org/changeset/base/224524 Log: Fix accidential dos-style endings to unix-style line endings from last commit (r224523) to match the version approved by re@ Approved by: re (implicit) Modified: head/

svn commit: r224523 - head/contrib/gcc/cp

2011-07-30 Thread Martin Matuska
Author: mm Date: Sat Jul 30 17:27:29 2011 New Revision: 224523 URL: http://svn.freebsd.org/changeset/base/224523 Log: Fix invalid assertion of C++ external static data member declarations as anonymous namespaces are local to the current translation. GCC PR: c++/33094 Re

Re: svn commit: r224496 - head/sys/cam

2011-07-30 Thread Kostik Belousov
On Fri, Jul 29, 2011 at 08:30:28PM +, Alexander Motin wrote: > Author: mav > Date: Fri Jul 29 20:30:28 2011 > New Revision: 224496 > URL: http://svn.freebsd.org/changeset/base/224496 > > Log: > In some cases failed SATA disks may report their presence, but don't > respond to any commands.

svn commit: r224522 - head/sys/vm

2011-07-30 Thread Konstantin Belousov
Author: kib Date: Sat Jul 30 14:13:57 2011 New Revision: 224522 URL: http://svn.freebsd.org/changeset/base/224522 Log: Fix a race in the device pager allocation. If another thread won and allocated the device pager for the given handle, then the object fictitious pages list and the object me

svn commit: r224521 - head/sys/kern

2011-07-30 Thread Konstantin Belousov
Author: kib Date: Sat Jul 30 14:12:37 2011 New Revision: 224521 URL: http://svn.freebsd.org/changeset/base/224521 Log: Fix the devmtx lock leak from make_dev(9) when the old device cloning failed due to invalid or duplicated path being generated. Reviewed by: jh Approved by: re (kensm

svn commit: r224520 - head/sys/dev/ath/ath_dfs/null

2011-07-30 Thread Adrian Chadd
Author: adrian Date: Sat Jul 30 13:46:41 2011 New Revision: 224520 URL: http://svn.freebsd.org/changeset/base/224520 Log: Fix incorrect error reporting during the dfs ioctl function. Approved by: re (kib) Modified: head/sys/dev/ath/ath_dfs/null/dfs_null.c Modified: head/sys/dev/ath/ath

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

2011-07-30 Thread Adrian Chadd
Author: adrian Date: Sat Jul 30 13:45:12 2011 New Revision: 224519 URL: http://svn.freebsd.org/changeset/base/224519 Log: Introduce the FRAC_5G EEPROM parameter. This seems to indicate whether to program the NIC for fractional 5ghz mode (ie, 5mhz spaced channels, rather than 10 or 20mhz s

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

2011-07-30 Thread Adrian Chadd
Author: adrian Date: Sat Jul 30 13:37:38 2011 New Revision: 224518 URL: http://svn.freebsd.org/changeset/base/224518 Log: Prepare for embedded use of the AR9285/AR9287. Calibration/PCI data that's written to flash (rather than EEPROM attached to the NIC) is typically already in host-endia

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

2011-07-30 Thread Adrian Chadd
Author: adrian Date: Sat Jul 30 13:34:57 2011 New Revision: 224517 URL: http://svn.freebsd.org/changeset/base/224517 Log: Fix AR5416 radar parameter initialisation. * I messed up the order of parameter true/false; oops! * AR_PHY_RADAR_1 was being written at the wrong place, and was writin

svn commit: r224516 - in head/sys: amd64/amd64 i386/i386 pc98/pc98

2011-07-30 Thread Bjoern A. Zeeb
Author: bz Date: Sat Jul 30 13:33:05 2011 New Revision: 224516 URL: http://svn.freebsd.org/changeset/base/224516 Log: Introduce a tunable to disable the time consuming parts of bootup memtesting, which can easily save seconds to minutes of boot time. The tunable name is kept general to allow

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

2011-07-30 Thread Adrian Chadd
Author: adrian Date: Sat Jul 30 13:31:27 2011 New Revision: 224515 URL: http://svn.freebsd.org/changeset/base/224515 Log: Fix the initial calibration sample count when doing ADC calibrations. Obtained from:Atheros Approved by: re (kib) Modified: head/sys/dev/ath/ath_hal/ar9002

svn commit: r224514 - in head/sys/dev/ath/ath_hal: ar5212 ar5416

2011-07-30 Thread Adrian Chadd
Author: adrian Date: Sat Jul 30 13:30:24 2011 New Revision: 224514 URL: http://svn.freebsd.org/changeset/base/224514 Log: Fix ANI handling to work correctly when (trying) to receive radar errors. * Teach the AR5212/AR5416 ANI code to use the RX filter methods, rather than calling the RX

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

2011-07-30 Thread Adrian Chadd
Author: adrian Date: Sat Jul 30 13:25:11 2011 New Revision: 224512 URL: http://svn.freebsd.org/changeset/base/224512 Log: Bring over AR5416 specific RX filter get/set routines. This in particular fixes radar PHY handling - on the AR5212 NIC, one enables the AR_PHY_ERR_RADAR bit in AR_PHY_

svn commit: r224511 - in head: lib/libusbhid usr.bin/usbhidaction usr.bin/usbhidctl

2011-07-30 Thread Alexander Motin
Author: mav Date: Sat Jul 30 13:22:44 2011 New Revision: 224511 URL: http://svn.freebsd.org/changeset/base/224511 Log: MFprojects/hid: - Fix usbhidctl and usbhidaction to handle HID devices with multiple report ids, such as multimedia keyboards. - Add collection type and report id to the

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

2011-07-30 Thread Adrian Chadd
Author: adrian Date: Sat Jul 30 13:21:33 2011 New Revision: 224510 URL: http://svn.freebsd.org/changeset/base/224510 Log: I noticed that the Merlin NICs I had (AR9220, AR9280) never completed the ADC calibrations if the NIC is in 5ghz 11a or 5ghz HT/20 modes. I've been told that the dual-ADC

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

2011-07-30 Thread Adrian Chadd
Author: adrian Date: Sat Jul 30 13:18:48 2011 New Revision: 224509 URL: http://svn.freebsd.org/changeset/base/224509 Log: Fix the AR9280 initial AGC calibration code. It looks like this was mixed up with the AR9285 calibration code. This code is now more in line with what Linux ath9k and