CVS commit: src/sys/dev/i2c

2018-05-11 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat May 12 01:31:08 UTC 2018

Modified Files:
src/sys/dev/i2c: axppmic.c

Log Message:
Trigger shutdown on POKLIRQ instead of POKSIRQ.

POKSIRQ is triggered if POK remains low for less than IRQLEVEL. This makes
it way too easy to accidentally trigger shutdown. POKLIRQ is triggered if
POK hold time is greater than IRQLEVEL, which is much more reasonable for
this use case.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/i2c/axppmic.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/arm/sunxi

2018-05-11 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Fri May 11 23:05:41 UTC 2018

Modified Files:
src/sys/arch/arm/sunxi: sun50i_a64_acodec.c sun8i_codec.c

Log Message:
Disable lineout by default. If HP is not plugged at boot, we get an
unplug event. However, no plug event when HP is plugged at boot.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/sunxi/sun50i_a64_acodec.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/sunxi/sun8i_codec.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/macppc/conf

2018-05-11 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri May 11 22:51:33 UTC 2018

Modified Files:
src/sys/arch/macppc/conf: INSTALL

Log Message:
fix tpyo


To generate a diff of this commit:
cvs rdiff -u -r1.126 -r1.127 src/sys/arch/macppc/conf/INSTALL

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/arm/sunxi

2018-05-11 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Fri May 11 22:51:12 UTC 2018

Modified Files:
src/sys/arch/arm/sunxi: sun50i_a64_acodec.c sun8i_codec.c

Log Message:
Add HP jack detect support. When HP is present, mute lineout.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/sunxi/sun50i_a64_acodec.c
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/sunxi/sun8i_codec.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/fdt

2018-05-11 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Fri May 11 22:49:19 UTC 2018

Modified Files:
src/sys/dev/fdt: ausoc.c

Log Message:
Attach aux devices to the codec


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/fdt/ausoc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev

2018-05-11 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Fri May 11 22:48:55 UTC 2018

Modified Files:
src/sys/dev: audio_dai.h

Log Message:
Add APIs for linking dai devices and jack detection


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/audio_dai.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/macppc/macppc

2018-05-11 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri May 11 22:48:38 UTC 2018

Modified Files:
src/sys/arch/macppc/macppc: cpu.c interrupts.c pic_u3_ht.c

Log Message:
deal with IPIs on U3/HT machines, only install OpenPIC IPI goop on actual
OpenPIC hardware


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/sys/arch/macppc/macppc/cpu.c
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/macppc/macppc/interrupts.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/macppc/macppc/pic_u3_ht.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/pic

2018-05-11 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri May 11 22:39:59 UTC 2018

Modified Files:
src/sys/arch/powerpc/pic: picvar.h

Log Message:
use 128 as IPI_VECTOR to avoid overlap wth hardware interrupts


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/powerpc/pic/picvar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/powerpc

2018-05-11 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri May 11 22:23:33 UTC 2018

Modified Files:
src/sys/arch/powerpc/powerpc: pmap_subr.c

Log Message:
disable the MULTIPROCESSOR case in pmap_syncicache() because:
- __syncicache() wants a virtual address, not a pa
- this crashes on G5 SMP
- the rest of the function does the same as __syncicache() except it turns
  the MMU off first so physical addresses work
with this, my PCIe G5 boots SMP


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/powerpc/powerpc/pmap_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2018-05-11 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Fri May 11 20:19:25 UTC 2018

Modified Files:
src/crypto/external/bsd/netpgp/dist/bindings/lua: glue.c
src/libexec/httpd/lua: glue.c

Log Message:
remove definition of LUA_USE_APICHECK, it is a build time option for Lua
itself. Not for modules.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 \
src/crypto/external/bsd/netpgp/dist/bindings/lua/glue.c
cvs rdiff -u -r1.4 -r1.5 src/libexec/httpd/lua/glue.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/who

2018-05-11 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Fri May 11 16:36:57 UTC 2018

Modified Files:
src/usr.bin/who: who.1

