<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/net/netxen, branch tegra-9.12.14</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>netxen : fix BOND_MODE_TLB/ALB mode.</title>
<updated>2009-11-21T19:37:37+00:00</updated>
<author>
<name>Narender Kumar</name>
<email>narender.kumar@qlogic.com</email>
</author>
<published>2009-11-20T22:08:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=5d09e534bbb94e1fdc8e4783ac822bc172465a91'/>
<id>5d09e534bbb94e1fdc8e4783ac822bc172465a91</id>
<content type='text'>
o Along with netdev-&gt;perm_addr, mac address will be
  maintained in device private structure.

o Device limitation: We need to set mac address when ever
  interface comes up.

In ALB/TAL mode, bonding driver calls set_mac for all slave with bond mac address.
But bonding driver set netdev-&gt;dev_addr field to its original value,
after enslaving interfaces.

When ever active slave changes, it swap dev_addr of inactive slave with active.
Yet it doesn't notify driver about change in netdev-&gt;dev_addr.

As netxen driver need to set mac addr when ever interface comes up,
it can't rely on netdev-&gt;dev_addr field. Specially in case of bonding mode ALB/TLB.

Signed-off-by: Narender Kumar &lt;narender.kumar@qlogic.com&gt;
Signed-off-by: Amit Kumar Salecha &lt;amit.salecha@qlogic.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>
o Along with netdev-&gt;perm_addr, mac address will be
  maintained in device private structure.

o Device limitation: We need to set mac address when ever
  interface comes up.

In ALB/TAL mode, bonding driver calls set_mac for all slave with bond mac address.
But bonding driver set netdev-&gt;dev_addr field to its original value,
after enslaving interfaces.

When ever active slave changes, it swap dev_addr of inactive slave with active.
Yet it doesn't notify driver about change in netdev-&gt;dev_addr.

As netxen driver need to set mac addr when ever interface comes up,
it can't rely on netdev-&gt;dev_addr field. Specially in case of bonding mode ALB/TLB.

Signed-off-by: Narender Kumar &lt;narender.kumar@qlogic.com&gt;
Signed-off-by: Amit Kumar Salecha &lt;amit.salecha@qlogic.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>netxen: fix promisc for NX2031.</title>
<updated>2009-11-21T19:37:35+00:00</updated>
<author>
<name>Narender Kumar</name>
<email>narender.kumar@qlogic.com</email>
</author>
<published>2009-11-20T15:09:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a7483b0afa63e851c4438ddda8934a296851f1de'/>
<id>a7483b0afa63e851c4438ddda8934a296851f1de</id>
<content type='text'>
Kernel crashes, if promisc mode set without disabling rx queue.
Before changing mode in NX2031 chip, wait till rx queue drains.

Signed-off-by: Narender Kumar &lt;narender.kumar@qlogic.com&gt;
Signed-off-by: Amit Kumar Salecha &lt;amit.salecha@qlogic.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>
Kernel crashes, if promisc mode set without disabling rx queue.
Before changing mode in NX2031 chip, wait till rx queue drains.

Signed-off-by: Narender Kumar &lt;narender.kumar@qlogic.com&gt;
Signed-off-by: Amit Kumar Salecha &lt;amit.salecha@qlogic.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>netxen: fix memory initialization</title>
<updated>2009-11-21T19:37:32+00:00</updated>
<author>
<name>Amit Kumar Salecha</name>
<email>amit@netxen.com</email>
</author>
<published>2009-11-20T15:09:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=5d521fd36de4e61ab16a358df54c5babe153396c'/>
<id>5d521fd36de4e61ab16a358df54c5babe153396c</id>
<content type='text'>
Avoid resetting memory during initialization, skip this memory
block during driver probe.

Signed-off-by: Amit Kumar Salecha &lt;amit@netxen.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>
Avoid resetting memory during initialization, skip this memory
block during driver probe.

Signed-off-by: Amit Kumar Salecha &lt;amit@netxen.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>netxen: avoid undue board config check</title>
<updated>2009-10-23T01:27:50+00:00</updated>
<author>
<name>Dhananjay Phadke</name>
<email>dhananjay@netxen.com</email>
</author>
<published>2009-10-21T19:39:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=0dc6d9cbe7df4d2c3cdf17cd2f78733102b0fea6'/>
<id>0dc6d9cbe7df4d2c3cdf17cd2f78733102b0fea6</id>
<content type='text'>
Old code assumed board config version in the flash to be 1.
When this will get changed by tools, driver just refuses to
attach. This is unnecessary since driver does not have to
parse board config structure directly (maintained by firmware).

Signed-off-by: Dhananjay Phadke &lt;dhananjay@netxen.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>
Old code assumed board config version in the flash to be 1.
When this will get changed by tools, driver just refuses to
attach. This is unnecessary since driver does not have to
parse board config structure directly (maintained by firmware).

Signed-off-by: Dhananjay Phadke &lt;dhananjay@netxen.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>netxen: fix tx timeout handling on firmware hang</title>
<updated>2009-10-23T01:27:50+00:00</updated>
<author>
<name>Amit Kumar Salecha</name>
<email>amit.salecha@qlogic.com</email>
</author>
<published>2009-10-21T19:39:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ff8a306d63a01f15f166039de94c448c76140d1d'/>
<id>ff8a306d63a01f15f166039de94c448c76140d1d</id>
<content type='text'>
Clear NX_RESETING bit in netxen_tx_timeout_task() so that
the firmware watchdog task can catch need_reset request
from tx timeout.

