svn commit: r210044 - head/cddl/contrib/opensolaris/lib/libzpool/common

2010-07-13 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Jul 14 06:37:43 2010 New Revision: 210044 URL: http://svn.freebsd.org/changeset/base/210044 Log: MFp4 180933: Initialize rw_count properly so that zdb(8) doesn't trigger assertion in rw_enter(): ASSERT(rwlp->rw_count == 0); While here, assert that rw_

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

2010-07-13 Thread Warner Losh
Author: imp Date: Wed Jul 14 00:52:29 2010 New Revision: 210041 URL: http://svn.freebsd.org/changeset/base/210041 Log: Use cpuregs.h spellings over the cpu.h spellings. Modified: head/sys/mips/include/db_machdep.h Modified: head/sys/mips/include/db_machdep.h =

svn commit: r210040 - in head/sys/arm: at91 conf

2010-07-13 Thread Olivier Houchard
Author: cognet Date: Wed Jul 14 00:48:53 2010 New Revision: 210040 URL: http://svn.freebsd.org/changeset/base/210040 Log: Import preliminary support for Atmel AT91SAM9G20 cpu, and the Hot-e HL201. This fine work was done by Yohanes Nugroho Many thanks to John Nicholls and Thinlinx for provi

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

2010-07-13 Thread Warner Losh
Author: imp Date: Wed Jul 14 00:47:37 2010 New Revision: 210039 URL: http://svn.freebsd.org/changeset/base/210039 Log: Remove the unused part of cpu.h now that the rest of the tree has been transitioned to use cpuregs.h spellings. Now we're only 4x too big, according to the bde-ometer. Mod

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

2010-07-13 Thread Warner Losh
Author: imp Date: Wed Jul 14 00:41:22 2010 New Revision: 210038 URL: http://svn.freebsd.org/changeset/base/210038 Log: Prefer the cpuregs.h spellings of register and bit names over cpu.h. Modified: head/sys/mips/mips/exception.S head/sys/mips/mips/fp.S head/sys/mips/mips/machdep.c head/

svn commit: r210036 - in head/usr.sbin/pc-sysinstall: backend backend-query doc pc-sysinstall

2010-07-13 Thread Warner Losh
Author: imp Date: Tue Jul 13 23:47:12 2010 New Revision: 210036 URL: http://svn.freebsd.org/changeset/base/210036 Log: Add support for packages. PR: 148584 Submitted by: John Hixon Added: head/usr.sbin/pc-sysinstall/backend-query/get-packages.sh (contents, props changed)

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

2010-07-13 Thread Rick Macklem
Author: rmacklem Date: Tue Jul 13 23:14:39 2010 New Revision: 210034 URL: http://svn.freebsd.org/changeset/base/210034 Log: For the experimental NFSv4 client, make sure that attributes that predate the issue of a delegation are not cached once the delegation is held. This is necessary, since

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

2010-07-13 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Jul 13 23:10:55 2010 New Revision: 210033 URL: http://svn.freebsd.org/changeset/base/210033 Log: Remove obsolete code that sets SHMMAXPGS to a tiny value by default on PowerPC. Modified: head/sys/powerpc/include/vmparam.h Modified: head/sys/powerpc/include/vmpa

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

2010-07-13 Thread Rick Macklem
Author: rmacklem Date: Tue Jul 13 23:07:32 2010 New Revision: 210032 URL: http://svn.freebsd.org/changeset/base/210032 Log: For the experimental NFSv4 client, do not use cached attributes that were invalidated, even when a delegation for the file is held. MFC after:2 weeks Modified:

svn commit: r210030 - head/sys/fs/nfsserver

2010-07-13 Thread Rick Macklem
Author: rmacklem Date: Tue Jul 13 22:44:14 2010 New Revision: 210030 URL: http://svn.freebsd.org/changeset/base/210030 Log: Fix a bogus comment that mentions lru lists that don't exist. Reported by: zack.kirsch at isilon.com MFC after:2 weeks Modified: head/sys/fs/nfsserver/nfs_nf

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

2010-07-13 Thread Warner Losh
Author: imp Date: Tue Jul 13 22:36:45 2010 New Revision: 210029 URL: http://svn.freebsd.org/changeset/base/210029 Log: union cpuprid is also unused now Modified: head/sys/mips/include/cpu.h Modified: head/sys/mips/include/cpu.h

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

2010-07-13 Thread Warner Losh
Author: imp Date: Tue Jul 13 22:35:09 2010 New Revision: 210028 URL: http://svn.freebsd.org/changeset/base/210028 Log: Add INFO config register from mips32/64 land Modified: head/sys/mips/include/cpuregs.h Modified: head/sys/mips/include/cpuregs.h

svn commit: r210027 - head/sys/mips/sibyte

2010-07-13 Thread Warner Losh
Author: imp Date: Tue Jul 13 22:30:27 2010 New Revision: 210027 URL: http://svn.freebsd.org/changeset/base/210027 Log: Remove redunant machine/cpuregs.h include. Also, spell things like in machine/cpuregs.h instead of machine/cpu.h. Modified: head/sys/mips/sibyte/sb_machdep.c Modified: hea

svn commit: r210026 - head/sys/mips/conf

2010-07-13 Thread Warner Losh
Author: imp Date: Tue Jul 13 22:27:19 2010 New Revision: 210026 URL: http://svn.freebsd.org/changeset/base/210026 Log: Temp hack to N32 kernel: turn off debugger since n32 is too weird for ddb Modified: head/sys/mips/conf/XLRN32 Modified: head/sys/mips/conf/XLRN32 ===

svn commit: r210025 - head/sys/powerpc/conf

2010-07-13 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Jul 13 21:24:08 2010 New Revision: 210025 URL: http://svn.freebsd.org/changeset/base/210025 Log: Add GENERIC kernel config for powerpc64. Added: head/sys/powerpc/conf/GENERIC64 - copied, changed from r209910, head/sys/powerpc/conf/GENERIC Copied and modified

svn commit: r210024 - in head: . include release

2010-07-13 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Jul 13 21:19:59 2010 New Revision: 210024 URL: http://svn.freebsd.org/changeset/base/210024 Log: Connect powerpc64 to the build. It is not presently part of make universe, which will be added soon. Reviewed by: imp Modified: head/Makefile.inc1 head/inclu

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

2010-07-13 Thread Remko Lodder
Author: remko Date: Tue Jul 13 20:09:14 2010 New Revision: 210018 URL: http://svn.freebsd.org/changeset/base/210018 Log: Add a 4 and 7 port USB hub from NEC. PR: 148189 MFC after:1 week Modified: head/sys/dev/usb/usbdevs Modified: head/sys/dev/usb/usbdevs ===

svn commit: r210017 - head/sys/dev/fb

2010-07-13 Thread Jung-uk Kim
Author: jkim Date: Tue Jul 13 19:58:06 2010 New Revision: 210017 URL: http://svn.freebsd.org/changeset/base/210017 Log: Initialize a variable before its use. Modified: head/sys/dev/fb/vesa.c Modified: head/sys/dev/fb/vesa.c

svn commit: r210016 - head/sys/dev/fb

2010-07-13 Thread Jung-uk Kim
Author: jkim Date: Tue Jul 13 19:48:20 2010 New Revision: 210016 URL: http://svn.freebsd.org/changeset/base/210016 Log: Preallocate buffers for palette and state. Do not save DAC registers as we reset DAC mode and restore palette data while we are resuming always. Modified: head/sys/dev/fb

svn commit: r210015 - head/sys/dev/bge

2010-07-13 Thread Pyun YongHyeon
Author: yongari Date: Tue Jul 13 19:45:40 2010 New Revision: 210015 URL: http://svn.freebsd.org/changeset/base/210015 Log: Prefer PCIR_BAR macro over BGE_PCI_BAR0. Modified: head/sys/dev/bge/if_bge.c Modified: head/sys/dev/bge/if_bge.c

svn commit: r210014 - head/sys/dev/bge

2010-07-13 Thread Pyun YongHyeon
Author: yongari Date: Tue Jul 13 19:42:55 2010 New Revision: 210014 URL: http://svn.freebsd.org/changeset/base/210014 Log: Fix error message for jumbo buffer allocation failure. Modified: head/sys/dev/bge/if_bge.c Modified: head/sys/dev/bge/if_bge.c ==

svn commit: r210013 - head/sys/dev/bge

2010-07-13 Thread Pyun YongHyeon
Author: yongari Date: Tue Jul 13 19:39:51 2010 New Revision: 210013 URL: http://svn.freebsd.org/changeset/base/210013 Log: style. Modified: head/sys/dev/bge/if_bge.c Modified: head/sys/dev/bge/if_bge.c == --- head/sy

svn commit: r210012 - head/sys/dev/hwpmc

2010-07-13 Thread George V. Neville-Neil
Author: gnn Date: Tue Jul 13 19:37:45 2010 New Revision: 210012 URL: http://svn.freebsd.org/changeset/base/210012 Log: Fix a panic brought about by writing an MSR without a proper mask. All of the necessary wrmsr calls are now preceded by a rdmsr and we leave the reserved bits alone. Docum

svn commit: r210011 - head/sys/dev/bge

2010-07-13 Thread Pyun YongHyeon
Author: yongari Date: Tue Jul 13 19:33:46 2010 New Revision: 210011 URL: http://svn.freebsd.org/changeset/base/210011 Log: Make bge_stop_fw() static. While I'm here use ANSI function definitions. Modified: head/sys/dev/bge/if_bge.c Modified: head/sys/dev/bge/if_bge.c ==

svn commit: r210010 - head/sys/dev/bktr

2010-07-13 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Jul 13 19:27:20 2010 New Revision: 210010 URL: http://svn.freebsd.org/changeset/base/210010 Log: Fix build on architectures where PAGE_SIZE is a long (sparc64, powerpc). Modified: head/sys/dev/bktr/bktr_core.c Modified: head/sys/dev/bktr/bktr_core.c =

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

2010-07-13 Thread Warner Losh
Author: imp Date: Tue Jul 13 17:24:30 2010 New Revision: 210009 URL: http://svn.freebsd.org/changeset/base/210009 Log: Define break value for ddb. Use int32/intptr casts for exception vector names. Define MIPS_SR_INT_MASK again Change MIPS_XKPHYS_CCA_* to MIPS_CCA_* since we can use them i

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

2010-07-13 Thread Warner Losh
Author: imp Date: Tue Jul 13 17:21:15 2010 New Revision: 210007 URL: http://svn.freebsd.org/changeset/base/210007 Log: Use the cpuregs.h spellings for these registers rather than the cpu.h spelling. Modified: head/sys/mips/mips/locore.S Modified: head/sys/mips/mips/locore.S ===

svn commit: r210005 - head/sys/modules/acpi/acpi

2010-07-13 Thread Jung-uk Kim
Author: jkim Date: Tue Jul 13 16:57:52 2010 New Revision: 210005 URL: http://svn.freebsd.org/changeset/base/210005 Log: Define SMP unconditionally for amd64 and remove opt_global.h from SRCS. Note it is done just for correctness sake because we do not build, ship, or support acpi.ko on amd64

svn commit: r210004 - head/share/man/man5

2010-07-13 Thread Simon L. Nielsen
Author: simon Date: Tue Jul 13 16:47:29 2010 New Revision: 210004 URL: http://svn.freebsd.org/changeset/base/210004 Log: Bump document for content change in r210002. Modified: head/share/man/man5/rc.conf.5 Modified: head/share/man/man5/rc.conf.5 ==

Re: svn commit: r209995 - in head/sys: amd64/include i386/include

2010-07-13 Thread pluknet
On 13 July 2010 19:06, Warner Losh wrote: > Author: imp > Date: Tue Jul 13 15:06:13 2010 > New Revision: 209995 > URL: http://svn.freebsd.org/changeset/base/209995 > > Log: >  Remove obsolete undef of COPY_SIGCODE.  It appears to have not been >  used in FreeBSD in quite some time (maybe since bef

svn commit: r210003 - head/sys/dev/acpica

2010-07-13 Thread Jung-uk Kim
Author: jkim Date: Tue Jul 13 16:35:41 2010 New Revision: 210003 URL: http://svn.freebsd.org/changeset/base/210003 Log: Make SMP code path conditional at run-time. Modified: head/sys/dev/acpica/acpi.c Modified: head/sys/dev/acpica/acpi.c ==

svn commit: r210002 - head/share/man/man5

2010-07-13 Thread Simon L. Nielsen
Author: simon Date: Tue Jul 13 16:24:04 2010 New Revision: 210002 URL: http://svn.freebsd.org/changeset/base/210002 Log: In the example for how to create a VLAN, also include an example of setting the IP address. While it is documented earlier in rc.conf(5) that the '.' in the VLAN name bec

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

2010-07-13 Thread Maxim Konovalov
Author: maxim Date: Tue Jul 13 16:16:41 2010 New Revision: 21 URL: http://svn.freebsd.org/changeset/base/21 Log: o Correct path to include file. PR: docs/148545 Submitted by: Anton Shterenlikht MFC after:1 week Modified: head/share/man/man4/ath.4 Modified: head

svn commit: r209996 - in head/sys/mips: include mips

2010-07-13 Thread Warner Losh
Author: imp Date: Tue Jul 13 15:29:37 2010 New Revision: 209996 URL: http://svn.freebsd.org/changeset/base/209996 Log: cpu_id and fpu_id are unused, except to be set early in the boot code. The problem with setting it there is that the last CPU to come up wins, it seems. This also removes o

svn commit: r209995 - in head/sys: amd64/include i386/include

2010-07-13 Thread Warner Losh
Author: imp Date: Tue Jul 13 15:06:13 2010 New Revision: 209995 URL: http://svn.freebsd.org/changeset/base/209995 Log: Remove obsolete undef of COPY_SIGCODE. It appears to have not been used in FreeBSD in quite some time (maybe since before 4.4-lite :) Submitted by: bde Modified: head

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

2010-07-13 Thread Warner Losh
Author: imp Date: Tue Jul 13 15:01:36 2010 New Revision: 209994 URL: http://svn.freebsd.org/changeset/base/209994 Log: Remove obsolete define "COPY_SIGCODE". This is unused in FreeBSD. Submitted by: bde@ Modified: head/sys/mips/include/cpu.h Modified: head/sys/mips/include/cpu.h ==

svn commit: r209993 - head/sys/conf

2010-07-13 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Jul 13 13:11:18 2010 New Revision: 209993 URL: http://svn.freebsd.org/changeset/base/209993 Log: Convert several instances of MACHINE_ARCH to MACHINE_CPUARCH and use the correct compiler flags on 64-bit PowerPC. Modified: head/sys/conf/kern.mk head/sys/conf/ke

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

2010-07-13 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Jul 13 12:51:02 2010 New Revision: 209992 URL: http://svn.freebsd.org/changeset/base/209992 Log: Install arch-specific manpages by MACHINE_CPUARCH, not MACHINE_ARCH. Modified: head/share/man/man4/Makefile Modified: head/share/man/man4/Makefile ===

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

2010-07-13 Thread Bruce Evans
On Tue, 13 Jul 2010, Alexander Motin wrote: Bruce Evans wrote: Fix for cputick calibration: ... Variable frequencies have the interesting capability of varying in both positive and negative directions. This fixes the case of negative-going changes. ... I have no hardware to check, but I hav

svn commit: r209991 - in head/sys/modules: . cas hwpmc sound/driver

2010-07-13 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Jul 13 12:47:31 2010 New Revision: 209991 URL: http://svn.freebsd.org/changeset/base/209991 Log: Make kernel modules build correctly on 64-bit PowerPC. Modified: head/sys/modules/Makefile head/sys/modules/cas/Makefile head/sys/modules/hwpmc/Makefile head/sys

Re: svn commit: r209859 - head/sys/dev/e1000

2010-07-13 Thread Gleb Smirnoff
On Tue, Jul 13, 2010 at 04:39:13PM +0400, Gleb Smirnoff wrote: T> On Fri, Jul 09, 2010 at 05:11:30PM +, Jack F Vogel wrote: T> J> Author: jfv T> J> Date: Fri Jul 9 17:11:29 2010 T> J> New Revision: 209859 T> J> URL: http://svn.freebsd.org/changeset/base/209859 T> J> T> J> Log: T> J> Fix of

svn commit: r209990 - in head/sys: dev/acpica x86/isa x86/x86

2010-07-13 Thread Alexander Motin
Author: mav Date: Tue Jul 13 12:46:06 2010 New Revision: 209990 URL: http://svn.freebsd.org/changeset/base/209990 Log: Rise knowledge about curthread->td_intr_frame by one step. Make timer callback argument really opaque. Not repeat interrupt handler's problem in case somebody will ever need

Re: svn commit: r209859 - head/sys/dev/e1000

2010-07-13 Thread Gleb Smirnoff
On Fri, Jul 09, 2010 at 05:11:30PM +, Jack F Vogel wrote: J> Author: jfv J> Date: Fri Jul 9 17:11:29 2010 J> New Revision: 209859 J> URL: http://svn.freebsd.org/changeset/base/209859 J> J> Log: J> Fix of a VLAN problem by jhb, the checksum capability J> got lost along the way. J> J>

svn commit: r209988 - head/sys/sys

2010-07-13 Thread Ed Schouten
Author: ed Date: Tue Jul 13 10:32:43 2010 New Revision: 209988 URL: http://svn.freebsd.org/changeset/base/209988 Log: UT_NAMESIZE is no more. Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h == --- head/

svn commit: r209987 - head/sys/sys

2010-07-13 Thread Lawrence Stewart
Author: lstewart Date: Tue Jul 13 09:17:30 2010 New Revision: 209987 URL: http://svn.freebsd.org/changeset/base/209987 Log: - The sum variable used in DPCPU_SUM needs to be of the same type as the DPCPU variable, rather than a pointer to the type. - Zero # bytes equivalent to sizeof(obj

svn commit: r209982 - head/sys/netinet

2010-07-13 Thread Lawrence Stewart
Author: lstewart Date: Tue Jul 13 08:23:46 2010 New Revision: 209982 URL: http://svn.freebsd.org/changeset/base/209982 Log: The SIFTR DPCPU statistics struct was not being zeroed between enable/disable cycles so the values would accumulate rather than reset for each cycle. Sponsored by: F

svn commit: r209981 - head/sys/sys

2010-07-13 Thread Lawrence Stewart
Author: lstewart Date: Tue Jul 13 08:05:48 2010 New Revision: 209981 URL: http://svn.freebsd.org/changeset/base/209981 Log: Macro to simplify zeroing DPCPU variables. Sponsored by: FreeBSD Foundation MFC after:3 days Modified: head/sys/sys/pcpu.h Modified: head/sys/sys/pcpu.h

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

2010-07-13 Thread Alexander Motin
Bruce Evans wrote: > Fix for cputick calibration: > > % diff -c2 ./kern/kern_tc.c~ ./kern/kern_tc.c > % *** ./kern/kern_tc.c~Thu Mar 20 01:05:27 2008 > % --- ./kern/kern_tc.cThu Mar 20 01:05:29 2008 > % *** > % *** 884,888 > % return; > % % ! getbinuptime(&t_

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

2010-07-13 Thread Bruce Evans
On Mon, 12 Jul 2010, Alexander Motin wrote: John Baldwin wrote: On Sunday, July 11, 2010 12:47:46 pm Alexander Motin wrote: ... Log: Remove interval validation from cpu_tick_calibrate(). As I found, check was needed at preliminary version of the patch, where number of CPU ticks was divid

svn commit: r209980 - head/sys/netinet

2010-07-13 Thread Lawrence Stewart
Author: lstewart Date: Tue Jul 13 07:00:57 2010 New Revision: 209980 URL: http://svn.freebsd.org/changeset/base/209980 Log: Catch up with the rename of DPCPU_SUM to DPCPU_VARSUM in r209978. Sponsored by: FreeBSD Foundation Modified: head/sys/netinet/siftr.c Modified: head/sys/netinet/si