svn commit: r255090 - in head/sys: dev/usb netgraph/bluetooth/drivers/ubt

2013-08-30 Thread Hans Petter Selasky
Author: hselasky Date: Sat Aug 31 06:47:53 2013 New Revision: 255090 URL: http://svnweb.freebsd.org/changeset/base/255090 Log: Sync USB bluetooth product list with Linux. MFC after:1 week Modified: head/sys/dev/usb/usbdevs head/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c Modified:

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

2013-08-30 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Aug 31 01:30:01 2013 New Revision: 255089 URL: http://svnweb.freebsd.org/changeset/base/255089 Log: - Set proper KERNLOADADDR - Add bpf(4) required by dhclient Modified: head/sys/mips/conf/MALTA64 Modified: head/sys/mips/conf/MALTA64

svn commit: r255088 - head/sys/mips/malta

2013-08-30 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Aug 31 01:24:05 2013 New Revision: 255088 URL: http://svnweb.freebsd.org/changeset/base/255088 Log: YAMON is 32-bit application and uses 32-bit pointers to pass kernel arguments and environment names/values. Cast values to proper pointer type to make MALTA kernel

Re: svn commit: r254585 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2013-08-30 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi, Davide, On 08/28/13 03:19, Davide Italiano wrote: > On Wed, Aug 28, 2013 at 3:02 AM, Xin Li > wrote: On 08/27/13 01:59, Davide Italiano wrote: I've written a patch that attempts to fix the second problem. http://people.freebsd.o

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

2013-08-30 Thread Hiren Panchasara
Author: hiren Date: Fri Aug 30 20:46:01 2013 New Revision: 255086 URL: http://svnweb.freebsd.org/changeset/base/255086 Log: Add device PicoStation M2HP support. This is a nice small outdoor/indoor AP from Ubiquity Networks. The device has: AR7241 CPU SoC AR9287 Wifi 8MB flash 32MB

svn commit: r255087 - head/bin/sh

2013-08-30 Thread Jilles Tjoelker
Author: jilles Date: Fri Aug 30 20:50:28 2013 New Revision: 255087 URL: http://svnweb.freebsd.org/changeset/base/255087 Log: sh: Simplify list() in the parser. The erflag argument was only used by old-style (``) command substitutions. We can remove it and handle the special case in the co

Re: svn commit: r254882 - head/sys/dev/pci

2013-08-30 Thread John Baldwin
On Friday, August 30, 2013 10:51:08 am Jean-Sébastien Pédron wrote: > On 29.08.2013 16:07, John Baldwin wrote: > > Here is an untested cut at this, it only changes these functions and doesn't > > fix the callers to work with the returned struct resource, etc.: > > I attached an updated patch inclu

svn commit: r255085 - head/bin/sh

2013-08-30 Thread Jilles Tjoelker
Author: jilles Date: Fri Aug 30 20:37:52 2013 New Revision: 255085 URL: http://svnweb.freebsd.org/changeset/base/255085 Log: sh: Separate out nbinary allocation into a function. Modified: head/bin/sh/parser.c Modified: head/bin/sh/parser.c

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

2013-08-30 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Aug 30 20:30:33 2013 New Revision: 255084 URL: http://svnweb.freebsd.org/changeset/base/255084 Log: Add bpf(4) to config file to get dhclient working Modified: head/sys/mips/conf/MALTA Modified: head/sys/mips/conf/MALTA

svn commit: r255083 - head/sys/mips/malta

2013-08-30 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Aug 30 20:28:35 2013 New Revision: 255083 URL: http://svnweb.freebsd.org/changeset/base/255083 Log: Add PCI bus space implementation that converts all 2 and 4 bytes values to/from little endian according to PCI spec. Added: head/sys/mips/malta/gt_pci_bus_space.c

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

2013-08-30 Thread Joel Dahl
Author: joel (doc committer) Date: Fri Aug 30 20:20:06 2013 New Revision: 255082 URL: http://svnweb.freebsd.org/changeset/base/255082 Log: mdoc: add missing El. Modified: head/share/man/man4/vmx.4 Modified: head/share/man/man4/vmx.4 ===

svn commit: r255078 - head/sys/sys

2013-08-30 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Aug 30 19:42:25 2013 New Revision: 255078 URL: http://svnweb.freebsd.org/changeset/base/255078 Log: Style cleanups. Modified: head/sys/sys/sysctl.h Modified: head/sys/sys/sysctl.h == --- head/sy

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

2013-08-30 Thread Konstantin Belousov
Author: kib Date: Fri Aug 30 20:10:01 2013 New Revision: 255079 URL: http://svnweb.freebsd.org/changeset/base/255079 Log: The pm_save should be cleared on the pmap initialization, and not on the activation. Noted by: alc Modified: head/sys/amd64/amd64/pmap.c Modified: head/sys/amd

svn commit: r255081 - head/bin/sh

