Commit Graph

4 Commits

Author SHA1 Message Date
Robert Marko 9f0fdb0ee2 mdio-tools: update to version 1.0.1
Version 1.0.1 brought the following changes:
[v1.0.1] - 2021-11-26

Primarily fixes a few issues in the kernel module that were found
during a quick review from Russell King:

https://lore.kernel.org/netdev/YYPThd7aX+TBWslz@shell.armlinux.org.uk/
https://lore.kernel.org/netdev/YYPU1gOvUPa00JWg@shell.armlinux.org.uk/

- mdio: The mvls subcommand now supports flushing the ATU

- mdio-netlink: Plug some glaring holes around integer overflows of
  the PC.
- mdio-netlink: Release reference to MDIO bus after a transaction
  completes.

So, update to the latest version and switch the kernel module back
to fetching tarballs like the userspace tool does.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2022-01-18 18:05:33 -08:00
Michael Heimpold 5302cce8ff mdio-netlink: fix PKG_MIRROR_HASH
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-07-21 23:00:09 +02:00
Michael Heimpold 30299084e8 mdio-tools: upgrade to latest commit
Also fix minor style issues.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-07-21 22:24:49 +02:00
Damien Mascord e3512741cd mdio-tools: Add package plus kernel module
mdio is a low-level Linux debug tool for communicating with devices attached an MDIO bus. It improves on existing tools in this space in a few important ways:

MDIO buses are directly addressable. Previous solutions relied on at least one Ethernet PHY on the bus being attached to a net device, which is typically not the case when the device is an Ethernet switch for example.
Complex operations can be performed atomically. The old API only supported a single read or write of a single register. mdio sends byte code to the mdio-netlink kernel module that can perform multiple operations, store intermediate values, loop etc. As a result, things like read/mask/write operations and accesses to paged PHYs can be performed safely.

Signed-off-by: Damien Mascord <tusker@tusker.org>
2021-07-15 16:27:46 +10:00