projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mwifiex: do not increase tx_pkts_queued if receive address tx paused
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
of
/
of_mdio.c
diff --git
a/drivers/of/of_mdio.c
b/drivers/of/of_mdio.c
index 0c064485d1c2c47e3c84b2ab25fd524bf200ea33..fdc60db608291b7e1fd81c6a3d774ba9c9c77467 100644
(file)
--- a/
drivers/of/of_mdio.c
+++ b/
drivers/of/of_mdio.c
@@
-68,6
+68,9
@@
static int of_mdiobus_register_phy(struct mii_bus *mdio, struct device_node *chi
phy->irq = mdio->irq[addr];
}
+ if (of_property_read_bool(child, "broken-turn-around"))
+ mdio->phy_ignore_ta_mask |= 1 << addr;
+
/* Associate the OF node with the device structure so it
* can be looked up later */
of_node_get(child);