aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ibm_newemac/emac.h
diff options
context:
space:
mode:
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 */