Log Message:
Match sequence of flags with usage()
Following on from mandoc -Tlint, drop Pp macro before Bl and Tn macro.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/usr.bin/who/who.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/netipsec

2018-05-11 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Fri May 11 15:43:07 UTC 2018

Modified Files:
src/sys/netipsec: xform_ah.c xform_esp.c

Log Message:
ENOBUFS -> EACCES when updating the replay counter.


To generate a diff of this commit:
cvs rdiff -u -r1.98 -r1.99 src/sys/netipsec/xform_ah.c
cvs rdiff -u -r1.86 -r1.87 src/sys/netipsec/xform_esp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/misc

2018-05-11 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Fri May 11 14:42:03 UTC 2018

Modified Files:
src/share/misc: acronyms.comp

Log Message:
Add IFS - internal field separator.


To generate a diff of this commit:
cvs rdiff -u -r1.194 -r1.195 src/share/misc/acronyms.comp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/misc

2018-05-11 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Fri May 11 14:39:25 UTC 2018

Modified Files:
src/share/misc: acronyms acronyms.comp

Log Message:
Move HTTP Keyserver Protocol entry to the correct file.


To generate a diff of this commit:
cvs rdiff -u -r1.269 -r1.270 src/share/misc/acronyms
cvs rdiff -u -r1.193 -r1.194 src/share/misc/acronyms.comp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2018-05-11 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Fri May 11 14:38:28 UTC 2018

Modified Files:
src/share/man/man4: options.4
src/sys/netinet: ip_icmp.c
src/sys/netmpls: mpls_ttl.c

Log Message:
Retire ICMPPRINTFS, it's annoying and it doesn't build.


To generate a diff of this commit:
cvs rdiff -u -r1.486 -r1.487 src/share/man/man4/options.4
cvs rdiff -u -r1.169 -r1.170 src/sys/netinet/ip_icmp.c
cvs rdiff -u -r1.12 -r1.13 src/sys/netmpls/mpls_ttl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/netinet6

2018-05-11 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Fri May 11 14:25:50 UTC 2018

Modified Files:
src/sys/netinet6: raw_ip6.c

Log Message:
Dedup: introduce rip6_sbappendaddr. Same as IPv4.


To generate a diff of this commit:
cvs rdiff -u -r1.171 -r1.172 src/sys/netinet6/raw_ip6.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/netinet

2018-05-11 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Fri May 11 14:07:58 UTC 2018

Modified Files:
src/sys/netinet: raw_ip.c

Log Message:
Make sure we have at least an IP header, and remove pointless XXXs (there
is no issue).


To generate a diff of this commit:
cvs rdiff -u -r1.176 -r1.177 src/sys/netinet/raw_ip.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/netinet

2018-05-11 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Fri May 11 13:56:43 UTC 2018

Modified Files:
src/sys/netinet: if_arp.c

Log Message:
static


To generate a diff of this commit:
cvs rdiff -u -r1.274 -r1.275 src/sys/netinet/if_arp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/net/npf

2018-05-11 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Fri May 11 13:52:49 UTC 2018

Modified Files:
src/sys/net/npf: npf_nat.c

Log Message:
Improve comment, it's not just IPv4.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/sys/net/npf/npf_nat.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/netipsec

2018-05-11 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Fri May 11 13:50:38 UTC 2018

Modified Files:
src/sys/netipsec: xform_tcp.c

Log Message:
Clean up, and panic if we call functions that are not supposed to be
called.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/netipsec/xform_tcp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/xen/xen

2018-05-11 Thread Cherry G. Mathew
Module Name:src
Committed By:   cherry
Date:   Fri May 11 13:24:46 UTC 2018

Modified Files:
src/sys/arch/xen/xen: clock.c

Log Message:
Fixes port-xen/53267
re-educate xen_clock_handler() how to use the interrupt stackframe.
The current regs value passed in is *ci, and thus invalid.

Reported and tested by kre@. See PR 53267 for more details.


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/sys/arch/xen/xen/clock.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/man/man3

2018-05-11 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Fri May 11 12:54:56 UTC 2018

Modified Files:
src/share/man/man3: intro.3

