OpenBSD cvs log

created 2023-04-15T20:25:24Z
begin 2023-04-08T00:00:00Z
end 2023-04-09T00:00:00Z
path src/sys
commits 6

date 2023-04-08T02:32:38Z
author dlg
files src/sys/dev/fdt/ahci_fdt.c log diff annotate
message try and cope with not having the firmware/boot loader init the hardware.

more specifically, spin up the clocks and phy, and if the device
tree has a "ports-implemented" property use it to initialise the
AHCI_REG_PI register.

this gets sata working on a banana pi bpi-r2 pro.

help from jared mcneill
ok jmatthew@ kettenis@

date 2023-04-08T05:38:25Z
author jsg
files src/sys/dev/fdt/if_mvpp.c log diff annotate
message correct write to MV_XLG_PORT_MAC_CTRL4_REG
tested by matthieu@ ok patrick@

date 2023-04-08T05:40:54Z
author jsg
files src/sys/dev/fdt/sdhc_fdt.c log diff annotate
message add missing write to XENON_EMMC_PHY_PAD_CONTROL2
ok patrick@

date 2023-04-08T13:49:38Z
author mvs
files src/sys/net/if.c log diff annotate
message Move rtm_ifannounce(IFAN_DEPARTURE) outside netlock within if_detach().
This is the mbuf(9) allocation and broadcast transmission for PF_ROUTE
sockets, netlock is not required here.

ok bluhm@

date 2023-04-08T13:50:22Z
author mvs
files src/sys/netinet/ip_gre.c log diff annotate
message Do not reload `inp' in gre_send(). The pointer to PCB of raw socket is
immutable, we don't need to reload it again.

ok bluhm@

date 2023-04-08T18:12:08Z
author kn
files src/sys/lib/libsa/fchmod.c log diff annotate
message Return -1 on actual failure

MI boot.c's "a-x" fchmod on bsd.upgrade is the only caller that checks the
return value and that call can fail on, e.g. softraid volumes.

Stop clobbering the actual fchmod return value and get that warning printed.

OK deraadt