OpenBSD cvs log

created 2019-10-15T01:46:54Z
begin 2019-09-30T00:00:00Z
end 2019-10-01T00:00:00Z
path src/sys
commits 11

date 2019-09-30T01:53:04Z
author dlg
files src/sys/net/bpf.h log diff annotate
message remove the "copy function" argument to bpf_mtap_hdr.

it was previously (ab)used by pflog, which has since been fixed.
apart from that nothing else used it, so we can trim the cruft.

ok kn@ claudio@ visa@
visa@ also made sure i fixed ipw(4) so i386 won't break.

date 2019-09-30T01:53:05Z
author dlg
files src/sys/dev/pci/if_ipw.c log diff annotate
src/sys/dev/pci/if_iwi.c log diff annotate
src/sys/dev/pci/if_iwm.c log diff annotate
src/sys/dev/pci/if_iwn.c log diff annotate
src/sys/dev/pci/if_mcx.c log diff annotate
src/sys/dev/pci/if_wpi.c log diff annotate
src/sys/net/bpf.c log diff annotate
src/sys/net/if_pflog.c log diff annotate
src/sys/net/if_switch.c log diff annotate
src/sys/netinet/ip_ah.c log diff annotate
src/sys/netinet/ip_esp.c log diff annotate
src/sys/netinet/ip_ipcomp.c log diff annotate
src/sys/netinet/ipsec_input.c log diff annotate
message remove the "copy function" argument to bpf_mtap_hdr.

it was previously (ab)used by pflog, which has since been fixed.
apart from that nothing else used it, so we can trim the cruft.

ok kn@ claudio@ visa@
visa@ also made sure i fixed ipw(4) so i386 won't break.

date 2019-09-30T06:25:01Z
author dlg
files src/sys/dev/pci/if_ixl.c log diff annotate
message use the right values when figuring out which if_baudrate to use.

i was basically using ISSET(bitfield, shift) instead of
ISSET(bitfield, 1 << shift), so things didn't line up properly.

before this the baudrate would come out as 0, but lacp mode in
trunk(4) wants a non-zero if_baudrate value to help pick the best
aggregator to use. if the port reports 0, it doesn't get selected.
this probably explains why trunk(4) doesn't like doing lacp on
virtual ethernet interfaces too, but at least i can get a number
that actually means something on a hardware interface. alternatively,
use aggr(4), which doesn't care about the baudrate.

ok jmatthew@

date 2019-09-30T10:38:55Z
author dlg
files src/sys/dev/pci/if_mcx.c log diff annotate
message try to make if_baudrate look plausible.

this updates the eth proto capability map so it records the baudrate
against the different link types and their media, and then reads
it when the link state changes.

this should help if you want to use mcx with trunk(4) in lacp mode.

ok jmatthew@

date 2019-09-30T11:27:37Z
author krw
files src/sys/scsi/scsi_debug.h log diff annotate
message SC_DEBUGN is not spelled SCSI_DEBUGN.

date 2019-09-30T20:40:54Z
author kettenis
files src/sys/dev/ofw/ofw_misc.c log diff annotate
src/sys/dev/ofw/ofw_misc.h log diff annotate
message Add a PWM framework.

ok patrick@

date 2019-09-30T20:42:45Z
author kettenis
files src/sys/dev/fdt/amlpwm.c log diff annotate
src/sys/dev/fdt/files.fdt log diff annotate
message Add amlpwm(4), a driver for the PWM controller found on various Amlogic SoCs.

ok patrick@

date 2019-09-30T20:44:13Z
author kettenis
files src/sys/dev/fdt/files.fdt log diff annotate
src/sys/dev/fdt/pwmreg.c log diff annotate
message Add pwmreg(4), a driver that implements a voltage regulator that uses a
PWM controller to set the voltage.

ok patrick@

date 2019-09-30T20:47:38Z
author kettenis
files src/sys/arch/arm/arm/cpu.c log diff annotate
src/sys/arch/arm64/arm64/cpu.c log diff annotate
message Enable CPU voltage regulators. The firmware I built for my odroid-n2
(based on mainline U-Boot and a proprietary primary loader and ATF) doesn't
actually enable the regulator for one of the CPU clusters.

ok patrick@

date 2019-09-30T20:48:15Z
author kettenis
files src/sys/arch/arm64/conf/GENERIC log diff annotate
message Enable amlpwm(4) and pwmreg(4).

ok patrick@

date 2019-09-30T21:48:32Z
author kettenis
files src/sys/arch/arm/arm/cpu.c log diff annotate
src/sys/arch/arm/arm/cpufunc.c log diff annotate
src/sys/arch/arm/include/armreg.h log diff annotate
src/sys/arch/arm/include/cpu.h log diff annotate
message Synch the cpu match/attach/identify code with arm64. This drops some
information from dmesg that is no longer relevant to ARMv7 CPUs in favour
of printing the full architected cache hierarchy in the same way as we
do on arm64. It also is another small step towards SMP support on armv7.

ok patrick@