svn commit: r238164 - head/sys/dev/atkbdc

2012-07-06 Thread John Baldwin
Author: jhb Date: Fri Jul 6 12:13:28 2012 New Revision: 238164 URL: http://svn.freebsd.org/changeset/base/238164 Log: Add another PS/2 keyboard PNP ID. This ID is listed as "Reserved by Microsoft" in the standard PNP ID table, but has been seen in the wild on at least one laptop. PR:

svn commit: r238165 - head/tools/tools/netmap

2012-07-06 Thread Ed Maste
Author: emaste Date: Fri Jul 6 13:21:23 2012 New Revision: 238165 URL: http://svn.freebsd.org/changeset/base/238165 Log: Allow threads to finish up when terminated by user Set a flag and allow worker threads to finish upon ^C, instead of immediately cancelling them, so that final packet

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

2012-07-06 Thread John Baldwin
Author: jhb Date: Fri Jul 6 14:25:59 2012 New Revision: 238166 URL: http://svn.freebsd.org/changeset/base/238166 Log: Several fixes to the amd64 disassembler: - Add generic support for opcodes that are escape bytes used for multi-byte opcodes (such as the 0x0f prefix). Use this to replac

svn commit: r238167 - in head/contrib/binutils: gas/config opcodes

2012-07-06 Thread John Baldwin
Author: jhb Date: Fri Jul 6 14:28:18 2012 New Revision: 238167 URL: http://svn.freebsd.org/changeset/base/238167 Log: Add support for the 'invept' and 'invvpid' instructions. Beyond simply adding appropriate table entries, the assembler had to be adjusted as these are the first non-SSE ins

svn commit: r238168 - in head/sys/cddl/dev/dtrace: amd64 i386

2012-07-06 Thread Andriy Gapon
Author: avg Date: Fri Jul 6 14:41:02 2012 New Revision: 238168 URL: http://svn.freebsd.org/changeset/base/238168 Log: r237748 continuation: segment-override prefixes are not invalid in long mode Update DTrace disassembler accordingly. The code to treat the prefixes as null prefixes was

svn commit: r238169 - in head/sys/cddl/dev/dtrace: amd64 i386

2012-07-06 Thread Andriy Gapon
Author: avg Date: Fri Jul 6 14:45:30 2012 New Revision: 238169 URL: http://svn.freebsd.org/changeset/base/238169 Log: r237748 continuation: fix nopw (0f 1f) behavior with respect to modifiers To do: proper merge with Illumos vendor area. Reported by: emaste Tested by:emaste O

Re: svn commit: r238167 - in head/contrib/binutils: gas/config opcodes

2012-07-06 Thread John Baldwin
On Friday, July 06, 2012 10:28:18 am John Baldwin wrote: > Author: jhb > Date: Fri Jul 6 14:28:18 2012 > New Revision: 238167 > URL: http://svn.freebsd.org/changeset/base/238167 > > Log: > Add support for the 'invept' and 'invvpid' instructions. Beyond simply > adding appropriate table entri

Re: svn commit: r238167 - in head/contrib/binutils: gas/config opcodes

2012-07-06 Thread Peter Grehan
To my knowledge, this allows bhyve to now be built with our in-tree toolchain. It does :) Thanks for doing this work. I'll IFC the bhyve branch and remove the Makefile changes that invoked the binutils port. later, Peter. ___ svn-src-all@freebs

svn commit: r238170 - head/tools/tools/netmap

2012-07-06 Thread Ed Maste
Author: emaste Date: Fri Jul 6 15:36:39 2012 New Revision: 238170 URL: http://svn.freebsd.org/changeset/base/238170 Log: Also report tx bandwidth with Ethernet overhead Modified: head/tools/tools/netmap/pkt-gen.c Modified: head/tools/tools/netmap/pkt-gen.c ==

svn commit: r238171 - head/sys/geom

2012-07-06 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Jul 6 15:46:38 2012 New Revision: 238171 URL: http://svn.freebsd.org/changeset/base/238171 Log: Fix typo in the comment. Modified: head/sys/geom/geom_dev.c Modified: head/sys/geom/geom_dev.c

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

2012-07-06 Thread Marcel Moolenaar
Author: marcel Date: Fri Jul 6 15:57:03 2012 New Revision: 238172 URL: http://svn.freebsd.org/changeset/base/238172 Log: agp.c: Don't use Maxmem when the amount of memory is meant. Use realmem instead. Maxmem is not only a MD variable, it represents the highest physical memory address in

