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

2012-06-23 Thread Adrian Chadd
Author: adrian Date: Sun Jun 24 06:37:28 2012 New Revision: 237521 URL: http://svn.freebsd.org/changeset/base/237521 Log: On second thought, let's just set both CRC and PHY errors together on frames that have it and let the upper layer sort it out. PR: kern/169362 Modified: h

Re: svn commit: r237434 - in head/lib/libc: amd64/sys gen i386/sys include sys

2012-06-23 Thread Bruce Evans
On Sat, 23 Jun 2012, Alexander Motin wrote: On 06/23/12 18:26, Bruce Evans wrote: On Sat, 23 Jun 2012, Konstantin Belousov wrote: On Sat, Jun 23, 2012 at 03:17:57PM +0200, Marius Strobl wrote: So apart from introducing code to constantly synchronize the TICK counters, using the timecounters o

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

2012-06-23 Thread Adrian Chadd
Author: adrian Date: Sun Jun 24 05:59:32 2012 New Revision: 237519 URL: http://svn.freebsd.org/changeset/base/237519 Log: Sometimes the AR5416 sends back radar PHY errors with both the PHY error and the CRC error bits set. The radar payload is correct. When this happens, the stack doesn'

svn commit: r237518 - in head: share/man/man9 sys/cam/scsi sys/dev/xen/blkfront sys/geom

2012-06-23 Thread Kenneth D. Merry
Author: ken Date: Sun Jun 24 04:29:03 2012 New Revision: 237518 URL: http://svn.freebsd.org/changeset/base/237518 Log: Fix a bug which causes a panic in daopen(). The panic is caused by a da(4) instance going away while GEOM is still probing it. In this case, the GEOM disk class instance

svn commit: r237517 - in head: include sys/arm/include sys/ia64/include sys/mips/include sys/powerpc/include sys/sparc64/include sys/sys sys/x86/include

2012-06-23 Thread Andrew Turner
Author: andrew Date: Sun Jun 24 04:15:58 2012 New Revision: 237517 URL: http://svn.freebsd.org/changeset/base/237517 Log: Make the wchar_t type machine dependent. This is required for ARM EABI. Section 7.1.1 of the Procedure Call for the ARM Architecture (AAPCS) defines wchar_t as either

Re: svn commit: r237008 - head/sys/dev/pci

2012-06-23 Thread Marius Strobl
On Sun, Jun 24, 2012 at 12:16:26AM +0200, Marius Strobl wrote: > On Wed, Jun 13, 2012 at 03:04:50PM +, John Baldwin wrote: > > Author: jhb > > Date: Wed Jun 13 15:04:50 2012 > > New Revision: 237008 > > URL: http://svn.freebsd.org/changeset/base/237008 > > > > Log: > > Fix a couple of bugs t

svn commit: r237513 - head/sys/amd64/amd64

2012-06-23 Thread Alan Cox
Author: alc Date: Sat Jun 23 22:54:25 2012 New Revision: 237513 URL: http://svn.freebsd.org/changeset/base/237513 Log: Introduce reserve_pv_entry() and use it in pmap_pv_demote_pde(). In order to add PV list locking to pmap_pv_demote_pde(), it is necessary to change the way that pmap_pv_dem

Re: svn commit: r237008 - head/sys/dev/pci

2012-06-23 Thread Marius Strobl
On Wed, Jun 13, 2012 at 03:04:50PM +, John Baldwin wrote: > Author: jhb > Date: Wed Jun 13 15:04:50 2012 > New Revision: 237008 > URL: http://svn.freebsd.org/changeset/base/237008 > > Log: > Fix a couple of bugs that prevented windows in PCI-PCI bridges from > growing "downward" (moving th

svn commit: r237512 - head/sys/dev/cxgbe

2012-06-23 Thread Navdeep Parhar
Author: np Date: Sat Jun 23 22:12:27 2012 New Revision: 237512 URL: http://svn.freebsd.org/changeset/base/237512 Log: Better way to determine the status page length and rx pad boundary. Modified: head/sys/dev/cxgbe/t4_sge.c Modified: head/sys/dev/cxgbe/t4_sge.c ==

svn commit: r237511 - stable/9/share/syscons/keymaps

2012-06-23 Thread Eitan Adler
Author: eadler Date: Sat Jun 23 21:29:53 2012 New Revision: 237511 URL: http://svn.freebsd.org/changeset/base/237511 Log: MFC r235251: Add Spanish Dvorak keyboard model to syscons. PR: conf/160235 Approved by: cperciva (implicit) Added: stable/9/share/syscons/keymaps

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

2012-06-23 Thread Joel Dahl
Author: joel (doc committer) Date: Sat Jun 23 20:44:45 2012 New Revision: 237509 URL: http://svn.freebsd.org/changeset/base/237509 Log: Remove superfluous paragraph macro. Modified: head/share/man/man4/acpi_ibm.4 Modified: head/share/man/man4/acpi_ibm.4 ==

svn commit: r237508 - stable/8/contrib/libstdc++/include/bits

2012-06-23 Thread Pedro F. Giffuni
Author: pfg Date: Sat Jun 23 20:37:27 2012 New Revision: 237508 URL: http://svn.freebsd.org/changeset/base/237508 Log: MFC: r236829 Bring a couple of libstdc++ patches from Apple's llvm-gcc project. Modified Fri Jul 10 07:44:34 2009 CDT by rafael backport part of http://gcc.gnu.or

svn commit: r237507 - stable/9/contrib/libstdc++/include/bits

2012-06-23 Thread Pedro F. Giffuni
Author: pfg Date: Sat Jun 23 20:33:29 2012 New Revision: 237507 URL: http://svn.freebsd.org/changeset/base/237507 Log: MFC: r236829 Bring a couple of libstdc++ patches from Apple's llvm-gcc project. Modified Fri Jul 10 07:44:34 2009 CDT by rafael backport part of http://gcc.gnu.or

Re: svn commit: r237434 - in head/lib/libc: amd64/sys gen i386/sys include sys

2012-06-23 Thread Alexander Motin
On 06/23/12 18:26, Bruce Evans wrote: On Sat, 23 Jun 2012, Konstantin Belousov wrote: On Sat, Jun 23, 2012 at 03:17:57PM +0200, Marius Strobl wrote: So apart from introducing code to constantly synchronize the TICK counters, using the timecounters on the host busses also seems to be the only vi

svn commit: r237505 - stable/9/sbin/newfs

2012-06-23 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Jun 23 19:46:07 2012 New Revision: 237505 URL: http://svn.freebsd.org/changeset/base/237505 Log: Make newfs(8) display "super-block backups (for fsck_ffs -b #)" instead of super-block backups (for fsck -b #), since fsck(8) doesn't accept the "-b" option; only fsck_ffs

svn commit: r237503 - stable/8/sbin/geom/class/sched

2012-06-23 Thread Eitan Adler
Author: eadler Date: Sat Jun 23 19:42:06 2012 New Revision: 237503 URL: http://svn.freebsd.org/changeset/base/237503 Log: MFC r231992: Remove reference to gsched_as module, which doesn't actually exist. Approved by: cperciva (implicit) Modified: stable/8/sbin/geom/class/

svn commit: r237504 - stable/9/sbin/geom/class/sched

2012-06-23 Thread Eitan Adler
Author: eadler Date: Sat Jun 23 19:42:06 2012 New Revision: 237504 URL: http://svn.freebsd.org/changeset/base/237504 Log: MFC r231992: Remove reference to gsched_as module, which doesn't actually exist. Approved by: cperciva (implicit) Modified: stable/9/sbin/geom/class/

svn commit: r237501 - stable/9/sbin/growfs

2012-06-23 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Jun 23 19:15:12 2012 New Revision: 237501 URL: http://svn.freebsd.org/changeset/base/237501 Log: MFC r234846: Improve growfs(8) in a few ways; unfortunately, it's somewhat hard to untangle them and commit separately. 1. Rewrite the way growfs(8) finds the devi

svn commit: r237500 - stable/9/sbin/growfs

2012-06-23 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Jun 23 19:08:24 2012 New Revision: 237500 URL: http://svn.freebsd.org/changeset/base/237500 Log: MFC r234189: Style. MFC r234312: Remove FSIRAND and FSMAXSWAP ifdefs, removing code unconditionally. Reviewed by:kib, mckusick Sponsored by: The Fr

svn commit: r237499 - stable/9/sbin/growfs

2012-06-23 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Jun 23 19:03:42 2012 New Revision: 237499 URL: http://svn.freebsd.org/changeset/base/237499 Log: MFC r234178: Remove block reallocation used to make room for the cylinder group summary structure. From now on, when there is no room for it, we simply allocate new

svn commit: r237498 - stable/9/sbin/growfs

2012-06-23 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Jun 23 19:01:42 2012 New Revision: 237498 URL: http://svn.freebsd.org/changeset/base/237498 Log: MFC r233656: Remove disklabel handling code from growfs. This should be done via geom_part(4), and it doesn't belong in growfs anyway. Reviewed by:kib, mckusi

svn commit: r237497 - stable/9/sbin/growfs

2012-06-23 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Jun 23 18:58:02 2012 New Revision: 237497 URL: http://svn.freebsd.org/changeset/base/237497 Log: MFC r232548: Make growfs(8) mostly style compliant. No functional changes, verified with MD5. MFC r232858: After r232548, clang complains about the apparent

svn commit: r237496 - stable/9/sbin/growfs

2012-06-23 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Jun 23 18:54:24 2012 New Revision: 237496 URL: http://svn.freebsd.org/changeset/base/237496 Log: MFC r230289 by ed@: Allow growfs to be built with GCC 4.7 and -Werror. The dp1 variable is only used when FSIRAND is defined. Just place the variable behind #ifdef

svn commit: r237495 - stable/9/sbin/growfs

2012-06-23 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Jun 23 18:51:33 2012 New Revision: 237495 URL: http://svn.freebsd.org/changeset/base/237495 Log: MFC r227081 by ed@: Add missing static keywords for global variables to tools in sbin/. These tools declare global variables without using the static keyword, even

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

2012-06-23 Thread Mitsuru IWASAKI
Author: iwasaki Date: Sat Jun 23 18:45:32 2012 New Revision: 237494 URL: http://svn.freebsd.org/changeset/base/237494 Log: Add description about dev.acpi_ibm.0.handlerevents. MFC after:3 days Modified: head/share/man/man4/acpi_ibm.4 Modified: head/share/man/man4/acpi_ibm.4 =

svn commit: r237493 - head/sys/dev/acpi_support

2012-06-23 Thread Mitsuru IWASAKI
Author: iwasaki Date: Sat Jun 23 18:43:54 2012 New Revision: 237493 URL: http://svn.freebsd.org/changeset/base/237493 Log: Add in-driver event handler. MFC after:3 days Modified: head/sys/dev/acpi_support/acpi_ibm.c Modified: head/sys/dev/acpi_support/acpi_ibm.c

svn commit: r237492 - in stable/9/gnu: lib/libgomp lib/libstdc++ usr.bin/cc/cc_tools

2012-06-23 Thread Marius Strobl
Author: marius Date: Sat Jun 23 18:43:11 2012 New Revision: 237492 URL: http://svn.freebsd.org/changeset/base/237492 Log: MFC: r231620, r237098 Enable TLS support for ARM toolchain Modified: stable/9/gnu/lib/libgomp/config.h stable/9/gnu/lib/libstdc++/config.h stable/9/gnu/usr.bin/cc

svn commit: r237491 - in stable/9: lib/libc/arm lib/libc/arm/gen sys/arm/include

2012-06-23 Thread Marius Strobl
Author: marius Date: Sat Jun 23 18:39:35 2012 New Revision: 237491 URL: http://svn.freebsd.org/changeset/base/237491 Log: MFC: r231616, r232497, r234337 Add __aeabi_read_tp function required for thread-local storage. Added: stable/9/lib/libc/arm/gen/__aeabi_read_tp.S - copied unchan

svn commit: r237490 - stable/9/sys/ufs/ffs

2012-06-23 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Jun 23 18:26:23 2012 New Revision: 237490 URL: http://svn.freebsd.org/changeset/base/237490 Log: MFC r234036: Fix panic in ffs_reload(), which may happen when read-only filesystem gets resized and then reloaded. MFC r234537: Fix use-after-free introduced

svn commit: r237489 - stable/8/usr.sbin/traceroute6

2012-06-23 Thread Hajimu UMEMOTO
Author: ume Date: Sat Jun 23 18:07:48 2012 New Revision: 237489 URL: http://svn.freebsd.org/changeset/base/237489 Log: MFC r235138: Add -a and -A option to the usage. Modified: stable/8/usr.sbin/traceroute6/traceroute6.c Directory Properties: stable/8/usr.sbin/traceroute6/ (props changed)

svn commit: r237488 - stable/9/usr.sbin/traceroute6

2012-06-23 Thread Hajimu UMEMOTO
Author: ume Date: Sat Jun 23 17:59:32 2012 New Revision: 237488 URL: http://svn.freebsd.org/changeset/base/237488 Log: MFC r235138: Add -a and -A option to the usage. Modified: stable/9/usr.sbin/traceroute6/traceroute6.c Directory Properties: stable/9/usr.sbin/traceroute6/ (props changed)

svn commit: r237487 - stable/9/sys/dev/hwpmc

2012-06-23 Thread Davide Italiano
Author: davide Date: Sat Jun 23 17:46:42 2012 New Revision: 237487 URL: http://svn.freebsd.org/changeset/base/237487 Log: MFC r237196: Disable hwpmc(4) support for Intel Xeon Sandy Bridge (Model 0x2D). Due to some differences in MSRs between Xeon Sandy Bridge and Core Sandy Bridge (Mode

svn commit: r237486 - stable/8/sys/kern

2012-06-23 Thread Davide Italiano
Author: davide Date: Sat Jun 23 17:42:37 2012 New Revision: 237486 URL: http://svn.freebsd.org/changeset/base/237486 Log: MFC r237195: The variable 'error' in sys_poll() is initialized in declaration to value zero but in any case is overwritten by successive copyin(), making the previou

svn commit: r237485 - stable/9/sys/kern

2012-06-23 Thread Davide Italiano
Author: davide Date: Sat Jun 23 17:39:40 2012 New Revision: 237485 URL: http://svn.freebsd.org/changeset/base/237485 Log: MFC r237195: The variable 'error' in sys_poll() is initialized in declaration to value zero but in any case is overwritten by successive copyin(), making the previou

svn commit: r237484 - head/sys/dev/agp

2012-06-23 Thread Konstantin Belousov
Author: kib Date: Sat Jun 23 15:36:32 2012 New Revision: 237484 URL: http://svn.freebsd.org/changeset/base/237484 Log: Correct device id for GPU on some server SandyBridge model. Submitted and tested by: Thomas Zander MFC after:3 days Modified: head/sys/dev/agp/agp_i810.c Mo

Re: svn commit: r237434 - in head/lib/libc: amd64/sys gen i386/sys include sys

2012-06-23 Thread Bruce Evans
On Sat, 23 Jun 2012, Konstantin Belousov wrote: On Sat, Jun 23, 2012 at 03:17:57PM +0200, Marius Strobl wrote: On Fri, Jun 22, 2012 at 10:48:17AM +0300, Konstantin Belousov wrote: On Fri, Jun 22, 2012 at 09:34:56AM +0200, Marius Strobl wrote: On Fri, Jun 22, 2012 at 07:13:31AM +, Konstant

Re: svn commit: r236884 - in head: . cddl/contrib/opensolaris/cmd/zdb cddl/contrib/opensolaris/cmd/zhack cddl/contrib/opensolaris/cmd/zpool cddl/contrib/opensolaris/cmd/ztest cddl/contrib/opensolaris/

2012-06-23 Thread Marius Strobl
On Mon, Jun 11, 2012 at 11:35:22AM +, Martin Matuska wrote: > Author: mm > Date: Mon Jun 11 11:35:22 2012 > New Revision: 236884 > URL: http://svn.freebsd.org/changeset/base/236884 > > Log: > Introduce "feature flags" for ZFS pools (bump SPA version to 5000). > Add first feature "com.delph

svn commit: r237483 - head/sys/conf

2012-06-23 Thread Marius Strobl
Author: marius Date: Sat Jun 23 14:43:25 2012 New Revision: 237483 URL: http://svn.freebsd.org/changeset/base/237483 Log: Unbreak options ZFS after r236884. Modified: head/sys/conf/files Modified: head/sys/conf/files ===

Re: svn commit: r237434 - in head/lib/libc: amd64/sys gen i386/sys include sys

2012-06-23 Thread Marius Strobl
On Sat, Jun 23, 2012 at 05:05:56PM +0300, Konstantin Belousov wrote: > On Sat, Jun 23, 2012 at 03:17:57PM +0200, Marius Strobl wrote: > > On Fri, Jun 22, 2012 at 10:48:17AM +0300, Konstantin Belousov wrote: > > > On Fri, Jun 22, 2012 at 09:34:56AM +0200, Marius Strobl wrote: > > > > On Fri, Jun 22,

Re: svn commit: r237434 - in head/lib/libc: amd64/sys gen i386/sys include sys

2012-06-23 Thread Konstantin Belousov
On Sat, Jun 23, 2012 at 03:17:57PM +0200, Marius Strobl wrote: > On Fri, Jun 22, 2012 at 10:48:17AM +0300, Konstantin Belousov wrote: > > On Fri, Jun 22, 2012 at 09:34:56AM +0200, Marius Strobl wrote: > > > On Fri, Jun 22, 2012 at 07:13:31AM +, Konstantin Belousov wrote: > > > > Author: kib > >

svn commit: r237480 - head/sys/dev/adb

2012-06-23 Thread Justin Hibbits
Author: jhibbits Date: Sat Jun 23 13:52:44 2012 New Revision: 237480 URL: http://svn.freebsd.org/changeset/base/237480 Log: Release the ADB keyboard mutex when handling the power button press/release. Found by WITNESS. Approved by: nwhitehorn (mentor) MFC after:3 days Modified:

