<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/typhoon.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-04-07T15:31:11Z</updated>
<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>typhoon: repair firmware loading</title>
<updated>2009-03-03T06:15:09Z</updated>
<author>
<name>David Dillow</name>
</author>
<published>2009-03-03T06:15:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a8c9a53c22441efcd57ad7955231b2804696b133'/>
<id>urn:sha1:a8c9a53c22441efcd57ad7955231b2804696b133</id>
<content type='text'>
The conversion to avoid using pci_alloc_consistent() broke the firmware
load process, as well as added an order-4 kmalloc and doubled the memory
usage of the firmware image. Go back to loading a page at a time.

Also, since the user can now give us utter garbage for firmware, do a
cursory validation so we don't try to load just anything.

Signed-off-by: David Dillow &lt;dave@thedillows.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>typhoon: Add missing firmware copy.</title>
<updated>2009-03-02T09:53:03Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2009-03-02T09:53:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=093fb6968deeed46bf93266eee44baeb213bf253'/>
<id>urn:sha1:093fb6968deeed46bf93266eee44baeb213bf253</id>
<content type='text'>
Noticed by David Dillow.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>typhoon: Need non-vmalloc memory to DMA firmware to the card.</title>
<updated>2009-03-02T04:24:32Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2009-03-02T04:24:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d517c4a1da590a7fa50325a5e5cd18f07e8fb5a7'/>
<id>urn:sha1:d517c4a1da590a7fa50325a5e5cd18f07e8fb5a7</id>
<content type='text'>
request_firmware() gives vmalloc'd memory, which is not suitable
for pci_map_single() and friends.

Use a kmalloc()'d copy of the firmware for this DMA operation.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>typhoon: Use request_firmware()</title>
<updated>2009-02-27T07:21:23Z</updated>
<author>
<name>Ben Hutchings</name>
</author>
<published>2009-02-27T07:21:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b775a750c3afacbfac884537d466d34d50b1023b'/>
<id>urn:sha1:b775a750c3afacbfac884537d466d34d50b1023b</id>
<content type='text'>
Based on a patch by Jaswinder Singh &lt;jaswinder@infradead.org&gt;.

Compile-tested only.

Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>typhoon: replace users of __constant_{endian}</title>
<updated>2009-01-21T22:34:08Z</updated>
<author>
<name>Harvey Harrison</name>
</author>
<published>2009-01-19T06:03:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=649aa95d75cbadb9f440c1b8d04c666461de326f'/>
<id>urn:sha1:649aa95d75cbadb9f440c1b8d04c666461de326f</id>
<content type='text'>
The base versions handle constant folding just fine, use them
directly.

Signed-off-by: Harvey Harrison &lt;harvey.harrison@gmail.com&gt;
Acked-by: David Dillow &lt;dave@thedillows.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: Remove redundant NAPI functions</title>
<updated>2009-01-21T22:33:50Z</updated>
<author>
<name>Ben Hutchings</name>
</author>
<published>2009-01-20T00:43:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=288379f050284087578b77e04f040b57db3db3f8'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>typhoon: update to net_device_ops</title>
<updated>2009-01-08T01:29:46Z</updated>
<author>
<name>Stephen Hemminger</name>
</author>
<published>2009-01-08T01:29:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8bdd5553660bd07d7904af967893f8d487cc6c44'/>
<id>urn:sha1:8bdd5553660bd07d7904af967893f8d487cc6c44</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>
</entry>
<entry>
<title>net: Remove unused netdev arg from some NAPI interfaces.</title>
<updated>2008-12-23T04:43:12Z</updated>
<author>
<name>Neil Horman</name>
</author>
<published>2008-12-23T04:43:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=908a7a16b852ffd618a9127be8d62432182d81b4'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>netdevice: safe convert to netdev_priv() #part-3</title>
<updated>2008-11-13T07:38:36Z</updated>
<author>
<name>Wang Chen</name>
</author>
<published>2008-11-13T07:38:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8f15ea42b64941001a401cf855a0869e24f3a845'/>
<id>urn:sha1:8f15ea42b64941001a401cf855a0869e24f3a845</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>
</entry>
</feed>
