svn commit: r294204 - head/sys/fs/devfs

2016-01-17 Thread Konstantin Belousov
Author: kib Date: Sun Jan 17 08:34:35 2016 New Revision: 294204 URL: https://svnweb.freebsd.org/changeset/base/294204 Log: Assert that the linkage between struct cdev_privdata and and struct file is consistent. Tested by:pho Sponsored by: The FreeBSD Foundation MFC after:2 wee

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

2016-01-17 Thread Konstantin Belousov
Author: kib Date: Sun Jan 17 08:40:51 2016 New Revision: 294205 URL: https://svnweb.freebsd.org/changeset/base/294205 Log: When cleaning up from failed adv locking and checking for write, do not call VOP_CLOSE() manually. Instead, delegate the close to fo_close() performed as part of the fd

svn commit: r294227 - in head/lib: libc libc/gen libc/riscv libc/riscv/gen libc/riscv/sys libc/xdr libstand

2016-01-17 Thread Ruslan Bukin
Author: br Date: Sun Jan 17 15:21:23 2016 New Revision: 294227 URL: https://svnweb.freebsd.org/changeset/base/294227 Log: Bring in initial libc and libstand support for RISC-V. Reviewed by: andrew, emaste, kib Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Differential Revision:

svn commit: r294233 - head/sys/compat/linux

2016-01-17 Thread Dmitry Chagin
Author: dchagin Date: Sun Jan 17 19:28:13 2016 New Revision: 294233 URL: https://svnweb.freebsd.org/changeset/base/294233 Log: Prevent double free of control in common sendmsg path as sosend already freeing it. Modified: head/sys/compat/linux/linux_socket.c Modified: head/sys/compat/linux/

svn commit: r294234 - head/lib/libc/sys

2016-01-17 Thread Jilles Tjoelker
Author: jilles Date: Sun Jan 17 21:14:27 2016 New Revision: 294234 URL: https://svnweb.freebsd.org/changeset/base/294234 Log: utimensat(2): Correct description of [EINVAL] error. MFC after:4 days Modified: head/lib/libc/sys/utimensat.2 Modified: head/lib/libc/sys/utimensat.2 ===

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

2016-01-17 Thread Ian Lepore
Author: ian Date: Sun Jan 17 21:19:45 2016 New Revision: 294235 URL: https://svnweb.freebsd.org/changeset/base/294235 Log: Make PPS ASSERT/CLEAR events match the RS-232 signal levels as per RFC 2783. Previously the polarity was for TTL levels, which are the reverse of RS-232. Also add han

svn commit: r294237 - head/sys/arm/freescale/imx

2016-01-17 Thread Justin Hibbits
Author: jhibbits Date: Sun Jan 17 23:03:21 2016 New Revision: 294237 URL: https://svnweb.freebsd.org/changeset/base/294237 Log: Quick exit after setting the clock control register. Discussed with: ian Modified: head/sys/arm/freescale/imx/imx_sdhci.c Modified: head/sys/arm/freescal

Re: svn commit: r294227 - in head/lib: libc libc/gen libc/riscv libc/riscv/gen libc/riscv/sys libc/xdr libstand

2016-01-17 Thread Bjoern A. Zeeb
> On 17 Jan 2016, at 15:21 , Ruslan Bukin wrote: > > Author: br > Date: Sun Jan 17 15:21:23 2016 > New Revision: 294227 > URL: https://svnweb.freebsd.org/changeset/base/294227 > > Log: > Bring in initial libc and libstand support for RISC-V. > > Reviewed by: andrew, emaste, kib > Sponsored

svn commit: r294238 - head/sys/arm/arm

2016-01-17 Thread Andrew Turner
Author: andrew Date: Mon Jan 18 00:07:04 2016 New Revision: 294238 URL: https://svnweb.freebsd.org/changeset/base/294238 Log: Add extra checks to make sure the size is valid. We may get an integer underflow when we have small blocks of memory at the start and end of the 32-bit address range.

svn commit: r294248 - head/sys/dev/iwm

2016-01-17 Thread Adrian Chadd
Author: adrian Date: Mon Jan 18 05:43:34 2016 New Revision: 294248 URL: https://svnweb.freebsd.org/changeset/base/294248 Log: [iwm] fix up the rate control setup code to initialise rates in the order we want to use it. The rate table was being initialised in low->high, but the link qualit

