<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/net/forcedeth.c, branch v2.6.24</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>[FORCEDETH]: Fix reversing the MAC address on suspend.</title>
<updated>2008-01-09T07:30:20+00:00</updated>
<author>
<name>Björn Steinbrink</name>
<email>B.Steinbrink@gmx.de</email>
</author>
<published>2008-01-08T07:22:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=2e3884b5b16795c03a7bf295797c1b2402885b88'/>
<id>2e3884b5b16795c03a7bf295797c1b2402885b88</id>
<content type='text'>
For cards that initially have the MAC address stored in reverse order,
the forcedeth driver uses a flag to signal whether the address was
already corrected, so that it is not reversed again on a subsequent
probe.

Unfortunately this flag, which is stored in a register of the card,
seems to get lost during suspend, resulting in the MAC address being
reversed again. To fix that, the MAC address needs to be written back
in reversed order before we suspend and the flag needs to be reset.

The flag is still required because at least kexec will never write
back the reversed address and thus needs to know what state the card
is in.

Signed-off-by: Björn Steinbrink &lt;B.Steinbrink@gmx.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>
For cards that initially have the MAC address stored in reverse order,
the forcedeth driver uses a flag to signal whether the address was
already corrected, so that it is not reversed again on a subsequent
probe.

Unfortunately this flag, which is stored in a register of the card,
seems to get lost during suspend, resulting in the MAC address being
reversed again. To fix that, the MAC address needs to be written back
in reversed order before we suspend and the flag needs to be reset.

The flag is still required because at least kexec will never write
back the reversed address and thus needs to know what state the card
is in.

Signed-off-by: Björn Steinbrink &lt;B.Steinbrink@gmx.de&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>forcedeth boot delay fix</title>
<updated>2007-11-24T01:59:59+00:00</updated>
<author>
<name>Ayaz Abdulla</name>
<email>aabdulla@nvidia.com</email>
</author>
<published>2007-11-21T23:02:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=9e555930bd873d238f5f7b9d76d3bf31e6e3ce93'/>
<id>9e555930bd873d238f5f7b9d76d3bf31e6e3ce93</id>
<content type='text'>
Fix a long boot delay in the forcedeth driver.  During initialization, the
timeout for the handshake between mgmt unit and driver can be very long.
The patch reduces the timeout by eliminating a extra loop around the
timeout logic.

Addresses http://bugzilla.kernel.org/show_bug.cgi?id=9308

Signed-off-by: Ayaz Abdulla &lt;aabdulla@nvidia.com&gt;
Cc: Alex Howells &lt;astinus@gentoo.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Jeff Garzik &lt;jeff@garzik.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix a long boot delay in the forcedeth driver.  During initialization, the
timeout for the handshake between mgmt unit and driver can be very long.
The patch reduces the timeout by eliminating a extra loop around the
timeout logic.

Addresses http://bugzilla.kernel.org/show_bug.cgi?id=9308

Signed-off-by: Ayaz Abdulla &lt;aabdulla@nvidia.com&gt;
Cc: Alex Howells &lt;astinus@gentoo.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Jeff Garzik &lt;jeff@garzik.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>forcedeth: new mcp79 pci ids</title>
<updated>2007-11-24T01:54:01+00:00</updated>
<author>
<name>Ayaz Abdulla</name>
<email>aabdulla@nvidia.com</email>
</author>
<published>2007-11-24T01:54:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=490dde8990c55662596a4be71b5070bd7d382d4a'/>
<id>490dde8990c55662596a4be71b5070bd7d382d4a</id>
<content type='text'>
This patch adds new device ids and features for mcp79 devices into the
forcedeth driver.

Signed-off-by: Ayaz Abdulla &lt;aabdulla@nvidia.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>
This patch adds new device ids and features for mcp79 devices into the
forcedeth driver.

Signed-off-by: Ayaz Abdulla &lt;aabdulla@nvidia.com&gt;
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[netdrvr] forcedeth: add MCP77 device IDs</title>
<updated>2007-10-25T07:36:42+00:00</updated>
<author>
<name>Ayaz Abdulla</name>
<email>aabdulla@nvidia.com</email>
</author>
<published>2007-10-25T07:36:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=96fd4cd3e40e240f0c385af87f58e74da8b7099a'/>
<id>96fd4cd3e40e240f0c385af87f58e74da8b7099a</id>
<content type='text'>
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>forcedeth msi bugfix</title>
<updated>2007-10-18T00:17:34+00:00</updated>
<author>
<name>Manfred Spraul</name>
<email>manfred@colorfullife.com</email>
</author>
<published>2007-10-17T19:52:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=a7475906bc496456ded9e4b062f94067fb93057a'/>
<id>a7475906bc496456ded9e4b062f94067fb93057a</id>
<content type='text'>
pci_enable_msi() replaces the INTx irq number in pci_dev-&gt;irq with the
new MSI irq number.
The forcedeth driver did not update the copy in netdevice-&gt;irq and
parts of the driver used the stale copy.
See bugzilla.kernel.org, bug 9047.

The patch
- updates netdevice-&gt;irq
- replaces all accesses to netdevice-&gt;irq with pci_dev-&gt;irq.

The patch is against 2.6.23.1. IMHO suitable for both 2.6.23 and 2.6.24

Signed-Off-By: Manfred Spraul &lt;manfred@colorfullife.com&gt;

Signed-off-by: Jeff Garzik &lt;jeff@garzik.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
pci_enable_msi() replaces the INTx irq number in pci_dev-&gt;irq with the
new MSI irq number.
The forcedeth driver did not update the copy in netdevice-&gt;irq and
parts of the driver used the stale copy.
See bugzilla.kernel.org, bug 9047.

The patch
- updates netdevice-&gt;irq
- replaces all accesses to netdevice-&gt;irq with pci_dev-&gt;irq.

The patch is against 2.6.23.1. IMHO suitable for both 2.6.23 and 2.6.24

Signed-Off-By: Manfred Spraul &lt;manfred@colorfullife.com&gt;

Signed-off-by: Jeff Garzik &lt;jeff@garzik.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>forcedeth: fix rx-work condition in nv_rx_process_optimized() too</title>
<updated>2007-10-18T00:11:28+00:00</updated>
<author>
<name>Ingo Molnar</name>
<email>mingo@elte.hu</email>
</author>
<published>2007-10-17T10:18:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=c1b7151a5ef4f35fb116d1a2689c5280938b0e8d'/>
<id>c1b7151a5ef4f35fb116d1a2689c5280938b0e8d</id>
<content type='text'>
The merge of my previous fix to forcedeth.c,
bcb5febb248f7cc1e4a39ff61507f6343ba1c594, lost an important hunk.

We need to fix nv_rx_process_optimized() too, as it contains duplicate logic.

Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
Signed-off-by: Jeff Garzik &lt;jeff@garzik.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The merge of my previous fix to forcedeth.c,
bcb5febb248f7cc1e4a39ff61507f6343ba1c594, lost an important hunk.

We need to fix nv_rx_process_optimized() too, as it contains duplicate logic.

Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
Signed-off-by: Jeff Garzik &lt;jeff@garzik.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[netdrvr] forcedeth: remove in-driver copy of net_device_stats</title>
<updated>2007-10-17T00:56:09+00:00</updated>
<author>
<name>Jeff Garzik</name>
<email>jeff@garzik.org</email>
</author>
<published>2007-10-17T00:56:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=8148ff4512cc6b402e11ccfa02cc4eb41fb7e66c'/>
<id>8148ff4512cc6b402e11ccfa02cc4eb41fb7e66c</id>
<content type='text'>
A copy of struct net_device_stats now lives in struct net_device,
making in-driver copies a waste of memory.

Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A copy of struct net_device_stats now lives in struct net_device,
making in-driver copies a waste of memory.

Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[netdrvr] forcedeth: improved probe info; dev_printk() cleanups</title>
<updated>2007-10-17T00:50:10+00:00</updated>
<author>
<name>Jeff Garzik</name>
<email>jeff@garzik.org</email>
</author>
<published>2007-10-16T08:09:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=3f88ce495b11bb4a68e4f291e8dc3057a1cf9daf'/>
<id>3f88ce495b11bb4a68e4f291e8dc3057a1cf9daf</id>
<content type='text'>
main change:
* greatly improve per-NIC probe diagnostic output.  Similar to other
  net drivers, print out MAC address, PHY info, and various hardware and
  software flags that may be relevant.

other changes:
* similar to other net drivers, only print the initial version message
  when we have found at least one board.

* don't bother to print error message when pci_enable_device() fails,
  it will do so for us.

* use dev_printk() rather than printk() in nv_probe().  This gives
  use a standardized output similar to the rest of the kernel, and
  eliminates the need to manually print out PCI bus id.

* use DRV_NAME constant where appropriate

* clean struct pci_driver indentation

Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
main change:
* greatly improve per-NIC probe diagnostic output.  Similar to other
  net drivers, print out MAC address, PHY info, and various hardware and
  software flags that may be relevant.

other changes:
* similar to other net drivers, only print the initial version message
  when we have found at least one board.

* don't bother to print error message when pci_enable_device() fails,
  it will do so for us.

* use dev_printk() rather than printk() in nv_probe().  This gives
  use a standardized output similar to the rest of the kernel, and
  eliminates the need to manually print out PCI bus id.

* use DRV_NAME constant where appropriate

* clean struct pci_driver indentation

Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>forcedeth: fix NAPI rx poll function</title>
<updated>2007-10-17T00:44:59+00:00</updated>
<author>
<name>Ingo Molnar</name>
<email>mingo@elte.hu</email>
</author>
<published>2007-10-17T00:44:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=bcb5febb248f7cc1e4a39ff61507f6343ba1c594'/>
<id>bcb5febb248f7cc1e4a39ff61507f6343ba1c594</id>
<content type='text'>
fix the forcedeth NAPI poll function to not emit this warning:

[  186.635916] WARNING: at net/core/dev.c:2166 net_rx_action()
[  186.641351]  [&lt;c060d9f5&gt;] net_rx_action+0x145/0x1b0
[  186.646191]  [&lt;c011d752&gt;] __do_softirq+0x42/0x90
[  186.650784]  [&lt;c011d7c6&gt;] do_softirq+0x26/0x30
[  186.655202]  [&lt;c011db48&gt;] local_bh_enable+0x48/0xa0
[  186.660055]  [&lt;c06023e0&gt;] lock_sock_nested+0xa0/0xc0
[  186.664995]  [&lt;c065da16&gt;] tcp_recvmsg+0x16/0xbc0
[  186.669588]  [&lt;c013e94b&gt;] __generic_file_aio_write_nolock+0x27b/0x520
[  186.676001]  [&lt;c0601d75&gt;] sock_common_recvmsg+0x45/0x70
[  186.681202]  [&lt;c05ff5df&gt;] sock_aio_read+0x11f/0x140
[  186.686054]  [&lt;c015c086&gt;] do_sync_read+0xc6/0x110
[  186.690735]  [&lt;c012b9b0&gt;] autoremove_wake_function+0x0/0x40
[  186.696280]  [&lt;c060dcfc&gt;] net_tx_action+0x3c/0xe0
[  186.700961]  [&lt;c015c9c2&gt;] vfs_read+0x132/0x140
[  186.705378]  [&lt;c015cd41&gt;] sys_read+0x41/0x70
[  186.709625]  [&lt;c0102b66&gt;] sysenter_past_esp+0x5f/0x89
[  186.714651]  =======================

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>
fix the forcedeth NAPI poll function to not emit this warning:

[  186.635916] WARNING: at net/core/dev.c:2166 net_rx_action()
[  186.641351]  [&lt;c060d9f5&gt;] net_rx_action+0x145/0x1b0
[  186.646191]  [&lt;c011d752&gt;] __do_softirq+0x42/0x90
[  186.650784]  [&lt;c011d7c6&gt;] do_softirq+0x26/0x30
[  186.655202]  [&lt;c011db48&gt;] local_bh_enable+0x48/0xa0
[  186.660055]  [&lt;c06023e0&gt;] lock_sock_nested+0xa0/0xc0
[  186.664995]  [&lt;c065da16&gt;] tcp_recvmsg+0x16/0xbc0
[  186.669588]  [&lt;c013e94b&gt;] __generic_file_aio_write_nolock+0x27b/0x520
[  186.676001]  [&lt;c0601d75&gt;] sock_common_recvmsg+0x45/0x70
[  186.681202]  [&lt;c05ff5df&gt;] sock_aio_read+0x11f/0x140
[  186.686054]  [&lt;c015c086&gt;] do_sync_read+0xc6/0x110
[  186.690735]  [&lt;c012b9b0&gt;] autoremove_wake_function+0x0/0x40
[  186.696280]  [&lt;c060dcfc&gt;] net_tx_action+0x3c/0xe0
[  186.700961]  [&lt;c015c9c2&gt;] vfs_read+0x132/0x140
[  186.705378]  [&lt;c015cd41&gt;] sys_read+0x41/0x70
[  186.709625]  [&lt;c0102b66&gt;] sysenter_past_esp+0x5f/0x89
[  186.714651]  =======================

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>forcedeth: "no link" is informational</title>
<updated>2007-10-10T23:53:54+00:00</updated>
<author>
<name>Ed Swierk</name>
<email>eswierk@arastra.com</email>
</author>
<published>2007-09-29T05:42:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=f7ab697d328b0a417d9e3cb891d45693ea89e83d'/>
<id>f7ab697d328b0a417d9e3cb891d45693ea89e83d</id>
<content type='text'>
Log "no link during initialization" at KERN_INFO as it's not an error, and
occurs every time the interface comes up (when the forcedeth-phy-power-down
patch is applied).

Signed-off-by: Ed Swierk &lt;eswierk@arastra.com&gt;
Cc: Ayaz Abdulla &lt;aabdulla@nvidia.com&gt;
Cc: Jeff Garzik &lt;jeff@garzik.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Jeff Garzik &lt;jeff@garzik.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Log "no link during initialization" at KERN_INFO as it's not an error, and
occurs every time the interface comes up (when the forcedeth-phy-power-down
patch is applied).

Signed-off-by: Ed Swierk &lt;eswierk@arastra.com&gt;
Cc: Ayaz Abdulla &lt;aabdulla@nvidia.com&gt;
Cc: Jeff Garzik &lt;jeff@garzik.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Jeff Garzik &lt;jeff@garzik.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