Signed-off-by: Amit Kumar Salecha &lt;amit.salecha@qlogic.com&gt;
Signed-off-by: Dhananjay Phadke &lt;dhananjay@netxen.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>
Clear NX_RESETING bit in netxen_tx_timeout_task() so that
the firmware watchdog task can catch need_reset request
from tx timeout.

Signed-off-by: Amit Kumar Salecha &lt;amit.salecha@qlogic.com&gt;
Signed-off-by: Dhananjay Phadke &lt;dhananjay@netxen.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>netxen: fix i2c init</title>
<updated>2009-10-23T01:27:49+00:00</updated>
<author>
<name>Dhananjay Phadke</name>
<email>dhananjay@netxen.com</email>
</author>
<published>2009-10-21T19:39:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=8bee0a91dd2f472d51dc107288c988ae0a0f371a'/>
<id>8bee0a91dd2f472d51dc107288c988ae0a0f371a</id>
<content type='text'>
Avoid resetting subsys ID in i2c block. Also remove duplicate
check for address tranlsation error.

Signed-off-by: Dhananjay Phadke &lt;dhananjay@netxen.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>
Avoid resetting subsys ID in i2c block. Also remove duplicate
check for address tranlsation error.

Signed-off-by: Dhananjay Phadke &lt;dhananjay@netxen.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>netxen: fix pci bar mapping</title>
<updated>2009-10-13T07:26:04+00:00</updated>
<author>
<name>Dhananjay Phadke</name>
<email>dhananjay@netxen.com</email>
</author>
<published>2009-10-13T07:26:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=71fb62fb6dd4ed95e6f0240a2c627df396d9d057'/>
<id>71fb62fb6dd4ed95e6f0240a2c627df396d9d057</id>
<content type='text'>
Use resource_size_t for PCI resource remapping instead
of unsigned long. Physical addresses can exceed range of
long data type (e.g with PAE).

Signed-off-by: Dhananjay Phadke &lt;dhananjay@netxen.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>
Use resource_size_t for PCI resource remapping instead
of unsigned long. Physical addresses can exceed range of
long data type (e.g with PAE).

Signed-off-by: Dhananjay Phadke &lt;dhananjay@netxen.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>netxen: Fix Unlikely(x) &gt; y</title>
<updated>2009-10-07T10:50:09+00:00</updated>
<author>
<name>Roel Kluin</name>
<email>roel.kluin@gmail.com</email>
</author>
<published>2009-10-06T19:34:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=fa9859ef2bb56d876db53c258001af115f38a272'/>
<id>fa9859ef2bb56d876db53c258001af115f38a272</id>
<content type='text'>
The closing parenthesis was not on the right location.

Signed-off-by: Roel Kluin &lt;roel.kluin@gmail.com&gt;
Acked-by: Dhananjay Phadke &lt;dhananjay@netxen.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>
The closing parenthesis was not on the right location.

Signed-off-by: Roel Kluin &lt;roel.kluin@gmail.com&gt;
Acked-by: Dhananjay Phadke &lt;dhananjay@netxen.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>netxen: fix firmware init after resume</title>
<updated>2009-09-22T21:00:02+00:00</updated>
<author>
<name>Dhananjay Phadke</name>
<email>dhananjay@netxen.com</email>
</author>
<published>2009-09-20T19:20:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=07653aa3afe7b74cbddfe3bca82a898c413855b1'/>
<id>07653aa3afe7b74cbddfe3bca82a898c413855b1</id>
<content type='text'>
After successful firmware init, return instead of
falling to error path (leading to detach) after
resuming to D0 state. This was broken in recent
firmware reset rehaul.

Signed-off-by: Dhananjay Phadke &lt;dhananjay@netxen.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>
After successful firmware init, return instead of
falling to error path (leading to detach) after
resuming to D0 state. This was broken in recent
firmware reset rehaul.

Signed-off-by: Dhananjay Phadke &lt;dhananjay@netxen.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>netxen: fix minor tx timeout bug</title>
<updated>2009-09-22T21:00:01+00:00</updated>
<author>
<name>Dhananjay Phadke</name>
<email>dhananjay@netxen.com</email>
</author>
<published>2009-09-20T19:20:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a598ae177a11ebae065e20059d9bc63a5da4ccc3'/>
<id>a598ae177a11ebae065e20059d9bc63a5da4ccc3</id>
<content type='text'>
Fix minor bug in netdev tx timeout handling which could
always lead to firmware reset instead of pci function reset.

netxen_nic_reset_context() requires __NX_RESETTING bit
cleared.

Signed-off-by: Dhananjay Phadke &lt;dhananjay@netxen.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>
Fix minor bug in netdev tx timeout handling which could
always lead to firmware reset instead of pci function reset.

netxen_nic_reset_context() requires __NX_RESETTING bit
cleared.

Signed-off-by: Dhananjay Phadke &lt;dhananjay@netxen.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
</feed>
