svn commit: r220686 - head/sys/cam/scsi

2011-04-15 Thread Jaakko Heinonen
Author: jh Date: Sat Apr 16 06:54:41 2011 New Revision: 220686 URL: http://svn.freebsd.org/changeset/base/220686 Log: Move TUNABLE_INT_FETCH() out of the SIM lock to avoid sleeping while holding the lock. The fix is analogous to r220618 for ada(4). Reviewed by: mav Modified: head/sys/

svn commit: r220685 - head/sys/boot/pc98/boot2

2011-04-15 Thread Takahashi Yoshihiro
Author: nyan Date: Sat Apr 16 06:20:49 2011 New Revision: 220685 URL: http://svn.freebsd.org/changeset/base/220685 Log: MFi386: revisions 220389 and 220392 - Mark getc() as inline, this has no effect on gcc but helps clang. - Move getc() body before xgetc() so gcc does not emit a warn

svn commit: r220684 - in stable/8/sys: amd64/amd64 i386/i386

2011-04-15 Thread Ryan Stone
Author: rstone Date: Sat Apr 16 00:10:55 2011 New Revision: 220684 URL: http://svn.freebsd.org/changeset/base/220684 Log: MFC r220453: Add tunables that mirror the functionality of sysctls machdep.panic_on_nmi and machdep.kdb_on_nmi. Approved by: emaste (mentor) Modified: stable/8

svn commit: r220683 - in head/sys/fs: nfs nfsclient

2011-04-15 Thread Rick Macklem
Author: rmacklem Date: Fri Apr 15 23:07:48 2011 New Revision: 220683 URL: http://svn.freebsd.org/changeset/base/220683 Log: Change the experimental NFS client so that it creates nfsiod threads in the same manner as the regular NFS client after r214026 was committed. This resolves the lors fi

svn commit: r220682 - head/usr.sbin/acpi/iasl

2011-04-15 Thread Jung-uk Kim
Author: jkim Date: Fri Apr 15 21:47:10 2011 New Revision: 220682 URL: http://svn.freebsd.org/changeset/base/220682 Log: Purge _USE_BERKELEY_YACC definition from Makefile. This ugly hack is no long necessary for us since r220680. Modified: head/usr.sbin/acpi/iasl/Makefile Modified: head/us

svn commit: r220681 - head/sys/contrib/dev/acpica/compiler

2011-04-15 Thread Jung-uk Kim
Author: jkim Date: Fri Apr 15 21:38:24 2011 New Revision: 220681 URL: http://svn.freebsd.org/changeset/base/220681 Log: Re-merge with ACPICA vendor source. Modified: head/sys/contrib/dev/acpica/compiler/aslcompiler.y head/sys/contrib/dev/acpica/compiler/asldefine.h head/sys/contrib/dev/ac

svn commit: r220680 - in vendor-sys/acpica/dist: compiler generate/unix

2011-04-15 Thread Jung-uk Kim
Author: jkim Date: Fri Apr 15 21:33:45 2011 New Revision: 220680 URL: http://svn.freebsd.org/changeset/base/220680 Log: Redo r220658. More extensive patch was committed by Intel: http://git.moblin.org/cgit.cgi/acpica/commit/?id=16c9bbd6a3d8da88664d769ceec2f1757964fc7a Obtained from:

svn commit: r220679 - stable/8/sys/netinet

2011-04-15 Thread John Baldwin
Author: jhb Date: Fri Apr 15 20:42:27 2011 New Revision: 220679 URL: http://svn.freebsd.org/changeset/base/220679 Log: MFC 220156: Clamp the initial advertised receive window when responding to a SYN/ACK to the maximum allowed window. Growing the window too large would cause an underflow

svn commit: r220678 - stable/7/sys/netinet

