CVS: cvs.openbsd.org: src

2015-04-26 Thread Jonathan Matthew
CVSROOT:/cvs
Module name:src
Changes by: jmatt...@cvs.openbsd.org2015/04/26 00:38:04

Modified files:
sys/dev/usb: umct.c umct.h 

Log message:
Two extra messages required after sending a baud rate update, as observed
in the linux mct_u232 driver, which apparently got them by sniffing usb
traffic from the vendor's windows 98 driver.  Makes this device work at
115200:

umct0 at uhub0 port 2 Belkin Components F5U109 Serial rev 1.10/1.02 addr 2

ok dlg@



CVS: cvs.openbsd.org: src

2015-04-26 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2015/04/26 01:25:12

Modified files:
distrib/sets/lists/base: md.alpha md.amd64 md.armish md.armv7 
 md.aviion md.hppa md.hppa64 md.i386 
 md.landisk md.loongson md.luna88k 
 md.macppc md.octeon md.sgi md.socppc 
 md.sparc md.sparc64 md.vax md.zaurus mi 
distrib/sets/lists/comp: md.macppc 
distrib/sets/lists/man: mi 

Log message:
sync



CVS: cvs.openbsd.org: src

2015-04-26 Thread Stuart Henderson
CVSROOT:/cvs
Module name:src
Changes by: st...@cvs.openbsd.org   2015/04/26 03:22:34

Modified files:
sys/arch/i386/include: vmparam.h 

Log message:
bump i386 MAXDSIZ to 3GB. - If you're running this, and presumably actually
using that much memory, go for it tedu@ I don't see any immediate downsides
kettenis@



CVS: cvs.openbsd.org: src

2015-04-26 Thread Henning Brauer
CVSROOT:/cvs
Module name:src
Changes by: henn...@cvs.openbsd.org 2015/04/26 08:49:24

Modified files:
distrib/miniroot: install.sub 

Log message:
get_responsefile: instead of keeping the dhcp-supplied next-server where
we fetch the response file from in a local _server var, put it in an
exported AI_SERVER one. last not least that allows install.site to see it.
ok krw rpe



CVS: cvs.openbsd.org: src

2015-04-26 Thread Stefan Sperling
CVSROOT:/cvs
Module name:src
Changes by: s...@cvs.openbsd.org2015/04/26 04:22:16

Modified files:
share/man/man4 : urtw.4 

Log message:
Add Digitus DN-7003GT to list of supported urtw(4) devices.



CVS: cvs.openbsd.org: src

2015-04-26 Thread Stefan Sperling
CVSROOT:/cvs
Module name:src
Changes by: s...@cvs.openbsd.org2015/04/26 05:47:13

Modified files:
sys/dev/usb: usbdevs 

Log message:
Add IDs for RTL8188ETV and RTL8188EU. From FreeBSD via Mikhail on tech@



CVS: cvs.openbsd.org: src

2015-04-26 Thread Stefan Sperling
CVSROOT:/cvs
Module name:src
Changes by: s...@cvs.openbsd.org2015/04/26 05:47:22

Modified files:
sys/dev/usb: usbdevs.h usbdevs_data.h 

Log message:
regen



CVS: cvs.openbsd.org: src

2015-04-26 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2015/04/26 05:32:55

Modified files:
usr.sbin/bgpctl: irr_output.c 

Log message:
for every policy we write out, flush the output so we don't get an
irritating partially written line



CVS: cvs.openbsd.org: src

2015-04-26 Thread Jonathan Matthew
CVSROOT:/cvs
Module name:src
Changes by: jmatt...@cvs.openbsd.org2015/04/26 06:24:03

Modified files:
sys/arch/octeon/dev: iobusvar.h octeon_iobus.c octdwctwo.c 

Log message:
Get dwc2 working on octeon.
- transplant the clock setup code from octhci
- add a bus space tag to deal with dwc2 using little endian addressing
- bump up the rx fifo size, necessary for umass/sd to work

tested on an edgerouter lite, which can almost boot by itself now
ok uebayasi@ (various parts), miod@ (bus space bits)



CVS: cvs.openbsd.org: src

2015-04-26 Thread Stefan Sperling
CVSROOT:/cvs
Module name:src
Changes by: s...@cvs.openbsd.org2015/04/26 04:18:19

Modified files:
sys/dev/usb: usbdevs 

Log message:
Add USB device ID for RTL8812AU. Found in TP-Link AC1200 T4U device.



CVS: cvs.openbsd.org: src

2015-04-26 Thread Stefan Sperling
CVSROOT:/cvs
Module name:src
Changes by: s...@cvs.openbsd.org2015/04/26 04:18:30

Modified files:
sys/dev/usb: usbdevs.h usbdevs_data.h 

Log message:
regen



CVS: cvs.openbsd.org: src

2015-04-26 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2015/04/26 03:48:29

Modified files:
sys/arch/i386/i386: locore.s mptramp.s pmapae.c 

Log message:
Only enable PAE if the CPU we're running on has NX support.  Without NX
support we're only wasting memory on the larger PAE page tables without
any real benefit.  This allows some simplifications of the low-level
assembly code.

ok mlarkin@, deraadt@



CVS: cvs.openbsd.org: src

