<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/net/phy/fixed_phy.c, branch v4.0</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v4.0</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.0'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2015-01-26T00:02:13Z</updated>
<entry>
<title>net: phy: fixed: allow setting no update_link callback</title>
<updated>2015-01-26T00:02:13Z</updated>
<author>
<name>Florian Fainelli</name>
<email>f.fainelli@gmail.com</email>
</author>
<published>2015-01-21T00:41:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=799d44442c4821dec65fc59baa4ddc6783a25c54'/>
<id>urn:sha1:799d44442c4821dec65fc59baa4ddc6783a25c54</id>
<content type='text'>
fixed_phy_set_link_update() contains an early check against a NULL
callback pointer, which basically prevents us from removing any
previous callback we may have set. The users of the fp-&gt;link_update
callback deal with a NULL callback just fine, so we really want to allow
"removing" a link_update callback to avoid dangling callback pointers
during e.g: module removal.

Signed-off-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: Allow FIXED_PHY to be modular.</title>
<updated>2014-12-16T20:02:23Z</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2014-12-16T19:30:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6539c44d08ac2eea693b6163135169b9c8c18bb1'/>
<id>urn:sha1:6539c44d08ac2eea693b6163135169b9c8c18bb1</id>
<content type='text'>
Otherwise we get things like:

warning: (NET_DSA_BCM_SF2 &amp;&amp; BCMGENET &amp;&amp; SYSTEMPORT) selects FIXED_PHY which has unmet direct dependencies (NETDEVICES &amp;&amp; PHYLIB=y)

In order to make this work we have to rename fixed.c to fixed_phy.c
because the regulator drivers already have a module named "fixed.o".

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
