]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: ftgmac100: Add match data containing MAC ID
authorAndrew Lunn <andrew@lunn.ch>
Fri, 6 Feb 2026 03:17:42 +0000 (11:17 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 10 Feb 2026 12:40:50 +0000 (13:40 +0100)
commit41fbe5aa50863f8d64ba4d7ec376a1c870325137
treeefc1aa52caa17c17671a68597b75121e7c2743f0
parent03a2aba50b2c0f703638c90bf2ac9dc149ecab2c
net: ftgmac100: Add match data containing MAC ID

The driver supports 4 different versions of the FTGMAC core.  Extend
the compatible matching to include match data, which indicates the
version of the MAC. Default to the initial Faraday device if DT is not
being used. Lookup the match data early in probe to keep error handing
simple.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Jacky Chou <jacky_chou@aspeedtech.com>
Link: https://patch.msgid.link/20260206-ftgmac-cleanup-v5-2-ad28a9067ea7@aspeedtech.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/faraday/ftgmac100.c