From: Pawel Dembicki Date: Tue, 14 Apr 2026 09:41:35 +0000 (+0200) Subject: mdio-tools: update to 1.3.2 X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=9d59ce08a14fa5b23134f406a22837cea4076e9b;p=openwrt-packages.git mdio-tools: update to 1.3.2 Update the mdio-netlink kmod and userspace mdio-tools to version 1.3.2. [v1.3.2] - 2026-04-14 --------------------- Build fixes and support for Microchip's paged PHYs. Added: - mdio: A new addressing mode "mscc": Used to access PHYs from Microchip that uses C22 register 31 as a page register Fixed: - mdio: Fix VPATH builds and various other build related warnings Signed-off-by: Pawel Dembicki --- diff --git a/net/mdio-tools/Makefile b/net/mdio-tools/Makefile index 5f6720ade..07d8c8548 100644 --- a/net/mdio-tools/Makefile +++ b/net/mdio-tools/Makefile @@ -1,13 +1,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mdio-tools -PKG_VERSION:=1.3.1 -PKG_RELEASE:=3 +PKG_VERSION:=1.3.2 +PKG_RELEASE:=1 PKG_SOURCE_URL:=https://github.com/wkz/mdio-tools PKG_SOURCE_PROTO:=git -PKG_SOURCE_VERSION:=f74eaf38dbda441df4fcaeb21ca4465957953a2f -PKG_MIRROR_HASH:=faa3ad7dd254361c6a9f044aa134982cbeec0423149726e82363833b9f0e0f11 +PKG_SOURCE_VERSION:=a1fca6b8fb3b5a95ebb28324a95673488dddc005 +PKG_MIRROR_HASH:=da219b19a42db0e8f559c33a1dcd3e31a854ed907518b3ffa8f89a09152a9da6 PKG_FIXUP:=autoreconf diff --git a/net/mdio-tools/patches/0001-mdio-fix-segmentation-fault-in-dump-operation.patch b/net/mdio-tools/patches/0001-mdio-fix-segmentation-fault-in-dump-operation.patch deleted file mode 100644 index e810c4236..000000000 --- a/net/mdio-tools/patches/0001-mdio-fix-segmentation-fault-in-dump-operation.patch +++ /dev/null @@ -1,34 +0,0 @@ -From d7e314e45c112198d15220333b869604478a2e49 Mon Sep 17 00:00:00 2001 -From: Aleksander Jan Bajkowski -Date: Sun, 28 Sep 2025 23:31:00 +0200 -Subject: [PATCH] mdio: fix segmentation fault in dump operation - -Return an ENOMEM error when the buffer is too small to -perform the operation. - -Before: -$ mdio mt7530-0 0x05:31 dump 0x0+512 -Segmentation fault - -After: -$ mdio mt7530-0 0x05:31 dump 0x0+512 -ERROR: Dump operation failed (-12) - -Fixes: 882488711ca0 ("mdio: Add common dump operation to read ranges of registers") -Signed-off-by: Aleksander Jan Bajkowski ---- - src/mdio/mdio.c | 3 +++ - 1 file changed, 3 insertions(+) - ---- a/src/mdio/mdio.c -+++ b/src/mdio/mdio.c -@@ -613,6 +613,9 @@ int mdio_xfer_timeout(const char *bus, s - struct nlmsghdr *nlh; - int err; - -+ if (prog->len * sizeof(*prog->insns) > len) -+ return -ENOMEM; -+ - nlh = msg_init(MDIO_GENL_XFER, NLM_F_REQUEST | NLM_F_ACK); - if (!nlh) - return -ENOMEM;