net: stmmac: Change MAC interface to support multiple filter configurations
authorVince Bridgers <vbridgers2013@gmail.com>
Thu, 31 Jul 2014 20:49:13 +0000 (15:49 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Jul 2014 21:13:29 +0000 (14:13 -0700)
commit7ed24bbe188e9e910274969e65b91342e7642dbf
treea631345a0597d9a46f11df1c993f273e25d577dc
parenta173e550c2bae5196c0938bcc9de323a9ea62e77
net: stmmac: Change MAC interface to support multiple filter configurations

The synopsys EMAC can be configured for different numbers of multicast hash
bins and perfect filter entries at device creation time and there's no way
to query this configuration information at runtime. As a result, a devicetree
parameter is required in order for the driver to program these filters
correctly for a particular device instance. This patch modifies the
10/100/1000 MAC software interface such that these configuration parameters
can be set at initialization time.

Signed-off-by: Vince Bridgers <vbridgers2013@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/common.h
drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c
drivers/net/ethernet/stmicro/stmmac/dwmac100_core.c
drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c