2015-04-26 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2015/04/26 03:49:42

Modified files:
sys/arch/i386/i386: acpi_wakecode.S 

Log message:
Enable NX support in the resume path.  Makes suspend/resume work with the
PAE pmap.

ok deraadt@, mlarkin@



CVS: cvs.openbsd.org: src

2015-04-26 Thread Stefan Fritsch
CVSROOT:/cvs
Module name:src
Changes by: s...@cvs.openbsd.org2015/04/26 06:19:24

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

Log message:
vio: Support checksum offloading for IPv4 TX

Looks good to me brad@



CVS: cvs.openbsd.org: src

2015-04-26 Thread Stefan Fritsch
CVSROOT:/cvs
Module name:src
Changes by: s...@cvs.openbsd.org2015/04/26 06:27:29

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

Log message:
Have vio_start() check if the queue is empty.

from brad@



CVS: cvs.openbsd.org: src

2015-04-26 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2015/04/26 05:09:32

Modified files:
sys/arch/i386/i386: acpi_wakecode.S hibernate_machdep.c 

Log message:
Disable PAE when switching to the hibernate resume pagetables.  This involves
a slightly conmplicated dance where we stash the PAE PDPTEs into the
hibernate resume pagetables and use those before turning off PAE.
Makes (un)hibernate work with the new PAE pmap.

ok mlarkin@



CVS: cvs.openbsd.org: src

2015-04-26 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2015/04/26 18:21:21

Modified files:
usr.bin/ssh: sshd.c 

Log message:
allow sshd -f none to skip reading the config file, much like
ssh -F none does. ok dtucker



CVS: cvs.openbsd.org: src

2015-04-26 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2015/04/26 16:51:33

Modified files:
usr.bin/file   : file.1 file.c 

Log message:
Don't support -s on FIFOs, it doesn't work well and the workarounds are
a bit horrible.



CVS: cvs.openbsd.org: src

2015-04-26 Thread Darren Tucker
CVSROOT:/cvs
Module name:src
Changes by: dtuc...@cvs.openbsd.org 2015/04/26 18:37:53

Modified files:
usr.bin/ssh: kexc25519s.c 

Log message:
Include stdio.h for FILE (used in sshkey.h) so it compiles with OPENSSL=no.



CVS: cvs.openbsd.org: src

2015-04-26 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2015/04/26 14:25:20

Modified files:
usr.bin/tmux   : cmd-split-window.c 

Log message:
Remove panes from layout if spawning them fails, reported by Anthony J
Bentley.



CVS: cvs.openbsd.org: src

2015-04-26 Thread Sebastian Benoit
CVSROOT:/cvs
Module name:src
Changes by: be...@cvs.openbsd.org   2015/04/26 14:12:03

Modified files:
usr.sbin/bgpd  : control.c parse.y 

Log message:
mlarkin asks bgpctl checks the length of the control socket path to
make sure it fits. When browsing around last night I saw that bgpd
does not. Any reason it shouldn't? Please commit

Add a check in parse.y to check this when reading the configuration.
ok phessler@ henning@



CVS: cvs.openbsd.org: www

2015-04-26 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:www
Changes by: n...@cvs.openbsd.org2015/04/26 11:03:51

Modified files:
faq: current.html 

Log message:
Add tip(1) removal.



CVS: cvs.openbsd.org: src

2015-04-26 Thread David Coppa
CVSROOT:/cvs
Module name:src
Changes by: dco...@cvs.openbsd.org  2015/04/26 11:26:59

Modified files:
usr.bin/sndiod : sndiod.c 

Log message:
Fix typo in the buffer size value: 7680 in the manpage vs 7860 in
the sndiod.c code.
Initially, I thought the error was in the manpage, but Alexander
told me it was the code, so fix the code instead.

ok ratchov@



CVS: cvs.openbsd.org: src

2015-04-26 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2015/04/26 13:53:50

Modified files:
usr.bin/file   : file.c 

Log message:
stat() the original link path not the resolved one which may be relative.



CVS: cvs.openbsd.org: src

2015-04-26 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2015/04/26 19:52:30

Modified files:
usr.bin/ssh: monitor.c packet.c ssh-keygen.c 

Log message:
fix compilation with OPENSSL=no; ok dtucker@



CVS: cvs.openbsd.org: src

2015-04-26 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2015/04/26 19:53:37

Modified files:
usr.bin/ssh: opacket.c 

Log message:
more OPENSSL=no fixes; ok dtucker@



CVS: cvs.openbsd.org: src

2015-04-26 Thread Brent Cook
CVSROOT:/cvs
Module name:src
Changes by: bc...@cvs.openbsd.org   2015/04/26 21:34:43

Modified files:
lib/libcrypto/crypto: getentropy_aix.c 

Log message:
Support AIX versions without WPAR support.

From Michael Felt.



CVS: cvs.openbsd.org: src

2015-04-26 Thread Brent Cook
CVSROOT:/cvs
Module name:src
Changes by: bc...@cvs.openbsd.org   2015/04/26 21:37:06

Modified files:
lib/libcrypto/crypto: getentropy_linux.c 

Log message:
Not all Linux libc's include linux/sysctl.h in sys/sysctl.h.

Include it if we have the sysctl syscall.