<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/net/3c59x.c, branch tegra-9.12.13</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>3c59x: Use device_set_wakeup_enable</title>
<updated>2009-01-11T08:06:32+00:00</updated>
<author>
<name>Steffen Klassert</name>
<email>klassert@mathematik.tu-chemnitz.de</email>
</author>
<published>2009-01-09T03:53:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c17931c52ec6b1af710185986e10c344039edeb7'/>
<id>c17931c52ec6b1af710185986e10c344039edeb7</id>
<content type='text'>
Since dev-&gt;power.should_wakeup bit is used by the PCI core to
decide whether the device should wake up the system from sleep
states, set this bit by calling device_set_wakeup_enable().

This restores proper WOL for the 3c59x driver.

Reported-and-tested-by: Graeme Wilford &lt;gwilford@gmail.com&gt;
Reported-by: Gunnar Degnbol &lt;degnbol@danbbs.dk&gt;
Signed-off-by: Steffen Klassert &lt;klassert@mathematik.tu-chemnitz.de&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>
Since dev-&gt;power.should_wakeup bit is used by the PCI core to
decide whether the device should wake up the system from sleep
states, set this bit by calling device_set_wakeup_enable().

This restores proper WOL for the 3c59x driver.

Reported-and-tested-by: Graeme Wilford &lt;gwilford@gmail.com&gt;
Reported-by: Gunnar Degnbol &lt;degnbol@danbbs.dk&gt;
Signed-off-by: Steffen Klassert &lt;klassert@mathematik.tu-chemnitz.de&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>netdevice: safe convert to netdev_priv() #part-1</title>
<updated>2008-11-13T07:37:49+00:00</updated>
<author>
<name>Wang Chen</name>
<email>wangchen@cn.fujitsu.com</email>
</author>
<published>2008-11-13T07:37:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=454d7c9b14e20fd1949e2686e9de4a2926e01476'/>
<id>454d7c9b14e20fd1949e2686e9de4a2926e01476</id>
<content type='text'>
We have some reasons to kill netdev-&gt;priv:
1. netdev-&gt;priv is equal to netdev_priv().
2. netdev_priv() wraps the calculation of netdev-&gt;priv's offset, obviously
   netdev_priv() is more flexible than netdev-&gt;priv.
But we cann't kill netdev-&gt;priv, because so many drivers reference to it
directly.

This patch is a safe convert for netdev-&gt;priv to netdev_priv(netdev).
Since all of the netdev-&gt;priv is only for read.
But it is too big to be sent in one mail.
I split it to 4 parts and make every part smaller than 100,000 bytes,
which is max size allowed by vger.

Signed-off-by: Wang Chen &lt;wangchen@cn.fujitsu.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>
We have some reasons to kill netdev-&gt;priv:
1. netdev-&gt;priv is equal to netdev_priv().
2. netdev_priv() wraps the calculation of netdev-&gt;priv's offset, obviously
   netdev_priv() is more flexible than netdev-&gt;priv.
But we cann't kill netdev-&gt;priv, because so many drivers reference to it
directly.

This patch is a safe convert for netdev-&gt;priv to netdev_priv(netdev).
Since all of the netdev-&gt;priv is only for read.
But it is too big to be sent in one mail.
I split it to 4 parts and make every part smaller than 100,000 bytes,
which is max size allowed by vger.

Signed-off-by: Wang Chen &lt;wangchen@cn.fujitsu.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: struct device - replace bus_id with dev_name(), dev_set_name()</title>
<updated>2008-11-10T21:55:14+00:00</updated>
<author>
<name>Kay Sievers</name>
<email>kay.sievers@vrfy.org</email>
</author>
<published>2008-11-10T21:55:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=fb28ad35906af2f042c94e2f9c0f898ef9acfa37'/>
<id>fb28ad35906af2f042c94e2f9c0f898ef9acfa37</id>
<content type='text'>
Acked-by: Marcel Holtmann &lt;marcel@holtmann.org&gt;
Acked-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Signed-off-by: Kay Sievers &lt;kay.sievers@vrfy.org&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>
Acked-by: Marcel Holtmann &lt;marcel@holtmann.org&gt;
Acked-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Signed-off-by: Kay Sievers &lt;kay.sievers@vrfy.org&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>net: convert print_mac to %pM</title>
<updated>2008-10-28T00:06:18+00:00</updated>
<author>
<name>Johannes Berg</name>
<email>johannes@sipsolutions.net</email>
</author>
<published>2008-10-27T22:59:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e174961ca1a0b28f7abf0be47973ad57cb74e5f0'/>
<id>e174961ca1a0b28f7abf0be47973ad57cb74e5f0</id>
<content type='text'>
This converts pretty much everything to print_mac. There were
a few things that had conflicts which I have just dropped for
now, no harm done.