svn commit: r238173 - head/lib/libedit

2012-07-06 Thread Pedro F. Giffuni
Author: pfg Date: Fri Jul 6 16:43:56 2012 New Revision: 238173 URL: http://svn.freebsd.org/changeset/base/238173 Log: Fix issue resizing bin/sh This partially reverts some changes from r237448 that are causing breakage when resizing under bin/sh . Reverted changes from NetBSD are:

svn commit: r238175 - head/tools/tools/netmap

2012-07-06 Thread Ed Maste
Author: emaste Date: Fri Jul 6 17:03:43 2012 New Revision: 238175 URL: http://svn.freebsd.org/changeset/base/238175 Log: Allow continuous packet transmission (via -t 0) Also add a missing check for the cancel flag while waiting for the first packet in receive mode. Modified: head/tool

svn commit: r238177 - stable/9/cddl/contrib/opensolaris/lib/libdtrace/common

2012-07-06 Thread Dimitry Andric
Author: dim Date: Fri Jul 6 17:42:34 2012 New Revision: 238177 URL: http://svn.freebsd.org/changeset/base/238177 Log: MFC r238071: Fix clang warning, introduced in the recent dtrace import. Approved by: re (kib) Modified: stable/9/cddl/contrib/opensolaris/lib/libdtrace/common/dt_c

Re: svn commit: r238172 - head/sys/dev/agp

2012-07-06 Thread Konstantin Belousov
On Fri, Jul 06, 2012 at 03:57:04PM +, Marcel Moolenaar wrote: > Author: marcel > Date: Fri Jul 6 15:57:03 2012 > New Revision: 238172 > URL: http://svn.freebsd.org/changeset/base/238172 > > Log: > agp.c: > Don't use Maxmem when the amount of memory is meant. Use realmem instead. > Maxme

svn commit: r238178 - head/lib/libedit

2012-07-06 Thread Pedro F. Giffuni
Author: pfg Date: Fri Jul 6 19:30:50 2012 New Revision: 238178 URL: http://svn.freebsd.org/changeset/base/238178 Log: Merge a small update from NetBSD. Feb 15 21:55:23 2009 - chared.c chared.h pass lint on _LP64. MFC after:1 week Modified: head/lib/libedit/chared.c head/lib

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

2012-07-06 Thread Konstantin Belousov
Author: kib Date: Fri Jul 6 20:11:58 2012 New Revision: 238179 URL: http://svn.freebsd.org/changeset/base/238179 Log: Use assembler mnemonic instead of manually assembling, contination for r238142. Reviewed by: jhb MFC after:1 month Modified: head/sys/amd64/amd64/cpu_switch.S M

svn commit: r238180 - head/sys/vm

2012-07-06 Thread Konstantin Belousov
Author: kib Date: Fri Jul 6 20:13:16 2012 New Revision: 238180 URL: http://svn.freebsd.org/changeset/base/238180 Log: Style. Reviewed by: alc (previous version) MFC after:1 week Modified: head/sys/vm/vm_pageout.c Modified: head/sys/vm/vm_pageout.c ===

svn commit: r238181 - head/sys/modules/em

2012-07-06 Thread Konstantin Belousov
Author: kib Date: Fri Jul 6 20:14:27 2012 New Revision: 238181 URL: http://svn.freebsd.org/changeset/base/238181 Log: Add a source file needed for module linking. MFC after: 4 days Modified: head/sys/modules/em/Makefile Modified: head/sys/modules/em/Makefile =

svn commit: r238182 - head/lib/libc/locale

2012-07-06 Thread David Chisnall
Author: theraven Date: Fri Jul 6 20:16:22 2012 New Revision: 238182 URL: http://svn.freebsd.org/changeset/base/238182 Log: Restore the __collate_load_error global that was accidentally removed in the xlocale refactoring. MFC after:1 week Modified: head/lib/libc/locale/collate.c

Re: svn commit: r238182 - head/lib/libc/locale

2012-07-06 Thread Konstantin Belousov
On Fri, Jul 06, 2012 at 08:16:22PM +, David Chisnall wrote: > Author: theraven > Date: Fri Jul 6 20:16:22 2012 > New Revision: 238182 > URL: http://svn.freebsd.org/changeset/base/238182 > > Log: > Restore the __collate_load_error global that was accidentally removed in the > xlocale refac

Re: svn commit: r238182 - head/lib/libc/locale

2012-07-06 Thread Konstantin Belousov
On Sat, Jul 07, 2012 at 12:15:29AM +0300, Konstantin Belousov wrote: > On Fri, Jul 06, 2012 at 08:16:22PM +, David Chisnall wrote: > > Author: theraven > > Date: Fri Jul 6 20:16:22 2012 > > New Revision: 238182 > > URL: http://svn.freebsd.org/changeset/base/238182 > > > > Log: > > Restore t

svn commit: r238183 - head/sys/net

2012-07-06 Thread Ed Maste
Author: emaste Date: Fri Jul 6 23:17:30 2012 New Revision: 238183 URL: http://svn.freebsd.org/changeset/base/238183 Log: Implement SIOCGIFMEDIA for if_tap(4) Appease certain if_tap(4) consumers by providing simulated Ethernet media status. DragonFly commit 70d9a675bf5441cc854a843ead

svn commit: r238184 - in head/sys: conf ia64/ia64 ia64/include

2012-07-06 Thread Marcel Moolenaar
Author: marcel Date: Sat Jul 7 00:25:17 2012 New Revision: 238184 URL: http://svn.freebsd.org/changeset/base/238184 Log: Hide the creation of phys_avail behind an API to make it easier to do it correctly. We now iterate the EFI memory descriptors once and collect all the information in a si

Re: svn commit: r238172 - head/sys/dev/agp

2012-07-06 Thread Marcel Moolenaar
On Jul 6, 2012, at 11:12 AM, Konstantin Belousov wrote: >> agp_i810.c: >> While arguably the use of Maxmem can be considered correct, replace its use >> with realmem anyway. agp_i810.c is specific to amd64, i386 & pc98, which >> have a dense physical memory layout. Avoiding Maxmem here is don

svn commit: r238185 - head/usr.bin/mkesdb

2012-07-06 Thread Tim Kientzle
Author: kientzle Date: Sat Jul 7 04:14:28 2012 New Revision: 238185 URL: http://svn.freebsd.org/changeset/base/238185 Log: Unbreak building WITH_ICONV=yes and new yacc. Modified: head/usr.bin/mkesdb/ldef.h Modified: head/usr.bin/mkesdb/ldef.h

svn commit: r238186 - head/sys/boot/arm/at91

2012-07-06 Thread Warner Losh
Author: imp Date: Sat Jul 7 04:49:53 2012 New Revision: 238186 URL: http://svn.freebsd.org/changeset/base/238186 Log: Strip out the useless junk. All we really care about is the text, data and bss sections. All the rest is needed for normal binaries, but boot loaders aren't normal. Modif

svn commit: r238187 - head/sys/boot/arm/at91/libat91

2012-07-06 Thread Warner Losh
Author: imp Date: Sat Jul 7 04:51:59 2012 New Revision: 238187 URL: http://svn.freebsd.org/changeset/base/238187 Log: Allow other SOCs to be compiled in, first step. Modified: head/sys/boot/arm/at91/libat91/Makefile Modified: head/sys/boot/arm/at91/libat91/Makefile =

svn commit: r238188 - head/sys/boot/arm/at91/boot0spi

2012-07-06 Thread Warner Losh
Author: imp Date: Sat Jul 7 04:55:42 2012 New Revision: 238188 URL: http://svn.freebsd.org/changeset/base/238188 Log: Generalize this for loading the loader into the SPI. Plus trim about 100 bytes from the binary with silly tricks. Hope to get this small enough to run on the models that ha

svn commit: r238189 - in head/sys: arm/at91 arm/conf arm/include conf

2012-07-06 Thread Warner Losh
Author: imp Date: Sat Jul 7 05:02:39 2012 New Revision: 238189 URL: http://svn.freebsd.org/changeset/base/238189 Log: Create a generic way to support multiple boards within an arm platform. Add all the atmel boards to the ATMEL kernel for testing purposes. Until boot loader arg parsing of

svn commit: r238190 - in head/sys/ia64: ia64 include

2012-07-06 Thread Marcel Moolenaar
Author: marcel Date: Sat Jul 7 05:17:43 2012 New Revision: 238190 URL: http://svn.freebsd.org/changeset/base/238190 Log: Implement ia64_physmem_alloc() and use it consistently to get memory before VM has been initialized. This includes: 1. Replacing pmap_steal_memory(), 2. Replace the h