CVS: cvs.openbsd.org: src

2017-11-26 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2017/11/26 23:29:41

Modified files:
sys/arch/armv7/omap: omdog.c 

Log message:
OMAP4 has two watchdog timers timer 2/MPU and timer 3/IVA.
Previously the device tree only described one but now it describes both.
Do not attempt to set the global variable that points to a softc or
register a watchdog if this has already been done.

Fixes rebooting on the OMAP4 based PandaBoard-ES with a device tree from
linux 4.15-rc1.



CVS: cvs.openbsd.org: src

2017-11-26 Thread Jonathan Matthew
CVSROOT:/cvs
Module name:src
Changes by: jmatt...@cvs.openbsd.org2017/11/26 21:32:14

Modified files:
sys/dev/pci: mfii.c 

Log message:
Add support for SAS3.5 megaraids, which are sold as Dell PERC H740P/840 and
Lenovo ThinkSystem RAID 530/930.  The main differences are in fast path
IO, which we don't use, so all we have to deal with is some changes in the
raid context layout and different PCI BARs.  The mfii_iop structure gets
rearranged a bit to accommodate these.

tested on a perc h740p and a h730 (by dlg@)
ok dlg@



CVS: cvs.openbsd.org: src

2017-11-26 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2017/11/26 21:23:50

Modified files:
bin/ksh: vi.c 

Log message:
Follow emacs mode and remove the interactive "version" function.

ok jca, anton (who both had the same diff) and deraadt



CVS: cvs.openbsd.org: src

2017-11-26 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2017/11/26 20:40:04

Modified files:
usr.sbin/relayd: relay.c 

Log message:
relay_tls_connected() is playing with the inner bowels of bufferevents.
Be more careful and remove the events before resetting them to the new
backends. This is also what some of the bufferevent functions are doing.
OK benno@



CVS: cvs.openbsd.org: src

2017-11-26 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2017/11/26 20:19:58

Modified files:
usr.sbin/relayd: relay_http.c 

Log message:
Simplify relay_close_http(), make  relay_httpdesc_free() accept and ignore
a NULL pointer argument (like free()). Also switch a !size to size == 0.
OK benno@



CVS: cvs.openbsd.org: src

2017-11-26 Thread Mike Larkin
CVSROOT:/cvs
Module name:src
Changes by: mlar...@cvs.openbsd.org 2017/11/26 20:19:00

Modified files:
usr.sbin/vmd   : loadfile_elf.c 

Log message:
typo in comments "optionel" -> "optional"



CVS: cvs.openbsd.org: src

2017-11-26 Thread Florian Obser
CVSROOT:/cvs
Module name:src
Changes by: flor...@cvs.openbsd.org 2017/11/26 18:59:55

Modified files:
etc: acme-client.conf 

Log message:
Remove deprecated agreement url.
"nice" deraadt@
OK benno



CVS: cvs.openbsd.org: src

2017-11-26 Thread Florian Obser
CVSROOT:/cvs
Module name:src
Changes by: flor...@cvs.openbsd.org 2017/11/26 18:58:52

Modified files:
usr.sbin/acme-client: acme-client.conf.5 extern.h json.c main.c 
  netproc.c parse.h parse.y 

Log message:
Deprecate agreement url config option and get the information from the
directory call. This way we don't need to update the acme-client.conf
file every time it changes. Still parse the option, ignore and warn about
it for a release. Sysmerge should be able to handle the removal.
"nice" deraadt@
OK benno



CVS: cvs.openbsd.org: src

2017-11-26 Thread Jonathan Matthew
CVSROOT:/cvs
Module name:src
Changes by: jmatt...@cvs.openbsd.org2017/11/26 18:38:29

Modified files:
sys/dev/pci: pcidevs.h pcidevs_data.h 

Log message:
regen



CVS: cvs.openbsd.org: src

2017-11-26 Thread Jonathan Matthew
CVSROOT:/cvs
Module name:src
Changes by: jmatt...@cvs.openbsd.org2017/11/26 18:37:39

Modified files:
sys/dev/pci: pcidevs 

Log message:
add SAS3.5 megaraids



CVS: cvs.openbsd.org: src

2017-11-26 Thread Philip Guenther
CVSROOT:/cvs
Module name:src
Changes by: guent...@cvs.openbsd.org2017/11/26 18:20:12

Modified files:
sys/kern   : kern_sig.c 

Log message:
Fix comment typo



CVS: cvs.openbsd.org: src

2017-11-26 Thread Ulf Brosziewski
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2017/11/26 16:27:27

Modified files:
sys/dev/wscons : wstpad.c 

