From: Andrew Lunn Date: Fri, 6 Feb 2026 03:17:41 +0000 (+0800) Subject: net: ftgmac100: List all compatibles X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03a2aba50b2c0f703638c90bf2ac9dc149ecab2c;p=thirdparty%2Fkernel%2Flinux.git net: ftgmac100: List all compatibles As a step towards cleanup the probe function, list each compatible the driver supports. Signed-off-by: Andrew Lunn Reviewed-by: Simon Horman Signed-off-by: Jacky Chou Link: https://patch.msgid.link/20260206-ftgmac-cleanup-v5-1-ad28a9067ea7@aspeedtech.com Signed-off-by: Paolo Abeni --- diff --git a/drivers/net/ethernet/faraday/ftgmac100.c b/drivers/net/ethernet/faraday/ftgmac100.c index a863f78412104..bd768a93b9e67 100644 --- a/drivers/net/ethernet/faraday/ftgmac100.c +++ b/drivers/net/ethernet/faraday/ftgmac100.c @@ -2091,6 +2091,9 @@ static void ftgmac100_remove(struct platform_device *pdev) } static const struct of_device_id ftgmac100_of_match[] = { + { .compatible = "aspeed,ast2400-mac" }, + { .compatible = "aspeed,ast2500-mac" }, + { .compatible = "aspeed,ast2600-mac" }, { .compatible = "faraday,ftgmac100" }, { } };