I've built an allyesconfig with this and looked at the files
that weren't built very carefully, but it's a huge patch.

Signed-off-by: Johannes Berg &lt;johannes@sipsolutions.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 converts pretty much everything to print_mac. There were
a few things that had conflicts which I have just dropped for
now, no harm done.

I've built an allyesconfig with this and looked at the files
that weren't built very carefully, but it's a huge patch.

Signed-off-by: Johannes Berg &lt;johannes@sipsolutions.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers/net: use nr_irqs</title>
<updated>2008-10-16T14:52:05+00:00</updated>
<author>
<name>Yinghai Lu</name>
<email>yhlu.kernel@gmail.com</email>
</author>
<published>2008-08-20T03:49:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=60e4ad7a72fd7ce562cdf8dd850289e1e76bc1b1'/>
<id>60e4ad7a72fd7ce562cdf8dd850289e1e76bc1b1</id>
<content type='text'>
Signed-off-by: Yinghai Lu &lt;yhlu.kernel@gmail.com&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Yinghai Lu &lt;yhlu.kernel@gmail.com&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>3c59x: use netdev_alloc_skb</title>
<updated>2008-08-07T06:22:15+00:00</updated>
<author>
<name>Stephen Hemminger</name>
<email>shemminger@vyatta.com</email>
</author>
<published>2008-07-25T19:07:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=9a5d3414202a21ed4b053657345ea0fd492d513a'/>
<id>9a5d3414202a21ed4b053657345ea0fd492d513a</id>
<content type='text'>
Fix possible bug where end of receive buffer could be overwritten.
The allocation needs to allow for the reserved space. This would only happen
if device received packet greater than Ethernet standard MTU.

Change this driver to use netdev_alloc_skb rather than setting skb-&gt;dev
directly. For the initial allocation it doesn't need to be GFP_ATOMIC.

Signed-off-by: Stephen Hemminger &lt;shemminger@vyatta.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>
Fix possible bug where end of receive buffer could be overwritten.
The allocation needs to allow for the reserved space. This would only happen
if device received packet greater than Ethernet standard MTU.

Change this driver to use netdev_alloc_skb rather than setting skb-&gt;dev
directly. For the initial allocation it doesn't need to be GFP_ATOMIC.

Signed-off-by: Stephen Hemminger &lt;shemminger@vyatta.com&gt;
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>3c59x: handle pci_name() being const</title>
<updated>2008-07-22T04:55:03+00:00</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2008-07-02T19:46:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=361d5ee3c04c43c8fa0e277545ac5258dc310a5e'/>
<id>361d5ee3c04c43c8fa0e277545ac5258dc310a5e</id>
<content type='text'>
This changes vortex_prob1() to handle pci_name() now returning a
constant string.

Cc: Steffen Klassert &lt;klassert@mathematik.tu-chemnitz.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This changes vortex_prob1() to handle pci_name() now returning a
constant string.

Cc: Steffen Klassert &lt;klassert@mathematik.tu-chemnitz.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>[netdrvr] 3c59x: remove irqs_disabled warning from local_bh_enable</title>
<updated>2008-06-27T05:30:33+00:00</updated>
<author>
<name>Ingo Molnar</name>
<email>mingo@elte.hu</email>
</author>
<published>2008-06-23T08:41:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c5643cab7bf663ae049b11be43de8819683176dd'/>
<id>c5643cab7bf663ae049b11be43de8819683176dd</id>
<content type='text'>
Original Author: Michael Buesch &lt;mb@bu3sch.de&gt;

net, vortex: fix lockup

Ingo Molnar reported:

-tip testing found that Johannes Berg's "softirq: remove irqs_disabled
warning from local_bh_enable" enhancement to lockdep triggers a new
warning on an old testbox that uses 3c59x vortex and netlogging:

-----&gt;
    calling  vortex_init+0x0/0xb0
    PCI: Found IRQ 10 for device 0000:00:0b.0
    PCI: Sharing IRQ 10 with 0000:00:0a.0
    PCI: Sharing IRQ 10 with 0000:00:0b.1
    3c59x: Donald Becker and others.
    0000:00:0b.0: 3Com PCI 3c556 Laptop Tornado at e0800400.
    PCI: Enabling bus mastering for device 0000:00:0b.0
    initcall vortex_init+0x0/0xb0 returned 0 after 47 msecs
...
    calling  init_netconsole+0x0/0x1b0
    netconsole: local port 4444
    netconsole: local IP 10.0.1.9
    netconsole: interface eth0
    netconsole: remote port 4444
    netconsole: remote IP 10.0.1.16
    netconsole: remote ethernet address 00:19:xx:xx:xx:xx
    netconsole: device eth0 not up yet, forcing it
    eth0:  setting half-duplex.
    eth0:  setting full-duplex.
------------[ cut here ]------------
    WARNING: at kernel/softirq.c:137 local_bh_enable_ip+0xd1/0xe0()
    Pid: 1, comm: swapper Not tainted 2.6.26-rc6-tip #2091
     [&lt;c0125ecf&gt;] warn_on_slowpath+0x4f/0x70
     [&lt;c0126834&gt;] ? release_console_sem+0x1b4/0x1d0
     [&lt;c0126d00&gt;] ? vprintk+0x2a0/0x450
     [&lt;c012fde5&gt;] ? __mod_timer+0xa5/0xc0
     [&lt;c046f7fd&gt;] ? mdio_sync+0x3d/0x50
     [&lt;c0160ef6&gt;] ? marker_probe_cb+0x46/0xa0
     [&lt;c0126ed7&gt;] ? printk+0x27/0x50
     [&lt;c046f4c3&gt;] ? vortex_set_duplex+0x43/0xc0
     [&lt;c046f521&gt;] ? vortex_set_duplex+0xa1/0xc0
     [&lt;c0471b92&gt;] ? vortex_timer+0xe2/0x3e0
     [&lt;c012b361&gt;] local_bh_enable_ip+0xd1/0xe0
     [&lt;c08d9f9f&gt;] _spin_unlock_bh+0x2f/0x40
     [&lt;c0471b92&gt;] vortex_timer+0xe2/0x3e0
     [&lt;c014743b&gt;] ? trace_hardirqs_on+0xb/0x10
     [&lt;c0147358&gt;] ? trace_hardirqs_on_caller+0x88/0x160
     [&lt;c012f8b2&gt;] run_timer_softirq+0x162/0x1c0
     [&lt;c0471ab0&gt;] ? vortex_timer+0x0/0x3e0
     [&lt;c012b361&gt;] local_bh_enable_ip+0xd1/0xe0
     [&lt;c08d9f9f&gt;] _spin_unlock_bh+0x2f/0x40
     [&lt;c0471b92&gt;] vortex_timer+0xe2/0x3e0
     [&lt;c014743b&gt;] ? trace_hardirqs_on+0xb/0x10
     [&lt;c0147358&gt;] ? trace_hardirqs_on_caller+0x88/0x160
     [&lt;c012f8b2&gt;] run_timer_softirq+0x162/0x1c0
     [&lt;c0471ab0&gt;] ? vortex_timer+0x0/0x3e0
     [&lt;c0471ab0&gt;] ? vortex_timer+0x0/0x3e0
     [&lt;c012b60a&gt;] __do_softirq+0x9a/0x160
     [&lt;c012b570&gt;] ? __do_softirq+0x0/0x160
     [&lt;c0106775&gt;] call_on_stack+0x15/0x30
     [&lt;c012b4f5&gt;] ? irq_exit+0x55/0x60
     [&lt;c0106e85&gt;] ? do_IRQ+0x85/0xd0
     [&lt;c0147391&gt;] ? trace_hardirqs_on_caller+0xc1/0x160
     [&lt;c0104888&gt;] ? common_interrupt+0x28/0x30
     [&lt;c08d8ac8&gt;] ? mutex_unlock+0x8/0x10
     [&lt;c08d8180&gt;] ? _cond_resched+0x10/0x30
     [&lt;c07a3be7&gt;] ? netpoll_setup+0x117/0x390
     [&lt;c0cbfcfe&gt;] ? init_netconsole+0x14e/0x1b0
     [&lt;c013d539&gt;] ? ktime_get+0x19/0x40
     [&lt;c0c9bab2&gt;] ? kernel_init+0x1b2/0x2c0
     [&lt;c0cbfbb0&gt;] ? init_netconsole+0x0/0x1b0
     [&lt;c0396aa4&gt;] ? trace_hardirqs_on_thunk+0xc/0x10
     [&lt;c0103f12&gt;] ? restore_nocheck_notrace+0x0/0xe
     [&lt;c0c9b900&gt;] ? kernel_init+0x0/0x2c0
     [&lt;c0c9b900&gt;] ? kernel_init+0x0/0x2c0
     [&lt;c0104aa7&gt;] ? kernel_thread_helper+0x7/0x10
     =======================