Log Message:
Pass through mandoc -Tlint, drop Pp before Bl.
Remove reference to libkadm, it is no longer present in NetBSD.
Direct reader to kadm5_pwcheck(3) for libkadm5srv.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/share/man/man3/intro.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/usb

2018-05-11 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Fri May 11 10:59:30 UTC 2018

Modified Files:
src/sys/dev/usb: if_bwfm_usb.c

Log Message:
Fix off-by-one in rx packet processing


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/usb/if_bwfm_usb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2018-05-11 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Fri May 11 09:43:59 UTC 2018

Modified Files:
src/sys/kern: uipc_usrreq.c
src/sys/net: raw_cb.h
src/sys/netinet6: in6_proto.c

Log Message:
Increase the default size of some receive buffers from 8k to 16k.
This mitigates recent reports of socket overflow errors
and fixes PR bin/53247.


To generate a diff of this commit:
cvs rdiff -u -r1.185 -r1.186 src/sys/kern/uipc_usrreq.c
cvs rdiff -u -r1.28 -r1.29 src/sys/net/raw_cb.h
cvs rdiff -u -r1.124 -r1.125 src/sys/netinet6/in6_proto.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/man/man4

2018-05-11 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Fri May 11 07:44:19 UTC 2018

Modified Files:
src/share/man/man4: bwfm.4

Log Message:
Update bwfm(4) man page to note pci support

Mention jmcneill's porting.
omit BUGS, the lack of SDIO support might be resolved soon.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/share/man/man4/bwfm.4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/amd64/conf

2018-05-11 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Fri May 11 07:44:48 UTC 2018

Modified Files:
src/sys/arch/amd64/conf: GENERIC

Log Message:
Enable bwfm at pci.


To generate a diff of this commit:
cvs rdiff -u -r1.489 -r1.490 src/sys/arch/amd64/conf/GENERIC

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2018-05-11 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Fri May 11 07:43:43 UTC 2018

Modified Files:
src/distrib/sets/lists/base: mi
src/external/broadcom/bwfm: Makefile
Added Files:
src/external/broadcom/bwfm/dist: brcmfmac4350-pcie.bin
brcmfmac4350c2-pcie.bin brcmfmac43602-pcie.bin

Log Message:
Add firmware for use with bwfm at pci.

from the linux-firmware tree


To generate a diff of this commit:
cvs rdiff -u -r1.1173 -r1.1174 src/distrib/sets/lists/base/mi
cvs rdiff -u -r1.1 -r1.2 src/external/broadcom/bwfm/Makefile
cvs rdiff -u -r0 -r1.1 src/external/broadcom/bwfm/dist/brcmfmac4350-pcie.bin \
src/external/broadcom/bwfm/dist/brcmfmac4350c2-pcie.bin \
src/external/broadcom/bwfm/dist/brcmfmac43602-pcie.bin

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci

2018-05-11 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Fri May 11 07:42:22 UTC 2018

Modified Files:
src/sys/dev/pci: files.pci
Added Files:
src/sys/dev/pci: if_bwfm_pci.c if_bwfm_pci.h

Log Message:
add bwfm pci support, from openbsd

Tested on BCM43602.


To generate a diff of this commit:
cvs rdiff -u -r1.394 -r1.395 src/sys/dev/pci/files.pci
cvs rdiff -u -r0 -r1.1 src/sys/dev/pci/if_bwfm_pci.c \
src/sys/dev/pci/if_bwfm_pci.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev

2018-05-11 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Fri May 11 07:41:11 UTC 2018

Modified Files:
src/sys/dev/ic: bwfm.c bwfmreg.h bwfmvar.h
src/sys/dev/sdmmc: if_bwfm_sdio.c
src/sys/dev/usb: if_bwfm_usb.c

Log Message:
sync with openbsd bwfm to some extent.

add a txcheck
set chip active/passive for more kinds of chips
add wrapper around setting active/passive
detect chip RAM
make bwfm_rx take an mbuf


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/ic/bwfm.c
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/ic/bwfmreg.h
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/ic/bwfmvar.h
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/sdmmc/if_bwfm_sdio.c
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/usb/if_bwfm_usb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.