2011-04-15 Thread John Baldwin
Author: jhb Date: Fri Apr 15 20:42:14 2011 New Revision: 220678 URL: http://svn.freebsd.org/changeset/base/220678 Log: MFC 220156: Clamp the initial advertised receive window when responding to a SYN/ACK to the maximum allowed window. Growing the window too large would cause an underflow

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

2011-04-15 Thread Bernhard Schmidt
Author: bschmidt Date: Fri Apr 15 20:40:49 2011 New Revision: 220677 URL: http://svn.freebsd.org/changeset/base/220677 Log: fix the order of the prototypes from the previosu commit Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c ===

Re: svn commit: r218277 - in stable/7/sys: kern sys

2011-04-15 Thread Andre Albsmeier
On Fri, 15-Apr-2011 at 18:35:05 +0200, John Baldwin wrote: > On Friday, April 15, 2011 9:25:25 am Andre Albsmeier wrote: > > On Fri, 04-Feb-2011 at 14:44:59 +, John Baldwin wrote: > > > Author: jhb > > > Date: Fri Feb 4 14:44:59 2011 > > > New Revision: 218277 > > > URL: http://svn.freebsd.org

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

2011-04-15 Thread Bernhard Schmidt
Author: bschmidt Date: Fri Apr 15 20:35:15 2011 New Revision: 220676 URL: http://svn.freebsd.org/changeset/base/220676 Log: The 6005 series devices need additional temperature offset calibration as well as the IWN_GP_DRIVER_CALIB_VER6 bit set. Obtained from:OpenBSD Modified: he

svn commit: r220675 - stable/8/sys/amd64/ia32

2011-04-15 Thread John Baldwin
Author: jhb Date: Fri Apr 15 20:32:17 2011 New Revision: 220675 URL: http://svn.freebsd.org/changeset/base/220675 Log: MFC 220451: Catch up to PCB_FULL_IRET becoming a pcb flag rather than a full field. Modified: stable/8/sys/amd64/ia32/ia32_exception.S Directory Properties: stable/8/sys/

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

2011-04-15 Thread Bernhard Schmidt
Author: bschmidt Date: Fri Apr 15 20:31:02 2011 New Revision: 220674 URL: http://svn.freebsd.org/changeset/base/220674 Log: Revert some of local calibration changes in favour of the OpenBSD implementation. This includes the fix required for the 6050 series devices. Modified: head/sys/dev/

svn commit: r220673 - stable/8/sys/isa

2011-04-15 Thread John Baldwin
Author: jhb Date: Fri Apr 15 20:28:38 2011 New Revision: 220673 URL: http://svn.freebsd.org/changeset/base/220673 Log: MFC 220126: - Enable an extra debugging bootverbose printf when probing ISA PNP cards listing each card as it is found on non-PC98 (PC98 already had this). - Increase

svn commit: r220672 - stable/7/sys/ufs/ffs

2011-04-15 Thread John Baldwin
Author: jhb Date: Fri Apr 15 20:26:36 2011 New Revision: 220672 URL: http://svn.freebsd.org/changeset/base/220672 Log: MFC 219276: Use ffs() to locate free bits in the inode bitmap rather than a loop with bit shifts. Modified: stable/7/sys/ufs/ffs/ffs_alloc.c Directory Properties: stabl

svn commit: r220671 - stable/8/sys/ufs/ffs

2011-04-15 Thread John Baldwin
Author: jhb Date: Fri Apr 15 20:26:24 2011 New Revision: 220671 URL: http://svn.freebsd.org/changeset/base/220671 Log: MFC 219276: Use ffs() to locate free bits in the inode bitmap rather than a loop with bit shifts. Modified: stable/8/sys/ufs/ffs/ffs_alloc.c Directory Properties: stabl

svn commit: r220670 - stable/7/sys/dev/pci

2011-04-15 Thread John Baldwin
Author: jhb Date: Fri Apr 15 20:20:11 2011 New Revision: 220670 URL: http://svn.freebsd.org/changeset/base/220670 Log: MFC 219865: Add pci_find_cap() as an alias for pci_find_extcap() to ease driver portability with 9+ where pci_find_extcap() has been renamed to pci_find_cap(). Modified:

svn commit: r220669 - stable/8/sys/dev/pci

2011-04-15 Thread John Baldwin
Author: jhb Date: Fri Apr 15 20:19:50 2011 New Revision: 220669 URL: http://svn.freebsd.org/changeset/base/220669 Log: MFC 219865: Add pci_find_cap() as an alias for pci_find_extcap() to ease driver portability with 9+ where pci_find_extcap() has been renamed to pci_find_cap(). Modified:

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

2011-04-15 Thread Bernhard Schmidt
Author: bschmidt Date: Fri Apr 15 20:19:18 2011 New Revision: 220668 URL: http://svn.freebsd.org/changeset/base/220668 Log: remove debug left-overs Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c

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

2011-04-15 Thread Bernhard Schmidt
Author: bschmidt Date: Fri Apr 15 20:17:52 2011 New Revision: 220667 URL: http://svn.freebsd.org/changeset/base/220667 Log: Split up watchdog and calibration callout. This allows us to use different timing on both and to remove some monitor mode specific hacks (which has no calibration). Mo

svn commit: r220666 - stable/7/usr.sbin/mfiutil

2011-04-15 Thread John Baldwin
Author: jhb Date: Fri Apr 15 19:50:38 2011 New Revision: 220666 URL: http://svn.freebsd.org/changeset/base/220666 Log: MFC 219717,220363: - Add more details to the 'show battery' command including more raw capacity values, charge cycle count, temperature, and more detailed status. -

svn commit: r220665 - stable/8/usr.sbin/mfiutil

2011-04-15 Thread John Baldwin
Author: jhb Date: Fri Apr 15 19:50:25 2011 New Revision: 220665 URL: http://svn.freebsd.org/changeset/base/220665 Log: MFC 219717,220363: - Add more details to the 'show battery' command including more raw capacity values, charge cycle count, temperature, and more detailed status. -

svn commit: r220664 - in stable/8: lib/libc/gen lib/libc/string tools/regression/lib/libc/string

2011-04-15 Thread Jilles Tjoelker
Author: jilles Date: Fri Apr 15 19:46:25 2011 New Revision: 220664 URL: http://svn.freebsd.org/changeset/base/220664 Log: MFC r220376: Allow strerror(0) and strerror_r(0, ...). Of course, strerror_r() may still fail with ERANGE. Although the POSIX specification said this could fail wit

svn commit: r220663 - in head: sys/conf sys/contrib/dev/acpica sys/contrib/dev/acpica/common sys/contrib/dev/acpica/compiler sys/contrib/dev/acpica/debugger sys/contrib/dev/acpica/dispatcher sys/co...

2011-04-15 Thread Jung-uk Kim
Author: jkim Date: Fri Apr 15 18:34:27 2011 New Revision: 220663 URL: http://svn.freebsd.org/changeset/base/220663 Log: Merge ACPICA 20110413. Added: head/sys/contrib/dev/acpica/compiler/dtparser.l - copied, changed from r220658, vendor-sys/acpica/dist/compiler/dtparser.l head/sys/cont

Re: svn commit: r220526 - head/sys/kern

2011-04-15 Thread Attilio Rao
2011/4/15 Kostik Belousov : > On Thu, Apr 14, 2011 at 05:13:28PM -0400, John Baldwin wrote: >> On Sunday, April 10, 2011 1:07:03 pm Konstantin Belousov wrote: >> > Author: kib >> > Date: Sun Apr 10 17:07:02 2011 >> > New Revision: 220526 >> > URL: http://svn.freebsd.org/changeset/base/220526 >> > >

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

2011-04-15 Thread Bernhard Schmidt
Author: bschmidt Date: Fri Apr 15 17:10:52 2011 New Revision: 220662 URL: http://svn.freebsd.org/changeset/base/220662 Log: Split out bluetooth coexistence setup. Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c =

