<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/net/amd8111e.c, branch v2.6.32.41</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>netdev: Remove redundant checks for CAP_NET_ADMIN in MDIO implementations</title>
<updated>2009-09-04T03:02:11+00:00</updated>
<author>
<name>Ben Hutchings</name>
<email>bhutchings@solarflare.com</email>
</author>
<published>2009-09-03T10:39:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=7ab0f2736bfe137a82a7084bbfb5f809da95cabd'/>
<id>7ab0f2736bfe137a82a7084bbfb5f809da95cabd</id>
<content type='text'>
dev_ioctl() already checks capable(CAP_NET_ADMIN) before calling the
driver's implementation of MDIO ioctls.

Signed-off-by: Ben Hutchings &lt;bhutchings@solarflare.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>
dev_ioctl() already checks capable(CAP_NET_ADMIN) before calling the
driver's implementation of MDIO ioctls.

Signed-off-by: Ben Hutchings &lt;bhutchings@solarflare.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>netdev: convert bulk of drivers to netdev_tx_t</title>
<updated>2009-09-01T08:14:07+00:00</updated>
<author>
<name>Stephen Hemminger</name>
<email>shemminger@vyatta.com</email>
</author>
<published>2009-08-31T19:50:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=61357325f377889a1daffa14962d705dc814dd0e'/>
<id>61357325f377889a1daffa14962d705dc814dd0e</id>
<content type='text'>
In a couple of cases collapse some extra code like:
   int retval = NETDEV_TX_OK;
   ...
   return retval;
into
   return NETDEV_TX_OK;

Signed-off-by: Stephen Hemminger &lt;shemminger@vyatta.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>
In a couple of cases collapse some extra code like:
   int retval = NETDEV_TX_OK;
   ...
   return retval;
into
   return NETDEV_TX_OK;

Signed-off-by: Stephen Hemminger &lt;shemminger@vyatta.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions</title>
<updated>2009-07-06T02:16:04+00:00</updated>
<author>
<name>Patrick McHardy</name>
<email>kaber@trash.net</email>
</author>
<published>2009-06-23T06:03:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=6ed106549d17474ca17a16057f4c0ed4eba5a7ca'/>
<id>6ed106549d17474ca17a16057f4c0ed4eba5a7ca</id>
<content type='text'>
This patch is the result of an automatic spatch transformation to convert
all ndo_start_xmit() return values of 0 to NETDEV_TX_OK.

Some occurences are missed by the automatic conversion, those will be
handled in a seperate patch.

Signed-off-by: Patrick McHardy &lt;kaber@trash.net&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>
This patch is the result of an automatic spatch transformation to convert
all ndo_start_xmit() return values of 0 to NETDEV_TX_OK.

Some occurences are missed by the automatic conversion, those will be
handled in a seperate patch.

Signed-off-by: Patrick McHardy &lt;kaber@trash.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32)</title>
<updated>2009-04-07T15:31:11+00:00</updated>
<author>
<name>Yang Hongyang</name>
<email>yanghy@cn.fujitsu.com</email>
</author>
<published>2009-04-07T02:01:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=284901a90a9e0b812ca3f5f852cbbfb60d10249d'/>
<id>284901a90a9e0b812ca3f5f852cbbfb60d10249d</id>
<content type='text'>
Replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32)

Signed-off-by: Yang Hongyang&lt;yanghy@cn.fujitsu.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32)

Signed-off-by: Yang Hongyang&lt;yanghy@cn.fujitsu.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: Remove redundant NAPI functions</title>
<updated>2009-01-21T22:33:50+00:00</updated>
<author>
<name>Ben Hutchings</name>
<email>bhutchings@solarflare.com</email>
</author>
<published>2009-01-20T00:43:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=288379f050284087578b77e04f040b57db3db3f8'/>
<id>288379f050284087578b77e04f040b57db3db3f8</id>
<content type='text'>
Following the removal of the unused struct net_device * parameter from
the NAPI functions named *netif_rx_* in commit 908a7a1, they are
exactly equivalent to the corresponding *napi_* functions and are
therefore redundant.

Signed-off-by: Ben Hutchings &lt;bhutchings@solarflare.com&gt;
Acked-by: Neil Horman &lt;nhorman@tuxdriver.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>
Following the removal of the unused struct net_device * parameter from
the NAPI functions named *netif_rx_* in commit 908a7a1, they are
exactly equivalent to the corresponding *napi_* functions and are
therefore redundant.

Signed-off-by: Ben Hutchings &lt;bhutchings@solarflare.com&gt;
Acked-by: Neil Horman &lt;nhorman@tuxdriver.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>amd8111e: convert to net_device_ops</title>
<updated>2009-01-08T02:09:58+00:00</updated>
<author>
<name>Stephen Hemminger</name>
<email>shemminger@vyatta.com</email>
</author>
<published>2009-01-08T02:09:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=887e53d2d131fe0740326f66f1b417671fdfcf9a'/>
<id>887e53d2d131fe0740326f66f1b417671fdfcf9a</id>
<content type='text'>
Signed-off-by: Stephen Hemminger &lt;shemminger@vyatta.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>
Signed-off-by: Stephen Hemminger &lt;shemminger@vyatta.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: Remove unused netdev arg from some NAPI interfaces.</title>
<updated>2008-12-23T04:43:12+00:00</updated>
<author>
<name>Neil Horman</name>
<email>nhorman@tuxdriver.com</email>
</author>
<published>2008-12-23T04:43:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=908a7a16b852ffd618a9127be8d62432182d81b4'/>
<id>908a7a16b852ffd618a9127be8d62432182d81b4</id>
<content type='text'>
When the napi api was changed to separate its 1:1 binding to the net_device
struct, the netif_rx_[prep|schedule|complete] api failed to remove the now
vestigual net_device structure parameter.  This patch cleans up that api by
properly removing it..

Signed-off-by: Neil Horman &lt;nhorman@tuxdriver.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>
When the napi api was changed to separate its 1:1 binding to the net_device
struct, the netif_rx_[prep|schedule|complete] api failed to remove the now
vestigual net_device structure parameter.  This patch cleans up that api by
properly removing it..

Signed-off-by: Neil Horman &lt;nhorman@tuxdriver.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers/net: Kill now superfluous -&gt;last_rx stores.</title>
<updated>2008-11-04T05:11:17+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2008-11-04T05:11:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=babcda74e9d96bb58fd9c6c5112dbdbff169e695'/>
<id>babcda74e9d96bb58fd9c6c5112dbdbff169e695</id>
<content type='text'>
The generic packet receive code takes care of setting
netdev-&gt;last_rx when necessary, for the sake of the
bonding ARP monitor.

Drivers need not do it any more.

Some cases had to be skipped over because the drivers
were making use of the -&gt;last_rx value themselves.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The generic packet receive code takes care of setting
netdev-&gt;last_rx when necessary, for the sake of the
bonding ARP monitor.

Drivers need not do it any more.

Some cases had to be skipped over because the drivers
were making use of the -&gt;last_rx value themselves.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6</title>
<updated>2008-10-31T07:17:34+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2008-10-31T07:17:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a1744d3bee19d3b9cbfb825ab316a101b9c9f109'/>
<id>a1744d3bee19d3b9cbfb825ab316a101b9c9f109</id>
<content type='text'>
Conflicts:

	drivers/net/wireless/p54/p54common.c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Conflicts:

	drivers/net/wireless/p54/p54common.c
</pre>
</div>
</content>
</entry>
<entry>
<title>amd8111e: fix dma_free_coherent context</title>
<updated>2008-10-31T04:47:43+00:00</updated>
<author>
<name>Chunbo Luo</name>
<email>chunbo.luo@windriver.com</email>
</author>
<published>2008-10-28T01:51:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e83603fd4ace0bc8e2585cf9d450bb1dc80db448'/>
<id>e83603fd4ace0bc8e2585cf9d450bb1dc80db448</id>
<content type='text'>
Acoording commit aa24886e379d2b641c5117e178b15ce1d5d366ba,
dma_free_coherent() need irqs enabled.

This patch fix following warning messages:

WARNING: at linux/arch/x86/kernel/pci-dma.c:376 dma_free_coherent+0xaa/0xb0()

