<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/net/arcnet/com90xx.c, branch v4.10</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>arcnet: com90xx: add __init attribute</title>
<updated>2016-04-20T00:17:45+00:00</updated>
<author>
<name>Julia Lawall</name>
<email>julia.lawall@lip6.fr</email>
</author>
<published>2016-04-18T14:55:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=553bc087caf052458dc9f92bc42710027740caa9'/>
<id>553bc087caf052458dc9f92bc42710027740caa9</id>
<content type='text'>
Add __init attribute on a function that is only called from other __init
functions and that is not inlined, at least with gcc version 4.8.4 on an
x86 machine with allyesconfig.  Currently, the function is put in the
.text.unlikely segment.  Declaring it as __init will cause it to be put in
the .init.text and to disappear after initialization.

The result of objdump -x on the function before the change is as follows:

0000000000000000 l     F .text.unlikely 00000000000000bf check_mirror

And after the change it is as follows:

0000000000000000 l     F .init.text	00000000000000ba check_mirror

Done with the help of Coccinelle.  The semantic patch checks for local
static non-init functions that are called from an __init function and are
not called from any other function.

Signed-off-by: Julia Lawall &lt;Julia.Lawall@lip6.fr&gt;
Acked-by: Michael Grzeschik &lt;mgr@pengutronix.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>
Add __init attribute on a function that is only called from other __init
functions and that is not inlined, at least with gcc version 4.8.4 on an
x86 machine with allyesconfig.  Currently, the function is put in the
.text.unlikely segment.  Declaring it as __init will cause it to be put in
the .init.text and to disappear after initialization.

The result of objdump -x on the function before the change is as follows:

0000000000000000 l     F .text.unlikely 00000000000000bf check_mirror

And after the change it is as follows:

0000000000000000 l     F .init.text	00000000000000ba check_mirror

Done with the help of Coccinelle.  The semantic patch checks for local
static non-init functions that are called from an __init function and are
not called from any other function.

Signed-off-by: Julia Lawall &lt;Julia.Lawall@lip6.fr&gt;
Acked-by: Michael Grzeschik &lt;mgr@pengutronix.de&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>arcnet: Add com9026.h to standardize COM9026_REG_&lt;foo&gt;</title>
<updated>2015-09-23T06:44:27+00:00</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2015-05-05T17:06:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=8e0f295ea5e712ca30db08a4e3c496e914ee7fef'/>
<id>8e0f295ea5e712ca30db08a4e3c496e914ee7fef</id>
<content type='text'>
Deduplicate the COM9026 registers.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Michael Grzeschik &lt;m.grzeschik@pengutronix.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Deduplicate the COM9026 registers.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Michael Grzeschik &lt;m.grzeschik@pengutronix.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>arcnet: com90xx: Use arcnet_readb/writeb routines</title>
<updated>2015-09-23T06:44:27+00:00</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2015-05-05T17:06:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a11a5442d108357d44d34407ce2ed9d77ab424a0'/>
<id>a11a5442d108357d44d34407ce2ed9d77ab424a0</id>
<content type='text'>
Simplify and make consistent the current uses of readb/writeb
by using the newly introduced arcnet_&lt;I/O&gt; equivalents.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Michael Grzeschik &lt;m.grzeschik@pengutronix.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Simplify and make consistent the current uses of readb/writeb
by using the newly introduced arcnet_&lt;I/O&gt; equivalents.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Michael Grzeschik &lt;m.grzeschik@pengutronix.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>arcnet: com90xx: Use arcnet_&lt;I/O&gt; routines</title>
<updated>2015-09-23T06:44:26+00:00</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2015-05-05T17:06:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=09dfbcd5d178f8e03b5a29c9f3411687ec388c91'/>
<id>09dfbcd5d178f8e03b5a29c9f3411687ec388c91</id>
<content type='text'>
Simplify and make consistent the current uses of inb/outb
by using the newly introduced arcnet_&lt;I/O&gt; equivalents.

o Add new #defines for register offsets
o Remove old #defines that included the ioaddr
o Remove obfuscating macros by expanding them in-place where appropriate

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Michael Grzeschik &lt;m.grzeschik@pengutronix.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Simplify and make consistent the current uses of inb/outb
by using the newly introduced arcnet_&lt;I/O&gt; equivalents.