Log message:
Add various improvements to the default configuration (better default
sizes of edge areas, vertical edge areas as default, and a check for
the WSMOUSE_TYPE that may detect clickpads where software buttons
should be placed at the top edge).



CVS: cvs.openbsd.org: www

2017-11-26 Thread Theo de Raadt
CVSROOT:/cvs
Module name:www
Changes by: dera...@cvs.openbsd.org 2017/11/26 13:54:23

Modified files:
.  : hackathons.html 
Added files:
images/hackathons: s2k17-s.gif s2k17.gif 

Log message:
s2k17 hackathon begins at elk lakes cabin. 13 people total, well
some of them are still snowshowing over the pass..

thanks for xplornet 40473 for lending us a satellite system.



CVS: cvs.openbsd.org: src

2017-11-26 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2017/11/26 13:34:15

Modified files:
bin/ksh: emacs.c 

Log message:
Remove the "version" interactive function in emacs mode.

Not bound by default and not very useful.  ok schwarze@ anton@



CVS: cvs.openbsd.org: xenocara

2017-11-26 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2017/11/26 11:23:34

Modified files:
.  : 3RDPARTY MODULES 

Log message:
update



CVS: cvs.openbsd.org: xenocara

2017-11-26 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2017/11/26 10:06:41

Modified files:
driver/xf86-video-ati/src: drmmode_display.c 

Log message:
MFC: adapt to XF86_CRTC_VERSION 7



CVS: cvs.openbsd.org: src

2017-11-26 Thread Mike Belopuhov
CVSROOT:/cvs
Module name:src
Changes by: mi...@cvs.openbsd.org   2017/11/26 10:06:46

Modified files:
sys/dev: rnd.c 

Log message:
Don't mention XOR as a mix-in function since addition is done since 1.180



CVS: cvs.openbsd.org: xenocara

2017-11-26 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2017/11/26 10:03:40

Modified files:
driver/xf86-video-ati/src: drmmode_display.c 

Log message:
MFC: Adapt to video API 22



CVS: cvs.openbsd.org: src

2017-11-26 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2017/11/26 09:17:13

Modified files:
sbin/dhclient  : dhclient.c 

Log message:
Move rebind time calculation to a function lease_rebind(), just like
lease_expiry() and lease_renewal(). Simplifies logic and upcoming
changes.



CVS: cvs.openbsd.org: src

2017-11-26 Thread Mike Belopuhov
CVSROOT:/cvs
Module name:src
Changes by: mi...@cvs.openbsd.org   2017/11/26 09:11:45

Modified files:
sys/dev/pv : xen.c 

Log message:
Xen interrupt task barrier is just a taskq_barrier so call it
instead of rolling its own now that it's been made available.

OK dlg



CVS: cvs.openbsd.org: src

2017-11-26 Thread Visa Hankala
CVSROOT:/cvs
Module name:src
Changes by: v...@cvs.openbsd.org2017/11/26 08:44:20

Modified files:
sys/arch/octeon/dev: if_cnmac.c 

Log message:
On wqe error, show also word2 and word3. Those might help in debugging.



CVS: cvs.openbsd.org: src

2017-11-26 Thread Visa Hankala
CVSROOT:/cvs
Module name:src
Changes by: v...@cvs.openbsd.org2017/11/26 08:39:47

Modified files:
sys/arch/octeon/dev: if_cnmac.c 

Log message:
Initialize Rx subsystems before enabling the processing of incoming
packets. Otherwise, a skosh of traffic may be handled using hardware
default settings. One of the consequences is that packets can end up
into a wrong POW group, causing a panic in cnmac_intr().

Panic reported by and testing help from Janne Johansson



CVS: cvs.openbsd.org: src

2017-11-26 Thread Helg Bredow
CVSROOT:/cvs
Module name:src
Changes by: h...@cvs.openbsd.org2017/11/26 08:17:17

Modified files:
lib/libfuse: fuse.c fuse_private.h 

Log message:
Add support for -f option to libfuse. This keeps the FUSE file system
running in the foreground.

ok mpi@



CVS: cvs.openbsd.org: src

2017-11-26 Thread Ricardo Mestre
CVSROOT:/cvs
Module name:src
Changes by: mes...@cvs.openbsd.org  2017/11/26 02:59:41

Modified files:
usr.bin/vi/common: delete.c 

Log message:
Fix segfault which could be triggered by deleting a backwards sentence if
cursor's current line was blank:

echo "\nfoo" > a && vi a
d(

Same fix applied by rin@NetBSD, via nvi2 project.

OK tom@ martijn@ tb@ millert@