mdio-tools: update to 1.3.2
authorPawel Dembicki <redacted>
Tue, 14 Apr 2026 09:41:35 +0000 (11:41 +0200)
committerAlexandru Ardelean <redacted>
Thu, 16 Apr 2026 19:08:00 +0000 (22:08 +0300)
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 <redacted>
net/mdio-tools/Makefile
net/mdio-tools/patches/0001-mdio-fix-segmentation-fault-in-dump-operation.patch [deleted file]

index 5f6720ade088c08ab21b84eb2b372029b88942d4..07d8c8548985f587b9a7bca8dfdfdc872ed8ca1f 100644 (file)
@@ -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 (file)
index e810c42..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-From d7e314e45c112198d15220333b869604478a2e49 Mon Sep 17 00:00:00 2001
-From: Aleksander Jan Bajkowski <olek2@wp.pl>
-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 <olek2@wp.pl>
----
- 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;
git clone https://git.99rst.org/PROJECT