svn commit: r294249 - head/sys/dev/sfxge/common

2016-01-17 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 18 06:13:09 2016 New Revision: 294249 URL: https://svnweb.freebsd.org/changeset/base/294249 Log: sfxge: convert nvram write method to use partition id Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Di

svn commit: r294250 - head/sys/dev/sfxge/common

2016-01-17 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 18 06:14:43 2016 New Revision: 294250 URL: https://svnweb.freebsd.org/changeset/base/294250 Log: sfxge: convert nvram rw_finish method to use partition id Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. MFC after: 2 days

svn commit: r294251 - head/sys/dev/sfxge/common

2016-01-17 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 18 06:16:51 2016 New Revision: 294251 URL: https://svnweb.freebsd.org/changeset/base/294251 Log: sfxge: convert nvram get_version method to use partition id Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. MFC after: 2 day

svn commit: r294252 - head/sys/dev/sfxge/common

2016-01-17 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 18 06:18:01 2016 New Revision: 294252 URL: https://svnweb.freebsd.org/changeset/base/294252 Log: sfxge: convert nvram set_version method to use partition id Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. MFC after: 2 day

svn commit: r294253 - head/sys/dev/sfxge/common

2016-01-17 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 18 06:19:28 2016 New Revision: 294253 URL: https://svnweb.freebsd.org/changeset/base/294253 Log: sfxge: if supported by firmware, use enhanced SET_MAC command to only configure the MTU This allows an MTU change to be requested on unpriviliged functions with

svn commit: r294254 - head/sys/dev/sfxge/common

2016-01-17 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 18 06:33:15 2016 New Revision: 294254 URL: https://svnweb.freebsd.org/changeset/base/294254 Log: sfxge: support RFID-selectable segments of dynamic configuration tlv_partition_header has field *preset* to support RFID-selectable segments of dynamic configura

svn commit: r294255 - head/sys/dev/sfxge/common

2016-01-17 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 18 06:38:21 2016 New Revision: 294255 URL: https://svnweb.freebsd.org/changeset/base/294255 Log: sfxge: highlight that descriptor cache sizes are configured using TLV now Submitted by: Tom Millington Sponsored by: Solarflare Communications, Inc. MFC a

svn commit: r294256 - head/sys/dev/sfxge/common

2016-01-17 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 18 06:39:06 2016 New Revision: 294256 URL: https://svnweb.freebsd.org/changeset/base/294256 Log: sfxge: cleanup: remove extra empty lines Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Modified: head/sys/dev/sfxge/common/ef10_tlv_l

svn commit: r294257 - head/sys/dev/sfxge/common

2016-01-17 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 18 06:45:45 2016 New Revision: 294257 URL: https://svnweb.freebsd.org/changeset/base/294257 Log: sfxge: regenerate siena_flash.h from FW sources Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Modified: head/sys/dev/sfxge/common/sie

Re: svn commit: r294227 - in head/lib: libc libc/gen libc/riscv libc/riscv/gen libc/riscv/sys libc/xdr libstand

2016-01-17 Thread Adrian Chadd
Changing that && to || at line 105 doesn't fix it entirely: /home/adrian/work/freebsd/head-embedded/src/../obj/mips_ap//mips.mips/usr/home/adrian/work/freebsd/head-embedded/src/tmp/usr/lib/libgcc_s.so: undefined reference to `__gesf2' /home/adrian/work/freebsd/head-embedded/src/../obj/mips_ap//mip

svn commit: r294258 - head/sys/dev/sfxge/common

2016-01-17 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 18 06:54:15 2016 New Revision: 294258 URL: https://svnweb.freebsd.org/changeset/base/294258 Log: sfxge: fix unused function warning Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Modified: head/sys/dev/sfxge/common/hunt_nvram.c Mo

svn commit: r294259 - head/sys/dev/sfxge/common

2016-01-17 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 18 06:59:00 2016 New Revision: 294259 URL: https://svnweb.freebsd.org/changeset/base/294259 Log: sfxge: regenerate EF10 registers definition for Medford Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Modified: head/sys/dev/sfxge/co