diff options
author | Giuseppe CAVALLARO <peppe.cavallaro@st.com> | 2012-05-13 18:18:41 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-14 18:53:19 -0400 |
commit | cffb13f4d6fb5976f907c37e7fc7f6e6acb10d5f (patch) | |
tree | 2778dd1ed389a91e78af991cad051ff5d64821e6 /drivers/net/ethernet/stmicro/stmmac/stmmac.h | |
parent | 20fb18dae04194486c61666dc1d9317f6f6dbf75 (diff) |
stmmac: extend mac addr reg and fix perfect filering
This patch is to extend the number of MAC address registers
for 16 to 32. In fact, other new 16 registers are available in new
chips and this can help on perfect filter mode for unicast.
This patch also fixes the perfect filtering mode by setting the
bit 31 in the MAC address registers.
v2: fixed Coding Style.
Signed-off-by: Gianni Antoniazzi <gianni.antoniazzi-ext@st.com>
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/stmmac.h')
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/stmmac.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac.h b/drivers/net/ethernet/stmicro/stmmac/stmmac.h index db2de9a49952..6b5d060ee9de 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac.h +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac.h | |||
@@ -85,6 +85,7 @@ struct stmmac_priv { | |||
85 | struct clk *stmmac_clk; | 85 | struct clk *stmmac_clk; |
86 | #endif | 86 | #endif |
87 | int clk_csr; | 87 | int clk_csr; |
88 | int synopsys_id; | ||
88 | }; | 89 | }; |
89 | 90 | ||
90 | extern int phyaddr; | 91 | extern int phyaddr; |