svn commit: r210106 - stable/8/bin/pkill

2010-07-15 Thread Brian Somers
Author: brian Date: Thu Jul 15 07:14:57 2010 New Revision: 210106 URL: http://svn.freebsd.org/changeset/base/210106 Log: MFC r209924; Add -l to the synopsis Submitted by: jhell at dataix dot net Modified: stable/8/bin/pkill/pkill.1 Directory Properties: stable/8/bin/pkill/ (props

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

2010-07-15 Thread Bernhard Schmidt
Author: bschmidt Date: Thu Jul 15 07:45:37 2010 New Revision: 210107 URL: http://svn.freebsd.org/changeset/base/210107 Log: Remove duplicate vendor:device entry. MFC after:3 days Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c

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

2010-07-15 Thread Bernhard Schmidt
Author: bschmidt Date: Thu Jul 15 08:05:20 2010 New Revision: 210108 URL: http://svn.freebsd.org/changeset/base/210108 Log: Fix some small whitespace nits. MFC after:3 days Modified: head/sys/dev/iwn/if_iwn.c head/sys/dev/iwn/if_iwnvar.h Modified: head/sys/dev/iwn/if_iwn.c

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

2010-07-15 Thread Bernhard Schmidt
Author: bschmidt Date: Thu Jul 15 09:30:54 2010 New Revision: 210109 URL: http://svn.freebsd.org/changeset/base/210109 Log: - Add new IDs for 6000 series devices. - The 6000 series WiMAX devices need a separate firmware. - The b-gen devices are not hooked because the hardware revision type

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

2010-07-15 Thread Bernhard Schmidt
Author: bschmidt Date: Thu Jul 15 09:34:00 2010 New Revision: 210110 URL: http://svn.freebsd.org/changeset/base/210110 Log: Detect active chains differently to work around a firmware bug which would mark non-existing chains as active. Obtained from:OpenBSD MFC after:1 week

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

2010-07-15 Thread Bernhard Schmidt
Author: bschmidt Date: Thu Jul 15 10:37:49 2010 New Revision: 210111 URL: http://svn.freebsd.org/changeset/base/210111 Log: Add support for firmware images in type-length-value format. Obtained from:OpenBSD MFC after:2 weeks Modified: head/sys/dev/iwn/if_iwn.c

svn commit: r210112 - head

2010-07-15 Thread Rafal Jaworowski
Author: raj Date: Thu Jul 15 10:49:07 2010 New Revision: 210112 URL: http://svn.freebsd.org/changeset/base/210112 Log: Fix FDT_DTS_FILE parsing to properly retrieve its value. This unbreaks the 'builddtb' target. Make the processing more robust against non-existent kernel config files

Re: svn commit: r210103 - head/lib/liblzma

2010-07-15 Thread Dimitry Andric
On 2010-07-15 05:11, Marcel Moolenaar wrote: Author: marcel Date: Thu Jul 15 03:11:04 2010 New Revision: 210103 URL: http://svn.freebsd.org/changeset/base/210103 Log: Unbreak xz (liblzma) on strong-aligned architectures (and without emulation of misaligned memory accesses). We cannot

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

2010-07-15 Thread Bernhard Schmidt
Author: bschmidt Date: Thu Jul 15 11:52:20 2010 New Revision: 210114 URL: http://svn.freebsd.org/changeset/base/210114 Log: Handle RUN-ASSOC-RUN transition correctly, as in not trigger a firmware error. Convert if statements to a switch statement while I'm here. Tested by:Benjamin

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

2010-07-15 Thread Bruce Evans
On Tue, 13 Jul 2010, Jung-uk Kim wrote: 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. Prodded by:bde Thanks. It was much more interesting than I

svn commit: r210115 - stable/8/sys/i386/i386

2010-07-15 Thread John Baldwin
Author: jhb Date: Thu Jul 15 12:17:17 2010 New Revision: 210115 URL: http://svn.freebsd.org/changeset/base/210115 Log: MFC part of 209483: Clear DF bit in cmcint interrupt handler. Submitted by: kib Modified: stable/8/sys/i386/i386/apic_vector.s Modified:

Re: svn commit: r210079 - in stable/8/sys: amd64/amd64 amd64/include i386/i386 i386/include

2010-07-15 Thread John Baldwin
On Wednesday, July 14, 2010 5:22:31 pm Kostik Belousov wrote: On Wed, Jul 14, 2010 at 09:10:14PM +, John Baldwin wrote: Author: jhb Date: Wed Jul 14 21:10:14 2010 New Revision: 210079 URL: http://svn.freebsd.org/changeset/base/210079 Modified: stable/8/sys/i386/i386/apic_vector.s

svn commit: r210116 - head

2010-07-15 Thread Rafal Jaworowski
Author: raj Date: Thu Jul 15 13:21:25 2010 New Revision: 210116 URL: http://svn.freebsd.org/changeset/base/210116 Log: Relax FDT_DTS_FILE validation (and unbreak world build). Pointed out by: kib Modified: head/Makefile.inc1 Modified: head/Makefile.inc1

svn commit: r210117 - head/sys/kern

2010-07-15 Thread Ivan Voras
Author: ivoras Date: Thu Jul 15 13:46:30 2010 New Revision: 210117 URL: http://svn.freebsd.org/changeset/base/210117 Log: A cosmetic change - don't output empty flags. Modified: head/sys/kern/sched_ule.c Modified: head/sys/kern/sched_ule.c

Re: svn commit: r210103 - head/lib/liblzma

2010-07-15 Thread Dag-Erling Smørgrav
Dimitry Andric dimi...@andric.com writes: Marcel Moolenaar mar...@freebsd.org writes: Unbreak xz (liblzma) on strong-aligned architectures (and without emulation of misaligned memory accesses). We cannot map the unaligned memory access functions to the ones used for aligned accesses, so do

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

2010-07-15 Thread Luigi Rizzo
Author: luigi Date: Thu Jul 15 14:37:02 2010 New Revision: 210119 URL: http://svn.freebsd.org/changeset/base/210119 Log: fix a comment and final empty line Modified: head/sys/netinet/ipfw/dn_heap.c Modified: head/sys/netinet/ipfw/dn_heap.c

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

2010-07-15 Thread Luigi Rizzo
Author: luigi Date: Thu Jul 15 14:37:59 2010 New Revision: 210120 URL: http://svn.freebsd.org/changeset/base/210120 Log: whitespace fixes Modified: head/sys/netinet/ipfw/ip_fw2.c Modified: head/sys/netinet/ipfw/ip_fw2.c

svn commit: r210121 - head/sys/net

2010-07-15 Thread Luigi Rizzo
Author: luigi Date: Thu Jul 15 14:41:06 2010 New Revision: 210121 URL: http://svn.freebsd.org/changeset/base/210121 Log: small portability fix to build on linux/windows Modified: head/sys/net/pfil.h Modified: head/sys/net/pfil.h

svn commit: r210122 - head/sys/net

2010-07-15 Thread Luigi Rizzo
Author: luigi Date: Thu Jul 15 14:41:59 2010 New Revision: 210122 URL: http://svn.freebsd.org/changeset/base/210122 Log: whitespace cleanup Modified: head/sys/net/radix.c Modified: head/sys/net/radix.c == ---

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

2010-07-15 Thread Luigi Rizzo
Author: luigi Date: Thu Jul 15 14:43:12 2010 New Revision: 210123 URL: http://svn.freebsd.org/changeset/base/210123 Log: remove some conditional #ifdefs (no-op on FreeBSD); run the timer routine on cpu 0. Modified: head/sys/netinet/ipfw/ip_fw_dynamic.c Modified:

Re: svn commit: r210103 - head/lib/liblzma

