diff options
Diffstat (limited to 'hw/net/eepro100.c')
-rw-r--r-- | hw/net/eepro100.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/net/eepro100.c b/hw/net/eepro100.c index dc99ea6ea0..abfcdbd493 100644 --- a/hw/net/eepro100.c +++ b/hw/net/eepro100.c @@ -1876,14 +1876,14 @@ static int e100_nic_init(PCIDevice *pci_dev) s->eeprom = eeprom93xx_new(&pci_dev->qdev, EEPROM_SIZE); /* Handler for memory-mapped I/O */ - memory_region_init_io(&s->mmio_bar, &eepro100_ops, s, "eepro100-mmio", + memory_region_init_io(&s->mmio_bar, NULL, &eepro100_ops, s, "eepro100-mmio", PCI_MEM_SIZE); pci_register_bar(&s->dev, 0, PCI_BASE_ADDRESS_MEM_PREFETCH, &s->mmio_bar); - memory_region_init_io(&s->io_bar, &eepro100_ops, s, "eepro100-io", + memory_region_init_io(&s->io_bar, NULL, &eepro100_ops, s, "eepro100-io", PCI_IO_SIZE); pci_register_bar(&s->dev, 1, PCI_BASE_ADDRESS_SPACE_IO, &s->io_bar); /* FIXME: flash aliases to mmio?! */ - memory_region_init_io(&s->flash_bar, &eepro100_ops, s, "eepro100-flash", + memory_region_init_io(&s->flash_bar, NULL, &eepro100_ops, s, "eepro100-flash", PCI_FLASH_SIZE); pci_register_bar(&s->dev, 2, 0, &s->flash_bar); |