svn commit: r298955 - in head/sys/dev: aac aacraid acpi_support acpica advansys aha ahb ahci alpm altera/atse amr an asmc ata ata/chipsets atkbdc bce bhnd bhnd/bhndb bhnd/siba bktr buslogic bwi bxe...

2016-05-02 Thread Pedro F. Giffuni
Author: pfg Date: Tue May 3 03:41:25 2016 New Revision: 298955 URL: https://svnweb.freebsd.org/changeset/base/298955 Log: sys/dev: minor spelling fixes. Most affect comments, very few have user-visible effects. Modified: head/sys/dev/aac/aac_cam.c head/sys/dev/aac/aac_debug.c

svn commit: r298954 - head/sys/dev/bwn

2016-05-02 Thread Adrian Chadd
Author: adrian Date: Tue May 3 03:31:16 2016 New Revision: 298954 URL: https://svnweb.freebsd.org/changeset/base/298954 Log: [bwn] update bwn_dummy_transmission(). This is based on the b43 code. It'll be used by the upcoming 11n phy. Obtained from:Linux b43 (concept)

svn commit: r298953 - head/sys/dev/bwn

2016-05-02 Thread Adrian Chadd
Author: adrian Date: Tue May 3 03:27:11 2016 New Revision: 298953 URL: https://svnweb.freebsd.org/changeset/base/298953 Log: [bwn] add PHY types for later PHYs. Obtained from:Linux b43 Modified: head/sys/dev/bwn/if_bwnreg.h Modified: head/sys/dev/bwn/if_bwnreg.h

svn commit: r298952 - head/sys/dev/bwn

2016-05-02 Thread Adrian Chadd
Author: adrian Date: Tue May 3 03:24:27 2016 New Revision: 298952 URL: https://svnweb.freebsd.org/changeset/base/298952 Log: [bwn] migrate bwn_dummy_transmission() back to main, as it'll be used by other PHYs. The Linux b43 driver uses this in other PHYs besides the g PHY. Modified:

Re: svn commit: r298769 - head/sys/netinet

2016-05-02 Thread Sepherosa Ziehau
On Fri, Apr 29, 2016 at 11:55 PM, hiren panchasara wrote: > On 04/29/16 at 07:23P, Sepherosa Ziehau wrote: >> Author: sephe >> Date: Fri Apr 29 07:23:08 2016 >> New Revision: 298769 >> URL: https://svnweb.freebsd.org/changeset/base/298769 >> >> Log: >> tcp/syncache:

svn commit: r298951 - in head: share/man/man9 sys/amd64/include sys/dev/acpica sys/dev/drm2 sys/dev/drm2/i915 sys/kern sys/sys sys/x86/acpica sys/x86/x86

2016-05-02 Thread John Baldwin
Author: jhb Date: Tue May 3 01:17:40 2016 New Revision: 298951 URL: https://svnweb.freebsd.org/changeset/base/298951 Log: Revert bus_get_cpus() for now. I really thought I had run this through the tinderbox before committing, but many places need -> for now. Deleted:

svn commit: r298950 - head/sys/dev/pci

2016-05-02 Thread John Baldwin
Author: jhb Date: Tue May 3 00:35:11 2016 New Revision: 298950 URL: https://svnweb.freebsd.org/changeset/base/298950 Log: Fix an off by one error when remapping MSI-X vectors. pci_remap_msix() can be used to alter the mapping of allocated MSI-X vectors to the MSI-X table. The code had

svn commit: r298949 - head/sys/boot/i386/zfsboot

2016-05-02 Thread Peter Wemm
Author: peter Date: Tue May 3 00:09:13 2016 New Revision: 298949 URL: https://svnweb.freebsd.org/changeset/base/298949 Log: Change a rounding operation that had missing braces into a roundup2() macro. Adjust the buffer clipping code to work as expected. This prevented a number of

svn commit: r298948 - in head/sys: conf dev/bwn modules/bwn

2016-05-02 Thread Adrian Chadd
Author: adrian Date: Mon May 2 22:58:11 2016 New Revision: 298948 URL: https://svnweb.freebsd.org/changeset/base/298948 Log: [bwn] break out the 'g' phy code into a separate source file. * Break out the 'g' phy code; * Break out the debugging bits into a separate source file, since

svn commit: r298947 - head/sys/dev/bhnd/cores/pci

2016-05-02 Thread Adrian Chadd
Author: adrian Date: Mon May 2 22:30:46 2016 New Revision: 298947 URL: https://svnweb.freebsd.org/changeset/base/298947 Log: [bhnd] fix more module dependencies. Submitted by: Landon Fuller Differential Revision:https://reviews.freebsd.org/D6180 Modified:

svn commit: r298946 - head/usr.sbin/bsdinstall/scripts

2016-05-02 Thread Andriy Voskoboinyk
Author: avos Date: Mon May 2 21:40:34 2016 New Revision: 298946 URL: https://svnweb.freebsd.org/changeset/base/298946 Log: bsdinstall: fix static address assignment for protected wireless networks. Filter out IFCONFIG_PREFIX variable (which may contain WPA keyword) from ifconfig

Re: svn commit: r298945 - head/sys/netinet

2016-05-02 Thread Pedro Giffuni
On 02/05/2016 16:23, Michael Tuexen wrote: Author: tuexen Date: Mon May 2 21:23:05 2016 New Revision: 298945 URL: https://svnweb.freebsd.org/changeset/base/298945 Log: Undo a spell fix introduced in r298942, which breaks compilation. Modified: head/sys/netinet/sctp_indata.c Modified:

svn commit: r298945 - head/sys/netinet

2016-05-02 Thread Michael Tuexen
Author: tuexen Date: Mon May 2 21:23:05 2016 New Revision: 298945 URL: https://svnweb.freebsd.org/changeset/base/298945 Log: Undo a spell fix introduced in r298942, which breaks compilation. Modified: head/sys/netinet/sctp_indata.c Modified: head/sys/netinet/sctp_indata.c

svn commit: r298944 - in head/sys: conf dev/bwn modules/bwn

2016-05-02 Thread Adrian Chadd
Author: adrian Date: Mon May 2 21:06:02 2016 New Revision: 298944 URL: https://svnweb.freebsd.org/changeset/base/298944 Log: [bwn] break out the LP PHY code into a separate file. This (and eventually migrating the other PHY code out) is in preparation for adding the 11n PHY. No, the

Re: svn commit: r298933 - in head: share/man/man9 sys/amd64/include sys/dev/acpica sys/dev/drm2 sys/dev/drm2/i915 sys/kern sys/sys sys/x86/acpica sys/x86/x86

2016-05-02 Thread Pedro Giffuni
On 05/02/16 15:52, John Baldwin wrote: On Monday, May 02, 2016 11:45:41 AM Ngie Cooper wrote: On May 2, 2016, at 11:00, John Baldwin wrote: Author: jhb Date: Mon May 2 18:00:38 2016 New Revision: 298933 URL: https://svnweb.freebsd.org/changeset/base/298933 Log: Add a

svn commit: r298943 - in head/sys/dev/bhnd: . bcma cores/chipc cores/pci siba

2016-05-02 Thread Adrian Chadd
Author: adrian Date: Mon May 2 21:01:08 2016 New Revision: 298943 URL: https://svnweb.freebsd.org/changeset/base/298943 Log: [bhnd] add module dependencies. Submitted by: Landon Fuller Differential Revision:https://reviews.freebsd.org/D6179 Modified:

svn commit: r298942 - head/sys/netinet

2016-05-02 Thread Pedro F. Giffuni
Author: pfg Date: Mon May 2 20:56:11 2016 New Revision: 298942 URL: https://svnweb.freebsd.org/changeset/base/298942 Log: netinet/sctp*: minor spelling fixes in comments. No functional change. Reviewed by: tuexen Modified: head/sys/netinet/sctp_bsd_addr.c

Re: svn commit: r298933 - in head: share/man/man9 sys/amd64/include sys/dev/acpica sys/dev/drm2 sys/dev/drm2/i915 sys/kern sys/sys sys/x86/acpica sys/x86/x86

2016-05-02 Thread John Baldwin
On Monday, May 02, 2016 11:45:41 AM Ngie Cooper wrote: > > > On May 2, 2016, at 11:00, John Baldwin wrote: > > > > Author: jhb > > Date: Mon May 2 18:00:38 2016 > > New Revision: 298933 > > URL: https://svnweb.freebsd.org/changeset/base/298933 > > > > Log: > > Add a new bus

svn commit: r298941 - head/sys/net80211

2016-05-02 Thread Andriy Voskoboinyk
Author: avos Date: Mon May 2 20:46:05 2016 New Revision: 298941 URL: https://svnweb.freebsd.org/changeset/base/298941 Log: net80211: fix MAC address change via SIOCSIFLLADDR ioctl. Recheck MAC address on SIOCSIFFLAGS; as a result, 'ifconfig wlan0 ether ' can be used after interface

svn commit: r298940 - head/sys/vm

2016-05-02 Thread Pedro F. Giffuni
Author: pfg Date: Mon May 2 20:16:29 2016 New Revision: 298940 URL: https://svnweb.freebsd.org/changeset/base/298940 Log: sys/vm: minor spelling fixes in comments. No functional change. Modified: head/sys/vm/swap_pager.c head/sys/vm/uma_core.c head/sys/vm/uma_int.h

svn commit: r298939 - in head/sys/dev/ath: . ath_dfs/null ath_hal ath_hal/ar5211 ath_hal/ar5212 ath_hal/ar5416 ath_hal/ar9002

2016-05-02 Thread Pedro F. Giffuni
Author: pfg Date: Mon May 2 19:56:48 2016 New Revision: 298939 URL: https://svnweb.freebsd.org/changeset/base/298939 Log: dev/ath: minor spelling fixes in comments. No functional change. Reviewed by: adrian Modified: head/sys/dev/ath/ath_dfs/null/dfs_null.c

svn commit: r298938 - head/sys/ddb

2016-05-02 Thread Pedro F. Giffuni
Author: pfg Date: Mon May 2 19:32:06 2016 New Revision: 298938 URL: https://svnweb.freebsd.org/changeset/base/298938 Log: Enhance the ddb examine (x) command. * Change x/a to work similar to gdb. The content of the memory is treated as an address, printed symbolically and the address

svn commit: r298937 - head/sys/dev/asmc

2016-05-02 Thread Adrian Chadd
Author: adrian Date: Mon May 2 19:15:16 2016 New Revision: 298937 URL: https://svnweb.freebsd.org/changeset/base/298937 Log: [asmc] add support for more models and restore keyboard backlight after resume. This patch adds support for restoring backlight after resume and adds models

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

2016-05-02 Thread Andriy Voskoboinyk
Author: avos Date: Mon May 2 19:07:44 2016 New Revision: 298936 URL: https://svnweb.freebsd.org/changeset/base/298936 Log: iwm: fix parameters for iwm_add_channel_band() It accepts , not . Reported by: adrian Modified: head/sys/dev/iwm/if_iwm.c Modified:

svn commit: r298935 - in head/sys/modules/bhnd: . bcma_bhndb bhndb nvram siba_bhndb

2016-05-02 Thread Adrian Chadd
Author: adrian Date: Mon May 2 18:48:37 2016 New Revision: 298935 URL: https://svnweb.freebsd.org/changeset/base/298935 Log: [bhnd] add missing bus interface SRC bits, required after the last source import. Modified: head/sys/modules/bhnd/Makefile

Re: svn commit: r298929 - head/sys/dev/xen/timer

2016-05-02 Thread Ngie Cooper (yaneurabeya)
> On May 2, 2016, at 09:15, Roger Pau Monné wrote: > > Author: royger > Date: Mon May 2 16:15:28 2016 > New Revision: 298929 > URL: https://svnweb.freebsd.org/changeset/base/298929 > > Log: > xen/time: allow Dom0 to set the host time > > Dom0 should be able to set the

Re: svn commit: r298933 - in head: share/man/man9 sys/amd64/include sys/dev/acpica sys/dev/drm2 sys/dev/drm2/i915 sys/kern sys/sys sys/x86/acpica sys/x86/x86

2016-05-02 Thread Ngie Cooper (yaneurabeya)
> On May 2, 2016, at 11:00, John Baldwin wrote: > > Author: jhb > Date: Mon May 2 18:00:38 2016 > New Revision: 298933 > URL: https://svnweb.freebsd.org/changeset/base/298933 > > Log: > Add a new bus method to fetch device-specific CPU sets. > > bus_get_cpus() returns a

svn commit: r298934 - head/sys/dev/xen/control

