]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Merge branch 'net-ftgmac100-various-probe-cleanups'
authorPaolo Abeni <pabeni@redhat.com>
Tue, 10 Feb 2026 12:40:52 +0000 (13:40 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 10 Feb 2026 12:40:53 +0000 (13:40 +0100)
commit86dbebfb9053cd8626ee7c0297e991ce4843bd3f
tree2cba85724ef4d02f932c7209a2e880341fb1bbf3
parent4f65ee7e0cbfd6ff4db88a60a08bb10f1fdc4ecc
parent7ac5dddef5168b13e490402802f7628d012f477d
Merge branch 'net-ftgmac100-various-probe-cleanups'

Jacky Chou says:

====================
net: ftgmac100: Various probe cleanups

The probe function of the ftgmac100 is rather complex, due to the way
it has evolved over time, dealing with poor DT descriptions, and new
variants of the MAC.

Make use of DT match data to identify the MAC variant, rather than
looking at the compatible string all the time.

Make use of devm_ calls to simplify cleanup. This indirectly fixes
inconsistent goto label names.

Always probe the MDIO bus, when it exists. This simplifies the logic a
bit.

Move code into helpers to simply probe.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jacky Chou <jacky_chou@aspeedtech.com>
====================

Link: https://patch.msgid.link/20260206-ftgmac-cleanup-v5-0-ad28a9067ea7@aspeedtech.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>