OpenBSD cvs log

created 2019-01-31T09:57:14Z
begin 2018-01-08T00:00:00Z
end 2018-01-09T00:00:00Z
path src/sys
commits 15

date 2018-01-08T00:46:15Z
author patrick
files src/sys/dev/ic/bwfm.c log diff annotate
src/sys/dev/pci/if_bwfm_pci.c log diff annotate
message Delete flowrings when we take the interface down or change its
settings.

date 2018-01-08T08:14:00Z
author mlarkin
files src/sys/dev/i2c/ihidev.c log diff annotate
src/sys/dev/pci/dwiic_pci.c log diff annotate
message Attach dwiic_pci on Dell Precision 7520. Also restrict ihidev reports
to those of 3 bytes or more (as per the hid-over-i2c spec).

discussed with jcs, kettenis

date 2018-01-08T11:52:14Z
author mpi
files src/sys/kern/tty_pty.c log diff annotate
src/sys/sys/ttycom.h log diff annotate
message Translate the TIOCSBRK & TIOCCBRK ioctl(2)s issued on a pty(4) slave to
corresponding user mode ioctls.

If the master part of the pseudo terminal previously enabled TIOCUCNTL,
it will now receive the TIOCUCNTL_{S,C}BRK commands. This allows to
send BREAKS commands over a pty(4) independently of the serial terminal
emulator used.

Guidance and ok nicm@, ok ccardenas@, looks ok to deraadt@

date 2018-01-08T11:54:28Z
author mpi
files src/sys/kern/kern_pledge.c log diff annotate
message Allow TIOCUCNTL issued on a pty(4) master in promise "tty".

This will be soon be used to emulate BREAK commands in vmd(8).

ok nicm@, ccardenas@, deraadt@

date 2018-01-08T13:44:43Z
author visa
files src/sys/arch/octeon/include/atomic.h log diff annotate
message Override membar_producer() for octeon.

OK dlg@

date 2018-01-08T16:15:34Z
author millert
files src/sys/ufs/ext2fs/ext2fs_readwrite.c log diff annotate
src/sys/ufs/ext2fs/ext2fs_vnops.c log diff annotate
src/sys/ufs/ufs/ufs_vnops.c log diff annotate
message Add kqueue support for ext2fs based on ffs. OK deraadt@

date 2018-01-08T16:16:16Z
author millert
files src/sys/ufs/ext2fs/ext2fs_readwrite.c log diff annotate
message Pass correct size to uvm_vnp_setsize() for large files.

date 2018-01-08T16:44:32Z
author visa
files src/sys/arch/mips64/include/setjmp.h log diff annotate
src/sys/arch/mips64/include/signal.h log diff annotate
message Move SC_* defines into , and rename them,
so that is not needed in setjmp.S.

Suggested by kettenis@ long ago, OK deraadt@

date 2018-01-08T17:29:21Z
author patrick
files src/sys/dev/pci/if_bwfm_pci.c log diff annotate
message Guard the debug printf function behind BWFM_DEBUG as well. Also only
print the firmware's dmesg(8) if we're running with a higher debug
mode.

Prompted by Michael W. Bombardieri

date 2018-01-08T17:53:07Z
author patrick
files src/sys/dev/pci/if_bwfm_pci.c log diff annotate
message The bwfm(4) TX ring expects the ethernet header as part of the TX info
struct. The data length is the length of the frame without the header.
In the previous version m_adj(9) is used, but since that was changed we
need to decrease the length ourselves.

date 2018-01-08T17:57:48Z
author patrick
files src/sys/dev/pci/if_bwfm_pci.c log diff annotate
message In AP mode multicast packets share the flowrings with broadcast
packets.

date 2018-01-08T22:33:13Z
author mpi
files src/sys/kern/sys_futex.c log diff annotate
message Do not pass a userland pointer to ktrabstimespec().

Prevents an infinite pagefault/pmap_enter() loop when ktracing apps
doing a lot of futex(2) calls like firefox & chrome.

date 2018-01-08T23:05:21Z
author bluhm
files src/sys/net/if_var.h log diff annotate
message Convert IF_CLONE_INITIALIZER() into C99 initializer.
OK mpi@

date 2018-01-08T23:30:11Z
author patrick
files src/sys/dev/ic/bwfm.c log diff annotate
src/sys/dev/ic/bwfmreg.h log diff annotate
message Initial support for HOSTAP mode. With this bwfm(4) can spawn an access
point including WPA2 support. We now have a different event mask per
mode, so that events that are only useful for STA mode don't interfere
with HOSTAP mode. Power savings is disabled when we act as AP. The
connection events generate 802.11 frames for handling auth/assoc and
deauth/deassoc so that our stack takes note of the connecting nodes.

date 2018-01-08T23:30:36Z
author patrick
files src/sys/dev/usb/if_bwfm_usb.c log diff annotate
message Fix indentation.