aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ibm_newemac/emac.h
diff options
context:
space:
mode:
authorDavid Barksdale <amatus@amatus.name>2014-08-13 18:32:56 -0500
committerDavid Barksdale <amatus@amatus.name>2014-08-13 18:32:56 -0500
commitcddfc3baae08e24185c7716434452ebbd404cd39 (patch)
tree01e1f933fd8724bf2ad34db47730c98feefc0a7c /drivers/net/ibm_newemac/emac.h
parent3918522a523adc3f001cf9c5da327d8fb383c26e (diff)
Diffstat (limited to 'drivers/net/ibm_newemac/emac.h')
-rw-r--r--drivers/net/ibm_newemac/emac.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ibm_newemac/emac.h b/drivers/net/ibm_newemac/emac.h
index bc54a228556..32389a03586 100644
--- a/drivers/net/ibm_newemac/emac.h
+++ b/drivers/net/ibm_newemac/emac.h
@@ -320,5 +320,6 @@ struct emac_regs {
#define EMAC_TX_CTRL_TAH_SSR3 0x0008
#define EMAC_TX_CTRL_TAH_SSR4 0x000a
#define EMAC_TX_CTRL_TAH_SSR5 0x000c
+#define EMAC_TX_CTRL_TAH_SSR(idx) (((idx) + 1) << 1)
#define EMAC_TX_CTRL_TAH_CSUM 0x000e
#endif /* __IBM_NEWEMAC_H */