2016-05-02 Thread Roger Pau Monné
Author: royger Date: Mon May 2 18:23:48 2016 New Revision: 298934 URL: https://svnweb.freebsd.org/changeset/base/298934 Log: xen/control: improve suspend/resume Implement several small improvements to the suspend/resume Xen sequence: - Call the power_suspend_early event before

svn commit: r298933 - in head: share/man/man9 sys/amd64/include sys/dev/acpica sys/dev/drm2 sys/dev/drm2/i915 sys/kern sys/sys sys/x86/acpica sys/x86/x86

2016-05-02 Thread John Baldwin
Author: jhb Date: Mon May 2 18:00:38 2016 New Revision: 298933 URL: https://svnweb.freebsd.org/changeset/base/298933 Log: Add a new bus method to fetch device-specific CPU sets. bus_get_cpus() returns a specified set of CPUs for a device. It accepts an enum for the second parameter

svn commit: r298932 - in head/sys/dev/usb: . controller input misc net serial storage template wlan

2016-05-02 Thread Pedro F. Giffuni
Author: pfg Date: Mon May 2 17:44:03 2016 New Revision: 298932 URL: https://svnweb.freebsd.org/changeset/base/298932 Log: dev/usb: minor spelling fixes in comments. No functional change. Reviewed by: hselasky Modified: head/sys/dev/usb/controller/at91dci.c

svn commit: r298931 - in head/sys/dev: ciss drm2/i915 drm2/radeon drm2/ttm hptiop hwpmc isci/scil pccbb wbwd wtap wtap/plugins

2016-05-02 Thread Pedro F. Giffuni
Author: pfg Date: Mon May 2 16:47:28 2016 New Revision: 298931 URL: https://svnweb.freebsd.org/changeset/base/298931 Log: etc: minor spelling fixes. Mostly comments but also some user-visible strings. MFC after:2 weeks Modified: head/sys/dev/ciss/ciss.c

svn commit: r298929 - head/sys/dev/xen/timer

2016-05-02 Thread Roger Pau Monné
Author: royger Date: Mon May 2 16:15:28 2016 New Revision: 298929 URL: https://svnweb.freebsd.org/changeset/base/298929 Log: xen/time: allow Dom0 to set the host time Dom0 should be able to set the host time. This is implemented by first writing to the RTC (as would be done on bare

Re: svn commit: r298924 - head/usr.bin/sdiff

2016-05-02 Thread Benjamin Kaduk
On Mon, 2 May 2016, Bjoern A. Zeeb wrote: > > > On 02 May 2016, at 16:08 , Conrad Meyer wrote: > > > > On Mon, May 2, 2016 at 8:57 AM, Benjamin Kaduk wrote: > >> On Mon, May 2, 2016 at 10:54 AM, Bjoern A. Zeeb wrote: > On 02 May 2016,

svn commit: r298930 - head/sys/dev/xen/timer

2016-05-02 Thread Roger Pau Monné
Author: royger Date: Mon May 2 16:16:08 2016 New Revision: 298930 URL: https://svnweb.freebsd.org/changeset/base/298930 Log: xen/time: fix PV clock resolution The current resolution of the Xen PV clock is too high, which causes an adjustment of 5s to be applied to it. Reduce the

svn commit: r298928 - in head/sys: isa x86/isa

2016-05-02 Thread Roger Pau Monné
Author: royger Date: Mon May 2 16:14:55 2016 New Revision: 298928 URL: https://svnweb.freebsd.org/changeset/base/298928 Log: atrtc: export function to set RTC This is going to be used by the Xen clock on Dom0 in order to set the RTC of the host. The current logic in atrtc_settime is

Re: svn commit: r298924 - head/usr.bin/sdiff

2016-05-02 Thread Conrad Meyer
On Mon, May 2, 2016 at 8:57 AM, Benjamin Kaduk wrote: > On Mon, May 2, 2016 at 10:54 AM, Bjoern A. Zeeb wrote: >> > On 02 May 2016, at 15:32 , Conrad Meyer wrote: >> > >> > Clang should really catch this too. Why didn’t it? >> >> It was

svn commit: r298927 - head/sys/dev/xen/timer

