rge: log silicon revision during attach
The initial import from OpenBSD contained chip revision printf() calls
commented out, as OpenBSD's bare printf() style does not translate to
FreeBSD's device_printf() idiom. The result is that users cannot
distinguish RTL8125 from RTL8125B, RTL8125D_1, RTL8125D_2 etc. via
dmesg alone, even though all variants show as '<RTL8125>' from the PCI
probe string.
Add proper device_printf() calls including the raw hwrev value,
consistent with how re(4) reports chip revisions.
Signed-off-by: Christos Longros <chris.longros at gmail.com>
Reviewed by: zlei, imp, adrian
Differential Revision: https://reviews.freebsd.org/D55402
rge: correctly free busdma memory / zero things out only if allocated
* Only free busdma memory that was allocated
* Don't free tx/rx rings until their buffers have also been freed
PR: kern/293307
Reviewed by: zlei
Differential Revision: https://reviews.freebsd.org/D55420
rge: fix callout setup/teardown; handle invalid ethernet address
* Do the callout init early; since some of the teardown path expects
the callout to be valid
* Handle an invalid ethernet address by generating a local one.
PR: kern/293307
Reviewed by: zlei
Differential Revision: https://reviews.freebsd.org/D55419
OFW: Improve OFW_CPU.
Accept the assigned clock on the CPU node.
Don't report a missing "clock-frequency" property if the CPU node has
a "clocks" property.
MFC after: 3 weeks
fusefs: remove the obsolete rename_lock
This lock was included in the original GSoC submission. Its purpose
seems to have been to prevent concurrent FUSE_RENAME operations for the
current mountpoint, as well as to synchronize FUSE_RENAME with
fuse_vnode_setparent. But it's obsolete, now that ef6ea91593e added
mnt_renamelock .
MFC after: 2 weeks
Sponsored by: ConnectWise
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D55231
multimedia/lives: Improve port
- Fix build with FFMPEG option, but mark it BROKEN:
"Crashes at runtime if the FFMPEG option is enabled".
- Replace PORTVERSION with DISTVERSION.
- Merge gettext-runtime and gettext-tools to gettext in USES.
- Split long OPTIONS_DEFINE.
- Remove NLS from OPTIONS_DEFINE - NLS is enabled by default by ports
framework.
- Remove NLS_USES=gettext-tools - gettext already in USES.
- Refresh patch-jack1.
graphics/cloudcompare: Update 2.12.4 => 2.13.2, take maintainership
* Add WWW for source code repository.
* Static tarball is available, but not used, as GH_TUPLE is needed
for bundled external libraries and 3-rd party plugins.
* GL is needed for the main application, not for the plugins only.
* Build PLUGIN_IO_QPDAL unconditionally, just like other plugins.
* Supply *.desktop with *.png files from the previous version, as
upstream doesn't ship them anymore. Fix post-install accordingly.
* Fix plugin path detection actually enabling plugins autoloading.
* Improve COMMENT and pkg-descr
Reviewed by: arrowd@
Approved by: db@, yuri@ (Mentors, implicit)
Differential Revision: https://reviews.freebsd.org/D55434
x11/hyprshutdown: Add port: Graceful shutdown utility for Hyprland
A graceful shutdown/logout utility for Hyprland, which prevents apps
from crashing / dying unexpectedly.
Notes:
- hyprshutdown does not shut down the system, it only shuts down
Hyprland.
- hyprshutdown does not work with anything other than Hyprland, as it
relies on Hyprland IPC.
WWW: https://github.com/hyprwm/hyprshutdown