mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 14:53:54 -06:00
aspeed: add a FTGMAC100 nic
There is a second NIC but we do not use it for the moment. We use the 'aspeed' property to tune the definition of the end of ring buffer bit for the Aspeed SoCs. Signed-off-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Jason Wang <jasowang@redhat.com>
This commit is contained in:
parent
1335fe3eb2
commit
ea337c6549
2 changed files with 23 additions and 0 deletions
|
@ -20,6 +20,7 @@
|
|||
#include "hw/i2c/aspeed_i2c.h"
|
||||
#include "hw/ssi/aspeed_smc.h"
|
||||
#include "hw/watchdog/wdt_aspeed.h"
|
||||
#include "hw/net/ftgmac100.h"
|
||||
|
||||
#define ASPEED_SPIS_NUM 2
|
||||
|
||||
|
@ -39,6 +40,7 @@ typedef struct AspeedSoCState {
|
|||
AspeedSMCState spi[ASPEED_SPIS_NUM];
|
||||
AspeedSDMCState sdmc;
|
||||
AspeedWDTState wdt;
|
||||
FTGMAC100State ftgmac100;
|
||||
} AspeedSoCState;
|
||||
|
||||
#define TYPE_ASPEED_SOC "aspeed-soc"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue