diff options
Diffstat (limited to 'hw/net/eepro100.c')
-rw-r--r-- | hw/net/eepro100.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/net/eepro100.c b/hw/net/eepro100.c index bab4dbfc98..390c297ebd 100644 --- a/hw/net/eepro100.c +++ b/hw/net/eepro100.c @@ -572,6 +572,7 @@ static void e100_pci_reset(EEPRO100State * s) int r = pci_add_capability(&s->dev, PCI_CAP_ID_PM, cfg_offset, PCI_PM_SIZEOF); assert(r >= 0); + (void)r; pci_set_word(pci_conf + cfg_offset + PCI_PM_PMC, 0x7e21); #if 0 /* TODO: replace dummy code for power management emulation. */ /* TODO: Power Management Control / Status. */ |