2013-08-30 Thread Jilles Tjoelker
Author: jilles Date: Fri Aug 30 20:13:33 2013 New Revision: 255081 URL: http://svnweb.freebsd.org/changeset/base/255081 Log: sh: Use makename() where possible. Modified: head/bin/sh/parser.c Modified: head/bin/sh/parser.c ==

svn commit: r255080 - head/sys/dev/md

2013-08-30 Thread Konstantin Belousov
Author: kib Date: Fri Aug 30 20:12:23 2013 New Revision: 255080 URL: http://svnweb.freebsd.org/changeset/base/255080 Log: Give the page allocations initiated by the swap-backed md(4) a higher priority. If the write is requested by a system daemon, sleeping there would starve resources and c

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

2013-08-30 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Fri Aug 30 19:21:12 2013 New Revision: 255077 URL: http://svnweb.freebsd.org/changeset/base/255077 Log: acpi_thermal: Warn about insane _TMP temperature only once A warning is emitted again if the temperature became briefly valid meanwhile. This avoids spamming the

svn commit: r255076 - head/contrib/llvm/lib/Transforms/InstCombine

2013-08-30 Thread Dimitry Andric
Author: dim Date: Fri Aug 30 18:29:25 2013 New Revision: 255076 URL: http://svnweb.freebsd.org/changeset/base/255076 Log: Pull in r189672 from upstream llvm trunk: InstCombine: Check for zero shift amounts before subtracting one causing integer overflow. PR17026. Also avoid und

Re: svn commit: r252841 - in head/sys: dev/mem kern sys

2013-08-30 Thread Jamie Gritton
On 08/30/13 11:13, Jase Thew wrote: > On 05/07/2013 22:31, Jamie Gritton wrote: >> Author: jamie >> Date: Fri Jul 5 21:31:16 2013 >> New Revision: 252841 >> URL: http://svnweb.freebsd.org/changeset/base/252841 >> >> Log: >>Add new privileges, PRIV_KMEM_READ and PRIV_KMEM_WRITE, used in >> open

Re: svn commit: r252841 - in head/sys: dev/mem kern sys

2013-08-30 Thread Jase Thew
On 05/07/2013 22:31, Jamie Gritton wrote: Author: jamie Date: Fri Jul 5 21:31:16 2013 New Revision: 252841 URL: http://svnweb.freebsd.org/changeset/base/252841 Log: Add new privileges, PRIV_KMEM_READ and PRIV_KMEM_WRITE, used in opening /dev/kmem and /dev/mem (in addition to traditional f

svn commit: r255074 - head/sys/dev/uart

2013-08-30 Thread Marcel Moolenaar
Author: marcel Date: Fri Aug 30 15:26:45 2013 New Revision: 255074 URL: http://svnweb.freebsd.org/changeset/base/255074 Log: A final test with unmodified code has shown that a delay of 150ms is not giving us a 100% success rate. Bump the delay to 200ms as that seems to do the trick. Not

RE: svn commit: r255067 - head/sys/kern

2013-08-30 Thread Hans Petter Selasky
Hi Ian, Just do a: grep -r DELAY sys Mostly when kernel is in panic mode and at the end of shutdown. --HPS -Original message- > From:Ian Lepore mailto:i...@freebsd.org> > > Sent: Friday 30th August 2013 16:53 > To: Andriy Gapon mailto:a...@freebsd.org> > > Cc: Hans Petter Selasky

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

2013-08-30 Thread Ian Lepore
On Fri, 2013-08-30 at 16:55 +0300, Andriy Gapon wrote: > on 30/08/2013 16:49 Hans Petter Selasky said the following: > > On 08/30/13 15:37, Andriy Gapon wrote: > >> on 30/08/2013 13:39 Hans Petter Selasky said the following: > >>> Author: hselasky > >>> Date: Fri Aug 30 10:39:56 2013 > >>> New Revi

Re: svn commit: r254882 - head/sys/dev/pci

2013-08-30 Thread Jean-Sébastien Pédron
On 29.08.2013 16:07, John Baldwin wrote: > Here is an untested cut at this, it only changes these functions and doesn't > fix the callers to work with the returned struct resource, etc.: I attached an updated patch including changes to pcivar.h and radeon. However, BUS_ALLOC_RESOURCE() returns NUL

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

2013-08-30 Thread Andriy Gapon
on 30/08/2013 16:49 Hans Petter Selasky said the following: > On 08/30/13 15:37, Andriy Gapon wrote: >> on 30/08/2013 13:39 Hans Petter Selasky said the following: >>> Author: hselasky >>> Date: Fri Aug 30 10:39:56 2013 >>> New Revision: 255067 >>> URL: http://svnweb.freebsd.org/changeset/base/2550

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