2010-07-15 Thread Dimitry Andric
On 2010-07-15 16:28, Dag-Erling Smørgrav wrote: Misaligned accesses, especially writes, are slow on all architectures - but Marcel knows this, so I guess he has a reason for doing it this way? I did some unscientific tests here, on an i386 box, and it did not turn out to make too much

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

2010-07-15 Thread Alan Cox
Author: alc Date: Thu Jul 15 16:25:51 2010 New Revision: 210124 URL: http://svn.freebsd.org/changeset/base/210124 Log: Optimize pmap_remove()'s handling of PG_G mappings. Specifically, instead of calling pmap_invalidate_page() for each PG_G mapping, call pmap_invalidate_range() for each

svn commit: r210125 - head/release/picobsd/qemu

2010-07-15 Thread Luigi Rizzo
Author: luigi Date: Thu Jul 15 16:32:59 2010 New Revision: 210125 URL: http://svn.freebsd.org/changeset/base/210125 Log: add some modern stuff: SMP, SCHED_ULE, PREEMPTION and support for VIMAGE Modified: head/release/picobsd/qemu/PICOBSD head/release/picobsd/qemu/crunch.conf Modified:

svn commit: r210126 - head/sys/mips/rmi

2010-07-15 Thread Jayachandran C.
Author: jchandra Date: Thu Jul 15 16:39:17 2010 New Revision: 210126 URL: http://svn.freebsd.org/changeset/base/210126 Log: Fix for 64 bit compilation. RMI bootloader passes argv[] and envp[] as an array of 32 bit pointers. Convert the pointers to correct pointer type before use.

svn commit: r210127 - in vendor/llvm/dist: . docs include/llvm include/llvm/ADT include/llvm/CodeGen include/llvm/MC/MCParser include/llvm/Support include/llvm/Target lib/Analysis lib/AsmParser lib...

2010-07-15 Thread Roman Divacky
Author: rdivacky Date: Thu Jul 15 17:06:11 2010 New Revision: 210127 URL: http://svn.freebsd.org/changeset/base/210127 Log: Update LLVM to r108428. Added: vendor/llvm/dist/test/CodeGen/ARM/sub.ll vendor/llvm/dist/test/CodeGen/Thumb2/thumb2-sub3.ll

svn commit: r210128 - in vendor/clang/dist: include/clang/AST include/clang/Basic include/clang/Driver include/clang/Frontend include/clang/Rewrite lib/AST lib/Basic lib/Checker lib/CodeGen lib/Dri...

2010-07-15 Thread Roman Divacky
Author: rdivacky Date: Thu Jul 15 17:07:12 2010 New Revision: 210128 URL: http://svn.freebsd.org/changeset/base/210128 Log: Update clang to r108428. Added: vendor/clang/dist/include/clang/Frontend/PCHDeserializationListener.h vendor/clang/dist/runtime/ vendor/clang/dist/runtime/Makefile

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

2010-07-15 Thread Jung-uk Kim
Author: jkim Date: Thu Jul 15 17:11:49 2010 New Revision: 210129 URL: http://svn.freebsd.org/changeset/base/210129 Log: - AcpiOsReadMemory() needs similar fixes as r209965. [1] According to ACPICA User Guide and Programmer Reference, the read data must be zero extended to fill the 32-bit

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

2010-07-15 Thread Alexander Motin
Author: mav Date: Thu Jul 15 17:49:35 2010 New Revision: 210131 URL: http://svn.freebsd.org/changeset/base/210131 Log: Move functions declaration to MI code, following implementation. Modified: head/sys/amd64/include/clock.h head/sys/i386/include/clock.h head/sys/sys/systm.h Modified:

svn commit: r210132 - head/sys/compat/svr4

2010-07-15 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jul 15 18:44:58 2010 New Revision: 210132 URL: http://svn.freebsd.org/changeset/base/210132 Log: Make svr4(4) version of poll(2) use the same limit of file descriptors as the usual poll(2) does, instead of checking resource limits. Modified:

svn commit: r210133 - head/lib/libjail

2010-07-15 Thread Jamie Gritton
Author: jamie Date: Thu Jul 15 19:21:07 2010 New Revision: 210133 URL: http://svn.freebsd.org/changeset/base/210133 Log: Don't import parameter values in jail_getv, except for the search key. Remove the internal jailparam_vlist, in favor of using variants of its logic separately in

svn commit: r210134 - head/lib/libjail

2010-07-15 Thread Jamie Gritton
Author: jamie Date: Thu Jul 15 19:21:33 2010 New Revision: 210134 URL: http://svn.freebsd.org/changeset/base/210134 Log: Don't copy and return a potentially unset buffer when jail_get fails. Modified: head/lib/libjail/jail_getid.c Modified: head/lib/libjail/jail_getid.c

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

2010-07-15 Thread John Baldwin
Author: jhb Date: Thu Jul 15 19:21:48 2010 New Revision: 210135 URL: http://svn.freebsd.org/changeset/base/210135 Log: Merge 208603, 209946, and 209948 to the new NFS client: Move attribute cache flushes from VOP_OPEN() to VOP_LOOKUP() to provide more graceful recovery for stale filehandles

svn commit: r210136 - in head/sys: fs/nfsclient nfsclient

2010-07-15 Thread John Baldwin
Author: jhb Date: Thu Jul 15 19:40:48 2010 New Revision: 210136 URL: http://svn.freebsd.org/changeset/base/210136 Log: Retire the NFS access cache timestamp structure. It was used in VOP_OPEN() to avoid sending multiple ACCESS/GETATTR RPCs during a single open() between VOP_LOOKUP() and

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

2010-07-15 Thread Jung-uk Kim
Author: jkim Date: Thu Jul 15 19:52:54 2010 New Revision: 210137 URL: http://svn.freebsd.org/changeset/base/210137 Log: - AcpiOsReadPciConfiguration() needs similar fixes as r209965 and r210129. According to ACPICA User Guide and Programmer Reference, the read data must be zero extended to

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

2010-07-15 Thread John Baldwin
Author: jhb Date: Thu Jul 15 20:24:37 2010 New Revision: 210138 URL: http://svn.freebsd.org/changeset/base/210138 Log: Retire td_syscalls now that it is no longer needed. Modified: head/sys/kern/kern_thread.c head/sys/kern/subr_trap.c head/sys/sys/proc.h Modified:

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

2010-07-15 Thread Warner Losh
Author: imp Date: Thu Jul 15 21:56:45 2010 New Revision: 210142 URL: http://svn.freebsd.org/changeset/base/210142 Log: Better description of this file Modified: head/sys/mips/include/asmacros.h Modified: head/sys/mips/include/asmacros.h

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

2010-07-15 Thread Warner Losh
Author: imp Date: Thu Jul 15 22:28:19 2010 New Revision: 210144 URL: http://svn.freebsd.org/changeset/base/210144 Log: Put warnings out to stderr rather than stdout. MFC after:3 days Modified: head/usr.sbin/config/config.y head/usr.sbin/config/mkmakefile.c

svn commit: r210145 - stable/8/usr.sbin/config

2010-07-15 Thread Warner Losh
Author: imp Date: Thu Jul 15 22:34:30 2010 New Revision: 210145 URL: http://svn.freebsd.org/changeset/base/210145 Log: MFC: r209135 r209135 | imp | 2010-06-13 10:54:11 -0600 (Sun, 13 Jun 2010) | 9 lines style(9) fixes: o make cmd scoped to the whole do_rules function, since it

svn commit: r210146 - stable/8/usr.sbin/config

2010-07-15 Thread Warner Losh
Author: imp Date: Thu Jul 15 22:35:50 2010 New Revision: 210146 URL: http://svn.freebsd.org/changeset/base/210146 Log: MFC: r209969 r209969 | nwhitehorn | 2010-07-12 22:08:08 -0600 (Mon, 12 Jul 2010) | 13 lines Enhance config to handle MACHINEs with multiple architectures: -

svn commit: r210147 - stable/8/usr.sbin/config

2010-07-15 Thread Warner Losh
Author: imp Date: Thu Jul 15 22:52:36 2010 New Revision: 210147 URL: http://svn.freebsd.org/changeset/base/210147 Log: MFC r201227: record the fact Modified: Directory Properties: stable/8/usr.sbin/config/ (props changed) ___

svn commit: r210148 - stable/7/usr.sbin/config

2010-07-15 Thread Warner Losh
Author: imp Date: Thu Jul 15 23:07:02 2010 New Revision: 210148 URL: http://svn.freebsd.org/changeset/base/210148 Log: MFC: r188277, r188280, r201227, r205880, r206664, r206915, r207260, r207263, r207265, r209135, r209969 (I'm not repeating all that here, see the logs for all the

svn commit: r210149 - head/sys/isa

2010-07-15 Thread Jung-uk Kim
Author: jkim Date: Thu Jul 15 23:11:51 2010 New Revision: 210149 URL: http://svn.freebsd.org/changeset/base/210149 Log: When we are not switching VTs, just mark all buffer to be updated. Modified: head/sys/isa/syscons_isa.c Modified: head/sys/isa/syscons_isa.c

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

2010-07-15 Thread Jung-uk Kim
Author: jkim Date: Thu Jul 15 23:24:06 2010 New Revision: 210150 URL: http://svn.freebsd.org/changeset/base/210150 Log: If there is any pending sleep request, disallow entering S5 state. Otherwise, bad things may happen. ;-) Modified: head/sys/dev/acpica/acpi.c Modified:

svn commit: r210151 - head/sys/conf

2010-07-15 Thread Warner Losh
Author: imp Date: Thu Jul 15 23:32:53 2010 New Revision: 210151 URL: http://svn.freebsd.org/changeset/base/210151 Log: Simple compatibility hacks for building on older systems where MACHINE_CPUARCH isn't defined. I believe that this will cover all options. I didn't define it in

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

2010-07-15 Thread Pyun YongHyeon
Author: yongari Date: Thu Jul 15 23:34:58 2010 New Revision: 210152 URL: http://svn.freebsd.org/changeset/base/210152 Log: Use Miscellaneous Configuration Register bit definition instead of magic number. Modified: head/sys/dev/bge/if_bge.c head/sys/dev/bge/if_bgereg.h Modified:

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

2010-07-15 Thread Rick Macklem
Author: rmacklem Date: Fri Jul 16 01:44:49 2010 New Revision: 210154 URL: http://svn.freebsd.org/changeset/base/210154 Log: Delete comments related to soft clock interrupts that don't apply to the FreeBSD port of the experimental NFSv4 server. Submitted by: zack.kirsch at isilon.com

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

2010-07-15 Thread Jung-uk Kim
Author: jkim Date: Fri Jul 16 03:59:50 2010 New Revision: 210155 URL: http://svn.freebsd.org/changeset/base/210155 Log: Use pmap_mapdev()/pmap_unmapdev() to map device memory instead of using AcpiOsMapMemory()/AcpiOsUnmapMemory() (- pmap_mapbios()/pmap_unmapbios()) for AcpiOsReadMemory()

svn commit: r210156 - head/sys/dev/flash

2010-07-15 Thread Adrian Chadd
Author: adrian Date: Fri Jul 16 04:26:37 2010 New Revision: 210156 URL: http://svn.freebsd.org/changeset/base/210156 Log: Fix KASSERT() messages to reflect reality. Modified: head/sys/dev/flash/mx25l.c (contents, props changed) Modified: head/sys/dev/flash/mx25l.c

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

2010-07-15 Thread Jung-uk Kim
Author: jkim Date: Fri Jul 16 04:27:38 2010 New Revision: 210157 URL: http://svn.freebsd.org/changeset/base/210157 Log: Simplify AcpiOsReadPort() and AcpiOsWritePort() with iodev_read_*() and iodev_write_*(). This removes unnecessary uses of temporary macros as well. There is no functional