diff options
author | Cédric Le Goater <clg@kaod.org> | 2017-04-14 10:35:01 +0200 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2017-04-25 19:17:25 +0800 |
commit | 1335fe3eb2a2a53e1f9cbbd3ef53ea2e013cadbe (patch) | |
tree | d3c0b96a227b43ee869c0ba04ed77fd7bf129226 /include | |
parent | bd44300d1afc32b19043697f7f585dd5a2e8df42 (diff) |
net/ftgmac100: add a 'aspeed' property
The Aspeed SoCs have a different definition of the end of the ring
buffer bit. Add a property to specify which set of bits should be used
by the NIC.
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/net/ftgmac100.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/hw/net/ftgmac100.h b/include/hw/net/ftgmac100.h index 962a718f43..d9bc589fbf 100644 --- a/include/hw/net/ftgmac100.h +++ b/include/hw/net/ftgmac100.h @@ -55,6 +55,10 @@ typedef struct FTGMAC100State { uint32_t phy_advertise; uint32_t phy_int; uint32_t phy_int_mask; + + bool aspeed; + uint32_t txdes0_edotr; + uint32_t rxdes0_edorr; } FTGMAC100State; #endif |