2013-08-30 Thread Hans Petter Selasky
On 08/30/13 15:37, Andriy Gapon wrote: on 30/08/2013 13:39 Hans Petter Selasky said the following: Author: hselasky Date: Fri Aug 30 10:39:56 2013 New Revision: 255067 URL: http://svnweb.freebsd.org/changeset/base/255067 Log: Simplify pause_sbt() logic. Don't call DELAY() if remainder is les

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

2013-08-30 Thread Andriy Gapon
on 30/08/2013 13:39 Hans Petter Selasky said the following: > Author: hselasky > Date: Fri Aug 30 10:39:56 2013 > New Revision: 255067 > URL: http://svnweb.freebsd.org/changeset/base/255067 > > Log: > Simplify pause_sbt() logic. Don't call DELAY() if remainder is less > than or equal to zero.

svn commit: r255073 - head/bin/sh

2013-08-30 Thread Jilles Tjoelker
Author: jilles Date: Fri Aug 30 13:25:15 2013 New Revision: 255073 URL: http://svnweb.freebsd.org/changeset/base/255073 Log: sh: Add a function for the case where one token is required in the parse. Modified: head/bin/sh/parser.c Modified: head/bin/sh/parser.c ===

svn commit: r255072 - in head: bin/sh tools/regression/bin/sh/builtins

2013-08-30 Thread Jilles Tjoelker
Author: jilles Date: Fri Aug 30 12:09:59 2013 New Revision: 255072 URL: http://svnweb.freebsd.org/changeset/base/255072 Log: sh: Recognize "--" as end of options in type builtin. This implementation makes minimal changes: command names starting with "-" (other than "--") can still be quer

svn commit: r255069 - head/lib/libutil

2013-08-30 Thread Sergey Kandaurov
Author: pluknet Date: Fri Aug 30 11:21:52 2013 New Revision: 255069 URL: http://svnweb.freebsd.org/changeset/base/255069 Log: The round of expand_number() cleanups. o Fix range error checking to detect overflow when uint64_t < uintmax_t. o Remove a non-functional check for no valid digits as

svn commit: r255068 - head/bin/sh

2013-08-30 Thread Jilles Tjoelker
Author: jilles Date: Fri Aug 30 10:45:02 2013 New Revision: 255068 URL: http://svnweb.freebsd.org/changeset/base/255068 Log: sh: Cast -1 to pointer rather than pointer to variable of wrong type. NEOF needs to be a non-null pointer distinct from valid union node pointers. It is not derefer

svn commit: r255067 - head/sys/kern

2013-08-30 Thread Hans Petter Selasky
Author: hselasky Date: Fri Aug 30 10:39:56 2013 New Revision: 255067 URL: http://svnweb.freebsd.org/changeset/base/255067 Log: Simplify pause_sbt() logic. Don't call DELAY() if remainder is less than or equal to zero. Modified: head/sys/kern/kern_synch.c Modified: head/sys/kern/kern_synch.

svn commit: r255064 - head/sbin/etherswitchcfg

2013-08-30 Thread Sergey Kandaurov
Author: pluknet Date: Fri Aug 30 10:01:19 2013 New Revision: 255064 URL: http://svnweb.freebsd.org/changeset/base/255064 Log: Typo in strtol(3). Noticed by: bde Modified: head/sbin/etherswitchcfg/etherswitchcfg.8 Modified: head/sbin/etherswitchcfg/etherswitchcfg.8

svn commit: r255060 - in head/sys/amd64: amd64 include

2013-08-30 Thread Konstantin Belousov
Author: kib Date: Fri Aug 30 07:59:49 2013 New Revision: 255060 URL: http://svnweb.freebsd.org/changeset/base/255060 Log: Implement support for the process-context identifiers ('PCID') on Intel CPUs. The feature tags TLB entries with the Id of the address space and allows to avoid TLB inval

svn commit: r255059 - head/sys/sys

2013-08-30 Thread Konstantin Belousov
Author: kib Date: Fri Aug 30 07:43:34 2013 New Revision: 255059 URL: http://svnweb.freebsd.org/changeset/base/255059 Log: Add BIT_AND_ATOMIC() and CPU_AND_ATOMIC(). Sponsored by: The FreeBSD Foundation Reviewed by: alc Tested by:pho, bf Modified: head/sys/sys/bitset.h head/sys

svn commit: r255058 - head/sys/amd64/include

2013-08-30 Thread Konstantin Belousov
Author: kib Date: Fri Aug 30 07:42:38 2013 New Revision: 255058 URL: http://svnweb.freebsd.org/changeset/base/255058 Log: Provide a wrapper for the INVPCID instruction, definition of the descriptor and symbolic names for the operation types. Sponsored by: The FreeBSD Foundation Reviewed

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

2013-08-30 Thread Konstantin Belousov
Author: kib Date: Fri Aug 30 07:37:45 2013 New Revision: 255057 URL: http://svnweb.freebsd.org/changeset/base/255057 Log: Move the definition of the struct unrhdr into a separate header file, to allow embedding the struct. Add init_unrhdr(9) initializer, which sets up preallocated unrhdr.