Re: [PATCH net-next v6 5/7] net: tn40xx: create swnode for mdio and aqr105 phy and add to mdiobus

From: Andrew Lunn
Date: Thu Mar 20 2025 - 17:24:14 EST


> +void tn40_swnodes_cleanup(struct tn40_priv *priv)
> +{
> + /* cleanup of swnodes is only needed for AQR105-based cards */
> + if (priv->pdev->device == 0x4025) {

Maybe replace this magic number with a #define?

Andrew