OpenBSD cvs log

created 2024-03-04T21:13:24Z
begin 2024-02-27T00:00:00Z
end 2024-02-28T00:00:00Z
path src/sys
commits 2

date 2024-02-27T10:47:20Z
author kettenis
files src/sys/dev/fdt/if_dwxe.c log diff annotate
message Pass flags to configure internal PHY delays down to the PHY. Also pass
down the device tree node. This is necessary form boards that use ytphy(4)
such as the OrangePi Zero 3. Note that this means the PHY mode has to be
correctly specified in the device tree. This hasn't always been the case
and it is still wrong in some of the device trees provided by the U-Boot
version in packages that we use for 32-bit Allwinner SoCs. However those
boards typically use a Realtek RTL8211E PHY (rev. 5) and rgephy(4) does
not pay attention to the flags yet. So this commit shouldn't break any
boards that aren't already broken. I'm working on an U-Boot update that
will fix these device trees.

ok jsg@

date 2024-02-27T12:37:49Z
author bluhm
files src/sys/net/route.c log diff annotate
src/sys/net/route.h log diff annotate
src/sys/netinet/in_pcb.c log diff annotate
src/sys/netinet6/in6_pcb.c log diff annotate
src/sys/netinet6/in6_src.c log diff annotate
message Combine route_cache() and rtalloc_mpath() in new route_mpath().

Fill and check the cache and call rtalloc_mpath() together. Then
the caller of route_mpath() does not have to care about the uint32_t
*src pointer and just pass struct in_addr. All the conversions are
done inside the functions. ro->ro_rt is either valid or NULL. Note
that some places have a stricter rtisvalid() now compared to the
previous NULL check.

OK claudio@