Re: svn commit: r220526 - head/sys/kern

2011-04-15 Thread Attilio Rao
2011/4/15 Kostik Belousov : > On Fri, Apr 15, 2011 at 12:46:18PM -0400, Attilio Rao wrote: >> 2011/4/15 Kostik Belousov : >> > On Thu, Apr 14, 2011 at 05:13:28PM -0400, John Baldwin wrote: >> >> On Sunday, April 10, 2011 1:07:03 pm Konstantin Belousov wrote: >> >> > Author: kib >> >> > Date: Sun Ap

Re: svn commit: r220526 - head/sys/kern

2011-04-15 Thread Kostik Belousov
On Fri, Apr 15, 2011 at 12:46:18PM -0400, Attilio Rao wrote: > 2011/4/15 Kostik Belousov : > > On Thu, Apr 14, 2011 at 05:13:28PM -0400, John Baldwin wrote: > >> On Sunday, April 10, 2011 1:07:03 pm Konstantin Belousov wrote: > >> > Author: kib > >> > Date: Sun Apr 10 17:07:02 2011 > >> > New Revis

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

2011-04-15 Thread Bernhard Schmidt
Author: bschmidt Date: Fri Apr 15 16:59:56 2011 New Revision: 220661 URL: http://svn.freebsd.org/changeset/base/220661 Log: Fixes for firmware handling: - there is a local variable for sc->fw_dma, use that instead - OpenBSD uses 5*hz to wait for firmware to be loaded - in case the firmware

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

2011-04-15 Thread Bernhard Schmidt
Author: bschmidt Date: Fri Apr 15 16:55:45 2011 New Revision: 220660 URL: http://svn.freebsd.org/changeset/base/220660 Log: Only handle beacon misses while in RUN state and not scanning. Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c =

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

2011-04-15 Thread Bernhard Schmidt
Author: bschmidt Date: Fri Apr 15 16:50:37 2011 New Revision: 220659 URL: http://svn.freebsd.org/changeset/base/220659 Log: Don't timeout when stopping DMA channels. Obtained from:OpenBSD Modified: head/sys/dev/iwn/if_iwn.c head/sys/dev/iwn/if_iwnreg.h Modified: head/sys/dev/i

svn commit: r220658 - vendor-sys/acpica/dist/compiler

2011-04-15 Thread Jung-uk Kim
Author: jkim Date: Fri Apr 15 16:44:04 2011 New Revision: 220658 URL: http://svn.freebsd.org/changeset/base/220658 Log: Fix build on FreeBSD. This patch was submitted upstream: http://lists.acpica.org/pipermail/devel/2011-April/000253.html Similar fixes will show up in the next ACPICA

Re: svn commit: r218277 - in stable/7/sys: kern sys

2011-04-15 Thread John Baldwin
On Friday, April 15, 2011 9:25:25 am Andre Albsmeier wrote: > On Fri, 04-Feb-2011 at 14:44:59 +, John Baldwin wrote: > > Author: jhb > > Date: Fri Feb 4 14:44:59 2011 > > New Revision: 218277 > > URL: http://svn.freebsd.org/changeset/base/218277 > > > > Log: > > MFC 217075: > > Retire PCO

svn commit: r220657 - head/sys/dev/ahci

2011-04-15 Thread Alexander Motin
Author: mav Date: Fri Apr 15 16:40:31 2011 New Revision: 220657 URL: http://svn.freebsd.org/changeset/base/220657 Log: Some changes around hot-plug and interface power-management: - use ATA_SE_EXCHANGED (SError.DIAG.X) bit to detect hot-plug events when power-management enabled and ATA_SE_P

svn commit: r220656 - head/tools/regression/bin/sh/expansion

