arcnet: Add arcnet_<I/O> macros
authorJoe Perches <joe@perches.com>
Tue, 5 May 2015 17:06:05 +0000 (10:06 -0700)
committerMichael Grzeschik <m.grzeschik@pengutronix.de>
Wed, 23 Sep 2015 06:44:26 +0000 (08:44 +0200)
commite5fcfc1f8d3cfaf432a93d39df3e5d7718c58848
tree554a74f45005628e2e5fe7eede627bcc677d0a9f
parent4e299b922c44d242ac855805aee94d938b06944f
arcnet: Add arcnet_<I/O> macros

arcnet uses an I/O scheme which can align I/O addresses to word boundaries
on different architectures.

Add arcnet specific macros which can hide this alignment calculation.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
drivers/net/arcnet/arcdevice.h