2016-05-02 Thread Roger Pau Monné
Author: royger Date: Mon May 2 16:13:55 2016 New Revision: 298927 URL: https://svnweb.freebsd.org/changeset/base/298927 Log: xen/timer: remove the timer setup loop With the removal of the usage of the VCPU_SSHOTTMR_future flag, now all errors from xentimer_vcpu_start_timer should be

svn commit: r298926 - head/sys/dev/xen/timer

2016-05-02 Thread Roger Pau Monné
Author: royger Date: Mon May 2 16:13:11 2016 New Revision: 298926 URL: https://svnweb.freebsd.org/changeset/base/298926 Log: xen/x86: don't lose event interrupts On slow platforms with unreliable TSC, such as QEMU emulated machines, it is possible for the FreeBSD kernel to request the

Re: svn commit: r298924 - head/usr.bin/sdiff

2016-05-02 Thread Bjoern A. Zeeb
> On 02 May 2016, at 16:08 , Conrad Meyer wrote: > > On Mon, May 2, 2016 at 8:57 AM, Benjamin Kaduk wrote: >> On Mon, May 2, 2016 at 10:54 AM, Bjoern A. Zeeb wrote: On 02 May 2016, at 15:32 , Conrad Meyer wrote:

Re: svn commit: r298924 - head/usr.bin/sdiff

2016-05-02 Thread Benjamin Kaduk
On Mon, May 2, 2016 at 10:54 AM, Bjoern A. Zeeb wrote: > > > On 02 May 2016, at 15:32 , Conrad Meyer wrote: > > > > Clang should really catch this too. Why didn’t it? > > It was only powerpc; sparc64 and mips were good as well. > > 'char' being signed vs.

Re: svn commit: r298924 - head/usr.bin/sdiff

2016-05-02 Thread Bjoern A. Zeeb
> On 02 May 2016, at 15:32 , Conrad Meyer wrote: > > Clang should really catch this too. Why didn’t it? It was only powerpc; sparc64 and mips were good as well. ___ svn-src-head@freebsd.org mailing list

Re: svn commit: r298924 - head/usr.bin/sdiff

2016-05-02 Thread Conrad Meyer
Clang should really catch this too. Why didn't it? Best, Conrad On Mon, May 2, 2016 at 8:07 AM, Bjoern A. Zeeb wrote: > Author: bz > Date: Mon May 2 15:07:43 2016 > New Revision: 298924 > URL: https://svnweb.freebsd.org/changeset/base/298924 > > Log: > fgetc returns an int

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

2016-05-02 Thread Andriy Voskoboinyk
Author: avos Date: Mon May 2 15:14:16 2016 New Revision: 298925 URL: https://svnweb.freebsd.org/changeset/base/298925 Log: iwn: do not buffer frames for non-passive channels (it's not needed). Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c

svn commit: r298924 - head/usr.bin/sdiff

2016-05-02 Thread Bjoern A. Zeeb
Author: bz Date: Mon May 2 15:07:43 2016 New Revision: 298924 URL: https://svnweb.freebsd.org/changeset/base/298924 Log: fgetc returns an int not a char. Found by: powerpc builds failing due to comparing with EOF raised: "comparison is always false due to limited range of data type"

svn commit: r298923 - head/sys/dev/random

2016-05-02 Thread Pedro F. Giffuni
Author: pfg Date: Mon May 2 14:35:57 2016 New Revision: 298923 URL: https://svnweb.freebsd.org/changeset/base/298923 Log: dev/random: minor spelling fixes in comments. No functional change. Reviewed by: markm Approved by: so Modified: head/sys/dev/random/fortuna.c

svn commit: r298922 - in head: lib/libc/sys sys/kern

2016-05-02 Thread Konstantin Belousov
Author: kib Date: Mon May 2 13:18:17 2016 New Revision: 298922 URL: https://svnweb.freebsd.org/changeset/base/298922 Log: Issue NOTE_EXTEND when a directory entry is added to or removed from the monitored directory as the result of rename(2) operation. The renames staying in the directory

svn commit: r298921 - head/sys/kern

2016-05-02 Thread Konstantin Belousov
Author: kib Date: Mon May 2 13:13:32 2016 New Revision: 298921 URL: https://svnweb.freebsd.org/changeset/base/298921 Log: Fix reporting of NOTE_LINK when directory link count changes due to rename removing or adding subdirectory entry. Discussed with and tested by: Vladimir Kondratyev