Skip to content

Commit

Permalink
stmmac: fix GMAC syn ID
Browse files Browse the repository at this point in the history
Erroneously the DWMAC_CORE_3_40 was set to 34 instead of 0x34.
This can generate problems when run on old chips because
the driver assumes that there are the extra 16 regs available
for perfect filtering.

Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Cc: Gianni Antoniazzi <gianni.antoniazzi-ext@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Giuseppe CAVALLARO authored and David S. Miller committed Aug 23, 2012
1 parent 9b04f35 commit 5f42f7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/stmicro/stmmac/dwmac1000.h
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,6 @@ enum rtc_control {
#define GMAC_MMC_RX_CSUM_OFFLOAD 0x208

/* Synopsys Core versions */
#define DWMAC_CORE_3_40 34
#define DWMAC_CORE_3_40 0x34

extern const struct stmmac_dma_ops dwmac1000_dma_ops;

0 comments on commit 5f42f7b

Please sign in to comment.