<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/sky2.c, branch linux-2.6.30.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.30.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.30.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2009-08-16T21:18:10Z</updated>
<entry>
<title>sky2: Fix checksum endianness</title>
<updated>2009-08-16T21:18:10Z</updated>
<author>
<name>Anton Vorontsov</name>
</author>
<published>2009-06-26T16:28:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=344d67dd6ed0765520c20d61eaa644cd46234014'/>
<id>urn:sha1:344d67dd6ed0765520c20d61eaa644cd46234014</id>
<content type='text'>
[ Upstream commit b9389796fa4c87fbdff33816e317cdae5f36dd0b ]

sky2 driver on PowerPC targets floods kernel log with following errors:

  eth1: hw csum failure.
  Call Trace:
  [ef84b8a0] [c00075e4] show_stack+0x50/0x160 (unreliable)
  [ef84b8d0] [c02fa178] netdev_rx_csum_fault+0x3c/0x5c
  [ef84b8f0] [c02f6920] __skb_checksum_complete_head+0x7c/0x84
  [ef84b900] [c02f693c] __skb_checksum_complete+0x14/0x24
  [ef84b910] [c0337e08] tcp_v4_rcv+0x4c8/0x6f8
  [ef84b940] [c031a9c8] ip_local_deliver+0x98/0x210
  [ef84b960] [c031a788] ip_rcv+0x38c/0x534
  [ef84b990] [c0300338] netif_receive_skb+0x260/0x36c
  [ef84b9c0] [c025de00] sky2_poll+0x5dc/0xcf8
  [ef84ba20] [c02fb7fc] net_rx_action+0xc0/0x144

The NIC is Yukon-2 EC chip revision 1.

Converting checksum field from le16 to CPU byte order fixes the issue.

Signed-off-by: Anton Vorontsov &lt;avorontsov@ru.mvista.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>sky2: don't look for VPD size</title>
<updated>2009-07-02T23:49:42Z</updated>
<author>
<name>Stephen Hemminger</name>
</author>
<published>2009-06-11T07:03:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=51058607814a1cde627d2878866f2aee6b99e8f1'/>
<id>urn:sha1:51058607814a1cde627d2878866f2aee6b99e8f1</id>
<content type='text'>
[ Upstream commit 6cc90a5a6061428358d0f726a53fb44af5254111 ]

The code to compute VPD size didn't handle some systems that use
chip without VPD. Also some of the newer chips use some additional
registers to store the actual size, and wasn't worth putting the
additional complexity in, so just remove the code.

No big loss since the code to set the VPD size was only a
convenience so that utilities would not read the extra space past
the end of the available VPD.

Move the first PCI config read earlier to detect bad hardware
where it returns all ones and refuse loading driver before furthur
damage.

Signed-off-by: Stephen Hemminger &lt;shemminger@vyatta.com&gt;
Tested-by: Andy Whitcroft &lt;apw@canonical.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32)</title>
<updated>2009-04-07T15:31:11Z</updated>
<author>
<name>Yang Hongyang</name>
</author>
<published>2009-04-07T02:01:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=284901a90a9e0b812ca3f5f852cbbfb60d10249d'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>dma-mapping: replace all DMA_64BIT_MASK macro with DMA_BIT_MASK(64)</title>
<updated>2009-04-07T15:31:10Z</updated>
<author>
<name>Yang Hongyang</name>
</author>
<published>2009-04-07T02:01:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6a35528a8346f6e6fd32ed7e51f04d1fa4ca2c01'/>
<id>urn:sha1:6a35528a8346f6e6fd32ed7e51f04d1fa4ca2c01</id>
<content type='text'>
Replace all DMA_64BIT_MASK macro with DMA_BIT_MASK(64)

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>
</entry>
<entry>
<title>sky2: set VPD size</title>
<updated>2009-02-03T23:08:36Z</updated>
<author>
<name>Stephen Hemminger</name>
</author>
<published>2009-02-03T11:27:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3834507d0c5480a0f05486c2fb57ed18fd179a83'/>
<id>urn:sha1:3834507d0c5480a0f05486c2fb57ed18fd179a83</id>
<content type='text'>
Read configuration register during probe and use it to size the
available VPD. Move existing code using same register slightly
earlier in probe handling.

Signed-off-by: Stephen Hemminger &lt;shemminger@vyatta.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>sky2: move VPD display into debug interface</title>
<updated>2009-02-03T23:08:36Z</updated>
<author>
<name>Stephen Hemminger</name>
</author>
<published>2009-02-03T11:27:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e4c2abe29e1ec5d68908848ffa77b39f61a83f7c'/>
<id>urn:sha1:e4c2abe29e1ec5d68908848ffa77b39f61a83f7c</id>
<content type='text'>
The VPD stuff has more data and isn't generally that useful, so move
it into the existing debugfs display and use the new PCI VPD
accessor routines.

Signed-off-by: Stephen Hemminger &lt;shemminger@vyatta.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>sky2: handle dma mapping errors</title>
<updated>2009-02-03T23:08:35Z</updated>
<author>
<name>Stephen Hemminger</name>
</author>
<published>2009-02-03T11:27:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=454e6cb6868dd5c88d8bcdab407caa3738d30c2b'/>
<id>urn:sha1:454e6cb6868dd5c88d8bcdab407caa3738d30c2b</id>
<content type='text'>
On non-x86 platforms it is possible to run out of DMA mapping resources.
The driver was ignoring this and could cause corruptions.

Signed-off-by: Stephen Hemminger &lt;shemminger@vyatta.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>sky2: remove unneede workaround</title>
<updated>2009-02-03T23:08:34Z</updated>
<author>
<name>Stephen Hemminger</name>
</author>
<published>2009-02-03T11:27:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1bd68c04850b9e73f1c7022b9a8c38cd14ceb37d'/>
<id>urn:sha1:1bd68c04850b9e73f1c7022b9a8c38cd14ceb37d</id>
<content type='text'>
This workaround is not needed. It was inherited from sk98lin driver but only
applies to an early development version of the chip that is not supported
by sky2.  The workaround required an unnecessary pci read which hurts performance

Signed-off-by: Stephen Hemminger &lt;shemminger@vyatta.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>sky2: fix hard hang with netconsoling and iface going up</title>
<updated>2009-01-30T22:06:26Z</updated>
<author>
<name>Alexey Dobriyan</name>
</author>
<published>2009-01-30T21:45:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a11da890e4c9850411303efcf6514f048ca880ee'/>
<id>urn:sha1:a11da890e4c9850411303efcf6514f048ca880ee</id>
<content type='text'>
Printing anything over netconsole before hw is up and running is,
of course, not going to work.

Signed-off-by: Alexey Dobriyan &lt;adobriyan@gmail.com&gt;
Acked-by: Stephen Hemminger &lt;shemminger@vyatta.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>netdev: add more functions to netdevice ops</title>
<updated>2008-11-21T04:14:53Z</updated>
<author>
<name>Stephen Hemminger</name>
</author>
<published>2008-11-21T04:14:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=008298231abbeb91bc7be9e8b078607b816d1a4a'/>
<id>urn:sha1:008298231abbeb91bc7be9e8b078607b816d1a4a</id>
<content type='text'>
This patch moves neigh_setup and hard_start_xmit into the network device ops
structure. For bisection, fix all the previously converted drivers as well.
Bonding driver took the biggest hit on this.

Added a prefetch of the hard_start_xmit in the fast path to try and reduce
any impact this would have.

Signed-off-by: Stephen Hemminger &lt;shemminger@vyatta.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