Call Trace:
 [&lt;ffffffff8023f80f&gt;] warn_on_slowpath+0x5f/0x90
 [&lt;ffffffff80496ffa&gt;] ? __kfree_skb+0x3a/0xa0
 [&lt;ffffffff802a4723&gt;] ? discard_slab+0x23/0x40
 [&lt;ffffffff8021274a&gt;] dma_free_coherent+0xaa/0xb0
 [&lt;ffffffff8043668f&gt;] amd8111e_close+0x10f/0x1b0
 [&lt;ffffffff8049f3ae&gt;] dev_close+0x5e/0xb0
 [&lt;ffffffff8049efa1&gt;] dev_change_flags+0xa1/0x1e0
 [&lt;ffffffff806b2171&gt;] ic_close_devs+0x36/0x4e
 [&lt;ffffffff806b29ee&gt;] ip_auto_config+0x581/0x10f3
 [&lt;ffffffff803a6e19&gt;] ? kobject_add+0x69/0x90
 [&lt;ffffffff803a698a&gt;] ? kobject_get+0x1a/0x30
 [&lt;ffffffff803a785b&gt;] ? kobject_uevent+0xb/0x10
 [&lt;ffffffff803a6c62&gt;] ? kset_register+0x52/0x60
 [&lt;ffffffff803a6f9b&gt;] ? kset_create_and_add+0x6b/0xa0
 [&lt;ffffffff804e2e74&gt;] ? tcp_ca_find+0x24/0x50
 [&lt;ffffffff806b246d&gt;] ? ip_auto_config+0x0/0x10f3
 [&lt;ffffffff8020903c&gt;] _stext+0x3c/0x150
 [&lt;ffffffff802772d3&gt;] ? register_irq_proc+0xd3/0xf0
 [&lt;ffffffff802f0000&gt;] ? mb_cache_create+0x80/0x1f0
 [&lt;ffffffff80688693&gt;] kernel_init+0x141/0x1b8
 [&lt;ffffffff80688552&gt;] ? kernel_init+0x0/0x1b8
 [&lt;ffffffff8020d609&gt;] child_rip+0xa/0x11
 [&lt;ffffffff80688552&gt;] ? kernel_init+0x0/0x1b8
 [&lt;ffffffff80688552&gt;] ? kernel_init+0x0/0x1b8
 [&lt;ffffffff8020d5ff&gt;] ? child_rip+0x0/0x11

Signed-off-by: Chunbo Luo &lt;chunbo.luo@windriver.com&gt;
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Acoording commit aa24886e379d2b641c5117e178b15ce1d5d366ba,
dma_free_coherent() need irqs enabled.

This patch fix following warning messages:

WARNING: at linux/arch/x86/kernel/pci-dma.c:376 dma_free_coherent+0xaa/0xb0()

Call Trace:
 [&lt;ffffffff8023f80f&gt;] warn_on_slowpath+0x5f/0x90
 [&lt;ffffffff80496ffa&gt;] ? __kfree_skb+0x3a/0xa0
 [&lt;ffffffff802a4723&gt;] ? discard_slab+0x23/0x40
 [&lt;ffffffff8021274a&gt;] dma_free_coherent+0xaa/0xb0
 [&lt;ffffffff8043668f&gt;] amd8111e_close+0x10f/0x1b0
 [&lt;ffffffff8049f3ae&gt;] dev_close+0x5e/0xb0
 [&lt;ffffffff8049efa1&gt;] dev_change_flags+0xa1/0x1e0
 [&lt;ffffffff806b2171&gt;] ic_close_devs+0x36/0x4e
 [&lt;ffffffff806b29ee&gt;] ip_auto_config+0x581/0x10f3
 [&lt;ffffffff803a6e19&gt;] ? kobject_add+0x69/0x90
 [&lt;ffffffff803a698a&gt;] ? kobject_get+0x1a/0x30
 [&lt;ffffffff803a785b&gt;] ? kobject_uevent+0xb/0x10
 [&lt;ffffffff803a6c62&gt;] ? kset_register+0x52/0x60
 [&lt;ffffffff803a6f9b&gt;] ? kset_create_and_add+0x6b/0xa0
 [&lt;ffffffff804e2e74&gt;] ? tcp_ca_find+0x24/0x50
 [&lt;ffffffff806b246d&gt;] ? ip_auto_config+0x0/0x10f3
 [&lt;ffffffff8020903c&gt;] _stext+0x3c/0x150
 [&lt;ffffffff802772d3&gt;] ? register_irq_proc+0xd3/0xf0
 [&lt;ffffffff802f0000&gt;] ? mb_cache_create+0x80/0x1f0
 [&lt;ffffffff80688693&gt;] kernel_init+0x141/0x1b8
 [&lt;ffffffff80688552&gt;] ? kernel_init+0x0/0x1b8
 [&lt;ffffffff8020d609&gt;] child_rip+0xa/0x11
 [&lt;ffffffff80688552&gt;] ? kernel_init+0x0/0x1b8
 [&lt;ffffffff80688552&gt;] ? kernel_init+0x0/0x1b8
 [&lt;ffffffff8020d5ff&gt;] ? child_rip+0x0/0x11

Signed-off-by: Chunbo Luo &lt;chunbo.luo@windriver.com&gt;
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
