]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
net: ftgmac100: List all compatibles
authorAndrew Lunn <andrew@lunn.ch>
Fri, 6 Feb 2026 03:17:41 +0000 (11:17 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 10 Feb 2026 12:40:50 +0000 (13:40 +0100)
As a step towards cleanup the probe function, list each compatible the
driver supports.

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-1-ad28a9067ea7@aspeedtech.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/faraday/ftgmac100.c

index a863f78412104b5711bea0c7b3e88732b21d68ee..bd768a93b9e67d039fbd755b52ed2d1084387a04 100644 (file)
@@ -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" },
        { }
 };