Subject: Re: [PATCH] net/phy: micrel: Follow attached_dev to get to the MAC device

From: Andrew Lunn <[email-masked]>
Date: Sat, 17 Oct 2015 22:45:58 +0200

> Sure, will try to debug. It looks like phydev->attached_dev is valid, but
> phydev->attached_dev->dev.of_node is NULL.

Humm

phydev->attached_dev is a net_device, so should be the mac.  What
device is phydev->attached_dev->dev? Is it not the dev embedded in the
platform_device passed to socfpga_dwmac_probe()?

	Andrew