mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
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>
This commit is contained in:
parent
bd44300d1a
commit
1335fe3eb2
2 changed files with 19 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue