mdio-tools: Add package plus kernel module
authorDamien Mascord <redacted>
Tue, 13 Jul 2021 01:30:09 +0000 (11:30 +1000)
committerDamien Mascord <redacted>
Thu, 15 Jul 2021 06:27:46 +0000 (16:27 +1000)
commite3512741cde5fba7a3b27bfb366fff4ac996aa61
tree1ff449784be42f2605590470cfb0d2f3fb50b752
parente319e89fde0f3c6b3c8ecfffe9bd759c9a44ac15
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 <redacted>
kernel/mdio-netlink/Makefile [new file with mode: 0644]
net/mdio-tools/Makefile [new file with mode: 0644]
git clone https://git.99rst.org/PROJECT