<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/staging/et131x, branch v3.8.2</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/staging/et131x?h=v3.8.2</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/staging/et131x?h=v3.8.2'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2012-11-21T21:57:28Z</updated>
<entry>
<title>staging: et131x: Removing final checkpatch errors, all line &gt;80 chars</title>
<updated>2012-11-21T21:57:28Z</updated>
<author>
<name>Mark Einon</name>
<email>mark.einon@gmail.com</email>
</author>
<published>2012-11-16T10:47:42Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3781683e5c992d6850c4f231e30465e705b2ded2'/>
<id>urn:sha1:3781683e5c992d6850c4f231e30465e705b2ded2</id>
<content type='text'>
Trivial Whitespace changes only. No checkpatch errors exist in et131x
after this change.

Signed-off-by: Mark Einon &lt;mark.einon@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: et131x: Replace kmem_cache use with plain kmalloc/kfree</title>
<updated>2012-11-21T21:57:28Z</updated>
<author>
<name>Mark Einon</name>
<email>mark.einon@gmail.com</email>
</author>
<published>2012-11-16T10:47:41Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d959df0a4940e3c07be992279b9439626b23083f'/>
<id>urn:sha1:d959df0a4940e3c07be992279b9439626b23083f</id>
<content type='text'>
The use of a kmem_cache was noted as being unusual in the TODO. Replace
the kmem_cache with kmalloc/kfree so that the code is less suprising.

Also tidy up the mess that was the et131x_init_recv() out of memory
error path.

Signed-off-by: Mark Einon &lt;mark.einon@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: et131x: Remove incorrect comments regarding alignment</title>
<updated>2012-11-21T21:57:28Z</updated>
<author>
<name>Mark Einon</name>
<email>mark.einon@gmail.com</email>
</author>
<published>2012-11-16T10:47:40Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=9967bd4842b39eaf632f77028fdd798775fd9686'/>
<id>urn:sha1:9967bd4842b39eaf632f77028fdd798775fd9686</id>
<content type='text'>
A previous change removed code that aligned memory returned from
dma_alloc_coherent() to a 4k boundary, which was not necessary.

Some comments regarding this alignment still exist, so remove them
as they no longer apply.

Signed-off-by: Mark Einon &lt;mark.einon@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: et131x: Reduce indenting in et131x_rx_dma_memory_free()</title>
<updated>2012-11-21T21:57:27Z</updated>
<author>
<name>Mark Einon</name>
<email>mark.einon@gmail.com</email>
</author>
<published>2012-11-16T10:47:39Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=823bb2e8e1df99a28977f212975562b30f8dfd5e'/>
<id>urn:sha1:823bb2e8e1df99a28977f212975562b30f8dfd5e</id>
<content type='text'>
This change negates an 'if' statement, allowing a large block of code
to be un-indented, making the code more readable.

Signed-off-by: Mark Einon &lt;mark.einon@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: et131x: Remove alignment offset padding on DMA buffer allocation/free</title>
<updated>2012-11-21T21:57:27Z</updated>
<author>
<name>Mark Einon</name>
<email>mark.einon@gmail.com</email>
</author>
<published>2012-11-16T10:47:38Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=1a2bd6b257592cc05e9dd3d36e5810466a075fc3'/>
<id>urn:sha1:1a2bd6b257592cc05e9dd3d36e5810466a075fc3</id>
<content type='text'>
This padding was used to align buffers to a 4k boundary when returned
from dma_alloc_coherent(). As the buffers are already 4k aligned, and
the alignment no longer performed, the padding is not needed.

Signed-off-by: Mark Einon &lt;mark.einon@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: et131x: Refactor et131x_isr() to remove indenting</title>
<updated>2012-11-21T21:57:27Z</updated>
<author>
<name>Mark Einon</name>
<email>mark.einon@gmail.com</email>
</author>
<published>2012-11-16T10:47:37Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=15ffde4d36c30d81cd04a154960608486a1464f4'/>
<id>urn:sha1:15ffde4d36c30d81cd04a154960608486a1464f4</id>
<content type='text'>
By negating a 'status' variable check in et131x_isr(), we can remove
the indenting of a large block of code, increasing the readability.

This patch does exactly that.

Signed-off-by: Mark Einon &lt;mark.einon@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: et131x: remove use of __devexit_p</title>
<updated>2012-11-21T21:57:25Z</updated>
<author>
<name>Bill Pemberton</name>
<email>wfp5p@virginia.edu</email>
</author>
<published>2012-11-19T18:20:50Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=0b5e4092241eb4015a91e01d9aca32c214ea8b50'/>
<id>urn:sha1:0b5e4092241eb4015a91e01d9aca32c214ea8b50</id>
<content type='text'>
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.

Signed-off-by: Bill Pemberton &lt;wfp5p@virginia.edu&gt;
Cc: devel@driverdev.osuosl.org
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: et131x: remove use of __devinit</title>
<updated>2012-11-21T21:57:25Z</updated>
<author>
<name>Bill Pemberton</name>
<email>wfp5p@virginia.edu</email>
</author>
<published>2012-11-19T18:22:12Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=fe5c49b3325e38dd350fc3ceaf30b8f8a3f136b8'/>
<id>urn:sha1:fe5c49b3325e38dd350fc3ceaf30b8f8a3f136b8</id>
<content type='text'>
CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.

Signed-off-by: Bill Pemberton &lt;wfp5p@virginia.edu&gt;
Acked-by: Mark Einon &lt;mark.einon@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: et131x: remove use of __devexit</title>
<updated>2012-11-21T21:57:24Z</updated>
<author>
<name>Bill Pemberton</name>
<email>wfp5p@virginia.edu</email>
</author>
<published>2012-11-19T18:26:57Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=596c5dd302aad8dea6be12d32d5dfa5d2f72673d'/>
<id>urn:sha1:596c5dd302aad8dea6be12d32d5dfa5d2f72673d</id>
<content type='text'>
CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton &lt;wfp5p@virginia.edu&gt;
Acked-by: Mark Einon &lt;mark.einon@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: et131x: Remove unnecessary DMA address alignment code</title>
<updated>2012-11-13T23:06:46Z</updated>
<author>
<name>Mark Einon</name>
<email>mark.einon@gmail.com</email>
</author>
<published>2012-11-12T21:16:29Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d3c75e8dc81b6482ea230d03bbddddd38db9ab35'/>
<id>urn:sha1:d3c75e8dc81b6482ea230d03bbddddd38db9ab35</id>
<content type='text'>
"The cpu return address and the DMA bus master address are both
guaranteed to be aligned to the smallest PAGE_SIZE order which
is greater than or equal to the requested size."

There are several places in the et131x.c code where these addresses are
aligned to a 4k boundary after a call to dma_alloc_coherent(),
needlessly.

Remove these alignment offset calculations, and the
et131x_align_allocated_memory() call which is only used for 4k
alignments.

Signed-off-by: Mark Einon &lt;mark.einon@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