Re: svn commit: r237434 - in head/lib/libc: amd64/sys gen i386/sys include sys

2012-06-23 Thread Marius Strobl
On Fri, Jun 22, 2012 at 10:48:17AM +0300, Konstantin Belousov wrote: > On Fri, Jun 22, 2012 at 09:34:56AM +0200, Marius Strobl wrote: > > On Fri, Jun 22, 2012 at 07:13:31AM +, Konstantin Belousov wrote: > > > Author: kib > > > Date: Fri Jun 22 07:13:30 2012 > > > New Revision: 237434 > > > URL:

svn commit: r237479 - head/sys/netinet/ipfw

2012-06-23 Thread Alexander V. Chernikov
Author: melifaro Date: Sat Jun 23 12:40:24 2012 New Revision: 237479 URL: http://svn.freebsd.org/changeset/base/237479 Log: Fix interface matching by ipfw table Submitted by: Ihor Kaharlichenko Tested by:Ihor Kaharlichenko Approved by: kib(mentor) MFC after:

svn commit: r237478 - in head/sys/cam: . scsi

2012-06-23 Thread Alexander Motin
Author: mav Date: Sat Jun 23 12:32:53 2012 New Revision: 237478 URL: http://svn.freebsd.org/changeset/base/237478 Log: Add scsi_extract_sense_ccb() -- wrapper around scsi_extract_sense_len(). It allows to remove number of duplicate checks from several places. Modified: head/sys/cam/cam_peri

svn commit: r237477 - in head/sys: conf kern

2012-06-23 Thread Konstantin Belousov
Author: kib Date: Sat Jun 23 10:15:23 2012 New Revision: 237477 URL: http://svn.freebsd.org/changeset/base/237477 Log: Move the code dealing with shared page into a dedicated kern_sharedpage.c source file from kern_exec.c. MFC after: 29 days Added: head/sys/kern/kern_sharedpage.c

svn commit: r237476 - head/sys/sys

2012-06-23 Thread Konstantin Belousov
Author: kib Date: Sat Jun 23 10:14:51 2012 New Revision: 237476 URL: http://svn.freebsd.org/changeset/base/237476 Log: Remove no longer needed forward declaration for struct sf_buf. MFC after: 29 days Modified: head/sys/sys/sysent.h Modified: head/sys/sys/sysent.h ==

svn commit: r237474 - in head/sys: kern sys

2012-06-23 Thread Konstantin Belousov
Author: kib Date: Sat Jun 23 09:33:06 2012 New Revision: 237474 URL: http://svn.freebsd.org/changeset/base/237474 Log: Stop updating the struct vdso_timehands from even handler executed in the scheduled task from tc_windup(). Do it directly from tc_windup in interrupt context [1]. Estab

svn commit: r237472 - stable/8/sys/cam/scsi

2012-06-23 Thread Alexander Motin
Author: mav Date: Sat Jun 23 07:49:10 2012 New Revision: 237472 URL: http://svn.freebsd.org/changeset/base/237472 Log: MFC r237336: Remove unused error variables in cdclose() and daclose(). Modified: stable/8/sys/cam/scsi/scsi_cd.c stable/8/sys/cam/scsi/scsi_da.c Directory Properties: s

svn commit: r237471 - stable/9/sys/cam/scsi

2012-06-23 Thread Alexander Motin
Author: mav Date: Sat Jun 23 07:48:00 2012 New Revision: 237471 URL: http://svn.freebsd.org/changeset/base/237471 Log: MFC r237336: Remove unused error variables in cdclose() and daclose(). Modified: stable/9/sys/cam/scsi/scsi_cd.c stable/9/sys/cam/scsi/scsi_da.c Directory Properties: s

svn commit: r237470 - stable/8/sys/cam/scsi

2012-06-23 Thread Alexander Motin
Author: mav Date: Sat Jun 23 07:46:33 2012 New Revision: 237470 URL: http://svn.freebsd.org/changeset/base/237470 Log: MFC r237335: Check status of cam_periph_hold() inside cdclose(). If cd device was invalidated while open, cam_periph_hold() will return error and won't get the reference.

svn commit: r237469 - stable/9/sys/cam/scsi

2012-06-23 Thread Alexander Motin
Author: mav Date: Sat Jun 23 07:45:14 2012 New Revision: 237469 URL: http://svn.freebsd.org/changeset/base/237469 Log: MFC r237335: Check status of cam_periph_hold() inside cdclose(). If cd device was invalidated while open, cam_periph_hold() will return error and won't get the reference.