<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/net/phy/fixed_phy.c, branch v4.0</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>net: phy: fixed: allow setting no update_link callback</title>
<updated>2015-01-26T00:02:13+00:00</updated>
<author>
<name>Florian Fainelli</name>
<email>f.fainelli@gmail.com</email>
</author>
<published>2015-01-21T00:41:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=799d44442c4821dec65fc59baa4ddc6783a25c54'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: Allow FIXED_PHY to be modular.</title>
<updated>2014-12-16T20:02:23+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2014-12-16T19:30:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=6539c44d08ac2eea693b6163135169b9c8c18bb1'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
</feed>