---[ end trace 37f9c502aff112e0 ]---
    console [netcon0] enabled
    netconsole: network logging started
    initcall init_netconsole+0x0/0x1b0 returned 0 after 2914 msecs

looking at the driver I think the bug is real and the fix actually
is trivial.

vp-&gt;lock is also taken in hardware IRQ context, so we _have_ to always
use irqsafe locking. As we run in a timer with IRQs disabled,
we can simply use spin_lock.

Cc: &lt;stable@kernel.org&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Original Author: Michael Buesch &lt;mb@bu3sch.de&gt;

net, vortex: fix lockup

Ingo Molnar reported:

-tip testing found that Johannes Berg's "softirq: remove irqs_disabled
warning from local_bh_enable" enhancement to lockdep triggers a new
warning on an old testbox that uses 3c59x vortex and netlogging:

-----&gt;
    calling  vortex_init+0x0/0xb0
    PCI: Found IRQ 10 for device 0000:00:0b.0
    PCI: Sharing IRQ 10 with 0000:00:0a.0
    PCI: Sharing IRQ 10 with 0000:00:0b.1
    3c59x: Donald Becker and others.
    0000:00:0b.0: 3Com PCI 3c556 Laptop Tornado at e0800400.
    PCI: Enabling bus mastering for device 0000:00:0b.0
    initcall vortex_init+0x0/0xb0 returned 0 after 47 msecs
...
    calling  init_netconsole+0x0/0x1b0
    netconsole: local port 4444
    netconsole: local IP 10.0.1.9
    netconsole: interface eth0
    netconsole: remote port 4444
    netconsole: remote IP 10.0.1.16
    netconsole: remote ethernet address 00:19:xx:xx:xx:xx
    netconsole: device eth0 not up yet, forcing it
    eth0:  setting half-duplex.
    eth0:  setting full-duplex.
------------[ cut here ]------------
    WARNING: at kernel/softirq.c:137 local_bh_enable_ip+0xd1/0xe0()
    Pid: 1, comm: swapper Not tainted 2.6.26-rc6-tip #2091
     [&lt;c0125ecf&gt;] warn_on_slowpath+0x4f/0x70
     [&lt;c0126834&gt;] ? release_console_sem+0x1b4/0x1d0
     [&lt;c0126d00&gt;] ? vprintk+0x2a0/0x450
     [&lt;c012fde5&gt;] ? __mod_timer+0xa5/0xc0
     [&lt;c046f7fd&gt;] ? mdio_sync+0x3d/0x50
     [&lt;c0160ef6&gt;] ? marker_probe_cb+0x46/0xa0
     [&lt;c0126ed7&gt;] ? printk+0x27/0x50
     [&lt;c046f4c3&gt;] ? vortex_set_duplex+0x43/0xc0
     [&lt;c046f521&gt;] ? vortex_set_duplex+0xa1/0xc0
     [&lt;c0471b92&gt;] ? vortex_timer+0xe2/0x3e0
     [&lt;c012b361&gt;] local_bh_enable_ip+0xd1/0xe0
     [&lt;c08d9f9f&gt;] _spin_unlock_bh+0x2f/0x40
     [&lt;c0471b92&gt;] vortex_timer+0xe2/0x3e0
     [&lt;c014743b&gt;] ? trace_hardirqs_on+0xb/0x10
     [&lt;c0147358&gt;] ? trace_hardirqs_on_caller+0x88/0x160
     [&lt;c012f8b2&gt;] run_timer_softirq+0x162/0x1c0
     [&lt;c0471ab0&gt;] ? vortex_timer+0x0/0x3e0
     [&lt;c012b361&gt;] local_bh_enable_ip+0xd1/0xe0
     [&lt;c08d9f9f&gt;] _spin_unlock_bh+0x2f/0x40
     [&lt;c0471b92&gt;] vortex_timer+0xe2/0x3e0
     [&lt;c014743b&gt;] ? trace_hardirqs_on+0xb/0x10
     [&lt;c0147358&gt;] ? trace_hardirqs_on_caller+0x88/0x160
     [&lt;c012f8b2&gt;] run_timer_softirq+0x162/0x1c0
     [&lt;c0471ab0&gt;] ? vortex_timer+0x0/0x3e0
     [&lt;c0471ab0&gt;] ? vortex_timer+0x0/0x3e0
     [&lt;c012b60a&gt;] __do_softirq+0x9a/0x160
     [&lt;c012b570&gt;] ? __do_softirq+0x0/0x160
     [&lt;c0106775&gt;] call_on_stack+0x15/0x30
     [&lt;c012b4f5&gt;] ? irq_exit+0x55/0x60
     [&lt;c0106e85&gt;] ? do_IRQ+0x85/0xd0
     [&lt;c0147391&gt;] ? trace_hardirqs_on_caller+0xc1/0x160
     [&lt;c0104888&gt;] ? common_interrupt+0x28/0x30
     [&lt;c08d8ac8&gt;] ? mutex_unlock+0x8/0x10
     [&lt;c08d8180&gt;] ? _cond_resched+0x10/0x30
     [&lt;c07a3be7&gt;] ? netpoll_setup+0x117/0x390
     [&lt;c0cbfcfe&gt;] ? init_netconsole+0x14e/0x1b0
     [&lt;c013d539&gt;] ? ktime_get+0x19/0x40
     [&lt;c0c9bab2&gt;] ? kernel_init+0x1b2/0x2c0
     [&lt;c0cbfbb0&gt;] ? init_netconsole+0x0/0x1b0
     [&lt;c0396aa4&gt;] ? trace_hardirqs_on_thunk+0xc/0x10
     [&lt;c0103f12&gt;] ? restore_nocheck_notrace+0x0/0xe
     [&lt;c0c9b900&gt;] ? kernel_init+0x0/0x2c0
     [&lt;c0c9b900&gt;] ? kernel_init+0x0/0x2c0
     [&lt;c0104aa7&gt;] ? kernel_thread_helper+0x7/0x10
     =======================
---[ end trace 37f9c502aff112e0 ]---
    console [netcon0] enabled
    netconsole: network logging started
    initcall init_netconsole+0x0/0x1b0 returned 0 after 2914 msecs

looking at the driver I think the bug is real and the fix actually
is trivial.

vp-&gt;lock is also taken in hardware IRQ context, so we _have_ to always
use irqsafe locking. As we run in a timer with IRQs disabled,
we can simply use spin_lock.

Cc: &lt;stable@kernel.org&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>3c59x: use netstats in net_device structure</title>
<updated>2008-05-06T16:22:11+00:00</updated>
<author>
<name>Paulius Zaleckas</name>
<email>paulius.zaleckas@teltonika.lt</email>
</author>
<published>2008-05-05T12:01:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=1daad055bfc928dfc8590664c455960059421151'/>
<id>1daad055bfc928dfc8590664c455960059421151</id>
<content type='text'>
Use net_device_stats from net_device structure instead of local.

Signed-off-by: Paulius Zaleckas &lt;paulius.zaleckas@teltonika.lt&gt;
Acked-by: Steffen Klassert &lt;klassert@mathematik.tu-chemnitz.de&gt;
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use net_device_stats from net_device structure instead of local.

Signed-off-by: Paulius Zaleckas &lt;paulius.zaleckas@teltonika.lt&gt;
Acked-by: Steffen Klassert &lt;klassert@mathematik.tu-chemnitz.de&gt;
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
