summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
2655fbe)
It's a little noisier but makes it obvious when the ar7240 switch was
connected to the MDIO bus, and to which phy device (or the failure
to do so).
Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
ag->duplex = pdata->duplex;
ag->speed = pdata->speed;
ag->duplex = pdata->duplex;
ag->speed = pdata->speed;
+ if (!ret) {
+ dev_info(dev, "connected to fixed PHY at %s [uid=%08x, driver=%s]\n",
+ phydev_name(ag->phy_dev),
+ ag->phy_dev->phy_id, ag->phy_dev->drv->name);
+ } else {
+ pr_err("Failed to connect to fixed PHY\n");
+ }