summaryrefslogtreecommitdiff
path: root/drivers/net/arcnet/arcdevice.h
diff options
context:
space:
mode:
authorMichael Grzeschik <m.grzeschik@pengutronix.de>2015-04-15 09:43:57 (GMT)
committerMichael Grzeschik <m.grzeschik@pengutronix.de>2015-09-23 06:44:28 (GMT)
commit84286f191a01f198ccfc15759d01320e3847accd (patch)
treeec40ec6e0decf8e2c4b878cf737a715718020ee0 /drivers/net/arcnet/arcdevice.h
parent54a84c61823e2069da2c7ad91518ff7625129ce5 (diff)
downloadlinux-84286f191a01f198ccfc15759d01320e3847accd.tar.xz
arcnet: com20020: replace magic numbers with readable macros
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 <m.grzeschik@pengutronix.de>
Diffstat (limited to 'drivers/net/arcnet/arcdevice.h')
-rw-r--r--drivers/net/arcnet/arcdevice.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/arcnet/arcdevice.h b/drivers/net/arcnet/arcdevice.h
index 4c1c44c..d7fdea1 100644
--- a/drivers/net/arcnet/arcdevice.h
+++ b/drivers/net/arcnet/arcdevice.h
@@ -164,6 +164,7 @@ do { \
#define CONFIGcmd 0x05 /* define configuration */
#define CFLAGScmd 0x06 /* clear flags */
#define TESTcmd 0x07 /* load test flags */
+#define STARTIOcmd 0x18 /* start internal operation */
/* flags for "clear flags" command */
#define RESETclear 0x08 /* power-on-reset */