diff options
author | Giuseppe CAVALLARO <peppe.cavallaro@st.com> | 2011-09-02 01:51:40 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-09-15 23:40:01 +0400 |
commit | f0b9d7865a95fdcb18319a678c616156be74cdfb (patch) | |
tree | abd9c2d3314ebbed1c5a57489e42b70cfebed013 /drivers/net/ethernet/stmicro/stmmac/common.h | |
parent | 7ac2905511063376ef59baae0e570bfebeea8004 (diff) | |
download | linux-f0b9d7865a95fdcb18319a678c616156be74cdfb.tar.xz |
stmmac: rework the code to get the Synopsys ID (v3)
The Synopsys ID is now passed from the MAC core
to the main. This info will be used for managing
the HW cap register (supported in the new GMAC
generations).
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/common.h')
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/common.h b/drivers/net/ethernet/stmicro/stmmac/common.h index e08fee880f14..65b1e56a97c9 100644 --- a/drivers/net/ethernet/stmicro/stmmac/common.h +++ b/drivers/net/ethernet/stmicro/stmmac/common.h @@ -230,6 +230,7 @@ struct mac_device_info { const struct stmmac_dma_ops *dma; struct mii_regs mii; /* MII register Addresses */ struct mac_link link; + unsigned int synopsys_uid; }; struct mac_device_info *dwmac1000_setup(void __iomem *ioaddr); |