summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/ibm/emac/emac.h
diff options
context:
space:
mode:
authorIvan Mikhaylov <ivan@de.ibm.com>2018-01-24 15:53:24 +0300
committerDavid S. Miller <davem@davemloft.net>2018-01-24 18:10:57 -0500
commit45d6e545505fd32edb812f085be7de45b6a5c0af (patch)
tree92848997582acca75815835b0bd047729c2d28df /drivers/net/ethernet/ibm/emac/emac.h
parent6f3180afbb22106d96a1320e175562f36a4d3506 (diff)
downloadlwn-45d6e545505fd32edb812f085be7de45b6a5c0af.tar.gz
lwn-45d6e545505fd32edb812f085be7de45b6a5c0af.zip
net/ibm/emac: add 8192 rx/tx fifo size
emac4syn chips has availability to use 8192 rx/tx fifo buffer sizes, in current state if we set it up in dts 8192 as example, we will get only 2048 which may impact on network speed. Signed-off-by: Ivan Mikhaylov <ivan@de.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ibm/emac/emac.h')
-rw-r--r--drivers/net/ethernet/ibm/emac/emac.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/ibm/emac/emac.h b/drivers/net/ethernet/ibm/emac/emac.h
index 5afcc27ceebb..d0a0e3b3f283 100644
--- a/drivers/net/ethernet/ibm/emac/emac.h
+++ b/drivers/net/ethernet/ibm/emac/emac.h
@@ -151,9 +151,11 @@ struct emac_regs {
#define EMAC4_MR1_RFS_2K 0x00100000
#define EMAC4_MR1_RFS_4K 0x00180000
+#define EMAC4_MR1_RFS_8K 0x00200000
#define EMAC4_MR1_RFS_16K 0x00280000
#define EMAC4_MR1_TFS_2K 0x00020000
#define EMAC4_MR1_TFS_4K 0x00030000
+#define EMAC4_MR1_TFS_8K 0x00040000
#define EMAC4_MR1_TFS_16K 0x00050000
#define EMAC4_MR1_TR 0x00008000
#define EMAC4_MR1_MWSW_001 0x00001000