net: stmmac: dwmac1000: fix define DMA_BUS_MODE_RPBL_MASK
authorNiklas Cassel <niklas.cassel@axis.com>
Wed, 7 Dec 2016 14:20:06 +0000 (15:20 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Dec 2016 18:07:10 +0000 (13:07 -0500)
DMA_BUS_MODE_RPBL_MASK is really 6 bits,
just like DMA_BUS_MODE_PBL_MASK.

Signed-off-by: Niklas Cassel <niklas.cassel@axis.com>
Acked-by: Alexandre Torgue <alexandre.torgue@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac1000.h

index ff3e5ab39bd0e5a293844354300b7b9281b24d41..52b9407a8a39cfa54d3fc29e7566467623d78987 100644 (file)
@@ -225,7 +225,7 @@ enum rx_tx_priority_ratio {
 
 #define DMA_BUS_MODE_FB                0x00010000      /* Fixed burst */
 #define DMA_BUS_MODE_MB                0x04000000      /* Mixed burst */
-#define DMA_BUS_MODE_RPBL_MASK 0x003e0000      /* Rx-Programmable Burst Len */
+#define DMA_BUS_MODE_RPBL_MASK 0x007e0000      /* Rx-Programmable Burst Len */
 #define DMA_BUS_MODE_RPBL_SHIFT        17
 #define DMA_BUS_MODE_USP       0x00800000
 #define DMA_BUS_MODE_MAXPBL    0x01000000