2011-04-15 Thread Jilles Tjoelker
Author: jilles Date: Fri Apr 15 15:33:24 2011 New Revision: 220656 URL: http://svn.freebsd.org/changeset/base/220656 Log: sh: Add test for bin/12137. Added: head/tools/regression/bin/sh/expansion/length5.0 (contents, props changed) Added: head/tools/regression/bin/sh/expansion/length5.0 ==

svn commit: r220655 - head/tools/regression/bin/sh/expansion

2011-04-15 Thread Jilles Tjoelker
Author: jilles Date: Fri Apr 15 15:26:05 2011 New Revision: 220655 URL: http://svn.freebsd.org/changeset/base/220655 Log: sh: Add test for obscure and ambiguous ${#?}. Added: head/tools/regression/bin/sh/expansion/length4.0 (contents, props changed) Added: head/tools/regression/bin/sh/expa

svn commit: r220654 - head/tools/regression/bin/sh/builtins

2011-04-15 Thread Jilles Tjoelker
Author: jilles Date: Fri Apr 15 15:14:58 2011 New Revision: 220654 URL: http://svn.freebsd.org/changeset/base/220654 Log: sh: Add test for bin/56147. Added: head/tools/regression/bin/sh/builtins/case4.0 (contents, props changed) Added: head/tools/regression/bin/sh/builtins/case4.0

Re: svn commit: r218277 - in stable/7/sys: kern sys

2011-04-15 Thread Andre Albsmeier
On Fri, 04-Feb-2011 at 14:44:59 +, John Baldwin wrote: > Author: jhb > Date: Fri Feb 4 14:44:59 2011 > New Revision: 218277 > URL: http://svn.freebsd.org/changeset/base/218277 > > Log: > MFC 217075: > Retire PCONFIG and leave the priority of thread0 alone when waiting for > interrupt co

svn commit: r220653 - in head/sys: . arm/mv/orion boot/fdt/dts

2011-04-15 Thread Philip Paeps
Author: philip Date: Fri Apr 15 13:37:43 2011 New Revision: 220653 URL: http://svn.freebsd.org/changeset/base/220653 Log: Add basic support for the Marvell Orion TS-7800. Submitted by: Kristof Provost Added: head/sys/arm/mv/orion/files.ts7800 (contents, props changed) head/sys/arm/m

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

2011-04-15 Thread Gavin Atkinson
Author: gavin Date: Fri Apr 15 12:32:52 2011 New Revision: 220652 URL: http://svn.freebsd.org/changeset/base/220652 Log: Remove an incorrect be16toh() that prevented geom_part_apm from working on little-endian machines. Reviewed by: marcel MFC after:2 weeks Modified: head/sys/ge

svn commit: r220651 - stable/8/sys/amd64/amd64

2011-04-15 Thread Konstantin Belousov
Author: kib Date: Fri Apr 15 10:33:20 2011 New Revision: 220651 URL: http://svn.freebsd.org/changeset/base/220651 Log: MFC r220461: Remove setting of PCB_FULL_IRET at the places where we are going to call update_gdt_{f,g}sbase. The functions set the flag when td == curthread, and sysarch i

Re: svn commit: r220526 - head/sys/kern

2011-04-15 Thread Kostik Belousov
On Thu, Apr 14, 2011 at 05:13:28PM -0400, John Baldwin wrote: > On Sunday, April 10, 2011 1:07:03 pm Konstantin Belousov wrote: > > Author: kib > > Date: Sun Apr 10 17:07:02 2011 > > New Revision: 220526 > > URL: http://svn.freebsd.org/changeset/base/220526 > > > > Log: > > Some callers of proc_

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

2011-04-15 Thread Alexander Motin
Author: mav Date: Fri Apr 15 07:07:29 2011 New Revision: 220650 URL: http://svn.freebsd.org/changeset/base/220650 Log: Make ada(4) driver put ATA disks into sleep state on suspend. Submitted by: jkim (original version) Modified: head/sys/cam/ata/ata_da.c Modified: head/sys/cam/ata/ata_d