drivers: net: ldpaa: add DTS based probing support
[platform/kernel/u-boot.git] / drivers / net / ldpaa_eth / ldpaa_eth.h
index 3f9154b..e90513e 100644 (file)
@@ -116,7 +116,13 @@ struct ldpaa_fas {
                                         LDPAA_ETH_FAS_TIDE)
 
 struct ldpaa_eth_priv {
+#ifdef CONFIG_DM_ETH
+       struct phy_device *phy;
+       int phy_mode;
+       bool started;
+#else
        struct eth_device *net_dev;
+#endif
        uint32_t dpmac_id;
        uint16_t dpmac_handle;