summaryrefslogtreecommitdiffstats
path: root/drivers/net/ibm_newemac/emac.h
diff options
context:
space:
mode:
authorDave Mitchell <dmitchell@appliedmicro.com>2009-10-08 06:32:21 +0000
committerDavid S. Miller <davem@davemloft.net>2009-10-08 22:54:56 -0700
commit3201fce0b2b12e4dc9e26dcf09bdb0652ff522db (patch)
treebd3b40f65d9d7222b161bd9b7adf34b78c559d77 /drivers/net/ibm_newemac/emac.h
parentefd7d2619f2e5da222ad34fef3e8f47730cd8f2c (diff)
ibm_newemac: Added 16K Tx FIFO size support for EMAC4
Some of the EMAC V4 implementations support 16K Tx FIFOs. This patch adds support for this functionality and fixes typos in the Tx FIFO size error messages. Signed-off-by: Dave Mitchell <dmitchell@appliedmicro.com> Acked-by: Prodyut Hazarika <phazarika@appliedmicro.com> Acked-by: Victor Gallardo <vgallardo@appliedmicro.com> Acked-by: Loc Ho <lho@appliedmicro.com> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: David S. Miller <davem@davemloft.net>
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 0afc2cf5c52..d34adf99fc6 100644
--- a/drivers/net/ibm_newemac/emac.h
+++ b/drivers/net/ibm_newemac/emac.h
@@ -153,6 +153,7 @@ struct emac_regs {
#define EMAC4_MR1_RFS_16K 0x00280000
#define EMAC4_MR1_TFS_2K 0x00020000
#define EMAC4_MR1_TFS_4K 0x00030000
+#define EMAC4_MR1_TFS_16K 0x00050000
#define EMAC4_MR1_TR 0x00008000
#define EMAC4_MR1_MWSW_001 0x00001000
#define EMAC4_MR1_JPSM 0x00000800