<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/ethernet/dnet.c, branch linux-4.9.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.9.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.9.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2023-01-07T11:07:22Z</updated>
<entry>
<title>net: ethernet: dnet: don't call dev_kfree_skb() under spin_lock_irqsave()</title>
<updated>2023-01-07T11:07:22Z</updated>
<author>
<name>Yang Yingliang</name>
</author>
<published>2022-12-08T14:21:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=82b04c27e58061684503a17197700011b97ea0eb'/>
<id>urn:sha1:82b04c27e58061684503a17197700011b97ea0eb</id>
<content type='text'>
[ Upstream commit f07fadcbee2a5e84caa67c7c445424200bffb60b ]

It is not allowed to call kfree_skb() or consume_skb() from hardware
interrupt context or with hardware interrupts being disabled.

In this case, the lock is used to protected 'bp', so we can move
dev_kfree_skb() after the spin_unlock_irqrestore().

Fixes: 4796417417a6 ("dnet: Dave DNET ethernet controller driver (updated)")
Signed-off-by: Yang Yingliang &lt;yangyingliang@huawei.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: ethernet: dnet: use phy_ethtool_{get|set}_link_ksettings</title>
<updated>2016-06-28T09:10:26Z</updated>
<author>
<name>Philippe Reynes</name>
</author>
<published>2016-06-23T21:48:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1ba44a1f4d8160387bdaab0f414bdbcc74f2d59b'/>
<id>urn:sha1:1ba44a1f4d8160387bdaab0f414bdbcc74f2d59b</id>
<content type='text'>
There are two generics functions phy_ethtool_{get|set}_link_ksettings,
so we can use them instead of defining the same code in the driver.

Signed-off-by: Philippe Reynes &lt;tremyfr@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: ethernet: dnet: use phydev from struct net_device</title>
<updated>2016-06-28T09:10:26Z</updated>
<author>
<name>Philippe Reynes</name>
</author>
<published>2016-06-23T21:48:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=958974fdaf7fcd26fcfcf409e3e61fdc3ab4020c'/>
<id>urn:sha1:958974fdaf7fcd26fcfcf409e3e61fdc3ab4020c</id>
<content type='text'>
The private structure contain a pointer to phydev, but the structure
net_device already contain such pointer. So we can remove the pointer
phydev in the private structure, and update the driver to use the
one contained in struct net_device.

Signed-off-by: Philippe Reynes &lt;tremyfr@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>mdio: Move allocation of interrupts into core</title>
<updated>2016-01-07T19:31:26Z</updated>
<author>
<name>Andrew Lunn</name>
</author>
<published>2016-01-06T19:11:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e7f4dc3536a40097f95103ddf98dd55b3a980f5b'/>
<id>urn:sha1:e7f4dc3536a40097f95103ddf98dd55b3a980f5b</id>
<content type='text'>
Have mdio_alloc() create the array of interrupt numbers, and
initialize it to POLLING. This is what most MDIO drivers want, so
allowing code to be removed from the drivers.

Signed-off-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Reviewed-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>phy: Centralise print about attached phy</title>
<updated>2016-01-07T19:31:25Z</updated>
<author>
<name>Andrew Lunn</name>
</author>
<published>2016-01-06T19:11:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2220943a21e26d97d7fd8f83c004b947326b469d'/>
<id>urn:sha1:2220943a21e26d97d7fd8f83c004b947326b469d</id>
<content type='text'>
Many Ethernet drivers contain the same netdev_info() print statement
about the attached phy. Move it into the phy device code. Additionally
add a varargs function which can be used to append additional
information.

Signed-off-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: dnet: Use phy_find_first() helper</title>
<updated>2016-01-07T19:31:25Z</updated>
<author>
<name>Andrew Lunn</name>
</author>
<published>2016-01-06T19:11:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=04521bf840482af30a6ed54835cefadcecdd56da'/>
<id>urn:sha1:04521bf840482af30a6ed54835cefadcecdd56da</id>
<content type='text'>
Replace the open coded search for the first phy with a call to the
existing helper function.

Signed-off-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Reviewed-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>phy: add phydev_name() wrapper</title>
<updated>2016-01-07T19:31:25Z</updated>
<author>
<name>Andrew Lunn</name>
</author>
<published>2016-01-06T19:11:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=84eff6d194df442bee62c129f2f47efb0dbd0468'/>
<id>urn:sha1:84eff6d194df442bee62c129f2f47efb0dbd0468</id>
<content type='text'>
Add a phydev_name() function, to help with moving some structure members
from phy_device.

Signed-off-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: dnet: fix dnet_poll()</title>
<updated>2015-01-12T02:44:55Z</updated>
<author>
<name>Eric Dumazet</name>
</author>
<published>2015-01-11T19:02:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=12d80ac4e77265a89b87c3b80e2c9a7b29f7fdfb'/>
<id>urn:sha1:12d80ac4e77265a89b87c3b80e2c9a7b29f7fdfb</id>
<content type='text'>
A NAPI poll() handler is supposed to return exactly the budget when/if
napi_complete() has not been called.

It is also supposed to return number of frames that were received, so
that netdev_budget can have a meaning.

Signed-off-by: Eric Dumazet &lt;edumazet@google.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: dnet: Use managed interfaces</title>
<updated>2014-08-02T23:40:52Z</updated>
<author>
<name>Himangi Saraogi</name>
</author>
<published>2014-08-01T15:30:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ae29223eaf0ecf4c701457a6b40d7b8f19c90413'/>
<id>urn:sha1:ae29223eaf0ecf4c701457a6b40d7b8f19c90413</id>
<content type='text'>
This patch introduces the use of managed interfaces like
devm_ioremap_resource and does away with the calls to free the
allocated memory in the probe and remove functions. Also, some
labels and variable are done away with. This fixes a bug as there
was a missing release_mem_region in the remove function.

Signed-off-by: Himangi Saraogi &lt;himangi774@gmail.com&gt;
Acked-by: Julia Lawall &lt;julia.lawall@lip6.fr&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>dnet: remove empty MDIO bus reset function</title>
<updated>2014-03-28T05:38:02Z</updated>
<author>
<name>Florian Fainelli</name>
</author>
<published>2014-03-27T01:07:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=89e158f909253d8c7c2a65d1b2cbac2f07a28ed0'/>
<id>urn:sha1:89e158f909253d8c7c2a65d1b2cbac2f07a28ed0</id>
<content type='text'>
dnet_mdio_reset() does nothing useful and is optional for the MDIO bus
code, so let's just remove it.

Signed-off-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
