[PATCH net-next v4 01/15] net: ftgmac100: List all compatibles
From: Jacky Chou
Date: Wed Feb 04 2026 - 00:27:48 EST
From: Andrew Lunn <andrew@xxxxxxx>
As a step towards cleanup the probe function, list each compatible the
driver supports.
Signed-off-by: Andrew Lunn <andrew@xxxxxxx>
Reviewed-by: Simon Horman <horms@xxxxxxxxxx>
Signed-off-by: Jacky Chou <jacky_chou@xxxxxxxxxxxxxx>
---
drivers/net/ethernet/faraday/ftgmac100.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/ethernet/faraday/ftgmac100.c b/drivers/net/ethernet/faraday/ftgmac100.c
index a863f7841210..bd768a93b9e6 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" },
{ }
};
--
2.34.1