o Add new #defines for register offsets
o Remove old #defines that included the ioaddr
o Remove obfuscating macros by expanding them in-place where appropriate

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Michael Grzeschik &lt;m.grzeschik@pengutronix.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>arcnet: Move files out of include/linux</title>
<updated>2015-09-23T06:44:25+00:00</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2015-05-05T17:06:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=26c6d281688e8bb8154fa78c60e551d024f5d0b8'/>
<id>26c6d281688e8bb8154fa78c60e551d024f5d0b8</id>
<content type='text'>
These #include files don't need to be in the include/linux directory
as they can be local to drivers/net/arcnet/

Move them and update the #include statements.

Update the MAINTAINERS file pattern by deleting arcdevice from the
NETWORKING block as arcnet is currently unmaintained.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Michael Grzeschik &lt;m.grzeschik@pengutronix.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These #include files don't need to be in the include/linux directory
as they can be local to drivers/net/arcnet/

Move them and update the #include statements.

Update the MAINTAINERS file pattern by deleting arcdevice from the
NETWORKING block as arcnet is currently unmaintained.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Michael Grzeschik &lt;m.grzeschik@pengutronix.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>arcnet: Wrap some long lines</title>
<updated>2015-09-23T06:44:25+00:00</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2015-05-05T17:06:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=d6d7d3ed56e3bfe7fd34108dbe23f0610e3d8621'/>
<id>d6d7d3ed56e3bfe7fd34108dbe23f0610e3d8621</id>
<content type='text'>
Just neatening.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Michael Grzeschik &lt;m.grzeschik@pengutronix.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Just neatening.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Michael Grzeschik &lt;m.grzeschik@pengutronix.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>arcnet: Convert printk to pr_&lt;level&gt;</title>
<updated>2015-09-23T06:44:24+00:00</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2015-05-05T17:05:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=05a24b234b9dda3720208b74503f2cf1d05774ee'/>
<id>05a24b234b9dda3720208b74503f2cf1d05774ee</id>
<content type='text'>
Use the more current logging style.

Remove #define VERSION, use pr_info normally.
Add pr_fmt with "arcnet:" prefixes and KBUILD_MODNAME.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Michael Grzeschik &lt;m.grzeschik@pengutronix.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the more current logging style.

Remove #define VERSION, use pr_info normally.
Add pr_fmt with "arcnet:" prefixes and KBUILD_MODNAME.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Michael Grzeschik &lt;m.grzeschik@pengutronix.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>arcnet: Convert BUGMSG and BUGMSG2 to arc_prink and arc_cont</title>
<updated>2015-09-23T06:44:24+00:00</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2015-05-05T17:05:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a34c0932c3b2f28542825ffc5280d562c49ad42d'/>
<id>a34c0932c3b2f28542825ffc5280d562c49ad42d</id>
<content type='text'>
These macros don't actually represent BUG uses but are more commonly
used as logging macros, so use a more kernel style macro.

Convert the BUGMSG from a netdev_ like use to actually use netdev_&lt;level&gt;.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Michael Grzeschik &lt;m.grzeschik@pengutronix.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These macros don't actually represent BUG uses but are more commonly
used as logging macros, so use a more kernel style macro.

Convert the BUGMSG from a netdev_ like use to actually use netdev_&lt;level&gt;.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Michael Grzeschik &lt;m.grzeschik@pengutronix.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>arcnet: Expand odd BUGLVL macro with if and uses</title>
<updated>2015-09-23T06:44:24+00:00</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2015-05-05T17:05:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=72aeea4841c037b9b3abf65859673cbd7b6664a9'/>
<id>72aeea4841c037b9b3abf65859673cbd7b6664a9</id>
<content type='text'>
Don't hide what should be obvious.

Make the macro a simple test instead of using if and test.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Michael Grzeschik &lt;m.grzeschik@pengutronix.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Don't hide what should be obvious.

Make the macro a simple test instead of using if and test.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Michael Grzeschik &lt;m.grzeschik@pengutronix.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>arcnet: Use network block comment style</title>
<updated>2015-09-23T06:44:23+00:00</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2015-05-05T17:05:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f2f0a16bf89a1bbf2f774e060de85ffbd8fff162'/>
<id>f2f0a16bf89a1bbf2f774e060de85ffbd8fff162</id>
<content type='text'>
Conformity can be useful.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Michael Grzeschik &lt;m.grzeschik@pengutronix.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Conformity can be useful.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Michael Grzeschik &lt;m.grzeschik@pengutronix.de&gt;
</pre>
</div>
</content>
</entry>
</feed>
