svn commit: r209979 - in head/sys: conf pc98/cbus pc98/conf x86/isa

2010-07-12 Thread Alexander Motin
Author: mav Date: Tue Jul 13 06:57:27 2010 New Revision: 209979 URL: http://svn.freebsd.org/changeset/base/209979 Log: Unify pc98 event timer code with the rest of x86. Reviewed by: nyan@ Deleted: head/sys/pc98/cbus/clock.c Modified: head/sys/conf/files.pc98 head/sys/pc98/conf/GENER

svn commit: r209978 - head/sys/sys

2010-07-12 Thread Lawrence Stewart
Author: lstewart Date: Tue Jul 13 06:49:34 2010 New Revision: 209978 URL: http://svn.freebsd.org/changeset/base/209978 Log: - Rename DPCPU_SUM to DPCPU_VARSUM to better reflect the fact it operates on member variables of a DPCPU struct. - Add DPCPU_SUM which sums a DPCPU variable.

svn commit: r209977 - head/sys/dev/ata

2010-07-12 Thread Alexander Motin
Author: mav Date: Tue Jul 13 06:42:47 2010 New Revision: 209977 URL: http://svn.freebsd.org/changeset/base/209977 Log: Disable multi-sector PIO transfers if ATA_SET_MULTI command failed. Submitted by: Mikolaj Golub on fs@ Modified: head/sys/dev/ata/ata-disk.c Modified: head/sys/dev/ata/

Re: svn commit: r209949 - in head: lib/libstand sys/kern

2010-07-12 Thread Bruce Evans
On Mon, 12 Jul 2010, Jung-uk Kim wrote: Log: Use type-specific inline function imax() instead of deprecated macro MAX(). Prodded by:bde Thanks. Bruce ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-

svn commit: r209976 - head/sys/conf

2010-07-12 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Jul 13 05:43:43 2010 New Revision: 209976 URL: http://svn.freebsd.org/changeset/base/209976 Log: Add powerpc64 kernel ldscript. Added: head/sys/conf/ldscript.powerpc64 - copied, changed from r209910, head/sys/conf/ldscript.powerpc Copied and modified: head/s

svn commit: r209975 - in head: . sys/conf sys/powerpc/aim sys/powerpc/booke sys/powerpc/conf sys/powerpc/cpufreq sys/powerpc/include sys/powerpc/powerpc

2010-07-12 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Jul 13 05:32:19 2010 New Revision: 209975 URL: http://svn.freebsd.org/changeset/base/209975 Log: MFppc64: Kernel sources for 64-bit PowerPC, along with build-system changes to keep 32-bit kernels compiling (build system changes for 64-bit kernels are coming

svn commit: r209973 - head

2010-07-12 Thread Warner Losh
Author: imp Date: Tue Jul 13 04:31:19 2010 New Revision: 209973 URL: http://svn.freebsd.org/changeset/base/209973 Log: Remove detect-vmware.sh, recently removed. Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc

svn commit: r209972 - head/sbin/iscontrol

2010-07-12 Thread Maxim Konovalov
Author: maxim Date: Tue Jul 13 04:30:50 2010 New Revision: 209972 URL: http://svn.freebsd.org/changeset/base/209972 Log: o Restore missed flag in the synopsis. PR: docs/148534 Submitted by: Warren Block MFC after:1 week Modified: head/sbin/iscontrol/iscontrol.8 Modifie

svn commit: r209971 - head/sbin/kldload

2010-07-12 Thread Maxim Konovalov
Author: maxim Date: Tue Jul 13 04:13:31 2010 New Revision: 209971 URL: http://svn.freebsd.org/changeset/base/209971 Log: o Add -q flag to usage(). MFC after:1 week Modified: head/sbin/kldload/kldload.c Modified: head/sbin/kldload/kldload.c ===

svn commit: r209970 - head/sbin/kldload

2010-07-12 Thread Maxim Konovalov
Author: maxim Date: Tue Jul 13 04:11:25 2010 New Revision: 209970 URL: http://svn.freebsd.org/changeset/base/209970 Log: o Add -q flag to the synopsis. PR: docs/148535 Submitted by: Warren Block MFC after:1 week Modified: head/sbin/kldload/kldload.8 Modified: head/sbin

svn commit: r209969 - head/usr.sbin/config

2010-07-12 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Jul 13 04:08:08 2010 New Revision: 209969 URL: http://svn.freebsd.org/changeset/base/209969 Log: Enhance config to handle MACHINEs with multiple architectures: - Passing -m to config will now print the MACHINE and MACHINE_ARCH given in the passed kernel conf

svn commit: r209968 - head/sys/dev/usb/serial

2010-07-12 Thread Takanori Watanabe
Author: takawata Date: Tue Jul 13 03:56:29 2010 New Revision: 209968 URL: http://svn.freebsd.org/changeset/base/209968 Log: Fix comment. Pointed out by: hrs Modified: head/sys/dev/usb/serial/uplcom.c Modified: head/sys/dev/usb/serial/uplcom.c

svn commit: r209967 - in head/sys/dev/usb: . serial

2010-07-12 Thread Takanori Watanabe
Author: takawata Date: Tue Jul 13 03:49:30 2010 New Revision: 209967 URL: http://svn.freebsd.org/changeset/base/209967 Log: One more Prolific serial device ID. Submitted by: Kouichi Hirabayashi on FreeBSD-users-jp MFC after: 1 week. Modified: head/sys/dev/usb/serial/uplcom.c head/sys

svn commit: r209966 - head/sys/dev/acpica/Osd

2010-07-12 Thread Jung-uk Kim
Author: jkim Date: Tue Jul 13 02:48:42 2010 New Revision: 209966 URL: http://svn.freebsd.org/changeset/base/209966 Log: Fix white spaces. Modified: head/sys/dev/acpica/Osd/OsdHardware.c Modified: head/sys/dev/acpica/Osd/OsdHardware.c ==

svn commit: r209965 - head/sys/dev/acpica/Osd

2010-07-12 Thread Jung-uk Kim
Author: jkim Date: Tue Jul 13 02:45:44 2010 New Revision: 209965 URL: http://svn.freebsd.org/changeset/base/209965 Log: According to ACPICA User Guide and Programmer Reference, the read data must be zero extended to fill the 32-bit return value even if the bit width of the port is less than

svn commit: r209964 - head/sys/kern releng/7.1 releng/7.1/sys/conf releng/7.1/sys/kern releng/7.3 releng/7.3/sys/conf releng/7.3/sys/kern releng/8.0 releng/8.0/sys/conf releng/8.0/sys/kern releng/8...

2010-07-12 Thread Colin Percival
Author: cperciva Date: Tue Jul 13 02:45:17 2010 New Revision: 209964 URL: http://svn.freebsd.org/changeset/base/209964 Log: Correctly copy the M_RDONLY flag when duplicating a reference to an mbuf external buffer. Approved by: so (cperciva) Approved by: re (kensmith) Security: F

Re: svn commit: r209957 - in head/sys: amd64/acpica conf modules/acpi/acpi

2010-07-12 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 2010/07/12 14:08, Jung-uk Kim wrote: > Author: jkim > Date: Mon Jul 12 21:08:35 2010 > New Revision: 209957 > URL: http://svn.freebsd.org/changeset/base/209957 > > Log: > Move i386-inherited logic of building ACPI headers for acpi_wakeup.c into

svn commit: r209963 - head/sys/sun4v/conf

2010-07-12 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Jul 13 01:24:02 2010 New Revision: 209963 URL: http://svn.freebsd.org/changeset/base/209963 Log: Add a missing architecture declaration to the machine specification for sun4v. Modified: head/sys/sun4v/conf/DEFAULTS Modified: head/sys/sun4v/conf/DEFAULTS ===

svn commit: r209962 - in head: . cddl/compat/opensolaris/include cddl/compat/opensolaris/misc cddl/contrib/opensolaris/cmd/pyzfs cddl/contrib/opensolaris/cmd/zdb cddl/contrib/opensolaris/cmd/zfs cd...

2010-07-12 Thread Martin Matuska
Author: mm Date: Mon Jul 12 23:49:04 2010 New Revision: 209962 URL: http://svn.freebsd.org/changeset/base/209962 Log: Merge ZFS version 15 and almost all OpenSolaris bugfixes referenced in Solaris 10 updates 141445-09 and 142901-14. Detailed information: (OpenSolaris revisions and Bug I

svn commit: r209961 - head/sys/dev/mpt

2010-07-12 Thread Marius Strobl
Author: marius Date: Mon Jul 12 23:01:21 2010 New Revision: 209961 URL: http://svn.freebsd.org/changeset/base/209961 Log: Correct inverted parent DMA tag parameters. Reviewed by: ken MFC after:3 days Modified: head/sys/dev/mpt/mpt_pci.c Modified: head/sys/dev/mpt/mpt_pci.c ==

svn commit: r209960 - head/sys/dev/mpt

2010-07-12 Thread Marius Strobl
Author: marius Date: Mon Jul 12 22:57:57 2010 New Revision: 209960 URL: http://svn.freebsd.org/changeset/base/209960 Log: - Make the maxsize parameter of the data buffer DMA tag match maxio, which was missed in r209599. Reported and tested by: Michael Moll - Declare mpt_dma_buf_alloc()

svn commit: r209959 - head/sys/dev/e1000

2010-07-12 Thread Jack F Vogel
Author: jfv Date: Mon Jul 12 21:47:30 2010 New Revision: 209959 URL: http://svn.freebsd.org/changeset/base/209959 Log: Fix for a panic when TX checksum offload is done and a packet has only a header in the first mbuf, the checksum code will dereference a pointer into the non-existing IP he

svn commit: r209958 - head/sys/powerpc/powermac

2010-07-12 Thread Peter Grehan
Author: grehan Date: Mon Jul 12 21:09:55 2010 New Revision: 209958 URL: http://svn.freebsd.org/changeset/base/209958 Log: Fix printf specifier to allow 32/64 bit builds. Obtained from:projects/ppc64 Modified: head/sys/powerpc/powermac/grackle.c Modified: head/sys/powerpc/powerma

svn commit: r209957 - in head/sys: amd64/acpica conf modules/acpi/acpi

2010-07-12 Thread Jung-uk Kim
Author: jkim Date: Mon Jul 12 21:08:35 2010 New Revision: 209957 URL: http://svn.freebsd.org/changeset/base/209957 Log: Move i386-inherited logic of building ACPI headers for acpi_wakeup.c into better places and remove intermediate makefile and shell scripts. This makes parallel kernel buil

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

2010-07-12 Thread John Baldwin
Author: jhb Date: Mon Jul 12 20:45:37 2010 New Revision: 209956 URL: http://svn.freebsd.org/changeset/base/209956 Log: Remove a dead test. We already exclude NMI traps from this code in an earlier condition. MFC after:1 week Modified: head/sys/amd64/amd64/trap.c Modified: head/sy

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

2010-07-12 Thread Konstantin Belousov
Author: kib Date: Mon Jul 12 19:59:15 2010 New Revision: 209955 URL: http://svn.freebsd.org/changeset/base/209955 Log: When switching the thread from the processor, store %dr7 content into the pcb before disabling watchpoints. Otherwise, when the thread is restored on a processor, watchpoint

svn commit: r209954 - head/etc

2010-07-12 Thread Benedict Reuschling
Author: bcr (doc committer) Date: Mon Jul 12 19:09:18 2010 New Revision: 209954 URL: http://svn.freebsd.org/changeset/base/209954 Log: Fix spelling of "weirdo" in /etc/gettytab comment. PR: docs/148500 Submitted by: Warren Block (wblock at wonkity dot com) Approved by:

svn commit: r209951 - head/usr.bin/make

2010-07-12 Thread Ed Maste
Author: emaste Date: Mon Jul 12 17:18:58 2010 New Revision: 209951 URL: http://svn.freebsd.org/changeset/base/209951 Log: Remove extraneous ; Modified: head/usr.bin/make/str.c Modified: head/usr.bin/make/str.c == ---

svn commit: r209950 - in head/sys: conf powerpc/aim powerpc/booke powerpc/include powerpc/powerpc

2010-07-12 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Jul 12 16:08:07 2010 New Revision: 209950 URL: http://svn.freebsd.org/changeset/base/209950 Log: Unify ABI-related bits of the Book-E and AIM machdep routines (exec_setregs, etc.) in order to simplify the addition of 64-bit support, and possible future extension

svn commit: r209949 - in head: lib/libstand sys/kern

2010-07-12 Thread Jung-uk Kim
Author: jkim Date: Mon Jul 12 15:32:45 2010 New Revision: 209949 URL: http://svn.freebsd.org/changeset/base/209949 Log: Use type-specific inline function imax() instead of deprecated macro MAX(). Prodded by: bde Modified: head/lib/libstand/printf.c head/sys/kern/subr_prf.c Modified:

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

2010-07-12 Thread John Baldwin
On Monday, July 12, 2010 8:49:39 am Alexander Motin wrote: > John Baldwin wrote: > > On Sunday, July 11, 2010 12:47:46 pm Alexander Motin wrote: > >> Author: mav > >> Date: Sun Jul 11 16:47:45 2010 > >> New Revision: 209900 > >> URL: http://svn.freebsd.org/changeset/base/209900 > >> > >> Log: > >>

Re: svn commit: r209948 - head/sys/nfsclient

2010-07-12 Thread John Baldwin
On Monday, July 12, 2010 10:27:49 am John Baldwin wrote: > Author: jhb > Date: Mon Jul 12 14:27:49 2010 > New Revision: 209948 > URL: http://svn.freebsd.org/changeset/base/209948 > > Log: > A previous change moved the GETATTR RPC for open() calls that hit in the > name cache up into nfs_lookup

svn commit: r209948 - head/sys/nfsclient

2010-07-12 Thread John Baldwin
Author: jhb Date: Mon Jul 12 14:27:49 2010 New Revision: 209948 URL: http://svn.freebsd.org/changeset/base/209948 Log: A previous change moved the GETATTR RPC for open() calls that hit in the name cache up into nfs_lookup() instead of nfs_open(). Continue this trend by flushing the attribut

svn commit: r209946 - head/sys/nfsclient

2010-07-12 Thread John Baldwin
Author: jhb Date: Mon Jul 12 14:19:23 2010 New Revision: 209946 URL: http://svn.freebsd.org/changeset/base/209946 Log: - Add missing locking around flushing of an NFS node's attribute cache in the NMODIFIED case of nfs_open(). - Cosmetic tweak to simplify an expression in nfs_lookup().

svn commit: r209945 - head/sys/powerpc/include

2010-07-12 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Jul 12 13:38:26 2010 New Revision: 209945 URL: http://svn.freebsd.org/changeset/base/209945 Log: MFppc64: Provide ELF definitions for 64-bit PowerPC. This unbreaks the powerpc loader build. Modified: head/sys/powerpc/include/elf.h Modified: head/sys/powerp

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

2010-07-12 Thread Alexander Motin
John Baldwin wrote: > On Sunday, July 11, 2010 12:47:46 pm Alexander Motin wrote: >> Author: mav >> Date: Sun Jul 11 16:47:45 2010 >> New Revision: 209900 >> URL: http://svn.freebsd.org/changeset/base/209900 >> >> Log: >> Remove interval validation from cpu_tick_calibrate(). As I found, check >>

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

2010-07-12 Thread John Baldwin
On Sunday, July 11, 2010 12:47:46 pm Alexander Motin wrote: > Author: mav > Date: Sun Jul 11 16:47:45 2010 > New Revision: 209900 > URL: http://svn.freebsd.org/changeset/base/209900 > > Log: > Remove interval validation from cpu_tick_calibrate(). As I found, check > was needed at preliminary v

svn commit: r209944 - head/sys/dev/ata

2010-07-12 Thread Alexander Motin
Author: mav Date: Mon Jul 12 12:16:11 2010 New Revision: 209944 URL: http://svn.freebsd.org/changeset/base/209944 Log: Revert and remake r209883: Do not grab lock while setting up interrupt, as it causes LOR with allocation code. Instead make interrupt handler check that CAM bus initializa

svn commit: r209935 - head/sys/mips/mips

2010-07-12 Thread Jayachandran C.
Author: jchandra Date: Mon Jul 12 10:22:58 2010 New Revision: 209935 URL: http://svn.freebsd.org/changeset/base/209935 Log: Merge jmallett@'s n64 work into HEAD Initial set of ddb changes to support n64 Reviewed by: imp Obtained from:jmallett (http://svn.freebsd.org/base/us

svn commit: r209934 - head/sys/ddb

2010-07-12 Thread Konstantin Belousov
Author: kib Date: Mon Jul 12 10:18:10 2010 New Revision: 209934 URL: http://svn.freebsd.org/changeset/base/209934 Log: One more use for _SIG_VALID. Submitted by: Garrett Cooper MFC after:1 week Modified: head/sys/ddb/db_command.c Modified: head/sys/ddb/db_command.c ==

svn commit: r209933 - head/lib/libthr/thread

2010-07-12 Thread Konstantin Belousov
Author: kib Date: Mon Jul 12 10:15:33 2010 New Revision: 209933 URL: http://svn.freebsd.org/changeset/base/209933 Log: Use _SIG_VALID instead of expanded form of the macro. Submitted by: Garrett Cooper MFC after:1 week Modified: head/lib/libthr/thread/thr_sig.c Modified: head/lib

svn commit: r209932 - head/lib/libc/compat-43

2010-07-12 Thread Konstantin Belousov
Author: kib Date: Mon Jul 12 10:14:24 2010 New Revision: 209932 URL: http://svn.freebsd.org/changeset/base/209932 Log: For xsi_sigpause(3), remove the supplied signal from the process mask during sigpause(2) call. It was backward. Check that the signal number is valid. Reported by: Gar

Re: svn commit: r209928 - head/sys/mips/include

2010-07-12 Thread Bruce Evans
On Mon, 12 Jul 2010, Jayachandran C. wrote: Log: Move KSEG address definitions from cpu.h to cpuregs.h with the other definitions, add some XKPHYS related definitions for n64. This is a good start to cleaning up mips cpu.h. but far from complete. cpu.h is for MD implementations of a few (ab

svn commit: r209930 - head/sys/mips/mips

2010-07-12 Thread Jayachandran C.
Author: jchandra Date: Mon Jul 12 09:38:44 2010 New Revision: 209930 URL: http://svn.freebsd.org/changeset/base/209930 Log: Merge jmallett@'s n64 work into HEAD. Merge changes for initial n64 support in pmap.c. Use direct mapped (XKPHYS) access for a lot of operations that earlier needed

svn commit: r209929 - head/sys/mips/include

2010-07-12 Thread Jayachandran C.
Author: jchandra Date: Mon Jul 12 07:42:42 2010 New Revision: 209929 URL: http://svn.freebsd.org/changeset/base/209929 Log: Merge jmallett@'s n64 work into HEAD 64 bit TLB definitions in pte.h Reviewed by: imp Obtained from:jmallett (http://svn.freebsd.org/base/user/jmallet

svn commit: r209928 - head/sys/mips/include

2010-07-12 Thread Jayachandran C.
Author: jchandra Date: Mon Jul 12 07:24:40 2010 New Revision: 209928 URL: http://svn.freebsd.org/changeset/base/209928 Log: Move KSEG address definitions from cpu.h to cpuregs.h with the other definitions, add some XKPHYS related definitions for n64. Reviewed by: imp Modified: head/s