<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/drivers/net/arcnet/com20020.c, branch linus/master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/drivers/net/arcnet/com20020.c?h=linus%2Fmaster</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/drivers/net/arcnet/com20020.c?h=linus%2Fmaster'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2021-10-13T17:03:59Z</updated>
<entry>
<title>net: remove single-byte netdev-&gt;dev_addr writes</title>
<updated>2021-10-13T17:03:59Z</updated>
<author>
<name>Jakub Kicinski</name>
<email>kuba@kernel.org</email>
</author>
<published>2021-10-12T14:27:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=13b5ffa0e282f3d18e57735e37b8fed3a392872b'/>
<id>urn:sha1:13b5ffa0e282f3d18e57735e37b8fed3a392872b</id>
<content type='text'>
Make the drivers which use single-byte netdev addresses
(netdev-&gt;addr_len == 1) use the appropriate address setting
helpers.

arcnet copies from int variables and io reads a lot, so
add a helper for arcnet drivers to use.

Similar helper could be reused for phonet and appletalk
but there isn't any good central location where we could
put it, and netdevice.h is already very crowded.

Acked-by: Sebastian Reichel &lt;sebastian.reichel@collabora.com&gt; # for HSI
Link: https://lore.kernel.org/r/20211012142757.4124842-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>arcnet: com20020: remove needless base_addr assignment</title>
<updated>2017-06-29T19:18:36Z</updated>
<author>
<name>Michael Grzeschik</name>
<email>m.grzeschik@pengutronix.de</email>
</author>
<published>2017-06-28T16:28:35Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=0d494fcf867f95040b5b67e4bc5af739bcda37da'/>
<id>urn:sha1:0d494fcf867f95040b5b67e4bc5af739bcda37da</id>
<content type='text'>
The assignment is superfluous.

Signed-off-by: Michael Grzeschik &lt;m.grzeschik@pengutronix.de&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>arcnet: com20020: add enable and disable device on open/close</title>
<updated>2015-10-26T08:10:56Z</updated>
<author>
<name>Michael Grzeschik</name>
<email>m.grzeschik@pengutronix.de</email>
</author>
<published>2015-03-20T14:20:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=27daf6ed5c1fbeca9029c59c7f4f70a5c7e13531'/>
<id>urn:sha1:27daf6ed5c1fbeca9029c59c7f4f70a5c7e13531</id>
<content type='text'>
This patch changes the driver to properly work with the linux netif
interface. The controller gets enabled on open and disabled on close.
Therefor it removes every bogus start of the xceiver. It only gets
enabled on com20020_open and disabled on com20020_close.

Signed-off-by: Michael Grzeschik &lt;m.grzeschik@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>arcnet: com20020: replace magic numbers with readable macros</title>
<updated>2015-09-23T06:44:28Z</updated>
<author>
<name>Michael Grzeschik</name>
<email>m.grzeschik@pengutronix.de</email>
</author>
<published>2015-04-15T09:43:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=84286f191a01f198ccfc15759d01320e3847accd'/>
<id>urn:sha1:84286f191a01f198ccfc15759d01320e3847accd</id>
<content type='text'>
This patch replaces all magic numbers in the driver with
proper named macros. For the case of XTOcfg and STARTIOcmd
it introduces the new macros.

Signed-off-by: Michael Grzeschik &lt;m.grzeschik@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>arcnet: com20020: Use arcnet_&lt;I/O&gt; routines</title>
<updated>2015-09-23T06:44:26Z</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2015-05-05T17:06:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=0fec65130b9f11a73d74f47025491f97f82ba070'/>
<id>urn:sha1:0fec65130b9f11a73d74f47025491f97f82ba070</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
  There is an register offset, 8, that is unnamed and used as-is.
o Remove old #defines that included the ioaddr
o Remove obfuscating macros by expanding them in-place where appropriate
o Create static inline com20020_set_subaddress for the SET_SUBADR macro

There is an unused arcnet config entry CONFIGSA100_CT6001 which added a
special #define BUS_ALIGN which was introduced but never used in fullhist git
tree commit 22cfce4b82b0 ("[ARCNET]: Fixes.") in Nov 2004 for Linux v2.6.10.

This BUS_ALIGN #define tries to allow 8 bit devices to work on a 16 bit
bus by aligning addresses to 16 bit boundaries.

Move this currently unused CONFIG_SA1100_CT6001 BUS_ALIGN macro from
com20020.h to arcdevice.h.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Michael Grzeschik &lt;m.grzeschik@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>arcnet: Make a char * array const char * const</title>
<updated>2015-09-23T06:44:26Z</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2015-05-05T17:06:04Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=4e299b922c44d242ac855805aee94d938b06944f'/>
<id>urn:sha1:4e299b922c44d242ac855805aee94d938b06944f</id>
<content type='text'>
Might as well be specific about the use of this array.

Add a commment questioning the indexing too.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Michael Grzeschik &lt;m.grzeschik@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>arcnet: Move files out of include/linux</title>
<updated>2015-09-23T06:44:25Z</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2015-05-05T17:06:03Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=26c6d281688e8bb8154fa78c60e551d024f5d0b8'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>arcnet: Wrap some long lines</title>
<updated>2015-09-23T06:44:25Z</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2015-05-05T17:06:02Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=d6d7d3ed56e3bfe7fd34108dbe23f0610e3d8621'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>arcnet: Remove assignments from ifs</title>
<updated>2015-09-23T06:44:25Z</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2015-05-05T17:05:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=97464eddf9fdbe02abfc44676949e07708cf557f'/>
<id>urn:sha1:97464eddf9fdbe02abfc44676949e07708cf557f</id>
<content type='text'>
Move the assignment above the if like general kernel style.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Michael Grzeschik &lt;m.grzeschik@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>arcnet: Convert printk to pr_&lt;level&gt;</title>
<updated>2015-09-23T06:44:24Z</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2015-05-05T17:05:56Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=05a24b234b9dda3720208b74503f2cf1d05774ee'/>
<id>urn:sha1: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>
</entry>
</feed>
